Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+e5efdee9dd9df15b49fe73e0060b5d971241be0d (8e0e246af393040e488b7634915c5ae6d43d7bbe) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16966726342463952690.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18234896829275621961.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11544971641164343024.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4416930212260133718.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4014257560857611232.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-545 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing aa68bb43ba4ba6389006a396e9401756110d6284 Checking out Revision aa68bb43ba4ba6389006a396e9401756110d6284 (PR-1196) > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa68bb43ba4ba6389006a396e9401756110d6284 # timeout=10 Commit message: "Merge commit 'e5efdee9dd9df15b49fe73e0060b5d971241be0d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 770e49f98ab9a0319562a8a700f6290beba4a444 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:42:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:42:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:42:03 ========================================================= 06:42:03 EdgeX Global Pipelines Version Info 06:42:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:42:04 ------------------- 06:42:04 stable info: 06:42:04 ------------------- 06:42:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:42:04 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:42:04 Message: update stable to v1.0.239 06:42:05 ------------------- 06:42:05 experimental info: 06:42:05 ------------------- 06:42:05 Commited By: **** collab-it+edgex@linuxfoundation.org 06:42:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:42:05 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa68bb4 [Pipeline] echo 06:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:42:05 provisioning config files... 06:42:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config10769997156871077649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:42:06 ---> docker-login.sh 06:42:06 nexus3.edgexfoundry.org:10001 06:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:06 Configure a credential helper to remove this warning. See 06:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:06 06:42:06 Login Succeeded 06:42:06 nexus3.edgexfoundry.org:10002 06:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:06 Configure a credential helper to remove this warning. See 06:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:06 06:42:06 Login Succeeded 06:42:06 nexus3.edgexfoundry.org:10003 06:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:06 Configure a credential helper to remove this warning. See 06:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:06 06:42:06 Login Succeeded 06:42:06 nexus3.edgexfoundry.org:10004 06:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:06 Configure a credential helper to remove this warning. See 06:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:06 06:42:06 Login Succeeded 06:42:06 docker.io 06:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:07 Configure a credential helper to remove this warning. See 06:42:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:07 06:42:07 Login Succeeded 06:42:07 ---> docker-login.sh ends [Pipeline] } 06:42:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:42:07 + git rev-list -1 --merges aa68bb43ba4ba6389006a396e9401756110d6284~1..aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] echo 06:42:07 -----------> git rev-list -1 --merges aa68bb43ba4ba6389006a396e9401756110d6284~1..aa68bb43ba4ba6389006a396e9401756110d6284 aa68bb43ba4ba6389006a396e9401756110d6284 06:42:07 aa68bb43ba4ba6389006a396e9401756110d6284 [false] [Pipeline] sh 06:42:07 + git log --format=format:%s -1 aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] echo 06:42:07 ========================================================= 06:42:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:42:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:08 + git log --format=format:%s -1 aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] echo 06:42:08 [semverPrep] GIT_COMMIT: aa68bb43ba4ba6389006a396e9401756110d6284, Commit Message: Merge commit 'e5efdee9dd9df15b49fe73e0060b5d971241be0d' into HEAD [Pipeline] echo 06:42:08 [semverPrep] This is not a build commit. [Pipeline] sh 06:42:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:42:08 + grep -v github /etc/ssh/ssh_known_hosts 06:42:08 + [ -e /tmp/ssh_known_hosts ] 06:42:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:42:08 + sudo tee -a /etc/ssh/ssh_known_hosts 06:42:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:42:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:42:09 06:42:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:42:09 0.1.4: Pulling from edgex-devops/py-git-semver 06:42:09 b85a868b505f: Pulling fs layer 06:42:09 e2be974225ed: Pulling fs layer 06:42:09 339a4e72a1f5: Pulling fs layer 06:42:09 988bab9f4d93: Pulling fs layer 06:42:09 1469e6f7b9e6: Pulling fs layer 06:42:09 eaf3925da568: Pulling fs layer 06:42:09 bab4dde63d76: Pulling fs layer 06:42:09 bde34c3a00c8: Pulling fs layer 06:42:09 b352a97aabf1: Pulling fs layer 06:42:09 4872d77fe225: Pulling fs layer 06:42:09 5851b861e8e6: Pulling fs layer 06:42:09 988bab9f4d93: Waiting 06:42:09 bde34c3a00c8: Waiting 06:42:09 1469e6f7b9e6: Waiting 06:42:09 b352a97aabf1: Waiting 06:42:09 eaf3925da568: Waiting 06:42:09 4872d77fe225: Waiting 06:42:09 bab4dde63d76: Waiting 06:42:09 5851b861e8e6: Waiting 06:42:09 e2be974225ed: Verifying Checksum 06:42:09 e2be974225ed: Download complete 06:42:09 988bab9f4d93: Verifying Checksum 06:42:09 988bab9f4d93: Download complete 06:42:09 1469e6f7b9e6: Verifying Checksum 06:42:09 1469e6f7b9e6: Download complete 06:42:09 eaf3925da568: Verifying Checksum 06:42:09 eaf3925da568: Download complete 06:42:09 339a4e72a1f5: Verifying Checksum 06:42:09 339a4e72a1f5: Download complete 06:42:09 bde34c3a00c8: Verifying Checksum 06:42:09 bde34c3a00c8: Download complete 06:42:09 b352a97aabf1: Download complete 06:42:09 4872d77fe225: Verifying Checksum 06:42:09 4872d77fe225: Download complete 06:42:09 5851b861e8e6: Verifying Checksum 06:42:09 5851b861e8e6: Download complete 06:42:09 b85a868b505f: Verifying Checksum 06:42:09 b85a868b505f: Download complete 06:42:09 bab4dde63d76: Verifying Checksum 06:42:09 bab4dde63d76: Download complete 06:42:10 b85a868b505f: Pull complete 06:42:10 e2be974225ed: Pull complete 06:42:11 339a4e72a1f5: Pull complete 06:42:11 988bab9f4d93: Pull complete 06:42:11 1469e6f7b9e6: Pull complete 06:42:11 eaf3925da568: Pull complete 06:42:12 bab4dde63d76: Pull complete 06:42:13 bde34c3a00c8: Pull complete 06:42:13 b352a97aabf1: Pull complete 06:42:13 4872d77fe225: Pull complete 06:42:13 5851b861e8e6: Pull complete 06:42:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:42:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:13 prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container 06:42:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:42:14 $ docker top 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 -eo pid,comm 06:42: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). 06:42:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:42:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:42:14 [ssh-agent] Looking for ssh-agent implementation... 06:42:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:42:14 $ docker exec 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 ssh-agent 06:42:15 SSH_AUTH_SOCK=/tmp/ssh-dZLDxzSTqASY/agent.33 06:42:15 SSH_AGENT_PID=39 06:42:15 Running ssh-add (command line suppressed) 06:42:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_10603447858926877216.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_10603447858926877216.key) 06:42:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:42:15 + git tag --points-at HEAD [Pipeline] } 06:42:15 $ docker exec --env ******** --env ******** 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 ssh-agent -k 06:42:15 unset SSH_AUTH_SOCK; 06:42:15 unset SSH_AGENT_PID; 06:42:15 echo Agent pid 39 killed; 06:42:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:42:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:42:15 [ssh-agent] Looking for ssh-agent implementation... 06:42:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:42:15 $ docker exec 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 ssh-agent 06:42:15 SSH_AUTH_SOCK=/tmp/ssh-K4kYZb2Fwrtj/agent.71 06:42:15 SSH_AGENT_PID=77 06:42:15 Running ssh-add (command line suppressed) 06:42:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7098078741354416441.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7098078741354416441.key) 06:42:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:42:16 + git semver init 06:42:16 2022-09-22 06:42:16,439 [run_init] DEBUG init version:0.0.0 force:False 06:42:16 2022-09-22 06:42:16,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 06:42:16 2022-09-22 06:42:16,441 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 06:42:16 2022-09-22 06:42:16,441 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) 06:42:17 2022-09-22 06:42:17,369 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude 06:42:17 2022-09-22 06:42:17,370 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False 06:42:17 2022-09-22 06:42:17,370 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 06:42:17 2022-09-22 06:42:17,374 [execute] INFO git cat-file --batch-check 06:42:17 2022-09-22 06:42:17,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 06:42:17 2022-09-22 06:42:17,381 [execute] INFO git cat-file --batch 06:42:17 2022-09-22 06:42:17,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 06:42:17 2022-09-22 06:42:17,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 06:42:17 0.0.0 [Pipeline] } 06:42:17 $ docker exec --env ******** --env ******** 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 ssh-agent -k 06:42:17 unset SSH_AUTH_SOCK; 06:42:17 unset SSH_AGENT_PID; 06:42:17 echo Agent pid 77 killed; 06:42:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:42:17 + git semver [Pipeline] } 06:42:18 $ docker stop --time=1 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 06:42:19 $ docker rm -f 93cbd4ba2c222183d170cf39fd2236d4bc7da6b4cd742eb7d5ed44c4b29eb704 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:42:19 Stashed 1 file(s) [Pipeline] echo 06:42:19 [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 06:42:20 provisioning config files... 06:42:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8849576483510116818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:42:20 ---> docker-login.sh 06:42:20 nexus3.edgexfoundry.org:10001 06:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:20 Configure a credential helper to remove this warning. See 06:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:20 06:42:20 Login Succeeded 06:42:20 nexus3.edgexfoundry.org:10002 06:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:20 Configure a credential helper to remove this warning. See 06:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:20 06:42:20 Login Succeeded 06:42:20 nexus3.edgexfoundry.org:10003 06:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:20 Configure a credential helper to remove this warning. See 06:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:20 06:42:20 Login Succeeded 06:42:20 nexus3.edgexfoundry.org:10004 06:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:20 Configure a credential helper to remove this warning. See 06:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:20 06:42:20 Login Succeeded 06:42:20 docker.io 06:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:42:21 Configure a credential helper to remove this warning. See 06:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:42:21 06:42:21 Login Succeeded 06:42:21 ---> docker-login.sh ends [Pipeline] } 06:42:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:42:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:42:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:42:21 ========================================================= 06:42:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:42:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:21 + 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 . 06:42:21 Sending build context to Docker daemon 9.874MB 06:42:21 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:42:21 Step 2/11 : FROM ${BASE} AS builder 06:42:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:42:21 2408cc74d12b: Pulling fs layer 06:42:21 ea60b727a1ce: Pulling fs layer 06:42:21 30c4a7721957: Pulling fs layer 06:42:21 370296b7ddb6: Pulling fs layer 06:42:21 7c6cee850709: Pulling fs layer 06:42:21 39a5fcdaea64: Pulling fs layer 06:42:21 d94ebbe4e438: Pulling fs layer 06:42:21 bcfd1f05c69d: Pulling fs layer 06:42:21 59ccb84bbe0f: Pulling fs layer 06:42:21 370296b7ddb6: Waiting 06:42:21 7c6cee850709: Waiting 06:42:21 d94ebbe4e438: Waiting 06:42:21 59ccb84bbe0f: Waiting 06:42:21 bcfd1f05c69d: Waiting 06:42:21 30c4a7721957: Verifying Checksum 06:42:21 30c4a7721957: Download complete 06:42:21 ea60b727a1ce: Verifying Checksum 06:42:21 ea60b727a1ce: Download complete 06:42:21 7c6cee850709: Download complete 06:42:21 39a5fcdaea64: Verifying Checksum 06:42:21 39a5fcdaea64: Download complete 06:42:21 2408cc74d12b: Verifying Checksum 06:42:21 2408cc74d12b: Download complete 06:42:21 d94ebbe4e438: Download complete 06:42:21 2408cc74d12b: Pull complete 06:42:22 ea60b727a1ce: Pull complete 06:42:22 30c4a7721957: Pull complete 06:42:22 59ccb84bbe0f: Verifying Checksum 06:42:22 59ccb84bbe0f: Download complete 06:42:22 bcfd1f05c69d: Verifying Checksum 06:42:22 bcfd1f05c69d: Download complete 06:42:22 370296b7ddb6: Verifying Checksum 06:42:22 370296b7ddb6: Download complete 06:42:25 370296b7ddb6: Pull complete 06:42:25 7c6cee850709: Pull complete 06:42:25 39a5fcdaea64: Pull complete 06:42:26 d94ebbe4e438: Pull complete 06:42:27 bcfd1f05c69d: Pull complete 06:42:28 59ccb84bbe0f: Pull complete 06:42:28 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 06:42:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:42:28 ---> a4fb48ad2a94 06:42:28 Step 3/11 : ARG MAKE=make build 06:42:29 ---> Running in 913ea428a7f8 06:42:30 Removing intermediate container 913ea428a7f8 06:42:30 ---> 7a99dd6b6fd2 06:42:30 Step 4/11 : WORKDIR /device-sdk-go 06:42:30 ---> Running in 795ca7e6cb43 06:42:30 Removing intermediate container 795ca7e6cb43 06:42:30 ---> 3f1b85c4b2d8 06:42:30 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:42:30 ---> Running in 82103c76e96f 06:42:30 Removing intermediate container 82103c76e96f 06:42:30 ---> 320c21afbb78 06:42:30 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:30 ---> Running in 5f8b10c0d8be 06:42:31 Removing intermediate container 5f8b10c0d8be 06:42:31 ---> 9e41fad28b0b 06:42:31 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:42:31 ---> Running in 69723402fffc 06:42:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:42:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:42:32 OK: 211 MiB in 51 packages 06:42:33 Removing intermediate container 69723402fffc 06:42:33 ---> 971bd4c6f574 06:42:33 Step 8/11 : COPY go.mod vendor* ./ 06:42:33 ---> 49c9919f47ea 06:42:33 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:42:33 ---> Running in 0b118dcca342 06:42:35 Still waiting to schedule task 06:42:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:42:47 Removing intermediate container 0b118dcca342 06:42:47 ---> 12ae32945b9f 06:42:47 Step 10/11 : COPY . . 06:42:47 ---> 384203ff37ee 06:42:47 Step 11/11 : RUN ${MAKE} 06:42:47 ---> Running in ff439f986a09 06:42:47 noop 06:42:47 Removing intermediate container ff439f986a09 06:42:47 ---> 52cbde5955c1 06:42:47 Successfully built 52cbde5955c1 06:42:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:48 + docker inspect -f . ci-base-image-x86_64 06:42:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:48 prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container 06:42:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:48 $ docker top 858beffea5b27ae9c62cbddd87cbd8f94f81d38afa21a6506c9cffee4db51791 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:49 + go version 06:42:49 go version go1.18.3 linux/amd64 [Pipeline] } 06:42:49 $ docker stop --time=1 858beffea5b27ae9c62cbddd87cbd8f94f81d38afa21a6506c9cffee4db51791 06:42:50 $ docker rm -f 858beffea5b27ae9c62cbddd87cbd8f94f81d38afa21a6506c9cffee4db51791 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:50 + docker inspect -f . ci-base-image-x86_64 06:42:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:50 prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container 06:42:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:51 $ docker top a69254ec5a080f3bc376f98da76feeb00cbedb65d4f3b28d945acb9959eeb70e -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:51 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh 06:42:51 + make test 06:42:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:42:58 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:43:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements 06:43:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.070s coverage: 78.9% of statements 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:43:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 60.0% of statements 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:43:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:43:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 65.1% of statements 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:43:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.765s coverage: 89.2% of statements 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:43:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.8% of statements 06:43:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:43:28 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." 06:43:28 GO111MODULE=on go vet ./... 06:43:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:43:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:43:29 ./bin/test-attribution-txt.sh 06:43:29 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:43:29 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 06:43:29 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 06:43:29 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 06:43:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:43:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:43:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 06:43:29 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 06:43:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:43:29 $ docker stop --time=1 a69254ec5a080f3bc376f98da76feeb00cbedb65d4f3b28d945acb9959eeb70e 06:43:31 $ docker rm -f a69254ec5a080f3bc376f98da76feeb00cbedb65d4f3b28d945acb9959eeb70e [Pipeline] // withDockerContainer [Pipeline] sh 06:43:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:43:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:43:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:43:32 + ls -al . 06:43:32 total 276 06:43:32 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 06:42 . 06:43:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:41 .. 06:43:32 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 06:42 .dockerignore 06:43:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 06:43 .git 06:43:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:42 .github 06:43:32 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 06:42 .gitignore 06:43:32 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 06:42 .golangci.yml 06:43:32 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 06:42 .semver 06:43:32 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 06:42 CHANGELOG.md 06:43:32 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 06:42 GOVERNANCE.md 06:43:32 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 06:42 Jenkinsfile 06:43:32 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 06:42 LICENSE 06:43:32 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 06:42 Makefile 06:43:32 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 06:42 OWNERS.md 06:43:32 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 06:42 README.md 06:43:32 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 06:42 VERSION 06:43:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:42 bin 06:43:32 -rw-r--r-- 1 jenkins jenkins 100768 Sep 22 06:43 coverage.out 06:43:32 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 06:42 example 06:43:32 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 06:42 go.mod 06:43:32 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 06:42 go.sum 06:43:32 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 06:42 internal 06:43:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 06:42 openapi 06:43:32 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 06:42 pkg 06:43:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:42 snap 06:43:32 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 06:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:33 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=aa68bb43ba4ba6389006a396e9401756110d6284 --label arch=amd64 --label version=0.0.0 . 06:43:33 Sending build context to Docker daemon 9.975MB 06:43:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:43:33 Step 2/25 : FROM ${BASE} AS builder 06:43:33 ---> 52cbde5955c1 06:43:33 Step 3/25 : ARG MAKE=make build 06:43:33 ---> Running in 6c32e95720d0 06:43:33 Removing intermediate container 6c32e95720d0 06:43:33 ---> 6112bff472c5 06:43:33 Step 4/25 : WORKDIR /device-sdk-go 06:43:33 ---> Running in 4a4d0ba62212 06:43:33 Removing intermediate container 4a4d0ba62212 06:43:33 ---> 358f34aefe84 06:43:33 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:43:33 ---> Running in f4125c08fcbb 06:43:33 Removing intermediate container f4125c08fcbb 06:43:33 ---> eeff46c20ae0 06:43:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:33 ---> Running in ee0723668669 06:43:34 Removing intermediate container ee0723668669 06:43:34 ---> 3e400a32f3cc 06:43:34 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:43:34 ---> Running in 69b6ec3b190b 06:43:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:43:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:43:35 OK: 211 MiB in 51 packages 06:43:35 Removing intermediate container 69b6ec3b190b 06:43:35 ---> 6bcaf40000d3 06:43:35 Step 8/25 : COPY go.mod vendor* ./ 06:43:35 ---> 109658bd4819 06:43:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:43:36 ---> Running in fae2e7eb9b3a 06:43:36 Removing intermediate container fae2e7eb9b3a 06:43:36 ---> 3d6ecc8616bd 06:43:36 Step 10/25 : COPY . . 06:43:36 ---> f8a05ac9bab1 06:43:36 Step 11/25 : RUN ${MAKE} 06:43:36 ---> Running in 72ee47d96e92 06:43:37 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 06:43:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:43:56 Removing intermediate container 72ee47d96e92 06:43:56 ---> e9b8adb04cd0 06:43:56 Step 12/25 : FROM alpine:3.16 06:43:57 3.16: Pulling from library/alpine 06:43:57 213ec9aee27d: Pulling fs layer 06:43:57 213ec9aee27d: Verifying Checksum 06:43:57 213ec9aee27d: Download complete 06:43:57 213ec9aee27d: Pull complete 06:43:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:43:57 Status: Downloaded newer image for alpine:3.16 06:43:57 ---> 9c6f07244728 06:43:57 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:43:57 ---> Running in 1de2af721d59 06:43:57 Removing intermediate container 1de2af721d59 06:43:57 ---> 144d80455d04 06:43:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:57 ---> Running in 92784b558c5b 06:43:58 Removing intermediate container 92784b558c5b 06:43:58 ---> a440c47771d7 06:43:58 Step 15/25 : RUN apk add --update --no-cache zeromq 06:43:58 ---> Running in 92941c5bb6d5 06:43:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:43:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:44:00 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:44:00 (2/5) Installing libsodium (1.0.18-r0) 06:44:00 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:44:00 (4/5) Installing libzmq (4.3.4-r0) 06:44:00 (5/5) Installing zeromq (4.3.4-r0) 06:44:00 Executing busybox-1.35.0-r17.trigger 06:44:00 OK: 8 MiB in 19 packages 06:44:00 Removing intermediate container 92941c5bb6d5 06:44:00 ---> ab58c11479d9 06:44:00 Step 16/25 : WORKDIR / 06:44:00 ---> Running in 69d6229cad24 06:44:00 Removing intermediate container 69d6229cad24 06:44:00 ---> b9da84de2b99 06:44:00 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:44:01 ---> f0b309bda04b 06:44:01 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:44:01 ---> af8b1e18e4ba 06:44:01 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:44:01 ---> f5275c37fb2d 06:44:01 Step 20/25 : EXPOSE 59999 06:44:01 ---> Running in 3ddc123d838d 06:44:01 Removing intermediate container 3ddc123d838d 06:44:01 ---> b5c97bfe320d 06:44:01 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:44:01 ---> Running in 1109ab5f2ab5 06:44:01 Removing intermediate container 1109ab5f2ab5 06:44:01 ---> 1f7a4942f3fe 06:44:01 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:44:01 ---> Running in b9839ca353e7 06:44:01 Removing intermediate container b9839ca353e7 06:44:01 ---> de46650de498 06:44:01 Step 23/25 : LABEL arch=amd64 06:44:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-546 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws 06:44:01 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 06:44:02 The recommended git tool is: git 06:44:02 ---> Running in 32b590b09b21 06:44:02 Removing intermediate container 32b590b09b21 06:44:02 ---> fcd92824e746 06:44:02 Step 24/25 : LABEL git_sha=aa68bb43ba4ba6389006a396e9401756110d6284 06:44:02 ---> Running in 779ca313ad02 06:44:02 Removing intermediate container 779ca313ad02 06:44:02 ---> 62bee1274341 06:44:02 Step 25/25 : LABEL version=0.0.0 06:44:02 ---> Running in 7ed287c73d05 06:44:02 Removing intermediate container 7ed287c73d05 06:44:02 ---> d64530e10bfd 06:44:02 [Warning] One or more build-args [ARCH] were not consumed 06:44:02 Successfully built d64530e10bfd 06:44:02 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 06:44:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:44:02 06:44:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:44:03 latest: Pulling from edgex-lftools-log-publisher 06:44:03 5eb5b503b376: Pulling fs layer 06:44:03 5c69ac0246d0: Pulling fs layer 06:44:03 ec43610c2a17: Pulling fs layer 06:44:03 3a2ae6a8a46f: Pulling fs layer 06:44:03 33b1e0a273af: Pulling fs layer 06:44:03 5d3b04190fa2: Pulling fs layer 06:44:03 2f39f015ded8: Pulling fs layer 06:44:03 5d3b04190fa2: Waiting 06:44:03 3a2ae6a8a46f: Waiting 06:44:03 33b1e0a273af: Waiting 06:44:03 2f39f015ded8: Waiting 06:44:03 5c69ac0246d0: Verifying Checksum 06:44:03 5c69ac0246d0: Download complete 06:44:03 3a2ae6a8a46f: Verifying Checksum 06:44:03 3a2ae6a8a46f: Download complete 06:44:03 33b1e0a273af: Verifying Checksum 06:44:03 33b1e0a273af: Download complete 06:44:03 5d3b04190fa2: Download complete 06:44:03 ec43610c2a17: Verifying Checksum 06:44:03 ec43610c2a17: Download complete 06:44:03 5eb5b503b376: Verifying Checksum 06:44:03 5eb5b503b376: Download complete 06:44:04 2f39f015ded8: Download complete 06:44:04 5eb5b503b376: Pull complete 06:44:04 5c69ac0246d0: Pull complete 06:44:04 ec43610c2a17: Pull complete 06:44:04 3a2ae6a8a46f: Pull complete 06:44:05 33b1e0a273af: Pull complete 06:44:05 5d3b04190fa2: Pull complete 06:44:06 using credential edgex-jenkins-ssh 06:44:06 Cloning the remote Git repository 06:44:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:44:06 > git init /w/workspace/device-sdk-go/9 # timeout=10 06:44:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:44:07 > git --version # timeout=10 06:44:07 > git --version # 'git version 2.25.1' 06:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:07 Verifying host key using known hosts file 06:44:07 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:44:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:09 2f39f015ded8: Pull complete 06:44:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:44:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:09 prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container 06:44:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:44:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:10 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 06:44:10 Merge succeeded, producing f01e66227662d25f4833e0cdc3ae44f135655644 06:44:10 Checking out Revision f01e66227662d25f4833e0cdc3ae44f135655644 (PR-1196) 06:44:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:44:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:44:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:09 Verifying host key using known hosts file 06:44:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:44:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:44:10 > git config core.sparsecheckout # timeout=10 06:44:10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 06:44:10 > git remote # timeout=10 06:44:10 > git config --get remote.origin.url # timeout=10 06:44:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:10 Verifying host key using known hosts file 06:44:10 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:44:10 > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 06:44:10 > git rev-parse HEAD^{commit} # timeout=10 06:44:10 > git config core.sparsecheckout # timeout=10 06:44:10 $ docker top 35785f62dc4f2761f51d7fc31ffeeffbbe3ba9f9c2fa1cacffcabc8af24d7711 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:11 ---> job-cost.sh 06:44:11 lf-activate-venv: SKIPPING 06:44:11 INFO: No Stack... 06:44:11 INFO: Retrieving Pricing Info for: v3-standard-8 06:44:12 INFO: Archiving Costs [Pipeline] sh 06:44:10 > git checkout -f f01e66227662d25f4833e0cdc3ae44f135655644 # timeout=10 06:44:12 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv 06:44:12 + cut -d, -f6 [Pipeline] lock 06:44:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] 06:44:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] did not exist. Created. 06:44:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:44:12 + echo total: 0.2199999988079071 [Pipeline] stash 06:44:12 Stashed 1 file(s) [Pipeline] } 06:44:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [Pipeline] // lock [Pipeline] } 06:44:12 $ docker stop --time=1 35785f62dc4f2761f51d7fc31ffeeffbbe3ba9f9c2fa1cacffcabc8af24d7711 06:44:13 $ docker rm -f 35785f62dc4f2761f51d7fc31ffeeffbbe3ba9f9c2fa1cacffcabc8af24d7711 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:44:14 Commit message: "Merge commit 'e5efdee9dd9df15b49fe73e0060b5d971241be0d' into HEAD" 06:44:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:44:14 > git rev-list --no-walk 770e49f98ab9a0319562a8a700f6290beba4a444 # timeout=10 06:44:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:44:15 % Total % Received % Xferd Average Speed Time Time Time Current 06:44:15 Dload Upload Total Spent Left Speed 06:44:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 79759 0 --:--:-- --:--:-- --:--:-- 80267 [Pipeline] sh 06:44:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:44:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:44:16 + sudo tee /etc/docker/daemon.new 06:44:16 { 06:44:16 "registry-mirrors": [ 06:44:16 "https://nexus3.edgexfoundry.org:10001" 06:44:16 ], 06:44:16 "bip": "10.250.0.254/24", 06:44:16 "hosts": [ 06:44:16 "tcp://0.0.0.0:5555", 06:44:16 "unix:///var/run/docker.sock" 06:44:16 ], 06:44:16 "mtu": 1458, 06:44:16 "selinux-enabled": true, 06:44:16 "seccomp-profile": "/etc/docker/seccomp.json" 06:44:16 } [Pipeline] sh 06:44:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:44:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:35 provisioning config files... 06:44:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config6964125833631942234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:35 ---> docker-login.sh 06:44:35 nexus3.edgexfoundry.org:10001 06:44:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:36 Configure a credential helper to remove this warning. See 06:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:36 06:44:36 Login Succeeded 06:44:36 nexus3.edgexfoundry.org:10002 06:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:36 Configure a credential helper to remove this warning. See 06:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:36 06:44:36 Login Succeeded 06:44:36 nexus3.edgexfoundry.org:10003 06:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:36 Configure a credential helper to remove this warning. See 06:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:36 06:44:36 Login Succeeded 06:44:36 nexus3.edgexfoundry.org:10004 06:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:37 Configure a credential helper to remove this warning. See 06:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:37 06:44:37 Login Succeeded 06:44:37 docker.io 06:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:37 Configure a credential helper to remove this warning. See 06:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:37 06:44:37 Login Succeeded 06:44:37 ---> docker-login.sh ends [Pipeline] } 06:44:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:44:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:44:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:44:37 ========================================================= 06:44:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:44:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44: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 . 06:44:38 Sending build context to Docker daemon 5.307MB 06:44:38 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:44:38 Step 2/11 : FROM ${BASE} AS builder 06:44:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:44:38 b3c136eddcbf: Pulling fs layer 06:44:38 c0a3192eca97: Pulling fs layer 06:44:38 a050256f5b6f: Pulling fs layer 06:44:38 656be50a0ddc: Pulling fs layer 06:44:38 2bbca73fdf42: Pulling fs layer 06:44:38 46d945488cbd: Pulling fs layer 06:44:38 8a5474983e97: Pulling fs layer 06:44:38 329c88fbcd65: Pulling fs layer 06:44:38 656be50a0ddc: Waiting 06:44:38 2bbca73fdf42: Waiting 06:44:38 8a5474983e97: Waiting 06:44:38 46d945488cbd: Waiting 06:44:38 329c88fbcd65: Waiting 06:44:38 a050256f5b6f: Verifying Checksum 06:44:38 a050256f5b6f: Download complete 06:44:38 c0a3192eca97: Download complete 06:44:38 2bbca73fdf42: Download complete 06:44:38 46d945488cbd: Verifying Checksum 06:44:38 46d945488cbd: Download complete 06:44:38 b3c136eddcbf: Verifying Checksum 06:44:38 b3c136eddcbf: Download complete 06:44:39 b3c136eddcbf: Pull complete 06:44:40 329c88fbcd65: Verifying Checksum 06:44:40 329c88fbcd65: Download complete 06:44:40 c0a3192eca97: Pull complete 06:44:40 a050256f5b6f: Pull complete 06:44:40 8a5474983e97: Verifying Checksum 06:44:40 8a5474983e97: Download complete 06:44:41 656be50a0ddc: Verifying Checksum 06:44:41 656be50a0ddc: Download complete 06:44:54 656be50a0ddc: Pull complete 06:44:54 2bbca73fdf42: Pull complete 06:44:54 46d945488cbd: Pull complete 06:44:59 8a5474983e97: Pull complete 06:45:02 329c88fbcd65: Pull complete 06:45:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 06:45:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:45:02 ---> ff4287adb874 06:45:02 Step 3/11 : ARG MAKE=make build 06:45:03 ---> Running in bf0126170f3c 06:45:03 Removing intermediate container bf0126170f3c 06:45:03 ---> 7ac08e1177ef 06:45:03 Step 4/11 : WORKDIR /device-sdk-go 06:45:03 ---> Running in ef09e0bd2533 06:45:04 Removing intermediate container ef09e0bd2533 06:45:04 ---> 7a71250fe6f2 06:45:04 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:45:04 ---> Running in ba8492c1b618 06:45:04 Removing intermediate container ba8492c1b618 06:45:04 ---> 3538d0b859e0 06:45:04 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:04 ---> Running in 877500ce5d2c 06:45:06 Removing intermediate container 877500ce5d2c 06:45:06 ---> ee32e162d04b 06:45:06 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:45:06 ---> Running in d031ec596a6c 06:45:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:45:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:45:09 OK: 221 MiB in 51 packages 06:45:09 Removing intermediate container d031ec596a6c 06:45:09 ---> 54a039b798d5 06:45:09 Step 8/11 : COPY go.mod vendor* ./ 06:45:10 ---> 22f0b5394275 06:45:10 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:45:10 ---> Running in cd4a1eb7b294 06:45:57 Removing intermediate container cd4a1eb7b294 06:45:57 ---> 98700c05e47b 06:45:57 Step 10/11 : COPY . . 06:45:57 ---> e3048a8c9362 06:45:57 Step 11/11 : RUN ${MAKE} 06:45:57 ---> Running in a96d7a91fea7 06:45:57 noop 06:45:57 Removing intermediate container a96d7a91fea7 06:45:57 ---> 9675cc2930f9 06:45:57 Successfully built 9675cc2930f9 06:45:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:57 + docker inspect -f . ci-base-image-arm64 06:45:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:57 prd-ubuntu20.04-docker-arm64-4c-16g-546 does not seem to be running inside a container 06:45:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:45:59 $ docker top dbf810307aa45c88292bb5be85add428358e5eab80c62589da3528166b02de82 -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:00 + go version 06:46:00 go version go1.18.3 linux/arm64 [Pipeline] } 06:46:00 $ docker stop --time=1 dbf810307aa45c88292bb5be85add428358e5eab80c62589da3528166b02de82 06:46:01 $ docker rm -f dbf810307aa45c88292bb5be85add428358e5eab80c62589da3528166b02de82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:02 + docker inspect -f . ci-base-image-arm64 06:46:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:46:02 prd-ubuntu20.04-docker-arm64-4c-16g-546 does not seem to be running inside a container 06:46:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:46:03 $ docker top f624a0635494ea974cbfdd440d5f94bb1445f55f2b702c4d528acccced301cac -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:03 + git config --global --add safe.directory /w/workspace/device-sdk-go/9 [Pipeline] fileExists [Pipeline] sh 06:46:04 + make test 06:46:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:46:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:48:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:48:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:48:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:48:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:48:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:48:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.333s coverage: 27.6% of statements 06:48:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.653s coverage: 78.9% of statements 06:48:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:48:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.590s coverage: 60.0% of statements 06:48:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:48:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:48:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.837s coverage: 54.4% of statements 06:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:48:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.795s coverage: 65.1% of statements 06:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:48:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.408s coverage: 89.2% of statements 06:48:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.256s coverage: 4.8% of statements 06:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:48:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:48:33 GO111MODULE=on go vet ./... 06:50:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:50:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:50:25 ./bin/test-attribution-txt.sh 06:50:25 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:50:25 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 06:50:25 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 06:50:25 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 06:50:25 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:50:25 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:50:25 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 06:50:25 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 06:50:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:50:25 $ docker stop --time=1 f624a0635494ea974cbfdd440d5f94bb1445f55f2b702c4d528acccced301cac 06:50:27 $ docker rm -f f624a0635494ea974cbfdd440d5f94bb1445f55f2b702c4d528acccced301cac [Pipeline] // withDockerContainer [Pipeline] sh 06:50:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:50:28 Warning: overwriting stash ‘coverage-report’ 06:50:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:50:29 + ls -al . 06:50:29 total 272 06:50:29 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 06:46 . 06:50:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:44 .. 06:50:29 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 06:44 .dockerignore 06:50:29 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 06:44 .git 06:50:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:44 .github 06:50:29 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 06:44 .gitignore 06:50:29 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 06:44 .golangci.yml 06:50:29 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 06:44 CHANGELOG.md 06:50:29 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 06:44 GOVERNANCE.md 06:50:29 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 06:44 Jenkinsfile 06:50:29 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 06:44 LICENSE 06:50:29 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 06:44 Makefile 06:50:29 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 06:44 OWNERS.md 06:50:29 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 06:44 README.md 06:50:29 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 06:42 VERSION 06:50:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 06:44 bin 06:50:29 -rw-r--r-- 1 jenkins jenkins 100768 Sep 22 06:48 coverage.out 06:50:29 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 06:44 example 06:50:29 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 06:44 go.mod 06:50:29 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 06:44 go.sum 06:50:29 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 06:44 internal 06:50:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 06:44 openapi 06:50:29 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 06:44 pkg 06:50:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 06:44 snap 06:50:29 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 06:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:29 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f01e66227662d25f4833e0cdc3ae44f135655644 --label arch=arm64 --label version=0.0.0 . 06:50:31 Sending build context to Docker daemon 5.409MB 06:50:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:50:31 Step 2/25 : FROM ${BASE} AS builder 06:50:31 ---> 9675cc2930f9 06:50:31 Step 3/25 : ARG MAKE=make build 06:50:31 ---> Running in 05e9556a27e3 06:50:31 Removing intermediate container 05e9556a27e3 06:50:31 ---> 7c93ef53db15 06:50:31 Step 4/25 : WORKDIR /device-sdk-go 06:50:31 ---> Running in 87c3f6d76364 06:50:32 Removing intermediate container 87c3f6d76364 06:50:32 ---> 47a29e58a4a7 06:50:32 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:50:32 ---> Running in 78e66441b511 06:50:32 Removing intermediate container 78e66441b511 06:50:32 ---> 70b5e9c78822 06:50:32 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:32 ---> Running in 428b6c184da4 06:50:34 Removing intermediate container 428b6c184da4 06:50:34 ---> 57571adb0a9b 06:50:34 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:50:34 ---> Running in bebf237dd2d7 06:50:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:50:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:50:37 OK: 221 MiB in 51 packages 06:50:37 Removing intermediate container bebf237dd2d7 06:50:37 ---> 58b4747c6e50 06:50:37 Step 8/25 : COPY go.mod vendor* ./ 06:50:38 ---> 9e3852ef97fa 06:50:38 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:50:38 ---> Running in d5341ba44e96 06:50:40 Removing intermediate container d5341ba44e96 06:50:40 ---> 32f40c0611f7 06:50:40 Step 10/25 : COPY . . 06:50:41 ---> 1b958b2b5b6c 06:50:41 Step 11/25 : RUN ${MAKE} 06:50:41 ---> Running in 10f8615b1d65 06:50:42 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 06:52:48 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:52:48 Removing intermediate container 10f8615b1d65 06:52:48 ---> 688e338f27a0 06:52:48 Step 12/25 : FROM alpine:3.16 06:52:48 3.16: Pulling from library/alpine 06:52:48 9b18e9b68314: Pulling fs layer 06:52:48 9b18e9b68314: Verifying Checksum 06:52:48 9b18e9b68314: Download complete 06:52:48 9b18e9b68314: Pull complete 06:52:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:52:48 Status: Downloaded newer image for alpine:3.16 06:52:48 ---> a6215f271958 06:52:48 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:52:48 ---> Running in 98ddce6ce8b0 06:52:48 Removing intermediate container 98ddce6ce8b0 06:52:48 ---> 867fa6212a99 06:52:48 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:52:48 ---> Running in 29a87df27d34 06:52:48 Removing intermediate container 29a87df27d34 06:52:48 ---> 241c4426499b 06:52:48 Step 15/25 : RUN apk add --update --no-cache zeromq 06:52:48 ---> Running in 14b01a54569b 06:52:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:52:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:52:51 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:52:51 (2/5) Installing libsodium (1.0.18-r0) 06:52:51 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:52:51 (4/5) Installing libzmq (4.3.4-r0) 06:52:51 (5/5) Installing zeromq (4.3.4-r0) 06:52:51 Executing busybox-1.35.0-r17.trigger 06:52:51 OK: 8 MiB in 19 packages 06:52:52 Removing intermediate container 14b01a54569b 06:52:52 ---> b8bd5669a48d 06:52:52 Step 16/25 : WORKDIR / 06:52:52 ---> Running in a6e54c765499 06:52:52 Removing intermediate container a6e54c765499 06:52:52 ---> 0feef114fe31 06:52:52 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:52:53 ---> 02266bef9baa 06:52:53 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:52:54 ---> 7c309a8cebc4 06:52:54 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:52:55 ---> df04d25aae1f 06:52:55 Step 20/25 : EXPOSE 59999 06:52:55 ---> Running in 82a83192ce84 06:52:55 Removing intermediate container 82a83192ce84 06:52:55 ---> 5e4876cb81f2 06:52:55 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:52:55 ---> Running in 983509a1b5d2 06:52:55 Removing intermediate container 983509a1b5d2 06:52:55 ---> 7a18e9205ee4 06:52:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:52:56 ---> Running in f328cdf74ff1 06:52:56 Removing intermediate container f328cdf74ff1 06:52:56 ---> 59717a9bff11 06:52:56 Step 23/25 : LABEL arch=arm64 06:52:56 ---> Running in 0196a0958044 06:52:56 Removing intermediate container 0196a0958044 06:52:56 ---> 7ab524431411 06:52:56 Step 24/25 : LABEL git_sha=f01e66227662d25f4833e0cdc3ae44f135655644 06:52:57 ---> Running in 63388d39fa6d 06:52:57 Removing intermediate container 63388d39fa6d 06:52:57 ---> b4c4f339bd6c 06:52:57 Step 25/25 : LABEL version=0.0.0 06:52:57 ---> Running in 4944266b3e23 06:52:57 Removing intermediate container 4944266b3e23 06:52:57 ---> d41dadcc2b7c 06:52:57 [Warning] One or more build-args [ARCH] were not consumed 06:52:57 Successfully built d41dadcc2b7c 06:52:57 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 06:52:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:58 06:52:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:58 arm64: Pulling from edgex-lftools-log-publisher 06:52:58 8998bd30e6a1: Pulling fs layer 06:52:58 04944245beec: Pulling fs layer 06:52:58 699f458cf7ca: Pulling fs layer 06:52:58 765212b225bb: Pulling fs layer 06:52:58 f23df028b6ca: Pulling fs layer 06:52:58 d65c8cfc05b1: Pulling fs layer 06:52:58 2437ff75d9bd: Pulling fs layer 06:52:58 f23df028b6ca: Waiting 06:52:58 2437ff75d9bd: Waiting 06:52:58 765212b225bb: Waiting 06:52:58 04944245beec: Verifying Checksum 06:52:58 04944245beec: Download complete 06:52:58 765212b225bb: Verifying Checksum 06:52:58 765212b225bb: Download complete 06:52:58 f23df028b6ca: Verifying Checksum 06:52:58 f23df028b6ca: Download complete 06:52:58 d65c8cfc05b1: Download complete 06:52:58 699f458cf7ca: Verifying Checksum 06:52:58 699f458cf7ca: Download complete 06:52:59 8998bd30e6a1: Verifying Checksum 06:52:59 8998bd30e6a1: Download complete 06:53:01 2437ff75d9bd: Verifying Checksum 06:53:01 2437ff75d9bd: Download complete 06:53:03 8998bd30e6a1: Pull complete 06:53:03 04944245beec: Pull complete 06:53:05 699f458cf7ca: Pull complete 06:53:05 765212b225bb: Pull complete 06:53:05 f23df028b6ca: Pull complete 06:53:06 d65c8cfc05b1: Pull complete 06:53:21 2437ff75d9bd: Pull complete 06:53:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:53:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:53:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:21 prd-ubuntu20.04-docker-arm64-4c-16g-546 does not seem to be running inside a container 06:53:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:53:23 $ docker top 535fc93eb1a653367534bc983ae27a89aff3c653f0ed5236c8ddcac15d26fff7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:53:24 ---> job-cost.sh 06:53:24 lf-activate-venv: SKIPPING 06:53:24 INFO: No Stack... 06:53:25 INFO: Retrieving Pricing Info for: v3-standard-4 06:53:26 INFO: Archiving Costs [Pipeline] sh 06:53:26 + cut -d, -f6 06:53:26 + cat /w/workspace/device-sdk-go/9/archives/cost.csv [Pipeline] lock 06:53:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] 06:53:26 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] did not exist. Created. 06:53:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:27 /w/workspace/device-sdk-go/9@tmp/durable-6cc58f3e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:53:27 + echo total: 0.10999999940395355 [Pipeline] stash 06:53:27 Warning: overwriting stash ‘stack-cost’ 06:53:27 Stashed 1 file(s) [Pipeline] } 06:53:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-9-stack-cost] [Pipeline] // lock [Pipeline] } 06:53:27 $ docker stop --time=1 535fc93eb1a653367534bc983ae27a89aff3c653f0ed5236c8ddcac15d26fff7 06:53:28 $ docker rm -f 535fc93eb1a653367534bc983ae27a89aff3c653f0ed5236c8ddcac15d26fff7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:53:29 provisioning config files... 06:53:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config16770393458493720425tmp [Pipeline] { [Pipeline] sh 06:53:29 + set +x 06:53:29 + curl -s https://codecov.io/bash 06:53:29 + bash -s -- 06:53:29 06:53:29 _____ _ 06:53:29 / ____| | | 06:53:29 | | ___ __| | ___ ___ _____ __ 06:53:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:53:29 | |___| (_) | (_| | __/ (_| (_) \ V / 06:53:29 \_____\___/ \__,_|\___|\___\___/ \_/ 06:53:29 Bash-1.0.6 06:53:29 06:53:29 06:53:29 ==> git version 2.25.1 found 06:53:29 ==> 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 06:53:29 Release-Date: 2020-01-08 06:53:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:53:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:53:29 ==> Jenkins CI detected. 06:53:29 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 06:53:29 project root: . 06:53:29 --> token set from env 06:53:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:53:29 ==> Running gcov in . (disable via -X gcov) 06:53:29 ==> Python coveragepy not found 06:53:29 ==> Searching for coverage reports in: 06:53:29 + . 06:53:29 -> Found 1 reports 06:53:29 ==> Detecting git/mercurial file structure 06:53:29 ==> Reading reports 06:53:29 + ./coverage.out bytes=100768 06:53:29 ==> Appending adjustments 06:53:29 https://docs.codecov.io/docs/fixing-reports 06:53:29 + Found adjustments 06:53:29 ==> Gzipping contents 06:53:30 16K /tmp/codecov.CSu2AE.gz 06:53:30 ==> Uploading reports 06:53:30 url: https://codecov.io 06:53:30 query: branch=PR-1196&commit=aa68bb43ba4ba6389006a396e9401756110d6284&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 06:53:30 -> Pinging Codecov 06:53:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=aa68bb43ba4ba6389006a396e9401756110d6284&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 06:53:30 -> Uploading to 06:53:30 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/aa68bb43ba4ba6389006a396e9401756110d6284/9413b21f-9584-4df4-ba1a-aedfb19d0f10.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T065330Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83842fc576733c361f7ac6e44c3087d8bcb7044f8522732aa7f00a5db83668f6 06:53:30 % Total % Received % Xferd Average Speed Time Time Time Current 06:53:30 Dload Upload Total Spent Left Speed 06:53:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14421 0 0 100 14421 0 62973 --:--:-- --:--:-- --:--:-- 62973 06:53:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/aa68bb43ba4ba6389006a396e9401756110d6284 [Pipeline] } 06:53:30 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 06:53:31 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] 06:53:31 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 06:53:31 total 16 06:53:31 drwxr-xr-x 3 root root 4096 Sep 22 06:44 . 06:53:31 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 06:44 .. 06:53:31 drwxr-xr-x 2 root root 4096 Sep 22 06:44 cost 06:53:31 -rw-r--r-- 1 root root 86 Sep 22 06:44 cost.csv 06:53:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 06:53:31 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 06:53:31 total 16 06:53:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 06:44 . 06:53:31 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 06:44 .. 06:53:31 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 06:44 cost 06:53:31 -rw-r--r-- 1 jenkins jenkins 86 Sep 22 06:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:53:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:53:32 ---> package-listing.sh 06:53:32 ++ facter osfamily 06:53:32 ++ tr '[:upper:]' '[:lower:]' 06:53:32 + OS_FAMILY=debian 06:53:32 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 06:53:32 + START_PACKAGES=/tmp/packages_start.txt 06:53:32 + END_PACKAGES=/tmp/packages_end.txt 06:53:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:53:32 + PACKAGES=/tmp/packages_start.txt 06:53:32 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 06:53:32 + PACKAGES=/tmp/packages_end.txt 06:53:32 + case "${OS_FAMILY}" in 06:53:32 + dpkg -l 06:53:32 + grep '^ii' 06:53:32 + '[' -f /tmp/packages_start.txt ']' 06:53:32 + '[' -f /tmp/packages_end.txt ']' 06:53:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:53:32 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 06:53:32 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ 06:53:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo 06:53:32 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:53:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:53:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:33 prd-ubuntu20.04-docker-8c-8g-545 does not seem to be running inside a container 06:53:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:53:33 $ docker top ec32c15063a48c79d68b68ffb57a2bca816123e8ba71f2ec1712cfdb6ba84bfb -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:34 + touch /tmp/pre-build-complete [Pipeline] sh 06:53:34 + mkdir -p /var/log/sysstat [Pipeline] sh 06:53:34 + ls /var/log/sa-host 06:53:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:53:34 provisioning config files... 06:53:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config14795677918695894404tmp [Pipeline] { [Pipeline] echo 06:53:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:53:35 ---> create-netrc.sh [Pipeline] } 06:53:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:53:35 ---> python-tools-install.sh [Pipeline] echo 06:53:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:53:35 ---> sudo-logs.sh 06:53:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:53:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:53:36 ---> job-cost.sh 06:53:36 lf-activate-venv: SKIPPING 06:53:36 DEBUG: total: 0.2199999988079071 06:53:36 INFO: Retrieving Stack Cost... 06:53:36 INFO: Retrieving Pricing Info for: v3-standard-8 06:53:37 INFO: Archiving Costs [Pipeline] echo 06:53:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:53:37 ---> logs-deploy.sh 06:53:37 lf-activate-venv: SKIPPING 06:53:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/9 06:53:37 INFO: archiving workspace using pattern(s): 06:53:38 Archives upload complete. 06:53:38 INFO: archiving logs to Nexus