Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30b5625222734a144936f26b3a3df0ac58ed1e4d 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-ssh14358077710660389267.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-ssh13266319838996377387.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6093399875422024718.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-ssh5387200544807561883.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8830417548751207851.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2080’ Running on prd-ubuntu20.04-docker-8c-8g-2088 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 Avoid second fetch Checking out Revision 30b5625222734a144936f26b3a3df0ac58ed1e4d (main) Commit message: "Merge pull request #1220 from hahattan/issue-1219" > 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 core.sparsecheckout # timeout=10 > git checkout -f 30b5625222734a144936f26b3a3df0ac58ed1e4d # timeout=10 > git rev-list --no-walk 32167e186cd280efad328d3bc9a5f43c05eae3ff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-29T06:48:33.340Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-29T06:48:33.403Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-29T06:48:33.418Z] ========================================================= [2022-09-29T06:48:33.418Z] EdgeX Global Pipelines Version Info [2022-09-29T06:48:33.418Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-29T06:48:34.138Z] ------------------- [2022-09-29T06:48:34.138Z] stable info: [2022-09-29T06:48:34.138Z] ------------------- [2022-09-29T06:48:34.138Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-29T06:48:34.138Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-29T06:48:34.138Z] Message: update stable to v1.0.239 [2022-09-29T06:48:34.710Z] ------------------- [2022-09-29T06:48:34.710Z] experimental info: [2022-09-29T06:48:34.710Z] ------------------- [2022-09-29T06:48:34.710Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-29T06:48:34.710Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-29T06:48:34.710Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-29T06:48:34.876Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-29T06:48:34.886Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-29T06:48:34.897Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-29T06:48:34.908Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-29T06:48:34.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-29T06:48:34.935Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-29T06:48:34.952Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-29T06:48:34.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-29T06:48:34.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-29T06:48:34.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-29T06:48:35.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-29T06:48:35.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-29T06:48:35.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-29T06:48:35.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-29T06:48:35.046Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-29T06:48:35.057Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-29T06:48:35.068Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-29T06:48:35.081Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-29T06:48:35.092Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-29T06:48:35.105Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-29T06:48:35.116Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-29T06:48:35.128Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-29T06:48:35.140Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-29T06:48:35.151Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-29T06:48:35.162Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-29T06:48:35.175Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-29T06:48:35.189Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-29T06:48:35.199Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-29T06:48:35.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-29T06:48:35.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-29T06:48:35.232Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] echo [2022-09-29T06:48:35.245Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30b5625 [Pipeline] echo [2022-09-29T06:48:35.259Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T06:48:35.298Z] provisioning config files... [2022-09-29T06:48:35.310Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7372465371093252963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T06:48:35.612Z] ---> docker-login.sh [2022-09-29T06:48:35.612Z] nexus3.edgexfoundry.org:10001 [2022-09-29T06:48:35.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:35.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:35.873Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:35.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:35.873Z] [2022-09-29T06:48:35.873Z] Login Succeeded [2022-09-29T06:48:35.873Z] nexus3.edgexfoundry.org:10002 [2022-09-29T06:48:35.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:36.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:36.131Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:36.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:36.131Z] [2022-09-29T06:48:36.131Z] Login Succeeded [2022-09-29T06:48:36.131Z] nexus3.edgexfoundry.org:10003 [2022-09-29T06:48:36.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:36.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:36.131Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:36.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:36.131Z] [2022-09-29T06:48:36.131Z] Login Succeeded [2022-09-29T06:48:36.131Z] nexus3.edgexfoundry.org:10004 [2022-09-29T06:48:36.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:36.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:36.392Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:36.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:36.392Z] [2022-09-29T06:48:36.392Z] Login Succeeded [2022-09-29T06:48:36.392Z] docker.io [2022-09-29T06:48:36.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:36.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:36.652Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:36.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:36.652Z] [2022-09-29T06:48:36.652Z] Login Succeeded [2022-09-29T06:48:36.652Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T06:48:36.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-29T06:48:37.009Z] + git rev-list -1 --merges 30b5625222734a144936f26b3a3df0ac58ed1e4d~1..30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] echo [2022-09-29T06:48:37.036Z] -----------> git rev-list -1 --merges 30b5625222734a144936f26b3a3df0ac58ed1e4d~1..30b5625222734a144936f26b3a3df0ac58ed1e4d 30b5625222734a144936f26b3a3df0ac58ed1e4d [2022-09-29T06:48:37.036Z] 30b5625222734a144936f26b3a3df0ac58ed1e4d [false] [Pipeline] sh [2022-09-29T06:48:37.324Z] + git log --format=format:%s -1 30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] echo [2022-09-29T06:48:37.338Z] ========================================================= [2022-09-29T06:48:37.338Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-29T06:48:37.338Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-29T06:48:37.671Z] + git log --format=format:%s -1 30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] echo [2022-09-29T06:48:37.682Z] [semverPrep] GIT_COMMIT: 30b5625222734a144936f26b3a3df0ac58ed1e4d, Commit Message: Merge pull request #1220 from hahattan/issue-1219 [Pipeline] echo [2022-09-29T06:48:37.692Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-29T06:48:38.053Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-29T06:48:38.053Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-29T06:48:38.053Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-29T06:48:38.053Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-29T06:48:38.053Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-29T06:48:38.053Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-29T06:48:38.053Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:48:38.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-29T06:48:38.465Z] [2022-09-29T06:48:38.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:48:38.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-29T06:48:38.788Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-29T06:48:38.788Z] b85a868b505f: Pulling fs layer [2022-09-29T06:48:38.788Z] e2be974225ed: Pulling fs layer [2022-09-29T06:48:38.788Z] 339a4e72a1f5: Pulling fs layer [2022-09-29T06:48:38.788Z] 988bab9f4d93: Pulling fs layer [2022-09-29T06:48:38.788Z] 1469e6f7b9e6: Pulling fs layer [2022-09-29T06:48:38.788Z] eaf3925da568: Pulling fs layer [2022-09-29T06:48:38.788Z] bab4dde63d76: Pulling fs layer [2022-09-29T06:48:38.788Z] bde34c3a00c8: Pulling fs layer [2022-09-29T06:48:38.788Z] b352a97aabf1: Pulling fs layer [2022-09-29T06:48:38.788Z] 4872d77fe225: Pulling fs layer [2022-09-29T06:48:38.788Z] 5851b861e8e6: Pulling fs layer [2022-09-29T06:48:38.788Z] 1469e6f7b9e6: Waiting [2022-09-29T06:48:38.788Z] eaf3925da568: Waiting [2022-09-29T06:48:38.788Z] bab4dde63d76: Waiting [2022-09-29T06:48:38.788Z] bde34c3a00c8: Waiting [2022-09-29T06:48:38.788Z] b352a97aabf1: Waiting [2022-09-29T06:48:38.788Z] 4872d77fe225: Waiting [2022-09-29T06:48:38.788Z] 5851b861e8e6: Waiting [2022-09-29T06:48:38.788Z] 988bab9f4d93: Waiting [2022-09-29T06:48:38.788Z] 988bab9f4d93: Download complete [2022-09-29T06:48:38.788Z] 1469e6f7b9e6: Verifying Checksum [2022-09-29T06:48:38.788Z] 1469e6f7b9e6: Download complete [2022-09-29T06:48:39.051Z] 339a4e72a1f5: Verifying Checksum [2022-09-29T06:48:39.051Z] 339a4e72a1f5: Download complete [2022-09-29T06:48:39.051Z] eaf3925da568: Verifying Checksum [2022-09-29T06:48:39.051Z] eaf3925da568: Download complete [2022-09-29T06:48:39.051Z] bde34c3a00c8: Verifying Checksum [2022-09-29T06:48:39.051Z] bde34c3a00c8: Download complete [2022-09-29T06:48:39.051Z] b352a97aabf1: Download complete [2022-09-29T06:48:39.051Z] 4872d77fe225: Verifying Checksum [2022-09-29T06:48:39.051Z] 4872d77fe225: Download complete [2022-09-29T06:48:39.051Z] 5851b861e8e6: Verifying Checksum [2022-09-29T06:48:39.051Z] 5851b861e8e6: Download complete [2022-09-29T06:48:39.051Z] b85a868b505f: Verifying Checksum [2022-09-29T06:48:39.051Z] b85a868b505f: Download complete [2022-09-29T06:48:39.311Z] bab4dde63d76: Verifying Checksum [2022-09-29T06:48:39.311Z] bab4dde63d76: Download complete [2022-09-29T06:48:40.250Z] b85a868b505f: Pull complete [2022-09-29T06:48:40.509Z] e2be974225ed: Pull complete [2022-09-29T06:48:41.076Z] 339a4e72a1f5: Pull complete [2022-09-29T06:48:41.076Z] 988bab9f4d93: Pull complete [2022-09-29T06:48:41.336Z] 1469e6f7b9e6: Pull complete [2022-09-29T06:48:41.595Z] eaf3925da568: Pull complete [2022-09-29T06:48:43.499Z] bab4dde63d76: Pull complete [2022-09-29T06:48:43.499Z] bde34c3a00c8: Pull complete [2022-09-29T06:48:43.499Z] b352a97aabf1: Pull complete [2022-09-29T06:48:43.499Z] 4872d77fe225: Pull complete [2022-09-29T06:48:43.499Z] 5851b861e8e6: Pull complete [2022-09-29T06:48:43.760Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-29T06:48:43.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-29T06:48:43.760Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T06:48:43.840Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T06:48:43.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-29T06:48:46.490Z] $ docker top 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 -eo pid,comm [2022-09-29T06:48:46.542Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-29T06:48:46.542Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-29T06:48:46.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-29T06:48:46.569Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-29T06:48:46.677Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-29T06:48:46.681Z] $ docker exec 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 ssh-agent [2022-09-29T06:48:46.808Z] SSH_AUTH_SOCK=/tmp/ssh-j6GVfkYwE61S/agent.32 [2022-09-29T06:48:46.808Z] SSH_AGENT_PID=38 [2022-09-29T06:48:46.814Z] Running ssh-add (command line suppressed) [2022-09-29T06:48:46.916Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8844835275305409960.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8844835275305409960.key) [2022-09-29T06:48:46.928Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-29T06:48:47.215Z] + git tag --points-at HEAD [Pipeline] } [2022-09-29T06:48:47.234Z] $ docker exec --env ******** --env ******** 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 ssh-agent -k [2022-09-29T06:48:47.336Z] unset SSH_AUTH_SOCK; [2022-09-29T06:48:47.337Z] unset SSH_AGENT_PID; [2022-09-29T06:48:47.337Z] echo Agent pid 38 killed; [2022-09-29T06:48:47.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-29T06:48:47.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-29T06:48:47.370Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-29T06:48:47.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-29T06:48:47.486Z] $ docker exec 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 ssh-agent [2022-09-29T06:48:47.585Z] SSH_AUTH_SOCK=/tmp/ssh-YiTh24mqKutQ/agent.70 [2022-09-29T06:48:47.585Z] SSH_AGENT_PID=76 [2022-09-29T06:48:47.590Z] Running ssh-add (command line suppressed) [2022-09-29T06:48:47.708Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9273356064854788118.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9273356064854788118.key) [2022-09-29T06:48:47.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-29T06:48:48.007Z] + git semver init [2022-09-29T06:48:48.267Z] 2022-09-29 06:48:48,202 [run_init] DEBUG init version:0.0.0 force:False [2022-09-29T06:48:48.267Z] 2022-09-29 06:48:48,202 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-09-29T06:48:48.267Z] 2022-09-29 06:48:48,203 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-09-29T06:48:48.267Z] 2022-09-29 06:48:48,203 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-29T06:48:49.645Z] 2022-09-29 06:48:49,249 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-09-29T06:48:49.645Z] 2022-09-29 06:48:49,250 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-09-29T06:48:49.645Z] 2022-09-29 06:48:49,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-29T06:48:49.645Z] 2022-09-29 06:48:49,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-29T06:48:49.645Z] 2.3.0-dev.31 [Pipeline] } [2022-09-29T06:48:49.657Z] $ docker exec --env ******** --env ******** 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 ssh-agent -k [2022-09-29T06:48:49.751Z] unset SSH_AUTH_SOCK; [2022-09-29T06:48:49.752Z] unset SSH_AGENT_PID; [2022-09-29T06:48:49.752Z] echo Agent pid 76 killed; [2022-09-29T06:48:49.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-29T06:48:50.059Z] + git semver [Pipeline] } [2022-09-29T06:48:50.332Z] $ docker stop --time=1 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 [2022-09-29T06:48:51.655Z] $ docker rm -f 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-29T06:48:51.991Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-29T06:48:52.162Z] Stashed 1 file(s) [Pipeline] echo [2022-09-29T06:48:52.165Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.31 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T06:48:52.258Z] provisioning config files... [2022-09-29T06:48:52.267Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17227420430215064563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T06:48:52.558Z] ---> docker-login.sh [2022-09-29T06:48:52.558Z] nexus3.edgexfoundry.org:10001 [2022-09-29T06:48:52.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:52.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:52.558Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:52.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:52.558Z] [2022-09-29T06:48:52.558Z] Login Succeeded [2022-09-29T06:48:52.558Z] nexus3.edgexfoundry.org:10002 [2022-09-29T06:48:52.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:52.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:52.558Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:52.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:52.558Z] [2022-09-29T06:48:52.558Z] Login Succeeded [2022-09-29T06:48:52.558Z] nexus3.edgexfoundry.org:10003 [2022-09-29T06:48:52.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:52.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:52.816Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:52.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:52.816Z] [2022-09-29T06:48:52.816Z] Login Succeeded [2022-09-29T06:48:52.816Z] nexus3.edgexfoundry.org:10004 [2022-09-29T06:48:52.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:52.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:52.816Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:52.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:52.816Z] [2022-09-29T06:48:52.816Z] Login Succeeded [2022-09-29T06:48:52.816Z] docker.io [2022-09-29T06:48:53.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:48:53.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:48:53.336Z] Configure a credential helper to remove this warning. See [2022-09-29T06:48:53.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:48:53.336Z] [2022-09-29T06:48:53.336Z] Login Succeeded [2022-09-29T06:48:53.336Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T06:48:53.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-29T06:48:53.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-29T06:48:53.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-29T06:48:53.397Z] ========================================================= [2022-09-29T06:48:53.397Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-29T06:48:53.397Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:48:53.692Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-29T06:48:53.692Z] Sending build context to Docker daemon 9.907MB [2022-09-29T06:48:53.692Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-29T06:48:53.692Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-29T06:48:53.692Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-29T06:48:53.692Z] 2408cc74d12b: Pulling fs layer [2022-09-29T06:48:53.692Z] ea60b727a1ce: Pulling fs layer [2022-09-29T06:48:53.692Z] 30c4a7721957: Pulling fs layer [2022-09-29T06:48:53.692Z] 370296b7ddb6: Pulling fs layer [2022-09-29T06:48:53.692Z] 7c6cee850709: Pulling fs layer [2022-09-29T06:48:53.692Z] 39a5fcdaea64: Pulling fs layer [2022-09-29T06:48:53.692Z] d94ebbe4e438: Pulling fs layer [2022-09-29T06:48:53.692Z] bcfd1f05c69d: Pulling fs layer [2022-09-29T06:48:53.692Z] 59ccb84bbe0f: Pulling fs layer [2022-09-29T06:48:53.692Z] 370296b7ddb6: Waiting [2022-09-29T06:48:53.692Z] bcfd1f05c69d: Waiting [2022-09-29T06:48:53.692Z] 39a5fcdaea64: Waiting [2022-09-29T06:48:53.692Z] d94ebbe4e438: Waiting [2022-09-29T06:48:53.692Z] 59ccb84bbe0f: Waiting [2022-09-29T06:48:53.692Z] 30c4a7721957: Verifying Checksum [2022-09-29T06:48:53.692Z] 30c4a7721957: Download complete [2022-09-29T06:48:53.692Z] ea60b727a1ce: Verifying Checksum [2022-09-29T06:48:53.692Z] ea60b727a1ce: Download complete [2022-09-29T06:48:53.951Z] 7c6cee850709: Verifying Checksum [2022-09-29T06:48:53.951Z] 7c6cee850709: Download complete [2022-09-29T06:48:53.951Z] 39a5fcdaea64: Verifying Checksum [2022-09-29T06:48:53.951Z] 39a5fcdaea64: Download complete [2022-09-29T06:48:53.951Z] 2408cc74d12b: Verifying Checksum [2022-09-29T06:48:53.951Z] 2408cc74d12b: Download complete [2022-09-29T06:48:53.951Z] d94ebbe4e438: Verifying Checksum [2022-09-29T06:48:53.951Z] d94ebbe4e438: Download complete [2022-09-29T06:48:53.951Z] 2408cc74d12b: Pull complete [2022-09-29T06:48:54.211Z] ea60b727a1ce: Pull complete [2022-09-29T06:48:54.211Z] 30c4a7721957: Pull complete [2022-09-29T06:48:54.471Z] 59ccb84bbe0f: Download complete [2022-09-29T06:48:54.471Z] bcfd1f05c69d: Verifying Checksum [2022-09-29T06:48:54.471Z] bcfd1f05c69d: Download complete [2022-09-29T06:48:54.729Z] 370296b7ddb6: Verifying Checksum [2022-09-29T06:48:54.729Z] 370296b7ddb6: Download complete [2022-09-29T06:48:58.925Z] 370296b7ddb6: Pull complete [2022-09-29T06:48:58.925Z] 7c6cee850709: Pull complete [2022-09-29T06:48:58.925Z] 39a5fcdaea64: Pull complete [2022-09-29T06:48:58.925Z] d94ebbe4e438: Pull complete [2022-09-29T06:49:00.837Z] bcfd1f05c69d: Pull complete [2022-09-29T06:49:01.774Z] 59ccb84bbe0f: Pull complete [2022-09-29T06:49:01.774Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-29T06:49:01.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-29T06:49:01.774Z] ---> a4fb48ad2a94 [2022-09-29T06:49:01.774Z] Step 3/11 : ARG MAKE=make build [2022-09-29T06:49:07.229Z] Still waiting to schedule task [2022-09-29T06:49:07.229Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-29T06:49:08.351Z] ---> Running in b071c8bf1ed4 [2022-09-29T06:49:08.351Z] Removing intermediate container b071c8bf1ed4 [2022-09-29T06:49:08.351Z] ---> ea917a0af58c [2022-09-29T06:49:08.351Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-29T06:49:08.351Z] ---> Running in 7bdc1250f8be [2022-09-29T06:49:08.351Z] Removing intermediate container 7bdc1250f8be [2022-09-29T06:49:08.351Z] ---> 02d81e79094e [2022-09-29T06:49:08.351Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-29T06:49:08.351Z] ---> Running in 176e15d49107 [2022-09-29T06:49:08.351Z] Removing intermediate container 176e15d49107 [2022-09-29T06:49:08.351Z] ---> 1d3c935f6810 [2022-09-29T06:49:08.351Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T06:49:08.351Z] ---> Running in 3915f181430f [2022-09-29T06:49:08.918Z] Removing intermediate container 3915f181430f [2022-09-29T06:49:08.918Z] ---> ec2438515d60 [2022-09-29T06:49:08.918Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-29T06:49:08.918Z] ---> Running in b4117313a746 [2022-09-29T06:49:09.177Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-29T06:49:10.116Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-29T06:49:10.375Z] OK: 211 MiB in 51 packages [2022-09-29T06:49:10.633Z] Removing intermediate container b4117313a746 [2022-09-29T06:49:10.633Z] ---> 412a565504e1 [2022-09-29T06:49:10.633Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-29T06:49:10.892Z] ---> 8d46df359518 [2022-09-29T06:49:10.892Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-29T06:49:10.892Z] ---> Running in f8fd66ed90b4 [2022-09-29T06:49:37.449Z] Removing intermediate container f8fd66ed90b4 [2022-09-29T06:49:37.449Z] ---> 8c2f6ca96e51 [2022-09-29T06:49:37.449Z] Step 10/11 : COPY . . [2022-09-29T06:49:37.449Z] ---> 2cf3b8001175 [2022-09-29T06:49:37.449Z] Step 11/11 : RUN ${MAKE} [2022-09-29T06:49:37.449Z] ---> Running in 2e47f240f821 [2022-09-29T06:49:37.449Z] noop [2022-09-29T06:49:37.709Z] Removing intermediate container 2e47f240f821 [2022-09-29T06:49:37.709Z] ---> 23e4a6c9843e [2022-09-29T06:49:37.709Z] Successfully built 23e4a6c9843e [2022-09-29T06:49:37.709Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:49:38.025Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-29T06:49:38.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T06:49:38.095Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T06:49:38.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2022-09-29T06:49:38.510Z] $ docker top 98fb475dd9de3eeac29c766faec6405cd2be65388cb455bf4be10351193cc7ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T06:49:38.853Z] + go version [2022-09-29T06:49:38.854Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-29T06:49:38.866Z] $ docker stop --time=1 98fb475dd9de3eeac29c766faec6405cd2be65388cb455bf4be10351193cc7ce [2022-09-29T06:49:40.475Z] $ docker rm -f 98fb475dd9de3eeac29c766faec6405cd2be65388cb455bf4be10351193cc7ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:49:40.906Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-29T06:49:40.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T06:49:40.974Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T06:49:41.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2022-09-29T06:49:41.560Z] $ docker top b87205768611d428d0e4ca71ad725f132b75b9eb32734f752432f568aed23815 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T06:49:41.897Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-09-29T06:49:42.192Z] + make test [2022-09-29T06:49:42.192Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-29T06:49:48.765Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-29T06:50:00.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-29T06:50:00.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-29T06:50:00.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-29T06:50:00.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-29T06:50:00.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-29T06:50:00.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements [2022-09-29T06:50:00.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements [2022-09-29T06:50:00.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-29T06:50:00.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.092s coverage: 60.0% of statements [2022-09-29T06:50:00.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-29T06:50:00.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-29T06:50:01.530Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.123s coverage: 54.4% of statements [2022-09-29T06:50:01.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-29T06:50:01.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-29T06:50:01.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-29T06:50:01.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-29T06:50:01.530Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 65.1% of statements [2022-09-29T06:50:01.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-29T06:50:01.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-29T06:50:01.530Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.765s coverage: 89.2% of statements [2022-09-29T06:50:01.530Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-29T06:50:01.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-09-29T06:50:01.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-29T06:50:16.647Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-29T06:50:16.647Z] GO111MODULE=on go vet ./... [2022-09-29T06:50:18.551Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-29T06:50:18.551Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-29T06:50:18.811Z] ./bin/test-attribution-txt.sh [2022-09-29T06:50:18.811Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-29T06:50:18.811Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-29T06:50:18.811Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-29T06:50:18.811Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-29T06:50:18.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-29T06:50:18.837Z] $ docker stop --time=1 b87205768611d428d0e4ca71ad725f132b75b9eb32734f752432f568aed23815 [2022-09-29T06:50:23.153Z] $ docker rm -f b87205768611d428d0e4ca71ad725f132b75b9eb32734f752432f568aed23815 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-29T06:50:23.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-29T06:50:23.688Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-29T06:50:24.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-29T06:50:24.565Z] + ls -al . [2022-09-29T06:50:24.565Z] total 276 [2022-09-29T06:50:24.565Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 29 06:49 . [2022-09-29T06:50:24.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 06:48 .. [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 29 06:48 .dockerignore [2022-09-29T06:50:24.565Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 06:50 .git [2022-09-29T06:50:24.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 06:48 .github [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 29 06:48 .gitignore [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 29 06:48 .golangci.yml [2022-09-29T06:50:24.565Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 06:48 .semver [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 29 06:48 CHANGELOG.md [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 29 06:48 GOVERNANCE.md [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 29 06:48 Jenkinsfile [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 29 06:48 LICENSE [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 29 06:48 Makefile [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 29 06:48 OWNERS.md [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 29 06:48 README.md [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 29 06:48 VERSION [2022-09-29T06:50:24.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 06:48 bin [2022-09-29T06:50:24.565Z] -rw-r--r-- 1 jenkins jenkins 100927 Sep 29 06:50 coverage.out [2022-09-29T06:50:24.565Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 29 06:48 example [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 29 06:48 go.mod [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 29 06:48 go.sum [2022-09-29T06:50:24.565Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 29 06:48 internal [2022-09-29T06:50:24.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 06:48 openapi [2022-09-29T06:50:24.565Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 29 06:48 pkg [2022-09-29T06:50:24.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 06:48 snap [2022-09-29T06:50:24.565Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 29 06:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:50:24.942Z] + 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=30b5625222734a144936f26b3a3df0ac58ed1e4d --label arch=amd64 --label version=2.3.0-dev.31 . [2022-09-29T06:50:24.942Z] Sending build context to Docker daemon 10.01MB [2022-09-29T06:50:24.942Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-29T06:50:24.942Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-29T06:50:24.942Z] ---> 23e4a6c9843e [2022-09-29T06:50:24.942Z] Step 3/25 : ARG MAKE=make build [2022-09-29T06:50:25.199Z] ---> Running in 6b9cf1ac3b91 [2022-09-29T06:50:25.199Z] Removing intermediate container 6b9cf1ac3b91 [2022-09-29T06:50:25.199Z] ---> 0c61f640e1c3 [2022-09-29T06:50:25.199Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-29T06:50:25.199Z] ---> Running in 2b303e2d80c7 [2022-09-29T06:50:25.199Z] Removing intermediate container 2b303e2d80c7 [2022-09-29T06:50:25.199Z] ---> 254589e4ff85 [2022-09-29T06:50:25.199Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-29T06:50:25.199Z] ---> Running in 762817481ee5 [2022-09-29T06:50:25.458Z] Removing intermediate container 762817481ee5 [2022-09-29T06:50:25.458Z] ---> b3c248bcaec6 [2022-09-29T06:50:25.458Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T06:50:25.458Z] ---> Running in aacb04034ec0 [2022-09-29T06:50:26.026Z] Removing intermediate container aacb04034ec0 [2022-09-29T06:50:26.026Z] ---> 02bacffdb77e [2022-09-29T06:50:26.026Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-29T06:50:26.026Z] ---> Running in 4aed73d3eaee [2022-09-29T06:50:26.285Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-29T06:50:27.222Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-29T06:50:27.222Z] OK: 211 MiB in 51 packages [2022-09-29T06:50:27.790Z] Removing intermediate container 4aed73d3eaee [2022-09-29T06:50:27.790Z] ---> da70f9e18b23 [2022-09-29T06:50:27.790Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-29T06:50:27.790Z] ---> af672a2cec2e [2022-09-29T06:50:27.790Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-29T06:50:27.790Z] ---> Running in ded6556458d2 [2022-09-29T06:50:28.356Z] Removing intermediate container ded6556458d2 [2022-09-29T06:50:28.356Z] ---> 59de92991020 [2022-09-29T06:50:28.356Z] Step 10/25 : COPY . . [2022-09-29T06:50:28.924Z] ---> 1df632e3d837 [2022-09-29T06:50:28.924Z] Step 11/25 : RUN ${MAKE} [2022-09-29T06:50:28.924Z] ---> Running in 91b95c2fb58c [2022-09-29T06:50:29.182Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.31" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-29T06:50:39.880Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2090 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-09-29T06:50:39.893Z] Running in /w/workspace/device-sdk-go/106 [Pipeline] { [Pipeline] checkout [2022-09-29T06:50:39.934Z] The recommended git tool is: git [2022-09-29T06:50:45.455Z] using credential edgex-jenkins-ssh [2022-09-29T06:50:45.471Z] Cloning the remote Git repository [2022-09-29T06:50:45.521Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-29T06:50:45.600Z] > git init /w/workspace/device-sdk-go/106 # timeout=10 [2022-09-29T06:50:45.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-29T06:50:45.751Z] > git --version # timeout=10 [2022-09-29T06:50:45.776Z] > git --version # 'git version 2.25.1' [2022-09-29T06:50:45.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-29T06:50:45.833Z] Verifying host key using known hosts file [2022-09-29T06:50:46.049Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-29T06:50:46.067Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-29T06:50:47.253Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-29T06:50:48.409Z] Avoid second fetch [2022-09-29T06:50:48.409Z] Checking out Revision 30b5625222734a144936f26b3a3df0ac58ed1e4d (main) [2022-09-29T06:50:47.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-29T06:50:47.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-29T06:50:48.428Z] > git config core.sparsecheckout # timeout=10 [2022-09-29T06:50:48.447Z] > git checkout -f 30b5625222734a144936f26b3a3df0ac58ed1e4d # timeout=10 [2022-09-29T06:50:48.909Z] Commit message: "Merge pull request #1220 from hahattan/issue-1219" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-29T06:50:49.786Z] Removing intermediate container 91b95c2fb58c [2022-09-29T06:50:49.786Z] ---> 221483e88ed2 [2022-09-29T06:50:49.786Z] Step 12/25 : FROM alpine:3.16 [2022-09-29T06:50:49.796Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-29T06:50:49.796Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-29T06:50:49.796Z] Dload Upload Total Spent Left Speed [2022-09-29T06:50:49.796Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 61 12602 61 7747 0 0 61000 0 --:--:-- --:--:-- --:--:-- 60523 100 12602 100 12602 0 0 97689 0 --:--:-- --:--:-- --:--:-- 97689 [Pipeline] sh [2022-09-29T06:50:50.355Z] 3.16: Pulling from library/alpine [2022-09-29T06:50:50.355Z] 213ec9aee27d: Pulling fs layer [2022-09-29T06:50:50.360Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-29T06:50:50.634Z] 213ec9aee27d: Verifying Checksum [2022-09-29T06:50:50.635Z] 213ec9aee27d: Download complete [2022-09-29T06:50:50.685Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-29T06:50:50.685Z] + sudo tee /etc/docker/daemon.new [2022-09-29T06:50:50.685Z] { [2022-09-29T06:50:50.685Z] "registry-mirrors": [ [2022-09-29T06:50:50.685Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-29T06:50:50.685Z] ], [2022-09-29T06:50:50.685Z] "bip": "10.250.0.254/24", [2022-09-29T06:50:50.685Z] "hosts": [ [2022-09-29T06:50:50.685Z] "tcp://0.0.0.0:5555", [2022-09-29T06:50:50.685Z] "unix:///var/run/docker.sock" [2022-09-29T06:50:50.685Z] ], [2022-09-29T06:50:50.685Z] "mtu": 1458, [2022-09-29T06:50:50.685Z] "selinux-enabled": true, [2022-09-29T06:50:50.685Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-29T06:50:50.685Z] } [Pipeline] sh [2022-09-29T06:50:50.894Z] 213ec9aee27d: Pull complete [2022-09-29T06:50:50.894Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-29T06:50:50.894Z] Status: Downloaded newer image for alpine:3.16 [2022-09-29T06:50:50.894Z] ---> 9c6f07244728 [2022-09-29T06:50:50.894Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-29T06:50:50.894Z] ---> Running in 8a4dd0d8228f [2022-09-29T06:50:51.018Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-29T06:50:51.152Z] Removing intermediate container 8a4dd0d8228f [2022-09-29T06:50:51.152Z] ---> 92ecc34ddc0c [2022-09-29T06:50:51.152Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T06:50:51.152Z] ---> Running in 1ade15843f69 [2022-09-29T06:50:51.360Z] + sudo service docker restart [2022-09-29T06:50:51.720Z] Removing intermediate container 1ade15843f69 [2022-09-29T06:50:51.720Z] ---> b957e499f470 [2022-09-29T06:50:51.720Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-29T06:50:51.720Z] ---> Running in 403d43039e41 [2022-09-29T06:50:51.979Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-29T06:50:52.916Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-29T06:50:52.916Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-29T06:50:53.175Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-29T06:50:53.175Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-29T06:50:53.433Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-29T06:50:53.433Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-29T06:50:53.433Z] Executing busybox-1.35.0-r17.trigger [2022-09-29T06:50:53.433Z] OK: 8 MiB in 19 packages [2022-09-29T06:50:54.000Z] Removing intermediate container 403d43039e41 [2022-09-29T06:50:54.000Z] ---> 6d6f0f8589ac [2022-09-29T06:50:54.000Z] Step 16/25 : WORKDIR / [2022-09-29T06:50:54.000Z] ---> Running in 829fc274f198 [2022-09-29T06:50:54.258Z] Removing intermediate container 829fc274f198 [2022-09-29T06:50:54.258Z] ---> a1af955dd816 [2022-09-29T06:50:54.258Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-29T06:50:54.258Z] ---> 5864e724538a [2022-09-29T06:50:54.258Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-29T06:50:55.192Z] ---> 1ca7541ed863 [2022-09-29T06:50:55.192Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-29T06:50:55.450Z] ---> 37555a2939d5 [2022-09-29T06:50:55.450Z] Step 20/25 : EXPOSE 59999 [2022-09-29T06:50:55.450Z] ---> Running in 558accca0158 [2022-09-29T06:50:55.709Z] Removing intermediate container 558accca0158 [2022-09-29T06:50:55.709Z] ---> 4200d5c7ab5e [2022-09-29T06:50:55.709Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-29T06:50:55.966Z] ---> Running in 62bf48c95a8d [2022-09-29T06:50:55.966Z] Removing intermediate container 62bf48c95a8d [2022-09-29T06:50:55.966Z] ---> 4c6bcd76e987 [2022-09-29T06:50:55.966Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-29T06:50:55.966Z] ---> Running in f3c6c494e2cb [2022-09-29T06:50:56.225Z] Removing intermediate container f3c6c494e2cb [2022-09-29T06:50:56.225Z] ---> 63e26a426111 [2022-09-29T06:50:56.225Z] Step 23/25 : LABEL arch=amd64 [2022-09-29T06:50:56.225Z] ---> Running in faf49ac54319 [2022-09-29T06:50:56.484Z] Removing intermediate container faf49ac54319 [2022-09-29T06:50:56.484Z] ---> 2c4ef21bede9 [2022-09-29T06:50:56.484Z] Step 24/25 : LABEL git_sha=30b5625222734a144936f26b3a3df0ac58ed1e4d [2022-09-29T06:50:56.484Z] ---> Running in 2d53ae195aea [2022-09-29T06:50:56.742Z] Removing intermediate container 2d53ae195aea [2022-09-29T06:50:56.742Z] ---> 246a44d011b2 [2022-09-29T06:50:56.742Z] Step 25/25 : LABEL version=2.3.0-dev.31 [2022-09-29T06:50:56.742Z] ---> Running in d001a99f6d2e [2022-09-29T06:50:57.000Z] Removing intermediate container d001a99f6d2e [2022-09-29T06:50:57.000Z] ---> ffaeabb77794 [2022-09-29T06:50:57.000Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-29T06:50:57.000Z] Successfully built ffaeabb77794 [2022-09-29T06:50:57.000Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:50:57.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T06:50:57.403Z] [2022-09-29T06:50:57.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:50:57.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T06:50:57.697Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-29T06:50:57.697Z] 5eb5b503b376: Pulling fs layer [2022-09-29T06:50:57.697Z] 5c69ac0246d0: Pulling fs layer [2022-09-29T06:50:57.697Z] ec43610c2a17: Pulling fs layer [2022-09-29T06:50:57.697Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-29T06:50:57.697Z] 33b1e0a273af: Pulling fs layer [2022-09-29T06:50:57.697Z] 5d3b04190fa2: Pulling fs layer [2022-09-29T06:50:57.697Z] 2f39f015ded8: Pulling fs layer [2022-09-29T06:50:57.697Z] 33b1e0a273af: Waiting [2022-09-29T06:50:57.697Z] 5d3b04190fa2: Waiting [2022-09-29T06:50:57.697Z] 2f39f015ded8: Waiting [2022-09-29T06:50:57.697Z] 3a2ae6a8a46f: Waiting [2022-09-29T06:50:57.697Z] 5c69ac0246d0: Verifying Checksum [2022-09-29T06:50:57.697Z] 5c69ac0246d0: Download complete [2022-09-29T06:50:57.697Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-29T06:50:57.697Z] 3a2ae6a8a46f: Download complete [2022-09-29T06:50:57.955Z] 33b1e0a273af: Verifying Checksum [2022-09-29T06:50:57.955Z] 33b1e0a273af: Download complete [2022-09-29T06:50:57.955Z] ec43610c2a17: Verifying Checksum [2022-09-29T06:50:57.955Z] ec43610c2a17: Download complete [2022-09-29T06:50:57.955Z] 5d3b04190fa2: Verifying Checksum [2022-09-29T06:50:57.956Z] 5d3b04190fa2: Download complete [2022-09-29T06:50:57.956Z] 5eb5b503b376: Verifying Checksum [2022-09-29T06:50:57.956Z] 5eb5b503b376: Download complete [2022-09-29T06:50:58.522Z] 2f39f015ded8: Download complete [2022-09-29T06:50:59.456Z] 5eb5b503b376: Pull complete [2022-09-29T06:50:59.456Z] 5c69ac0246d0: Pull complete [2022-09-29T06:51:00.025Z] ec43610c2a17: Pull complete [2022-09-29T06:51:00.025Z] 3a2ae6a8a46f: Pull complete [2022-09-29T06:51:00.284Z] 33b1e0a273af: Pull complete [2022-09-29T06:51:00.543Z] 5d3b04190fa2: Pull complete [2022-09-29T06:51:04.723Z] 2f39f015ded8: Pull complete [2022-09-29T06:51:04.723Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-29T06:51:04.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T06:51:04.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T06:51:04.802Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T06:51:04.828Z] $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-29T06:51:08.597Z] $ docker top e5bf859acecae29e69e615c7b807d1ab7970648f53fea4171780a2b45991a338 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T06:51:08.951Z] ---> job-cost.sh [2022-09-29T06:51:08.951Z] lf-activate-venv: SKIPPING [2022-09-29T06:51:08.951Z] INFO: No Stack... [2022-09-29T06:51:09.209Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-29T06:51:09.468Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T06:51:09.626Z] provisioning config files... [2022-09-29T06:51:09.653Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/106@tmp/config3775786255209151957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T06:51:09.754Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-09-29T06:51:09.754Z] + cut -d, -f6 [Pipeline] lock [2022-09-29T06:51:09.770Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [2022-09-29T06:51:09.776Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] did not exist. Created. [2022-09-29T06:51:09.776Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-29T06:51:09.996Z] ---> docker-login.sh [2022-09-29T06:51:09.996Z] nexus3.edgexfoundry.org:10001 [2022-09-29T06:51:10.068Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-29T06:51:10.096Z] Stashed 1 file(s) [Pipeline] } [2022-09-29T06:51:10.102Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-29T06:51:10.117Z] $ docker stop --time=1 e5bf859acecae29e69e615c7b807d1ab7970648f53fea4171780a2b45991a338 [2022-09-29T06:51:10.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:51:10.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:51:10.540Z] Configure a credential helper to remove this warning. See [2022-09-29T06:51:10.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:51:10.540Z] [2022-09-29T06:51:10.540Z] Login Succeeded [2022-09-29T06:51:10.540Z] nexus3.edgexfoundry.org:10002 [2022-09-29T06:51:10.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:51:10.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:51:10.810Z] Configure a credential helper to remove this warning. See [2022-09-29T06:51:10.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:51:10.810Z] [2022-09-29T06:51:10.810Z] Login Succeeded [2022-09-29T06:51:11.084Z] nexus3.edgexfoundry.org:10003 [2022-09-29T06:51:11.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:51:11.258Z] $ docker rm -f e5bf859acecae29e69e615c7b807d1ab7970648f53fea4171780a2b45991a338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-29T06:51:11.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:51:11.355Z] Configure a credential helper to remove this warning. See [2022-09-29T06:51:11.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:51:11.355Z] [2022-09-29T06:51:11.355Z] Login Succeeded [2022-09-29T06:51:11.355Z] nexus3.edgexfoundry.org:10004 [2022-09-29T06:51:11.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:51:11.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:51:11.623Z] Configure a credential helper to remove this warning. See [2022-09-29T06:51:11.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:51:11.623Z] [2022-09-29T06:51:11.623Z] Login Succeeded [2022-09-29T06:51:11.623Z] docker.io [2022-09-29T06:51:11.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-29T06:51:12.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-29T06:51:12.478Z] Configure a credential helper to remove this warning. See [2022-09-29T06:51:12.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-29T06:51:12.478Z] [2022-09-29T06:51:12.478Z] Login Succeeded [2022-09-29T06:51:12.478Z] ---> docker-login.sh ends [Pipeline] } [2022-09-29T06:51:12.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-29T06:51:12.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-29T06:51:12.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-29T06:51:12.657Z] ========================================================= [2022-09-29T06:51:12.657Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-29T06:51:12.657Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:51:13.001Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-29T06:51:13.271Z] Sending build context to Docker daemon 5.319MB [2022-09-29T06:51:13.271Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-29T06:51:13.271Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-29T06:51:13.544Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-29T06:51:13.544Z] b3c136eddcbf: Pulling fs layer [2022-09-29T06:51:13.544Z] c0a3192eca97: Pulling fs layer [2022-09-29T06:51:13.544Z] a050256f5b6f: Pulling fs layer [2022-09-29T06:51:13.544Z] 656be50a0ddc: Pulling fs layer [2022-09-29T06:51:13.544Z] 2bbca73fdf42: Pulling fs layer [2022-09-29T06:51:13.544Z] 46d945488cbd: Pulling fs layer [2022-09-29T06:51:13.544Z] 8a5474983e97: Pulling fs layer [2022-09-29T06:51:13.544Z] 329c88fbcd65: Pulling fs layer [2022-09-29T06:51:13.544Z] 656be50a0ddc: Waiting [2022-09-29T06:51:13.544Z] 2bbca73fdf42: Waiting [2022-09-29T06:51:13.544Z] 46d945488cbd: Waiting [2022-09-29T06:51:13.544Z] 8a5474983e97: Waiting [2022-09-29T06:51:13.544Z] 329c88fbcd65: Waiting [2022-09-29T06:51:13.544Z] a050256f5b6f: Verifying Checksum [2022-09-29T06:51:13.544Z] a050256f5b6f: Download complete [2022-09-29T06:51:13.544Z] c0a3192eca97: Verifying Checksum [2022-09-29T06:51:13.544Z] c0a3192eca97: Download complete [2022-09-29T06:51:13.544Z] 2bbca73fdf42: Verifying Checksum [2022-09-29T06:51:13.544Z] 2bbca73fdf42: Download complete [2022-09-29T06:51:13.544Z] 46d945488cbd: Download complete [2022-09-29T06:51:13.544Z] b3c136eddcbf: Verifying Checksum [2022-09-29T06:51:13.544Z] b3c136eddcbf: Download complete [2022-09-29T06:51:14.539Z] b3c136eddcbf: Pull complete [2022-09-29T06:51:14.811Z] 329c88fbcd65: Verifying Checksum [2022-09-29T06:51:14.811Z] 329c88fbcd65: Download complete [2022-09-29T06:51:15.417Z] c0a3192eca97: Pull complete [2022-09-29T06:51:15.685Z] a050256f5b6f: Pull complete [2022-09-29T06:51:15.954Z] 8a5474983e97: Verifying Checksum [2022-09-29T06:51:15.954Z] 8a5474983e97: Download complete [2022-09-29T06:51:16.540Z] 656be50a0ddc: Verifying Checksum [2022-09-29T06:51:16.540Z] 656be50a0ddc: Download complete [2022-09-29T06:51:28.906Z] 656be50a0ddc: Pull complete [2022-09-29T06:51:28.906Z] 2bbca73fdf42: Pull complete [2022-09-29T06:51:28.906Z] 46d945488cbd: Pull complete [2022-09-29T06:51:35.575Z] 8a5474983e97: Pull complete [2022-09-29T06:51:37.551Z] 329c88fbcd65: Pull complete [2022-09-29T06:51:37.551Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-29T06:51:37.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-29T06:51:37.551Z] ---> ff4287adb874 [2022-09-29T06:51:37.551Z] Step 3/11 : ARG MAKE=make build [2022-09-29T06:51:39.507Z] ---> Running in 13dceedbab43 [2022-09-29T06:51:39.507Z] Removing intermediate container 13dceedbab43 [2022-09-29T06:51:39.507Z] ---> 54a4db6d1e3b [2022-09-29T06:51:39.507Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-29T06:51:39.507Z] ---> Running in 8f792c7fcd76 [2022-09-29T06:51:39.784Z] Removing intermediate container 8f792c7fcd76 [2022-09-29T06:51:39.784Z] ---> 015a11b0c051 [2022-09-29T06:51:39.784Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-29T06:51:39.784Z] ---> Running in a4fcb6333e74 [2022-09-29T06:51:40.376Z] Removing intermediate container a4fcb6333e74 [2022-09-29T06:51:40.376Z] ---> 4272009eac0b [2022-09-29T06:51:40.376Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T06:51:40.376Z] ---> Running in c5d0b7cdc55d [2022-09-29T06:51:42.347Z] Removing intermediate container c5d0b7cdc55d [2022-09-29T06:51:42.347Z] ---> 8a979f343b48 [2022-09-29T06:51:42.347Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-29T06:51:42.347Z] ---> Running in 2a6f99bb76a1 [2022-09-29T06:51:43.309Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-29T06:51:44.270Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-29T06:51:45.231Z] OK: 221 MiB in 51 packages [2022-09-29T06:51:45.825Z] Removing intermediate container 2a6f99bb76a1 [2022-09-29T06:51:45.825Z] ---> 1521d1ecd4f3 [2022-09-29T06:51:45.825Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-29T06:51:46.504Z] ---> 58d666ee7a2e [2022-09-29T06:51:46.504Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-29T06:51:46.504Z] ---> Running in 30654c3c3a60 [2022-09-29T06:52:33.428Z] Removing intermediate container 30654c3c3a60 [2022-09-29T06:52:33.428Z] ---> b0163b9d6ec2 [2022-09-29T06:52:33.428Z] Step 10/11 : COPY . . [2022-09-29T06:52:35.391Z] ---> 5fad96efd4cb [2022-09-29T06:52:35.391Z] Step 11/11 : RUN ${MAKE} [2022-09-29T06:52:35.391Z] ---> Running in 7320de43d9e7 [2022-09-29T06:52:36.813Z] noop [2022-09-29T06:52:37.399Z] Removing intermediate container 7320de43d9e7 [2022-09-29T06:52:37.399Z] ---> 3be6c2ec61d7 [2022-09-29T06:52:37.399Z] Successfully built 3be6c2ec61d7 [2022-09-29T06:52:37.399Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:52:37.750Z] + docker inspect -f . ci-base-image-arm64 [2022-09-29T06:52:37.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T06:52:37.944Z] prd-ubuntu20.04-docker-arm64-4c-16g-2090 does not seem to be running inside a container [2022-09-29T06:52:38.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@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 ******** ci-base-image-arm64 cat [2022-09-29T06:52:39.313Z] $ docker top f62fed228341bb6b3ffa2055d0e6552fe80ae04461e67119d8e645134103b458 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T06:52:40.177Z] + go version [2022-09-29T06:52:40.177Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-29T06:52:40.197Z] $ docker stop --time=1 f62fed228341bb6b3ffa2055d0e6552fe80ae04461e67119d8e645134103b458 [2022-09-29T06:52:41.896Z] $ docker rm -f f62fed228341bb6b3ffa2055d0e6552fe80ae04461e67119d8e645134103b458 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:52:42.460Z] + docker inspect -f . ci-base-image-arm64 [2022-09-29T06:52:42.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T06:52:42.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-2090 does not seem to be running inside a container [2022-09-29T06:52:42.726Z] $ 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/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@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 ******** ci-base-image-arm64 cat [2022-09-29T06:52:44.009Z] $ docker top bd072c58d71889e52bba646ae0d459fc56ce6f0f09d3ae1f6cf6013c7125f858 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T06:52:44.865Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/106 [Pipeline] fileExists [Pipeline] sh [2022-09-29T06:52:45.515Z] + make test [2022-09-29T06:52:45.515Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-29T06:53:24.412Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-29T06:55:31.114Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-29T06:55:31.114Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-29T06:55:31.114Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-29T06:55:31.114Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-29T06:55:31.114Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-29T06:55:35.371Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.501s coverage: 27.6% of statements [2022-09-29T06:55:35.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.509s coverage: 78.9% of statements [2022-09-29T06:55:35.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-29T06:55:44.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.697s coverage: 60.0% of statements [2022-09-29T06:55:44.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-29T06:55:44.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-29T06:55:48.456Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.596s coverage: 54.4% of statements [2022-09-29T06:55:48.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-29T06:55:48.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-29T06:55:48.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-29T06:55:48.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-29T06:55:48.456Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.477s coverage: 65.1% of statements [2022-09-29T06:55:48.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-29T06:55:48.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-29T06:55:48.456Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.287s coverage: 89.2% of statements [2022-09-29T06:55:48.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-29T06:55:51.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.273s coverage: 4.7% of statements [2022-09-29T06:55:51.813Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-29T06:55:52.080Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-29T06:55:52.080Z] GO111MODULE=on go vet ./... [2022-09-29T06:57:28.731Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-29T06:57:28.731Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-29T06:57:28.731Z] ./bin/test-attribution-txt.sh [2022-09-29T06:57:28.731Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-29T06:57:28.731Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-29T06:57:28.731Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-29T06:57:28.731Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-29T06:57:28.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-29T06:57:28.755Z] $ docker stop --time=1 bd072c58d71889e52bba646ae0d459fc56ce6f0f09d3ae1f6cf6013c7125f858 [2022-09-29T06:57:30.576Z] $ docker rm -f bd072c58d71889e52bba646ae0d459fc56ce6f0f09d3ae1f6cf6013c7125f858 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-29T06:57:31.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-29T06:57:31.958Z] Warning: overwriting stash ‘coverage-report’ [2022-09-29T06:57:32.449Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-29T06:57:32.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-29T06:57:33.152Z] + ls -al . [2022-09-29T06:57:33.152Z] total 272 [2022-09-29T06:57:33.152Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 29 06:52 . [2022-09-29T06:57:33.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 06:50 .. [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 29 06:50 .dockerignore [2022-09-29T06:57:33.152Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 06:50 .git [2022-09-29T06:57:33.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 06:50 .github [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 29 06:50 .gitignore [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 29 06:50 .golangci.yml [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 29 06:50 CHANGELOG.md [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 29 06:50 GOVERNANCE.md [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 29 06:50 Jenkinsfile [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 29 06:50 LICENSE [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 29 06:50 Makefile [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 29 06:50 OWNERS.md [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 29 06:50 README.md [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 29 06:48 VERSION [2022-09-29T06:57:33.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 06:50 bin [2022-09-29T06:57:33.152Z] -rw-r--r-- 1 jenkins jenkins 100928 Sep 29 06:55 coverage.out [2022-09-29T06:57:33.152Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 29 06:50 example [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 29 06:50 go.mod [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 29 06:50 go.sum [2022-09-29T06:57:33.152Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 29 06:50 internal [2022-09-29T06:57:33.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 06:50 openapi [2022-09-29T06:57:33.152Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 29 06:50 pkg [2022-09-29T06:57:33.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 06:50 snap [2022-09-29T06:57:33.152Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 29 06:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T06:57:33.488Z] + 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=30b5625222734a144936f26b3a3df0ac58ed1e4d --label arch=arm64 --label version=2.3.0-dev.31 . [2022-09-29T06:57:33.756Z] Sending build context to Docker daemon 5.421MB [2022-09-29T06:57:33.756Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-29T06:57:33.756Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-29T06:57:33.756Z] ---> 3be6c2ec61d7 [2022-09-29T06:57:33.756Z] Step 3/25 : ARG MAKE=make build [2022-09-29T06:57:34.026Z] ---> Running in 2f257a29b9ab [2022-09-29T06:57:34.295Z] Removing intermediate container 2f257a29b9ab [2022-09-29T06:57:34.295Z] ---> 809353634186 [2022-09-29T06:57:34.295Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-29T06:57:34.295Z] ---> Running in d516de7962fd [2022-09-29T06:57:34.561Z] Removing intermediate container d516de7962fd [2022-09-29T06:57:34.561Z] ---> 48dae8522578 [2022-09-29T06:57:34.561Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-29T06:57:34.828Z] ---> Running in f02b45c1cb54 [2022-09-29T06:57:35.095Z] Removing intermediate container f02b45c1cb54 [2022-09-29T06:57:35.095Z] ---> 4bd61009b223 [2022-09-29T06:57:35.095Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T06:57:35.095Z] ---> Running in 66cf193e6455 [2022-09-29T06:57:37.046Z] Removing intermediate container 66cf193e6455 [2022-09-29T06:57:37.046Z] ---> c5a7c53d06c8 [2022-09-29T06:57:37.046Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-29T06:57:37.046Z] ---> Running in 0fc06ccd36f6 [2022-09-29T06:57:38.461Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-29T06:57:39.047Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-29T06:57:40.011Z] OK: 221 MiB in 51 packages [2022-09-29T06:57:41.422Z] Removing intermediate container 0fc06ccd36f6 [2022-09-29T06:57:41.422Z] ---> 20475159c0d4 [2022-09-29T06:57:41.422Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-29T06:57:42.010Z] ---> fb6367aebb90 [2022-09-29T06:57:42.010Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-29T06:57:42.010Z] ---> Running in 5ffd23db8c66 [2022-09-29T06:57:43.960Z] Removing intermediate container 5ffd23db8c66 [2022-09-29T06:57:43.960Z] ---> 7071d6bebaf7 [2022-09-29T06:57:43.960Z] Step 10/25 : COPY . . [2022-09-29T06:57:44.921Z] ---> f1eb4f98f3e2 [2022-09-29T06:57:44.921Z] Step 11/25 : RUN ${MAKE} [2022-09-29T06:57:44.921Z] ---> Running in e19e7c9157d8 [2022-09-29T06:57:45.880Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.31" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-29T07:00:07.574Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-29T07:00:07.574Z] Removing intermediate container e19e7c9157d8 [2022-09-29T07:00:07.574Z] ---> 1f6cf828dea0 [2022-09-29T07:00:07.574Z] Step 12/25 : FROM alpine:3.16 [2022-09-29T07:00:07.574Z] 3.16: Pulling from library/alpine [2022-09-29T07:00:07.574Z] 9b18e9b68314: Pulling fs layer [2022-09-29T07:00:07.574Z] 9b18e9b68314: Verifying Checksum [2022-09-29T07:00:07.574Z] 9b18e9b68314: Download complete [2022-09-29T07:00:07.841Z] 9b18e9b68314: Pull complete [2022-09-29T07:00:07.841Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-29T07:00:07.841Z] Status: Downloaded newer image for alpine:3.16 [2022-09-29T07:00:07.841Z] ---> a6215f271958 [2022-09-29T07:00:07.841Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-29T07:00:07.841Z] ---> Running in b076d4e6cddb [2022-09-29T07:00:08.108Z] Removing intermediate container b076d4e6cddb [2022-09-29T07:00:08.108Z] ---> d1ff22276621 [2022-09-29T07:00:08.108Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-29T07:00:08.378Z] ---> Running in de242283da2e [2022-09-29T07:00:09.792Z] Removing intermediate container de242283da2e [2022-09-29T07:00:09.792Z] ---> 32c35ce35ca7 [2022-09-29T07:00:09.792Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-29T07:00:09.792Z] ---> Running in 6634334a4004 [2022-09-29T07:00:10.753Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-29T07:00:11.713Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-29T07:00:13.121Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-29T07:00:13.121Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-29T07:00:13.121Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-29T07:00:13.121Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-29T07:00:13.388Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-29T07:00:13.388Z] Executing busybox-1.35.0-r17.trigger [2022-09-29T07:00:13.388Z] OK: 8 MiB in 19 packages [2022-09-29T07:00:14.353Z] Removing intermediate container 6634334a4004 [2022-09-29T07:00:14.353Z] ---> 567e609d78fe [2022-09-29T07:00:14.353Z] Step 16/25 : WORKDIR / [2022-09-29T07:00:14.621Z] ---> Running in b2fb8e60f6d5 [2022-09-29T07:00:14.888Z] Removing intermediate container b2fb8e60f6d5 [2022-09-29T07:00:14.888Z] ---> 34c86c5fa9d5 [2022-09-29T07:00:14.888Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-29T07:00:15.154Z] ---> f9c6f59e678e [2022-09-29T07:00:15.154Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-29T07:00:16.567Z] ---> ad8ffb5f3640 [2022-09-29T07:00:16.568Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-29T07:00:16.834Z] ---> 5f1e98b9385b [2022-09-29T07:00:16.834Z] Step 20/25 : EXPOSE 59999 [2022-09-29T07:00:17.112Z] ---> Running in 4b84217fad9e [2022-09-29T07:00:17.380Z] Removing intermediate container 4b84217fad9e [2022-09-29T07:00:17.380Z] ---> 2a8555e862aa [2022-09-29T07:00:17.380Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-29T07:00:17.380Z] ---> Running in 8ad5e4c83062 [2022-09-29T07:00:17.647Z] Removing intermediate container 8ad5e4c83062 [2022-09-29T07:00:17.647Z] ---> 011f1d6856c5 [2022-09-29T07:00:17.647Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-29T07:00:17.647Z] ---> Running in 97d9dc08d0cd [2022-09-29T07:00:17.912Z] Removing intermediate container 97d9dc08d0cd [2022-09-29T07:00:17.912Z] ---> 836886518e55 [2022-09-29T07:00:17.912Z] Step 23/25 : LABEL arch=arm64 [2022-09-29T07:00:17.912Z] ---> Running in 4e95f76c806a [2022-09-29T07:00:18.179Z] Removing intermediate container 4e95f76c806a [2022-09-29T07:00:18.179Z] ---> ba422b7d0a5b [2022-09-29T07:00:18.179Z] Step 24/25 : LABEL git_sha=30b5625222734a144936f26b3a3df0ac58ed1e4d [2022-09-29T07:00:18.454Z] ---> Running in 323ce500c241 [2022-09-29T07:00:18.719Z] Removing intermediate container 323ce500c241 [2022-09-29T07:00:18.719Z] ---> 483369d24e54 [2022-09-29T07:00:18.719Z] Step 25/25 : LABEL version=2.3.0-dev.31 [2022-09-29T07:00:18.719Z] ---> Running in 113a0bbeb31e [2022-09-29T07:00:18.986Z] Removing intermediate container 113a0bbeb31e [2022-09-29T07:00:18.986Z] ---> d52c4695d719 [2022-09-29T07:00:18.986Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-29T07:00:18.986Z] Successfully built d52c4695d719 [2022-09-29T07:00:18.986Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:00:19.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-29T07:00:19.478Z] [2022-09-29T07:00:19.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:00:19.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-29T07:00:19.827Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-29T07:00:19.827Z] 8998bd30e6a1: Pulling fs layer [2022-09-29T07:00:19.827Z] 04944245beec: Pulling fs layer [2022-09-29T07:00:19.827Z] 699f458cf7ca: Pulling fs layer [2022-09-29T07:00:19.827Z] 765212b225bb: Pulling fs layer [2022-09-29T07:00:19.827Z] f23df028b6ca: Pulling fs layer [2022-09-29T07:00:19.827Z] d65c8cfc05b1: Pulling fs layer [2022-09-29T07:00:19.827Z] 2437ff75d9bd: Pulling fs layer [2022-09-29T07:00:19.827Z] 765212b225bb: Waiting [2022-09-29T07:00:19.827Z] f23df028b6ca: Waiting [2022-09-29T07:00:19.827Z] d65c8cfc05b1: Waiting [2022-09-29T07:00:19.827Z] 2437ff75d9bd: Waiting [2022-09-29T07:00:20.151Z] 04944245beec: Verifying Checksum [2022-09-29T07:00:20.151Z] 04944245beec: Download complete [2022-09-29T07:00:20.151Z] 765212b225bb: Verifying Checksum [2022-09-29T07:00:20.151Z] 765212b225bb: Download complete [2022-09-29T07:00:20.151Z] f23df028b6ca: Verifying Checksum [2022-09-29T07:00:20.151Z] f23df028b6ca: Download complete [2022-09-29T07:00:20.151Z] d65c8cfc05b1: Verifying Checksum [2022-09-29T07:00:20.151Z] d65c8cfc05b1: Download complete [2022-09-29T07:00:20.429Z] 699f458cf7ca: Verifying Checksum [2022-09-29T07:00:20.429Z] 699f458cf7ca: Download complete [2022-09-29T07:00:20.724Z] 8998bd30e6a1: Verifying Checksum [2022-09-29T07:00:20.724Z] 8998bd30e6a1: Download complete [2022-09-29T07:00:23.348Z] 2437ff75d9bd: Verifying Checksum [2022-09-29T07:00:23.348Z] 2437ff75d9bd: Download complete [2022-09-29T07:00:24.756Z] 8998bd30e6a1: Pull complete [2022-09-29T07:00:25.024Z] 04944245beec: Pull complete [2022-09-29T07:00:26.431Z] 699f458cf7ca: Pull complete [2022-09-29T07:00:26.431Z] 765212b225bb: Pull complete [2022-09-29T07:00:27.392Z] f23df028b6ca: Pull complete [2022-09-29T07:00:27.392Z] d65c8cfc05b1: Pull complete [2022-09-29T07:00:42.375Z] 2437ff75d9bd: Pull complete [2022-09-29T07:00:42.375Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-29T07:00:42.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-29T07:00:42.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T07:00:42.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-2090 does not seem to be running inside a container [2022-09-29T07:00:42.616Z] $ 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/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-29T07:00:45.239Z] $ docker top 06800614696d187602b3ea70acae3b92bec991cc0f21122c5527c92a7f06e558 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:00:46.048Z] ---> job-cost.sh [2022-09-29T07:00:46.048Z] lf-activate-venv: SKIPPING [2022-09-29T07:00:46.048Z] INFO: No Stack... [2022-09-29T07:00:46.314Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-29T07:00:47.272Z] INFO: Archiving Costs [Pipeline] sh [2022-09-29T07:00:47.588Z] + cat /w/workspace/device-sdk-go/106/archives/cost.csv [2022-09-29T07:00:47.588Z] + cut -d, -f6 [Pipeline] lock [2022-09-29T07:00:47.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [2022-09-29T07:00:47.656Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] did not exist. Created. [2022-09-29T07:00:47.656Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-29T07:00:47.989Z] /w/workspace/device-sdk-go/106@tmp/durable-f802a427/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-29T07:00:48.316Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-29T07:00:48.336Z] Warning: overwriting stash ‘stack-cost’ [2022-09-29T07:00:48.393Z] Stashed 1 file(s) [Pipeline] } [2022-09-29T07:00:48.399Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-29T07:00:48.414Z] $ docker stop --time=1 06800614696d187602b3ea70acae3b92bec991cc0f21122c5527c92a7f06e558 [2022-09-29T07:00:49.881Z] $ docker rm -f 06800614696d187602b3ea70acae3b92bec991cc0f21122c5527c92a7f06e558 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-29T07:00:50.262Z] provisioning config files... [2022-09-29T07:00:50.269Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14900852095693031968tmp [Pipeline] { [Pipeline] sh [2022-09-29T07:00:50.562Z] + set +x [2022-09-29T07:00:50.562Z] + curl -s https://codecov.io/bash [2022-09-29T07:00:50.562Z] + bash -s -- [2022-09-29T07:00:50.562Z] [2022-09-29T07:00:50.562Z] _____ _ [2022-09-29T07:00:50.562Z] / ____| | | [2022-09-29T07:00:50.562Z] | | ___ __| | ___ ___ _____ __ [2022-09-29T07:00:50.562Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-29T07:00:50.562Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-29T07:00:50.562Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-29T07:00:50.562Z] Bash-1.0.6 [2022-09-29T07:00:50.562Z] [2022-09-29T07:00:50.562Z] [2022-09-29T07:00:50.562Z] ==> git version 2.25.1 found [2022-09-29T07:00:50.562Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-29T07:00:50.562Z] Release-Date: 2020-01-08 [2022-09-29T07:00:50.562Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-29T07:00:50.562Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-29T07:00:50.562Z] ==> Jenkins CI detected. [2022-09-29T07:00:50.562Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-09-29T07:00:50.562Z] project root: . [2022-09-29T07:00:50.562Z] --> token set from env [2022-09-29T07:00:50.562Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-29T07:00:50.562Z] ==> Running gcov in . (disable via -X gcov) [2022-09-29T07:00:50.562Z] ==> Python coveragepy not found [2022-09-29T07:00:50.562Z] ==> Searching for coverage reports in: [2022-09-29T07:00:50.562Z] + . [2022-09-29T07:00:50.562Z] -> Found 1 reports [2022-09-29T07:00:50.562Z] ==> Detecting git/mercurial file structure [2022-09-29T07:00:50.562Z] ==> Reading reports [2022-09-29T07:00:50.562Z] + ./coverage.out bytes=100928 [2022-09-29T07:00:50.562Z] ==> Appending adjustments [2022-09-29T07:00:50.562Z] https://docs.codecov.io/docs/fixing-reports [2022-09-29T07:00:50.820Z] + Found adjustments [2022-09-29T07:00:50.820Z] ==> Gzipping contents [2022-09-29T07:00:50.820Z] 16K /tmp/codecov.DVWkjP.gz [2022-09-29T07:00:50.820Z] ==> Uploading reports [2022-09-29T07:00:50.820Z] url: https://codecov.io [2022-09-29T07:00:50.820Z] query: branch=main&commit=30b5625222734a144936f26b3a3df0ac58ed1e4d&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-29T07:00:50.820Z] -> Pinging Codecov [2022-09-29T07:00:50.820Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=30b5625222734a144936f26b3a3df0ac58ed1e4d&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-29T07:00:51.760Z] -> Uploading to [2022-09-29T07:00:51.760Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-29/7E55EF52A471D76F132DFD9A03CDDE97/30b5625222734a144936f26b3a3df0ac58ed1e4d/d5385a2f-10c4-4d6f-84d3-bb1452a09a70.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220929T070051Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=709671dd41d24d74dce01f456e44008c523ff77172cfc61145ee84977e5f45ac [2022-09-29T07:00:51.760Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-29T07:00:51.760Z] Dload Upload Total Spent Left Speed [2022-09-29T07:00:52.018Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14526 0 0 100 14526 0 65728 --:--:-- --:--:-- --:--:-- 65728 [2022-09-29T07:00:52.018Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] } [2022-09-29T07:00:52.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-29T07:00:52.204Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-29T07:00:52.214Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:00:52.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-29T07:00:52.504Z] [2022-09-29T07:00:52.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:00:52.804Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-29T07:00:53.370Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-29T07:00:53.370Z] df9b9388f04a: Pulling fs layer [2022-09-29T07:00:53.370Z] 52dc419b0ee2: Pulling fs layer [2022-09-29T07:00:53.370Z] 25bc292e5bac: Pulling fs layer [2022-09-29T07:00:53.370Z] 114826534d7a: Pulling fs layer [2022-09-29T07:00:53.370Z] 4657fd5d0bcf: Pulling fs layer [2022-09-29T07:00:53.370Z] 6ad1cebc031e: Pulling fs layer [2022-09-29T07:00:53.370Z] 8a3aa393b2d8: Pulling fs layer [2022-09-29T07:00:53.370Z] 4657fd5d0bcf: Waiting [2022-09-29T07:00:53.370Z] 8a3aa393b2d8: Waiting [2022-09-29T07:00:53.370Z] 6ad1cebc031e: Waiting [2022-09-29T07:00:53.370Z] 114826534d7a: Waiting [2022-09-29T07:00:53.370Z] 25bc292e5bac: Verifying Checksum [2022-09-29T07:00:53.370Z] 25bc292e5bac: Download complete [2022-09-29T07:00:53.370Z] 52dc419b0ee2: Verifying Checksum [2022-09-29T07:00:53.370Z] 52dc419b0ee2: Download complete [2022-09-29T07:00:53.370Z] 4657fd5d0bcf: Verifying Checksum [2022-09-29T07:00:53.370Z] 4657fd5d0bcf: Download complete [2022-09-29T07:00:53.370Z] df9b9388f04a: Verifying Checksum [2022-09-29T07:00:53.370Z] df9b9388f04a: Download complete [2022-09-29T07:00:53.629Z] 6ad1cebc031e: Verifying Checksum [2022-09-29T07:00:53.629Z] 6ad1cebc031e: Download complete [2022-09-29T07:00:53.629Z] df9b9388f04a: Pull complete [2022-09-29T07:00:54.197Z] 52dc419b0ee2: Pull complete [2022-09-29T07:00:54.197Z] 114826534d7a: Verifying Checksum [2022-09-29T07:00:54.197Z] 114826534d7a: Download complete [2022-09-29T07:00:54.197Z] 8a3aa393b2d8: Verifying Checksum [2022-09-29T07:00:54.455Z] 25bc292e5bac: Pull complete [2022-09-29T07:00:57.736Z] 114826534d7a: Pull complete [2022-09-29T07:00:57.994Z] 4657fd5d0bcf: Pull complete [2022-09-29T07:00:58.252Z] 6ad1cebc031e: Pull complete [2022-09-29T07:01:00.778Z] 8a3aa393b2d8: Pull complete [2022-09-29T07:01:00.778Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-29T07:01:00.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-29T07:01:00.778Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T07:01:00.860Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T07:01:00.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-09-29T07:01:05.410Z] $ docker top 6cbc95e41c174604d64131d13baaa93de2e4a29a8d11edad3ea16522e09c876f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-29T07:01:05.482Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2022-09-29T07:01:05.759Z] + set -o pipefail [2022-09-29T07:01:05.759Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2022-09-29T07:01:13.879Z] [2022-09-29T07:01:13.879Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-09-29T07:01:13.879Z] [2022-09-29T07:01:13.879Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/faeea2f2-c702-4537-82ab-91b3985599a6 [2022-09-29T07:01:13.879Z] [2022-09-29T07:01:13.879Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-29T07:01:13.879Z] [2022-09-29T07:01:14.138Z] [Pipeline] } [2022-09-29T07:01:14.148Z] $ docker stop --time=1 6cbc95e41c174604d64131d13baaa93de2e4a29a8d11edad3ea16522e09c876f [2022-09-29T07:01:17.649Z] $ docker rm -f 6cbc95e41c174604d64131d13baaa93de2e4a29a8d11edad3ea16522e09c876f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-09-29T07:01:18.029Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T07:01:18.039Z] provisioning config files... [2022-09-29T07:01:18.046Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11953220983208872699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:18.330Z] --> edgex-publish-swagger.sh [2022-09-29T07:01:18.330Z] === Publish openapi/v2 API === [2022-09-29T07:01:18.330Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-09-29T07:01:18.330Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-09-29T07:01:18.330Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-29T07:01:18.330Z] Dload Upload Total Spent Left Speed [2022-09-29T07:01:19.277Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 61909 --:--:-- --:--:-- --:--:-- 61838 100 53552 0 0 100 53552 0 61909 --:--:-- --:--:-- --:--:-- 61838 [2022-09-29T07:01:19.277Z] [2022-09-29T07:01:19.277Z] [Pipeline] } [2022-09-29T07:01:19.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-29T07:01:19.687Z] + git log --format=format:%s -1 30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] sh [2022-09-29T07:01:19.975Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-29T07:01:19.975Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:01:20.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-29T07:01:20.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T07:01:20.338Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T07:01:20.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-29T07:01:20.773Z] $ docker top f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c -eo pid,comm [2022-09-29T07:01:20.826Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-29T07:01:20.826Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-29T07:01:20.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-29T07:01:20.859Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-29T07:01:20.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-29T07:01:20.978Z] $ docker exec f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c ssh-agent [2022-09-29T07:01:21.084Z] SSH_AUTH_SOCK=/tmp/ssh-3yoBCdtdhpqH/agent.33 [2022-09-29T07:01:21.084Z] SSH_AGENT_PID=39 [2022-09-29T07:01:21.088Z] Running ssh-add (command line suppressed) [2022-09-29T07:01:21.191Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16518154016955655042.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16518154016955655042.key) [2022-09-29T07:01:21.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-29T07:01:21.491Z] + git semver tag [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,666 [run_tag] DEBUG tag force:False [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,666 [check_head_tag] DEBUG check head tag [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,667 [execute] INFO git cat-file --batch-check [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,671 [execute] INFO git cat-file --batch [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,689 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,689 [execute] INFO git tag -a v2.3.0-dev.31 -m v2.3.0-dev.31 [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,689 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.31', '-m', 'v2.3.0-dev.31'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-29T07:01:21.749Z] 2022-09-29 07:01:21,694 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-29T07:01:21.749Z] 2.3.0-dev.31 [Pipeline] } [2022-09-29T07:01:21.758Z] $ docker exec --env ******** --env ******** f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c ssh-agent -k [2022-09-29T07:01:21.861Z] unset SSH_AUTH_SOCK; [2022-09-29T07:01:21.861Z] unset SSH_AGENT_PID; [2022-09-29T07:01:21.861Z] echo Agent pid 39 killed; [2022-09-29T07:01:21.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-29T07:01:22.171Z] + git semver [Pipeline] } [2022-09-29T07:01:22.441Z] $ docker stop --time=1 f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c [2022-09-29T07:01:23.765Z] $ docker rm -f f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:01:24.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-29T07:01:24.139Z] [2022-09-29T07:01:24.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:01:24.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-29T07:01:24.436Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-29T07:01:24.436Z] ab5ef0e58194: Pulling fs layer [2022-09-29T07:01:24.436Z] 9712f1f96733: Pulling fs layer [2022-09-29T07:01:24.436Z] 63f879dbbcfc: Pulling fs layer [2022-09-29T07:01:24.436Z] 0d9ebad4ef96: Pulling fs layer [2022-09-29T07:01:24.436Z] e9a5061849ea: Pulling fs layer [2022-09-29T07:01:24.436Z] d747dcd14b5f: Pulling fs layer [2022-09-29T07:01:24.436Z] 2de7ff778b66: Pulling fs layer [2022-09-29T07:01:24.436Z] d747dcd14b5f: Waiting [2022-09-29T07:01:24.436Z] 0d9ebad4ef96: Waiting [2022-09-29T07:01:24.436Z] e9a5061849ea: Waiting [2022-09-29T07:01:24.436Z] 2de7ff778b66: Waiting [2022-09-29T07:01:24.436Z] 9712f1f96733: Verifying Checksum [2022-09-29T07:01:24.436Z] 9712f1f96733: Download complete [2022-09-29T07:01:25.005Z] 63f879dbbcfc: Verifying Checksum [2022-09-29T07:01:25.005Z] 63f879dbbcfc: Download complete [2022-09-29T07:01:25.005Z] 0d9ebad4ef96: Verifying Checksum [2022-09-29T07:01:25.005Z] 0d9ebad4ef96: Download complete [2022-09-29T07:01:25.005Z] d747dcd14b5f: Verifying Checksum [2022-09-29T07:01:25.005Z] d747dcd14b5f: Download complete [2022-09-29T07:01:25.005Z] e9a5061849ea: Verifying Checksum [2022-09-29T07:01:25.005Z] e9a5061849ea: Download complete [2022-09-29T07:01:25.005Z] ab5ef0e58194: Download complete [2022-09-29T07:01:25.005Z] 2de7ff778b66: Verifying Checksum [2022-09-29T07:01:25.005Z] 2de7ff778b66: Download complete [2022-09-29T07:01:27.529Z] ab5ef0e58194: Pull complete [2022-09-29T07:01:27.529Z] 9712f1f96733: Pull complete [2022-09-29T07:01:28.461Z] 63f879dbbcfc: Pull complete [2022-09-29T07:01:32.648Z] 0d9ebad4ef96: Pull complete [2022-09-29T07:01:32.648Z] e9a5061849ea: Pull complete [2022-09-29T07:01:32.648Z] d747dcd14b5f: Pull complete [2022-09-29T07:01:33.584Z] 2de7ff778b66: Pull complete [2022-09-29T07:01:33.584Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-29T07:01:33.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-29T07:01:33.584Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T07:01:33.665Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T07:01:33.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-09-29T07:01:38.302Z] $ docker top 47c9071c51aacc93c0e2e85bd82010bbdee965fcf4f8efb5eb64da2a5b855e8f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-29T07:01:38.372Z] provisioning config files... [2022-09-29T07:01:38.378Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12842064296808234122tmp [2022-09-29T07:01:38.389Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13125066030414950706tmp [2022-09-29T07:01:38.399Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17126000832019017209tmp [Pipeline] { [Pipeline] echo [2022-09-29T07:01:38.424Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:38.707Z] ---> sigul-configuration.sh [2022-09-29T07:01:38.707Z] gpg: directory `/root/.gnupg' created [2022-09-29T07:01:38.707Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-29T07:01:38.707Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-29T07:01:38.707Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-29T07:01:38.707Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-29T07:01:38.707Z] gpg: CAST5 encrypted data [2022-09-29T07:01:38.707Z] gpg: encrypted with 1 passphrase [2022-09-29T07:01:38.707Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-29T07:01:38.993Z] + mkdir /home/jenkins [2022-09-29T07:01:38.993Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-29T07:01:39.275Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-09-29T07:01:39.282Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:39.565Z] ---> sigul-install.sh [2022-09-29T07:01:39.565Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-29T07:01:39.855Z] + git tag --list [2022-09-29T07:01:39.855Z] 0.7.1 [2022-09-29T07:01:39.855Z] delhi-tag [2022-09-29T07:01:39.855Z] v1.0.0 [2022-09-29T07:01:39.855Z] v1.1.0 [2022-09-29T07:01:39.855Z] v1.1.1 [2022-09-29T07:01:39.855Z] v1.1.2 [2022-09-29T07:01:39.855Z] v1.2.0 [2022-09-29T07:01:39.855Z] v1.2.1 [2022-09-29T07:01:39.855Z] v1.2.2 [2022-09-29T07:01:39.855Z] v1.2.3 [2022-09-29T07:01:39.855Z] v1.3.0 [2022-09-29T07:01:39.855Z] v1.4.0 [2022-09-29T07:01:39.855Z] v2.0.0 [2022-09-29T07:01:39.855Z] v2.1.0 [2022-09-29T07:01:39.855Z] v2.1.1 [2022-09-29T07:01:39.855Z] v2.1.1-dev.2 [2022-09-29T07:01:39.855Z] v2.1.1-dev.3 [2022-09-29T07:01:39.855Z] v2.2.0 [2022-09-29T07:01:39.855Z] v2.2.1-dev.1 [2022-09-29T07:01:39.855Z] v2.2.1-dev.10 [2022-09-29T07:01:39.855Z] v2.2.1-dev.11 [2022-09-29T07:01:39.855Z] v2.2.1-dev.12 [2022-09-29T07:01:39.855Z] v2.2.1-dev.13 [2022-09-29T07:01:39.855Z] v2.2.1-dev.14 [2022-09-29T07:01:39.855Z] v2.2.1-dev.2 [2022-09-29T07:01:39.855Z] v2.2.1-dev.3 [2022-09-29T07:01:39.855Z] v2.2.1-dev.4 [2022-09-29T07:01:39.855Z] v2.2.1-dev.5 [2022-09-29T07:01:39.855Z] v2.2.1-dev.6 [2022-09-29T07:01:39.855Z] v2.2.1-dev.7 [2022-09-29T07:01:39.855Z] v2.2.1-dev.8 [2022-09-29T07:01:39.855Z] v2.2.1-dev.9 [2022-09-29T07:01:39.855Z] v2.3.0-dev.14 [2022-09-29T07:01:39.855Z] v2.3.0-dev.15 [2022-09-29T07:01:39.855Z] v2.3.0-dev.16 [2022-09-29T07:01:39.855Z] v2.3.0-dev.17 [2022-09-29T07:01:39.855Z] v2.3.0-dev.18 [2022-09-29T07:01:39.855Z] v2.3.0-dev.19 [2022-09-29T07:01:39.855Z] v2.3.0-dev.20 [2022-09-29T07:01:39.855Z] v2.3.0-dev.21 [2022-09-29T07:01:39.855Z] v2.3.0-dev.22 [2022-09-29T07:01:39.855Z] v2.3.0-dev.23 [2022-09-29T07:01:39.855Z] v2.3.0-dev.24 [2022-09-29T07:01:39.855Z] v2.3.0-dev.25 [2022-09-29T07:01:39.855Z] v2.3.0-dev.26 [2022-09-29T07:01:39.855Z] v2.3.0-dev.27 [2022-09-29T07:01:39.855Z] v2.3.0-dev.28 [2022-09-29T07:01:39.855Z] v2.3.0-dev.29 [2022-09-29T07:01:39.855Z] v2.3.0-dev.30 [2022-09-29T07:01:39.855Z] v2.3.0-dev.31 [Pipeline] sh [2022-09-29T07:01:40.140Z] + lftools sign git-tag v2.3.0-dev.31 [2022-09-29T07:01:40.709Z] Signing Git tag with Sigul... [2022-09-29T07:01:40.709Z] Signing v2.3.0-dev.31 [Pipeline] echo [2022-09-29T07:01:40.978Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:41.259Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-29T07:01:41.266Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-29T07:01:41.283Z] $ docker stop --time=1 47c9071c51aacc93c0e2e85bd82010bbdee965fcf4f8efb5eb64da2a5b855e8f [2022-09-29T07:01:42.592Z] $ docker rm -f 47c9071c51aacc93c0e2e85bd82010bbdee965fcf4f8efb5eb64da2a5b855e8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-29T07:01:42.999Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-29T07:01:42.999Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:01:43.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-29T07:01:43.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T07:01:43.360Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T07:01:43.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-29T07:01:43.781Z] $ docker top f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 -eo pid,comm [2022-09-29T07:01:43.826Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-29T07:01:43.826Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-29T07:01:43.856Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-29T07:01:43.857Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-29T07:01:43.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-29T07:01:43.970Z] $ docker exec f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 ssh-agent [2022-09-29T07:01:44.085Z] SSH_AUTH_SOCK=/tmp/ssh-fNb7rQCsWgE7/agent.34 [2022-09-29T07:01:44.085Z] SSH_AGENT_PID=40 [2022-09-29T07:01:44.089Z] Running ssh-add (command line suppressed) [2022-09-29T07:01:44.191Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8453717378188573710.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8453717378188573710.key) [2022-09-29T07:01:44.205Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-29T07:01:44.487Z] + git semver bump pre [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,669 [bump_version] DEBUG bumping version:2.3.0-dev.31 on axis:pre with prefix:dev [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,670 [bump_version] DEBUG bumped version:2.3.0-dev.32 [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,670 [write_version] DEBUG write version:2.3.0-dev.32 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,670 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,670 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,672 [execute] INFO git cat-file --batch-check [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,678 [execute] INFO git cat-file --batch [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-29T07:01:44.747Z] 2022-09-29 07:01:44,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-29T07:01:44.747Z] 2.3.0-dev.32 [Pipeline] } [2022-09-29T07:01:44.753Z] $ docker exec --env ******** --env ******** f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 ssh-agent -k [2022-09-29T07:01:44.860Z] unset SSH_AUTH_SOCK; [2022-09-29T07:01:44.860Z] unset SSH_AGENT_PID; [2022-09-29T07:01:44.860Z] echo Agent pid 40 killed; [2022-09-29T07:01:44.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-29T07:01:45.172Z] + git semver [Pipeline] } [2022-09-29T07:01:45.443Z] $ docker stop --time=1 f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 [2022-09-29T07:01:46.741Z] $ docker rm -f f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-29T07:01:47.069Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-29T07:01:47.069Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:01:47.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-29T07:01:47.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T07:01:47.427Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T07:01:47.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-29T07:01:47.788Z] $ docker top 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa -eo pid,comm [2022-09-29T07:01:47.836Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-29T07:01:47.836Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-29T07:01:47.863Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-29T07:01:47.863Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-29T07:01:47.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-29T07:01:47.982Z] $ docker exec 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa ssh-agent [2022-09-29T07:01:48.083Z] SSH_AUTH_SOCK=/tmp/ssh-OalLHzxqCE0B/agent.33 [2022-09-29T07:01:48.083Z] SSH_AGENT_PID=39 [2022-09-29T07:01:48.087Z] Running ssh-add (command line suppressed) [2022-09-29T07:01:48.185Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2064102475466403289.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2064102475466403289.key) [2022-09-29T07:01:48.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-29T07:01:48.487Z] + git semver push [2022-09-29T07:01:48.744Z] 2022-09-29 07:01:48,677 [run_push] DEBUG push [2022-09-29T07:01:48.744Z] 2022-09-29 07:01:48,678 [execute] INFO git cat-file --batch-check [2022-09-29T07:01:48.744Z] 2022-09-29 07:01:48,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-29T07:01:48.744Z] 2022-09-29 07:01:48,682 [execute] INFO git rev-list 6c8e631ef77577ac1afa2c498d2e8c67d166bb42 -- [2022-09-29T07:01:48.744Z] 2022-09-29 07:01:48,683 [execute] DEBUG Popen(['git', 'rev-list', '6c8e631ef77577ac1afa2c498d2e8c67d166bb42', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-29T07:01:48.744Z] 2022-09-29 07:01:48,694 [execute] INFO git fetch -v origin [2022-09-29T07:01:48.744Z] 2022-09-29 07:01:48,694 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-09-29T07:01:49.309Z] 2022-09-29 07:01:49,279 [run_push] DEBUG no remote changes detected [2022-09-29T07:01:49.309Z] 2022-09-29 07:01:49,280 [execute] INFO git push origin semver [2022-09-29T07:01:49.309Z] 2022-09-29 07:01:49,280 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-29T07:01:50.251Z] 2022-09-29 07:01:50,068 [run_push] DEBUG push all version tags [2022-09-29T07:01:50.251Z] 2022-09-29 07:01:50,069 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-29T07:01:50.251Z] 2022-09-29 07:01:50,069 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-29T07:01:51.186Z] 2022-09-29 07:01:50,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-29T07:01:51.186Z] 2.3.0-dev.32 [Pipeline] } [2022-09-29T07:01:51.192Z] $ docker exec --env ******** --env ******** 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa ssh-agent -k [2022-09-29T07:01:51.279Z] unset SSH_AUTH_SOCK; [2022-09-29T07:01:51.280Z] unset SSH_AGENT_PID; [2022-09-29T07:01:51.280Z] echo Agent pid 39 killed; [2022-09-29T07:01:51.290Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-29T07:01:51.594Z] + git semver [Pipeline] } [2022-09-29T07:01:51.865Z] $ docker stop --time=1 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa [2022-09-29T07:01:53.163Z] $ docker rm -f 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-29T07:01:53.710Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-09-29T07:01:53.710Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-29T07:01:53.710Z] total 16 [2022-09-29T07:01:53.710Z] drwxr-xr-x 3 root root 4096 Sep 29 06:51 . [2022-09-29T07:01:53.710Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 29 07:01 .. [2022-09-29T07:01:53.710Z] drwxr-xr-x 2 root root 4096 Sep 29 06:51 cost [2022-09-29T07:01:53.710Z] -rw-r--r-- 1 root root 85 Sep 29 06:51 cost.csv [2022-09-29T07:01:53.710Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-29T07:01:53.710Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-29T07:01:53.710Z] total 16 [2022-09-29T07:01:53.710Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 06:51 . [2022-09-29T07:01:53.710Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 29 07:01 .. [2022-09-29T07:01:53.710Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 06:51 cost [2022-09-29T07:01:53.710Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 29 06:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:53.999Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:54.853Z] ---> package-listing.sh [2022-09-29T07:01:54.853Z] ++ facter osfamily [2022-09-29T07:01:54.853Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-29T07:01:55.114Z] + OS_FAMILY=debian [2022-09-29T07:01:55.114Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-09-29T07:01:55.114Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-29T07:01:55.114Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-29T07:01:55.114Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-29T07:01:55.114Z] + PACKAGES=/tmp/packages_start.txt [2022-09-29T07:01:55.114Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-09-29T07:01:55.114Z] + PACKAGES=/tmp/packages_end.txt [2022-09-29T07:01:55.114Z] + case "${OS_FAMILY}" in [2022-09-29T07:01:55.114Z] + dpkg -l [2022-09-29T07:01:55.114Z] + grep '^ii' [2022-09-29T07:01:55.114Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-29T07:01:55.114Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-29T07:01:55.114Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-29T07:01:55.114Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-09-29T07:01:55.114Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-09-29T07:01:55.114Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-09-29T07:01:55.123Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-29T07:01:55.400Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-29T07:01:55.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-29T07:01:55.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-29T07:01:56.017Z] prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container [2022-09-29T07:01:56.048Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-29T07:01:56.254Z] $ docker top 04da0c7659aebd7a61fd856703d76dd6158f989d7ac23e5a5a8664422d66be9c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-29T07:01:56.600Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-29T07:01:56.931Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-29T07:01:57.284Z] + ls /var/log/sa-host [2022-09-29T07:01:57.284Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-29T07:01:57.357Z] provisioning config files... [2022-09-29T07:01:57.390Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18347311504176152803tmp [Pipeline] { [Pipeline] echo [2022-09-29T07:01:57.402Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:57.680Z] ---> create-netrc.sh [Pipeline] } [2022-09-29T07:01:57.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:58.002Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-29T07:01:58.010Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:58.287Z] ---> sudo-logs.sh [2022-09-29T07:01:58.287Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-29T07:01:58.316Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:58.599Z] ---> job-cost.sh [2022-09-29T07:01:58.599Z] lf-activate-venv: SKIPPING [2022-09-29T07:01:58.599Z] DEBUG: total: 0.2199999988079071 [2022-09-29T07:01:58.599Z] INFO: Retrieving Stack Cost... [2022-09-29T07:01:59.166Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-29T07:01:59.426Z] INFO: Archiving Costs [Pipeline] echo [2022-09-29T07:01:59.436Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-29T07:01:59.716Z] ---> logs-deploy.sh [2022-09-29T07:01:59.716Z] lf-activate-venv: SKIPPING [2022-09-29T07:01:59.716Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/106 [2022-09-29T07:01:59.716Z] INFO: archiving workspace using pattern(s): [2022-09-29T07:02:00.654Z] Archives upload complete. [2022-09-29T07:02:00.914Z] INFO: archiving logs to Nexus [2022-09-29T07:02:01.481Z] ---> uname -a: [2022-09-29T07:02:01.482Z] Linux prd-ubuntu20-04-docker-8c-8g-2088 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-09-29T07:02:01.482Z] [2022-09-29T07:02:01.482Z]