Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32167e186cd280efad328d3bc9a5f43c05eae3ff 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-ssh14639716543830403659.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-ssh16043790267274003240.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-ssh5753410097422567333.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-ssh8888658474952280414.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-ssh8847359078201898680.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-1357’ Running on prd-ubuntu20.04-docker-8c-8g-1359 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 32167e186cd280efad328d3bc9a5f43c05eae3ff (main) Commit message: "Merge pull request #1196 from cloudxxx8/issue-1195" > 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 32167e186cd280efad328d3bc9a5f43c05eae3ff # timeout=10 > git rev-list --no-walk 11eb29cd9415f6bc1f7dad856498740e29903e46 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T14:59:28.681Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T14:59:28.739Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T14:59:28.756Z] ========================================================= [2022-09-27T14:59:28.756Z] EdgeX Global Pipelines Version Info [2022-09-27T14:59:28.756Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:59:29.915Z] ------------------- [2022-09-27T14:59:29.915Z] stable info: [2022-09-27T14:59:29.915Z] ------------------- [2022-09-27T14:59:29.915Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T14:59:29.915Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T14:59:29.915Z] Message: update stable to v1.0.239 [2022-09-27T14:59:30.181Z] ------------------- [2022-09-27T14:59:30.182Z] experimental info: [2022-09-27T14:59:30.182Z] ------------------- [2022-09-27T14:59:30.182Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T14:59:30.182Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T14:59:30.182Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T14:59:30.383Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-27T14:59:30.393Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-27T14:59:30.410Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T14:59:30.429Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T14:59:30.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T14:59:30.465Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T14:59:30.481Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T14:59:30.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-27T14:59:30.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T14:59:30.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T14:59:30.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T14:59:30.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-27T14:59:30.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T14:59:30.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T14:59:30.597Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T14:59:30.614Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T14:59:30.624Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T14:59:30.636Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T14:59:30.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T14:59:30.660Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T14:59:30.677Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-27T14:59:30.693Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-27T14:59:30.704Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T14:59:30.719Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T14:59:30.729Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T14:59:30.744Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T14:59:30.765Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T14:59:30.782Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-27T14:59:30.791Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-27T14:59:30.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-27T14:59:30.818Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] echo [2022-09-27T14:59:30.836Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32167e1 [Pipeline] echo [2022-09-27T14:59:30.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T14:59:30.903Z] provisioning config files... [2022-09-27T14:59:30.916Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3454835563769173674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:59:31.275Z] ---> docker-login.sh [2022-09-27T14:59:31.275Z] nexus3.edgexfoundry.org:10001 [2022-09-27T14:59:32.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:33.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:33.321Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:33.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:33.321Z] [2022-09-27T14:59:33.321Z] Login Succeeded [2022-09-27T14:59:33.321Z] nexus3.edgexfoundry.org:10002 [2022-09-27T14:59:33.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:33.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:33.321Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:33.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:33.321Z] [2022-09-27T14:59:33.321Z] Login Succeeded [2022-09-27T14:59:33.321Z] nexus3.edgexfoundry.org:10003 [2022-09-27T14:59:33.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:33.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:33.582Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:33.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:33.582Z] [2022-09-27T14:59:33.582Z] Login Succeeded [2022-09-27T14:59:33.582Z] nexus3.edgexfoundry.org:10004 [2022-09-27T14:59:33.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:33.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:33.582Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:33.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:33.582Z] [2022-09-27T14:59:33.582Z] Login Succeeded [2022-09-27T14:59:33.582Z] docker.io [2022-09-27T14:59:33.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:34.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:34.105Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:34.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:34.105Z] [2022-09-27T14:59:34.105Z] Login Succeeded [2022-09-27T14:59:34.105Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T14:59:34.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T14:59:34.502Z] + git rev-list -1 --merges 32167e186cd280efad328d3bc9a5f43c05eae3ff~1..32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] echo [2022-09-27T14:59:34.535Z] -----------> git rev-list -1 --merges 32167e186cd280efad328d3bc9a5f43c05eae3ff~1..32167e186cd280efad328d3bc9a5f43c05eae3ff 32167e186cd280efad328d3bc9a5f43c05eae3ff [2022-09-27T14:59:34.535Z] 32167e186cd280efad328d3bc9a5f43c05eae3ff [false] [Pipeline] sh [2022-09-27T14:59:34.830Z] + git log --format=format:%s -1 32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] echo [2022-09-27T14:59:34.845Z] ========================================================= [2022-09-27T14:59:34.845Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T14:59:34.845Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T14:59:35.175Z] + git log --format=format:%s -1 32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] echo [2022-09-27T14:59:35.186Z] [semverPrep] GIT_COMMIT: 32167e186cd280efad328d3bc9a5f43c05eae3ff, Commit Message: Merge pull request #1196 from cloudxxx8/issue-1195 [Pipeline] echo [2022-09-27T14:59:35.194Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T14:59:35.569Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T14:59:35.569Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T14:59:35.569Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T14:59:35.569Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T14:59:35.569Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-09-27T14:59:35.569Z] -a /etc/ssh/ssh_known_hosts [2022-09-27T14:59:35.569Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:59:35.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T14:59:35.974Z] [2022-09-27T14:59:35.974Z] 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-27T14:59:36.277Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T14:59:36.278Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T14:59:36.278Z] b85a868b505f: Pulling fs layer [2022-09-27T14:59:36.278Z] e2be974225ed: Pulling fs layer [2022-09-27T14:59:36.278Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T14:59:36.278Z] 988bab9f4d93: Pulling fs layer [2022-09-27T14:59:36.278Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T14:59:36.278Z] eaf3925da568: Pulling fs layer [2022-09-27T14:59:36.278Z] bab4dde63d76: Pulling fs layer [2022-09-27T14:59:36.278Z] bde34c3a00c8: Pulling fs layer [2022-09-27T14:59:36.278Z] b352a97aabf1: Pulling fs layer [2022-09-27T14:59:36.278Z] 4872d77fe225: Pulling fs layer [2022-09-27T14:59:36.278Z] 5851b861e8e6: Pulling fs layer [2022-09-27T14:59:36.278Z] bde34c3a00c8: Waiting [2022-09-27T14:59:36.278Z] b352a97aabf1: Waiting [2022-09-27T14:59:36.278Z] 988bab9f4d93: Waiting [2022-09-27T14:59:36.278Z] 4872d77fe225: Waiting [2022-09-27T14:59:36.278Z] 1469e6f7b9e6: Waiting [2022-09-27T14:59:36.278Z] eaf3925da568: Waiting [2022-09-27T14:59:36.278Z] bab4dde63d76: Waiting [2022-09-27T14:59:36.278Z] 5851b861e8e6: Waiting [2022-09-27T14:59:36.278Z] e2be974225ed: Verifying Checksum [2022-09-27T14:59:36.278Z] e2be974225ed: Download complete [2022-09-27T14:59:36.278Z] 988bab9f4d93: Verifying Checksum [2022-09-27T14:59:36.278Z] 988bab9f4d93: Download complete [2022-09-27T14:59:36.541Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T14:59:36.541Z] 1469e6f7b9e6: Download complete [2022-09-27T14:59:36.541Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T14:59:36.541Z] 339a4e72a1f5: Download complete [2022-09-27T14:59:36.541Z] eaf3925da568: Download complete [2022-09-27T14:59:36.541Z] bde34c3a00c8: Download complete [2022-09-27T14:59:36.541Z] b352a97aabf1: Verifying Checksum [2022-09-27T14:59:36.541Z] b352a97aabf1: Download complete [2022-09-27T14:59:36.541Z] 4872d77fe225: Verifying Checksum [2022-09-27T14:59:36.541Z] 4872d77fe225: Download complete [2022-09-27T14:59:36.541Z] 5851b861e8e6: Verifying Checksum [2022-09-27T14:59:36.541Z] 5851b861e8e6: Download complete [2022-09-27T14:59:36.541Z] b85a868b505f: Verifying Checksum [2022-09-27T14:59:36.541Z] b85a868b505f: Download complete [2022-09-27T14:59:36.800Z] bab4dde63d76: Verifying Checksum [2022-09-27T14:59:36.800Z] bab4dde63d76: Download complete [2022-09-27T14:59:38.176Z] b85a868b505f: Pull complete [2022-09-27T14:59:38.176Z] e2be974225ed: Pull complete [2022-09-27T14:59:38.435Z] 339a4e72a1f5: Pull complete [2022-09-27T14:59:38.694Z] 988bab9f4d93: Pull complete [2022-09-27T14:59:38.953Z] 1469e6f7b9e6: Pull complete [2022-09-27T14:59:39.219Z] eaf3925da568: Pull complete [2022-09-27T14:59:41.119Z] bab4dde63d76: Pull complete [2022-09-27T14:59:41.119Z] bde34c3a00c8: Pull complete [2022-09-27T14:59:41.119Z] b352a97aabf1: Pull complete [2022-09-27T14:59:41.119Z] 4872d77fe225: Pull complete [2022-09-27T14:59:41.119Z] 5851b861e8e6: Pull complete [2022-09-27T14:59:41.119Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T14:59:41.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T14:59:41.119Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T14:59:41.213Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T14:59:41.247Z] $ 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-27T14:59:44.553Z] $ docker top 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 -eo pid,comm [2022-09-27T14:59:44.616Z] 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-27T14:59:44.616Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T14:59:44.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T14:59:44.652Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T14:59:44.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T14:59:44.753Z] $ docker exec 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 ssh-agent [2022-09-27T14:59:44.981Z] SSH_AUTH_SOCK=/tmp/ssh-uiyqBVQVGbY2/agent.21 [2022-09-27T14:59:44.981Z] SSH_AGENT_PID=27 [2022-09-27T14:59:45.009Z] Running ssh-add (command line suppressed) [2022-09-27T14:59:45.115Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15089429942961172598.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15089429942961172598.key) [2022-09-27T14:59:45.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T14:59:45.421Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T14:59:45.439Z] $ docker exec --env ******** --env ******** 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 ssh-agent -k [2022-09-27T14:59:45.531Z] unset SSH_AUTH_SOCK; [2022-09-27T14:59:45.532Z] unset SSH_AGENT_PID; [2022-09-27T14:59:45.532Z] echo Agent pid 27 killed; [2022-09-27T14:59:45.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T14:59:45.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T14:59:45.790Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T14:59:45.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T14:59:45.910Z] $ docker exec 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 ssh-agent [2022-09-27T14:59:46.052Z] SSH_AUTH_SOCK=/tmp/ssh-Z9y43s1JdKz3/agent.71 [2022-09-27T14:59:46.052Z] SSH_AGENT_PID=77 [2022-09-27T14:59:46.058Z] Running ssh-add (command line suppressed) [2022-09-27T14:59:46.187Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15951725714405460887.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15951725714405460887.key) [2022-09-27T14:59:46.221Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T14:59:46.510Z] + git semver init [2022-09-27T14:59:46.770Z] 2022-09-27 14:59:46,715 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T14:59:46.770Z] 2022-09-27 14:59:46,715 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-09-27T14:59:46.770Z] 2022-09-27 14:59:46,716 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-09-27T14:59:46.770Z] 2022-09-27 14:59:46,716 [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-27T14:59:48.187Z] 2022-09-27 14:59:48,015 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-09-27T14:59:48.187Z] 2022-09-27 14:59:48,015 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-09-27T14:59:48.187Z] 2022-09-27 14:59:48,015 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:59:48.187Z] 2022-09-27 14:59:48,015 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T14:59:48.187Z] 2.3.0-dev.30 [Pipeline] } [2022-09-27T14:59:48.200Z] $ docker exec --env ******** --env ******** 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 ssh-agent -k [2022-09-27T14:59:48.287Z] unset SSH_AUTH_SOCK; [2022-09-27T14:59:48.287Z] unset SSH_AGENT_PID; [2022-09-27T14:59:48.287Z] echo Agent pid 77 killed; [2022-09-27T14:59:48.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T14:59:48.639Z] + git semver [Pipeline] } [2022-09-27T14:59:48.911Z] $ docker stop --time=1 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 [2022-09-27T14:59:50.703Z] $ docker rm -f 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T14:59:51.101Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T14:59:51.440Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T14:59:51.443Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.30 [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-27T14:59:51.584Z] provisioning config files... [2022-09-27T14:59:51.593Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6195236083388491236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T14:59:51.895Z] ---> docker-login.sh [2022-09-27T14:59:51.895Z] nexus3.edgexfoundry.org:10001 [2022-09-27T14:59:51.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:51.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:51.895Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:51.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:51.895Z] [2022-09-27T14:59:51.895Z] Login Succeeded [2022-09-27T14:59:51.895Z] nexus3.edgexfoundry.org:10002 [2022-09-27T14:59:51.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:51.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:51.895Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:51.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:51.895Z] [2022-09-27T14:59:51.895Z] Login Succeeded [2022-09-27T14:59:52.156Z] nexus3.edgexfoundry.org:10003 [2022-09-27T14:59:52.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:52.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:52.156Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:52.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:52.156Z] [2022-09-27T14:59:52.156Z] Login Succeeded [2022-09-27T14:59:52.156Z] nexus3.edgexfoundry.org:10004 [2022-09-27T14:59:52.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:52.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:52.415Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:52.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:52.415Z] [2022-09-27T14:59:52.415Z] Login Succeeded [2022-09-27T14:59:52.415Z] docker.io [2022-09-27T14:59:52.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T14:59:52.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T14:59:52.694Z] Configure a credential helper to remove this warning. See [2022-09-27T14:59:52.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T14:59:52.694Z] [2022-09-27T14:59:52.694Z] Login Succeeded [2022-09-27T14:59:52.694Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T14:59:52.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T14:59:52.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T14:59:52.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T14:59:52.797Z] ========================================================= [2022-09-27T14:59:52.797Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T14:59:52.797Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T14:59:53.129Z] + 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-27T14:59:53.129Z] Sending build context to Docker daemon 9.902MB [2022-09-27T14:59:53.129Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T14:59:53.129Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T14:59:53.701Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T14:59:53.701Z] 2408cc74d12b: Pulling fs layer [2022-09-27T14:59:53.701Z] ea60b727a1ce: Pulling fs layer [2022-09-27T14:59:53.701Z] 30c4a7721957: Pulling fs layer [2022-09-27T14:59:53.701Z] 370296b7ddb6: Pulling fs layer [2022-09-27T14:59:53.701Z] 7c6cee850709: Pulling fs layer [2022-09-27T14:59:53.701Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T14:59:53.701Z] d94ebbe4e438: Pulling fs layer [2022-09-27T14:59:53.701Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T14:59:53.701Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T14:59:53.701Z] 7c6cee850709: Waiting [2022-09-27T14:59:53.701Z] 39a5fcdaea64: Waiting [2022-09-27T14:59:53.701Z] d94ebbe4e438: Waiting [2022-09-27T14:59:53.701Z] 370296b7ddb6: Waiting [2022-09-27T14:59:53.701Z] bcfd1f05c69d: Waiting [2022-09-27T14:59:53.701Z] 59ccb84bbe0f: Waiting [2022-09-27T14:59:53.701Z] 30c4a7721957: Verifying Checksum [2022-09-27T14:59:53.701Z] 30c4a7721957: Download complete [2022-09-27T14:59:53.701Z] ea60b727a1ce: Verifying Checksum [2022-09-27T14:59:53.701Z] ea60b727a1ce: Download complete [2022-09-27T14:59:53.701Z] 7c6cee850709: Verifying Checksum [2022-09-27T14:59:53.701Z] 7c6cee850709: Download complete [2022-09-27T14:59:53.701Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T14:59:53.701Z] 39a5fcdaea64: Download complete [2022-09-27T14:59:53.701Z] 2408cc74d12b: Verifying Checksum [2022-09-27T14:59:53.965Z] d94ebbe4e438: Verifying Checksum [2022-09-27T14:59:53.966Z] d94ebbe4e438: Download complete [2022-09-27T14:59:54.237Z] 2408cc74d12b: Pull complete [2022-09-27T14:59:54.839Z] ea60b727a1ce: Pull complete [2022-09-27T14:59:54.839Z] 370296b7ddb6: Verifying Checksum [2022-09-27T14:59:54.839Z] 370296b7ddb6: Download complete [2022-09-27T14:59:55.100Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T14:59:55.101Z] 59ccb84bbe0f: Download complete [2022-09-27T14:59:55.101Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T14:59:55.101Z] bcfd1f05c69d: Download complete [2022-09-27T14:59:55.360Z] 30c4a7721957: Pull complete [2022-09-27T15:00:00.665Z] 370296b7ddb6: Pull complete [2022-09-27T15:00:00.665Z] 7c6cee850709: Pull complete [2022-09-27T15:00:00.924Z] 39a5fcdaea64: Pull complete [2022-09-27T15:00:01.493Z] d94ebbe4e438: Pull complete [2022-09-27T15:00:04.812Z] bcfd1f05c69d: Pull complete [2022-09-27T15:00:06.191Z] 59ccb84bbe0f: Pull complete [2022-09-27T15:00:06.469Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T15:00:06.543Z] Still waiting to schedule task [2022-09-27T15:00:06.543Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-27T15:00:06.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T15:00:06.729Z] ---> a4fb48ad2a94 [2022-09-27T15:00:06.729Z] Step 3/11 : ARG MAKE=make build [2022-09-27T15:00:13.314Z] ---> Running in 67701d5fe160 [2022-09-27T15:00:13.574Z] Removing intermediate container 67701d5fe160 [2022-09-27T15:00:13.574Z] ---> a897fce9f567 [2022-09-27T15:00:13.574Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-27T15:00:13.574Z] ---> Running in 506ed6d6ce39 [2022-09-27T15:00:13.834Z] Removing intermediate container 506ed6d6ce39 [2022-09-27T15:00:13.834Z] ---> 3b1b6f48771f [2022-09-27T15:00:13.834Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T15:00:13.834Z] ---> Running in 948f8c3f3810 [2022-09-27T15:00:13.834Z] Removing intermediate container 948f8c3f3810 [2022-09-27T15:00:13.834Z] ---> 2f37cec39707 [2022-09-27T15:00:13.834Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T15:00:13.834Z] ---> Running in e09b662a2052 [2022-09-27T15:00:14.776Z] Removing intermediate container e09b662a2052 [2022-09-27T15:00:14.776Z] ---> 9f6d0d67701e [2022-09-27T15:00:14.776Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T15:00:14.776Z] ---> Running in 0f9e9e2cacdc [2022-09-27T15:00:15.036Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T15:00:15.606Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T15:00:16.177Z] OK: 211 MiB in 51 packages [2022-09-27T15:00:16.747Z] Removing intermediate container 0f9e9e2cacdc [2022-09-27T15:00:16.747Z] ---> 3ef6b5124244 [2022-09-27T15:00:16.747Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T15:00:16.747Z] ---> 60d59d350975 [2022-09-27T15:00:16.747Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T15:00:16.747Z] ---> Running in 5ff9ef28ee23 [2022-09-27T15:00:49.157Z] Removing intermediate container 5ff9ef28ee23 [2022-09-27T15:00:49.157Z] ---> 224ec55c1492 [2022-09-27T15:00:49.157Z] Step 10/11 : COPY . . [2022-09-27T15:00:50.099Z] ---> 2917d4be86e3 [2022-09-27T15:00:50.099Z] Step 11/11 : RUN ${MAKE} [2022-09-27T15:00:50.099Z] ---> Running in df8947903dda [2022-09-27T15:00:50.099Z] noop [2022-09-27T15:00:50.359Z] Removing intermediate container df8947903dda [2022-09-27T15:00:50.359Z] ---> 9dd134ca95d6 [2022-09-27T15:00:50.359Z] Successfully built 9dd134ca95d6 [2022-09-27T15:00:50.359Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:00:50.675Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T15:00:50.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:00:50.746Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T15:00:50.777Z] $ 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-27T15:00:51.178Z] $ docker top 5b5c82b6fceee726628b47bbe1d9e795068228be971f287d1689d8a4cf4a8789 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T15:00:51.520Z] + go version [2022-09-27T15:00:51.520Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T15:00:51.530Z] $ docker stop --time=1 5b5c82b6fceee726628b47bbe1d9e795068228be971f287d1689d8a4cf4a8789 [2022-09-27T15:00:53.187Z] $ docker rm -f 5b5c82b6fceee726628b47bbe1d9e795068228be971f287d1689d8a4cf4a8789 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:00:53.631Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T15:00:53.631Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:00:53.732Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T15:00:53.764Z] $ 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-27T15:00:54.162Z] $ docker top 80785671be9508e0b68d3f9c6c02d14abce5fd4fa7d16d8c1941570fd78693e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T15:00:54.501Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-09-27T15:00:54.795Z] + make test [2022-09-27T15:00:54.795Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-27T15:01:01.355Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-27T15:01:16.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-27T15:01:16.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-27T15:01:16.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-27T15:01:16.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-27T15:01:16.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-27T15:01:16.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 27.6% of statements [2022-09-27T15:01:16.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.131s coverage: 78.9% of statements [2022-09-27T15:01:16.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-27T15:01:16.501Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 60.0% of statements [2022-09-27T15:01:16.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-27T15:01:16.501Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-27T15:01:17.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.131s coverage: 54.4% of statements [2022-09-27T15:01:17.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-27T15:01:17.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-27T15:01:17.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-27T15:01:17.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-27T15:01:17.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.137s coverage: 65.1% of statements [2022-09-27T15:01:17.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-27T15:01:17.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-27T15:01:17.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.812s coverage: 89.2% of statements [2022-09-27T15:01:17.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-27T15:01:17.327Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.113s coverage: 4.7% of statements [2022-09-27T15:01:17.327Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-27T15:01:33.646Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1360 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-09-27T15:01:33.659Z] Running in /w/workspace/device-sdk-go/105 [Pipeline] { [Pipeline] checkout [2022-09-27T15:01:33.695Z] The recommended git tool is: git [2022-09-27T15:01:38.561Z] using credential edgex-jenkins-ssh [2022-09-27T15:01:38.576Z] Cloning the remote Git repository [2022-09-27T15:01:38.610Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T15:01:38.677Z] > git init /w/workspace/device-sdk-go/105 # timeout=10 [2022-09-27T15:01:39.279Z] 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-27T15:01:39.280Z] GO111MODULE=on go vet ./... [2022-09-27T15:01:38.802Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T15:01:38.803Z] > git --version # timeout=10 [2022-09-27T15:01:38.819Z] > git --version # 'git version 2.25.1' [2022-09-27T15:01:38.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T15:01:38.860Z] Verifying host key using known hosts file [2022-09-27T15:01:39.028Z] 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-27T15:01:39.039Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T15:01:40.643Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-27T15:01:40.668Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T15:01:41.484Z] Avoid second fetch [2022-09-27T15:01:41.485Z] Checking out Revision 32167e186cd280efad328d3bc9a5f43c05eae3ff (main) [2022-09-27T15:01:42.012Z] Commit message: "Merge pull request #1196 from cloudxxx8/issue-1195" [Pipeline] withEnv [Pipeline] { [2022-09-27T15:01:41.499Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T15:01:41.516Z] > git checkout -f 32167e186cd280efad328d3bc9a5f43c05eae3ff # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T15:01:42.593Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T15:01:42.593Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T15:01:42.593Z] ./bin/test-attribution-txt.sh [2022-09-27T15:01:42.593Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-27T15:01:42.593Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T15:01:42.593Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T15:01:42.593Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T15:01:42.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T15:01:42.724Z] $ docker stop --time=1 80785671be9508e0b68d3f9c6c02d14abce5fd4fa7d16d8c1941570fd78693e0 [2022-09-27T15:01:43.025Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T15:01:43.026Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T15:01:43.026Z] Dload Upload Total Spent Left Speed [2022-09-27T15:01:43.026Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 [2022-09-27T15:01:46.251Z] $ docker rm -f 80785671be9508e0b68d3f9c6c02d14abce5fd4fa7d16d8c1941570fd78693e0 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2022-09-27T15:01:46.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T15:01:46.776Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T15:01:46.784Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T15:01:47.130Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-09-27T15:01:47.130Z] [2022-09-27T15:01:47.130Z] { [2022-09-27T15:01:47.130Z] "registry-mirrors": [ [2022-09-27T15:01:47.130Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T15:01:47.130Z] ], [2022-09-27T15:01:47.130Z] "bip": "10.250.0.254/24", [2022-09-27T15:01:47.130Z] "hosts": [ [2022-09-27T15:01:47.130Z] "tcp://0.0.0.0:5555", [2022-09-27T15:01:47.130Z] "unix:///var/run/docker.sock" [2022-09-27T15:01:47.130Z] ], [2022-09-27T15:01:47.130Z] "mtu": 1458, [2022-09-27T15:01:47.130Z] "selinux-enabled": true, [2022-09-27T15:01:47.130Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T15:01:47.130Z] } [Pipeline] sh [2022-09-27T15:01:47.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T15:01:47.468Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T15:01:47.569Z] + ls -al . [2022-09-27T15:01:47.569Z] total 276 [2022-09-27T15:01:47.569Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 15:00 . [2022-09-27T15:01:47.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:59 .. [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 14:59 .dockerignore [2022-09-27T15:01:47.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:01 .git [2022-09-27T15:01:47.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:59 .github [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 14:59 .gitignore [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 14:59 .golangci.yml [2022-09-27T15:01:47.569Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 14:59 .semver [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 14:59 CHANGELOG.md [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 14:59 GOVERNANCE.md [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 14:59 Jenkinsfile [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 14:59 LICENSE [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 14:59 Makefile [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 14:59 OWNERS.md [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 14:59 README.md [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 14:59 VERSION [2022-09-27T15:01:47.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:59 bin [2022-09-27T15:01:47.569Z] -rw-r--r-- 1 jenkins jenkins 100927 Sep 27 15:01 coverage.out [2022-09-27T15:01:47.569Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 14:59 example [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 14:59 go.mod [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 27 14:59 go.sum [2022-09-27T15:01:47.569Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 14:59 internal [2022-09-27T15:01:47.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 14:59 openapi [2022-09-27T15:01:47.569Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 14:59 pkg [2022-09-27T15:01:47.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:59 snap [2022-09-27T15:01:47.569Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 14:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:01:47.789Z] + sudo service docker restart [2022-09-27T15:01:47.874Z] + 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=32167e186cd280efad328d3bc9a5f43c05eae3ff --label arch=amd64 --label version=2.3.0-dev.30 . [2022-09-27T15:01:47.874Z] Sending build context to Docker daemon 10MB [2022-09-27T15:01:47.874Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T15:01:47.874Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T15:01:47.874Z] ---> 9dd134ca95d6 [2022-09-27T15:01:47.874Z] Step 3/25 : ARG MAKE=make build [2022-09-27T15:01:48.138Z] ---> Running in 51c461a35948 [2022-09-27T15:01:48.138Z] Removing intermediate container 51c461a35948 [2022-09-27T15:01:48.138Z] ---> 18f2f1635c02 [2022-09-27T15:01:48.138Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-27T15:01:48.397Z] ---> Running in 607432cf42af [2022-09-27T15:01:48.397Z] Removing intermediate container 607432cf42af [2022-09-27T15:01:48.397Z] ---> 8e6053fb0585 [2022-09-27T15:01:48.397Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T15:01:48.397Z] ---> Running in e3f5b4d5d1e1 [2022-09-27T15:01:48.657Z] Removing intermediate container e3f5b4d5d1e1 [2022-09-27T15:01:48.657Z] ---> 2ee4a2f43438 [2022-09-27T15:01:48.657Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T15:01:48.657Z] ---> Running in 07007c592fb6 [2022-09-27T15:01:49.225Z] Removing intermediate container 07007c592fb6 [2022-09-27T15:01:49.225Z] ---> b5f479c4af3b [2022-09-27T15:01:49.225Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T15:01:49.225Z] ---> Running in 2af691549bca [2022-09-27T15:01:49.484Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T15:01:50.509Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T15:01:50.776Z] OK: 211 MiB in 51 packages [2022-09-27T15:01:51.726Z] Removing intermediate container 2af691549bca [2022-09-27T15:01:51.726Z] ---> 7e2978b10cfd [2022-09-27T15:01:51.726Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-27T15:01:51.989Z] ---> 41351b5ed1c5 [2022-09-27T15:01:51.989Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T15:01:51.989Z] ---> Running in 1c8354dff868 [2022-09-27T15:01:52.594Z] Removing intermediate container 1c8354dff868 [2022-09-27T15:01:52.594Z] ---> 53f73f8a3789 [2022-09-27T15:01:52.594Z] Step 10/25 : COPY . . [2022-09-27T15:01:52.851Z] ---> 46e01de41241 [2022-09-27T15:01:52.851Z] Step 11/25 : RUN ${MAKE} [2022-09-27T15:01:53.110Z] ---> Running in 99e0fad5afc7 [2022-09-27T15:01:53.380Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T15:02:06.040Z] provisioning config files... [2022-09-27T15:02:06.064Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/105@tmp/config18038233571331561364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:02:06.413Z] ---> docker-login.sh [2022-09-27T15:02:06.413Z] nexus3.edgexfoundry.org:10001 [2022-09-27T15:02:06.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T15:02:07.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T15:02:07.269Z] Configure a credential helper to remove this warning. See [2022-09-27T15:02:07.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T15:02:07.269Z] [2022-09-27T15:02:07.269Z] Login Succeeded [2022-09-27T15:02:07.269Z] nexus3.edgexfoundry.org:10002 [2022-09-27T15:02:07.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T15:02:07.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T15:02:07.539Z] Configure a credential helper to remove this warning. See [2022-09-27T15:02:07.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T15:02:07.539Z] [2022-09-27T15:02:07.539Z] Login Succeeded [2022-09-27T15:02:07.539Z] nexus3.edgexfoundry.org:10003 [2022-09-27T15:02:07.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T15:02:07.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T15:02:07.812Z] Configure a credential helper to remove this warning. See [2022-09-27T15:02:07.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T15:02:07.812Z] [2022-09-27T15:02:07.812Z] Login Succeeded [2022-09-27T15:02:07.812Z] nexus3.edgexfoundry.org:10004 [2022-09-27T15:02:08.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T15:02:08.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T15:02:08.350Z] Configure a credential helper to remove this warning. See [2022-09-27T15:02:08.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T15:02:08.350Z] [2022-09-27T15:02:08.350Z] Login Succeeded [2022-09-27T15:02:08.350Z] docker.io [2022-09-27T15:02:08.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T15:02:08.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T15:02:08.888Z] Configure a credential helper to remove this warning. See [2022-09-27T15:02:08.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T15:02:08.888Z] [2022-09-27T15:02:08.888Z] Login Succeeded [2022-09-27T15:02:08.888Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T15:02:08.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T15:02:09.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T15:02:09.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T15:02:09.071Z] ========================================================= [2022-09-27T15:02:09.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T15:02:09.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:02:09.418Z] + 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-27T15:02:09.687Z] Sending build context to Docker daemon 5.316MB [2022-09-27T15:02:09.687Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T15:02:09.687Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T15:02:09.955Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T15:02:09.955Z] b3c136eddcbf: Pulling fs layer [2022-09-27T15:02:09.955Z] c0a3192eca97: Pulling fs layer [2022-09-27T15:02:09.955Z] a050256f5b6f: Pulling fs layer [2022-09-27T15:02:09.955Z] 656be50a0ddc: Pulling fs layer [2022-09-27T15:02:09.955Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T15:02:09.955Z] 46d945488cbd: Pulling fs layer [2022-09-27T15:02:09.955Z] 8a5474983e97: Pulling fs layer [2022-09-27T15:02:09.955Z] 329c88fbcd65: Pulling fs layer [2022-09-27T15:02:09.955Z] 656be50a0ddc: Waiting [2022-09-27T15:02:09.955Z] 2bbca73fdf42: Waiting [2022-09-27T15:02:09.955Z] 46d945488cbd: Waiting [2022-09-27T15:02:09.955Z] 329c88fbcd65: Waiting [2022-09-27T15:02:09.955Z] a050256f5b6f: Verifying Checksum [2022-09-27T15:02:09.955Z] a050256f5b6f: Download complete [2022-09-27T15:02:09.955Z] c0a3192eca97: Verifying Checksum [2022-09-27T15:02:09.955Z] c0a3192eca97: Download complete [2022-09-27T15:02:09.955Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T15:02:09.955Z] 2bbca73fdf42: Download complete [2022-09-27T15:02:09.955Z] 46d945488cbd: Verifying Checksum [2022-09-27T15:02:09.955Z] 46d945488cbd: Download complete [2022-09-27T15:02:09.955Z] b3c136eddcbf: Verifying Checksum [2022-09-27T15:02:09.955Z] b3c136eddcbf: Download complete [2022-09-27T15:02:10.941Z] b3c136eddcbf: Pull complete [2022-09-27T15:02:11.212Z] 329c88fbcd65: Verifying Checksum [2022-09-27T15:02:11.212Z] 329c88fbcd65: Download complete [2022-09-27T15:02:11.487Z] c0a3192eca97: Pull complete [2022-09-27T15:02:11.758Z] a050256f5b6f: Pull complete [2022-09-27T15:02:11.942Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-27T15:02:12.348Z] 8a5474983e97: Verifying Checksum [2022-09-27T15:02:12.348Z] 8a5474983e97: Download complete [2022-09-27T15:02:12.942Z] 656be50a0ddc: Verifying Checksum [2022-09-27T15:02:12.942Z] 656be50a0ddc: Download complete [2022-09-27T15:02:17.271Z] Removing intermediate container 99e0fad5afc7 [2022-09-27T15:02:17.272Z] ---> 84c3d3571edf [2022-09-27T15:02:17.272Z] Step 12/25 : FROM alpine:3.16 [2022-09-27T15:02:18.220Z] 3.16: Pulling from library/alpine [2022-09-27T15:02:18.481Z] 213ec9aee27d: Pulling fs layer [2022-09-27T15:02:18.743Z] 213ec9aee27d: Verifying Checksum [2022-09-27T15:02:18.743Z] 213ec9aee27d: Download complete [2022-09-27T15:02:18.743Z] 213ec9aee27d: Pull complete [2022-09-27T15:02:19.004Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T15:02:19.004Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T15:02:19.004Z] ---> 9c6f07244728 [2022-09-27T15:02:19.004Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T15:02:19.004Z] ---> Running in 48a6dbf5dc64 [2022-09-27T15:02:19.004Z] Removing intermediate container 48a6dbf5dc64 [2022-09-27T15:02:19.004Z] ---> 4854a6be66d4 [2022-09-27T15:02:19.004Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T15:02:19.004Z] ---> Running in af8de23ae3ee [2022-09-27T15:02:19.577Z] Removing intermediate container af8de23ae3ee [2022-09-27T15:02:19.577Z] ---> 16efe31429b9 [2022-09-27T15:02:19.577Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-27T15:02:19.577Z] ---> Running in aa6892fdd757 [2022-09-27T15:02:20.150Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T15:02:20.723Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T15:02:21.295Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T15:02:21.295Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-27T15:02:21.295Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T15:02:21.556Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-27T15:02:21.556Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-27T15:02:21.556Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T15:02:21.556Z] OK: 8 MiB in 19 packages [2022-09-27T15:02:22.129Z] Removing intermediate container aa6892fdd757 [2022-09-27T15:02:22.129Z] ---> 817a8e5b48ca [2022-09-27T15:02:22.129Z] Step 16/25 : WORKDIR / [2022-09-27T15:02:22.129Z] ---> Running in b96aedf09fdc [2022-09-27T15:02:22.129Z] Removing intermediate container b96aedf09fdc [2022-09-27T15:02:22.129Z] ---> 95af4c3d110c [2022-09-27T15:02:22.129Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-27T15:02:22.389Z] ---> f291eb2e493e [2022-09-27T15:02:22.389Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-27T15:02:22.960Z] ---> 8d2a7d3919bd [2022-09-27T15:02:22.960Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-27T15:02:22.960Z] ---> 03ab95e7b313 [2022-09-27T15:02:22.960Z] Step 20/25 : EXPOSE 59999 [2022-09-27T15:02:23.222Z] ---> Running in 0960c914e56e [2022-09-27T15:02:23.222Z] Removing intermediate container 0960c914e56e [2022-09-27T15:02:23.222Z] ---> 80bfe350ad09 [2022-09-27T15:02:23.222Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-27T15:02:23.482Z] ---> Running in 93c939781a5c [2022-09-27T15:02:23.482Z] Removing intermediate container 93c939781a5c [2022-09-27T15:02:23.482Z] ---> 28b501da1471 [2022-09-27T15:02:23.482Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T15:02:23.482Z] ---> Running in b7fae31e6bda [2022-09-27T15:02:23.482Z] Removing intermediate container b7fae31e6bda [2022-09-27T15:02:23.482Z] ---> 577503f142f0 [2022-09-27T15:02:23.482Z] Step 23/25 : LABEL arch=amd64 [2022-09-27T15:02:23.482Z] ---> Running in 5d0808f8d094 [2022-09-27T15:02:23.757Z] Removing intermediate container 5d0808f8d094 [2022-09-27T15:02:23.757Z] ---> 2d00482fa991 [2022-09-27T15:02:23.757Z] Step 24/25 : LABEL git_sha=32167e186cd280efad328d3bc9a5f43c05eae3ff [2022-09-27T15:02:23.757Z] ---> Running in 1c59bcbbfbf7 [2022-09-27T15:02:23.757Z] Removing intermediate container 1c59bcbbfbf7 [2022-09-27T15:02:23.757Z] ---> ee289b479937 [2022-09-27T15:02:23.757Z] Step 25/25 : LABEL version=2.3.0-dev.30 [2022-09-27T15:02:23.757Z] ---> Running in 825d16a5e8d1 [2022-09-27T15:02:24.017Z] Removing intermediate container 825d16a5e8d1 [2022-09-27T15:02:24.017Z] ---> 0263edfe3afc [2022-09-27T15:02:24.017Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T15:02:24.017Z] Successfully built 0263edfe3afc [2022-09-27T15:02:24.017Z] 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-27T15:02:24.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T15:02:24.449Z] [2022-09-27T15:02:24.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:02:24.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T15:02:24.756Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T15:02:24.756Z] 5eb5b503b376: Pulling fs layer [2022-09-27T15:02:24.756Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T15:02:24.756Z] ec43610c2a17: Pulling fs layer [2022-09-27T15:02:24.756Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T15:02:24.756Z] 33b1e0a273af: Pulling fs layer [2022-09-27T15:02:24.756Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T15:02:24.756Z] 2f39f015ded8: Pulling fs layer [2022-09-27T15:02:24.756Z] 3a2ae6a8a46f: Waiting [2022-09-27T15:02:24.756Z] 33b1e0a273af: Waiting [2022-09-27T15:02:24.756Z] 5d3b04190fa2: Waiting [2022-09-27T15:02:24.756Z] 2f39f015ded8: Waiting [2022-09-27T15:02:24.756Z] 5c69ac0246d0: Verifying Checksum [2022-09-27T15:02:24.756Z] 5c69ac0246d0: Download complete [2022-09-27T15:02:24.756Z] 3a2ae6a8a46f: Download complete [2022-09-27T15:02:24.756Z] 33b1e0a273af: Verifying Checksum [2022-09-27T15:02:24.756Z] 33b1e0a273af: Download complete [2022-09-27T15:02:24.756Z] 5d3b04190fa2: Verifying Checksum [2022-09-27T15:02:24.756Z] 5d3b04190fa2: Download complete [2022-09-27T15:02:24.756Z] ec43610c2a17: Verifying Checksum [2022-09-27T15:02:24.756Z] ec43610c2a17: Download complete [2022-09-27T15:02:25.014Z] 5eb5b503b376: Verifying Checksum [2022-09-27T15:02:25.014Z] 5eb5b503b376: Download complete [2022-09-27T15:02:25.279Z] 656be50a0ddc: Pull complete [2022-09-27T15:02:25.279Z] 2bbca73fdf42: Pull complete [2022-09-27T15:02:25.279Z] 46d945488cbd: Pull complete [2022-09-27T15:02:25.580Z] 2f39f015ded8: Download complete [2022-09-27T15:02:26.147Z] 5eb5b503b376: Pull complete [2022-09-27T15:02:26.147Z] 5c69ac0246d0: Pull complete [2022-09-27T15:02:26.714Z] ec43610c2a17: Pull complete [2022-09-27T15:02:26.714Z] 3a2ae6a8a46f: Pull complete [2022-09-27T15:02:26.714Z] 33b1e0a273af: Pull complete [2022-09-27T15:02:26.973Z] 5d3b04190fa2: Pull complete [2022-09-27T15:02:30.649Z] 8a5474983e97: Pull complete [2022-09-27T15:02:31.155Z] 2f39f015ded8: Pull complete [2022-09-27T15:02:31.155Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T15:02:31.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T15:02:31.155Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:02:31.227Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T15:02:31.274Z] $ 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-27T15:02:33.249Z] 329c88fbcd65: Pull complete [2022-09-27T15:02:33.249Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T15:02:33.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T15:02:33.249Z] ---> ff4287adb874 [2022-09-27T15:02:33.249Z] Step 3/11 : ARG MAKE=make build [2022-09-27T15:02:34.670Z] ---> Running in 2c91fb089e51 [2022-09-27T15:02:34.936Z] Removing intermediate container 2c91fb089e51 [2022-09-27T15:02:34.936Z] ---> cb35718a90f8 [2022-09-27T15:02:34.936Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-27T15:02:34.936Z] ---> Running in 70b80dd6987e [2022-09-27T15:02:35.204Z] Removing intermediate container 70b80dd6987e [2022-09-27T15:02:35.204Z] ---> 5d20a03775d1 [2022-09-27T15:02:35.204Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T15:02:35.204Z] ---> Running in 75ed5555a64f [2022-09-27T15:02:35.787Z] Removing intermediate container 75ed5555a64f [2022-09-27T15:02:35.787Z] ---> 0989f5d417c0 [2022-09-27T15:02:35.787Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T15:02:35.787Z] ---> Running in b5b7433e8404 [2022-09-27T15:02:37.738Z] Removing intermediate container b5b7433e8404 [2022-09-27T15:02:37.738Z] ---> bd8d870e21c2 [2022-09-27T15:02:37.738Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T15:02:37.738Z] ---> Running in 31ae639ba0ab [2022-09-27T15:02:37.929Z] $ docker top 90671728ddcc7c7202f60aea611294559ec83a4482cd93a48aea9969b9144a97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:02:38.321Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T15:02:38.400Z] ---> job-cost.sh [2022-09-27T15:02:38.400Z] lf-activate-venv: SKIPPING [2022-09-27T15:02:38.400Z] INFO: No Stack... [2022-09-27T15:02:38.660Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T15:02:39.274Z] INFO: Archiving Costs [2022-09-27T15:02:39.279Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [Pipeline] sh [2022-09-27T15:02:39.562Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-09-27T15:02:39.562Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T15:02:39.574Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [2022-09-27T15:02:39.580Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] did not exist. Created. [2022-09-27T15:02:39.580Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T15:02:39.873Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T15:02:39.913Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T15:02:39.919Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T15:02:39.933Z] $ docker stop --time=1 90671728ddcc7c7202f60aea611294559ec83a4482cd93a48aea9969b9144a97 [2022-09-27T15:02:40.318Z] OK: 221 MiB in 51 packages [2022-09-27T15:02:40.961Z] Removing intermediate container 31ae639ba0ab [2022-09-27T15:02:40.961Z] ---> 0e20d40b2a10 [2022-09-27T15:02:40.961Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T15:02:41.553Z] ---> 0f81c697e5d2 [2022-09-27T15:02:41.553Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T15:02:41.553Z] ---> Running in 19c9a6610466 [2022-09-27T15:02:41.584Z] $ docker rm -f 90671728ddcc7c7202f60aea611294559ec83a4482cd93a48aea9969b9144a97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T15:03:28.436Z] Removing intermediate container 19c9a6610466 [2022-09-27T15:03:28.436Z] ---> 6832fae4b522 [2022-09-27T15:03:28.436Z] Step 10/11 : COPY . . [2022-09-27T15:03:28.436Z] ---> 77543db2d1fe [2022-09-27T15:03:28.436Z] Step 11/11 : RUN ${MAKE} [2022-09-27T15:03:28.706Z] ---> Running in 2f4f46b0c1ba [2022-09-27T15:03:29.675Z] noop [2022-09-27T15:03:30.266Z] Removing intermediate container 2f4f46b0c1ba [2022-09-27T15:03:30.266Z] ---> c3ec1ee7bd05 [2022-09-27T15:03:30.266Z] Successfully built c3ec1ee7bd05 [2022-09-27T15:03:30.266Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:03:30.625Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T15:03:30.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:03:30.806Z] prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container [2022-09-27T15:03:30.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@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-27T15:03:32.049Z] $ docker top c384c4f88539504817100105b7c57ae0b8451ea7297904b0ed5d8b18394254da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T15:03:32.893Z] + go version [2022-09-27T15:03:32.893Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T15:03:32.912Z] $ docker stop --time=1 c384c4f88539504817100105b7c57ae0b8451ea7297904b0ed5d8b18394254da [2022-09-27T15:03:34.554Z] $ docker rm -f c384c4f88539504817100105b7c57ae0b8451ea7297904b0ed5d8b18394254da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:03:35.090Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T15:03:35.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:03:35.269Z] prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container [2022-09-27T15:03:35.335Z] $ 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/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@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-27T15:03:36.433Z] $ docker top 617ba845d56282b01b10a310b05280cb9cbeb67bc433f543ca90930776507320 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T15:03:36.933Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/105 [Pipeline] fileExists [Pipeline] sh [2022-09-27T15:03:37.580Z] + make test [2022-09-27T15:03:37.580Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-27T15:04:09.858Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-27T15:06:01.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-27T15:06:01.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-27T15:06:01.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-27T15:06:01.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-27T15:06:01.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-27T15:06:01.533Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.380s coverage: 27.6% of statements [2022-09-27T15:06:01.533Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.594s coverage: 78.9% of statements [2022-09-27T15:06:01.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-27T15:06:04.114Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.497s coverage: 60.0% of statements [2022-09-27T15:06:04.114Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-27T15:06:04.114Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-27T15:06:07.511Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.767s coverage: 54.4% of statements [2022-09-27T15:06:07.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-27T15:06:07.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-27T15:06:07.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-27T15:06:07.511Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-27T15:06:08.920Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.507s coverage: 65.1% of statements [2022-09-27T15:06:08.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-27T15:06:08.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-27T15:06:10.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.550s coverage: 89.2% of statements [2022-09-27T15:06:10.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-27T15:06:12.832Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.329s coverage: 4.7% of statements [2022-09-27T15:06:12.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-27T15:06:13.415Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T15:06:13.415Z] GO111MODULE=on go vet ./... [2022-09-27T15:07:50.084Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T15:07:50.084Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T15:07:50.084Z] ./bin/test-attribution-txt.sh [2022-09-27T15:07:50.084Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-27T15:07:50.084Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T15:07:50.084Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T15:07:50.084Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T15:07:50.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T15:07:50.110Z] $ docker stop --time=1 617ba845d56282b01b10a310b05280cb9cbeb67bc433f543ca90930776507320 [2022-09-27T15:07:52.282Z] $ docker rm -f 617ba845d56282b01b10a310b05280cb9cbeb67bc433f543ca90930776507320 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T15:07:53.595Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T15:07:53.616Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T15:07:54.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T15:07:54.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T15:07:54.795Z] + ls -al . [2022-09-27T15:07:54.795Z] total 272 [2022-09-27T15:07:54.795Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 15:03 . [2022-09-27T15:07:54.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:01 .. [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 15:01 .dockerignore [2022-09-27T15:07:54.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:01 .git [2022-09-27T15:07:54.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:01 .github [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 15:01 .gitignore [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 15:01 .golangci.yml [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 15:01 CHANGELOG.md [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 15:01 GOVERNANCE.md [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 15:01 Jenkinsfile [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 15:01 LICENSE [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 15:01 Makefile [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 15:01 OWNERS.md [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 15:01 README.md [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 14:59 VERSION [2022-09-27T15:07:54.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:01 bin [2022-09-27T15:07:54.795Z] -rw-r--r-- 1 jenkins jenkins 100927 Sep 27 15:06 coverage.out [2022-09-27T15:07:54.795Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 15:01 example [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 15:01 go.mod [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 27 15:01 go.sum [2022-09-27T15:07:54.795Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 15:01 internal [2022-09-27T15:07:54.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:01 openapi [2022-09-27T15:07:54.795Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 15:01 pkg [2022-09-27T15:07:54.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:01 snap [2022-09-27T15:07:54.795Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 15:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:07:55.141Z] + 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=32167e186cd280efad328d3bc9a5f43c05eae3ff --label arch=arm64 --label version=2.3.0-dev.30 . [2022-09-27T15:07:55.422Z] Sending build context to Docker daemon 5.417MB [2022-09-27T15:07:55.422Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T15:07:55.422Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T15:07:55.422Z] ---> c3ec1ee7bd05 [2022-09-27T15:07:55.422Z] Step 3/25 : ARG MAKE=make build [2022-09-27T15:07:55.696Z] ---> Running in 6e9f295b2556 [2022-09-27T15:07:55.966Z] Removing intermediate container 6e9f295b2556 [2022-09-27T15:07:55.966Z] ---> 17bc1976d5d5 [2022-09-27T15:07:55.966Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-27T15:07:55.966Z] ---> Running in 53b655889396 [2022-09-27T15:07:56.233Z] Removing intermediate container 53b655889396 [2022-09-27T15:07:56.233Z] ---> 60412585ba9e [2022-09-27T15:07:56.233Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T15:07:56.233Z] ---> Running in 14a4f7c504b8 [2022-09-27T15:07:56.503Z] Removing intermediate container 14a4f7c504b8 [2022-09-27T15:07:56.503Z] ---> 7599de5649cc [2022-09-27T15:07:56.503Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T15:07:56.772Z] ---> Running in 64b542332ad1 [2022-09-27T15:07:58.181Z] Removing intermediate container 64b542332ad1 [2022-09-27T15:07:58.181Z] ---> e83d43db4a21 [2022-09-27T15:07:58.181Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T15:07:58.449Z] ---> Running in c83099442032 [2022-09-27T15:07:59.414Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T15:08:00.374Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T15:08:01.339Z] OK: 221 MiB in 51 packages [2022-09-27T15:08:01.930Z] Removing intermediate container c83099442032 [2022-09-27T15:08:01.930Z] ---> 98d0f46b22b8 [2022-09-27T15:08:01.930Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-27T15:08:02.525Z] ---> 6d40f95a131f [2022-09-27T15:08:02.525Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T15:08:02.525Z] ---> Running in 5dd99a000307 [2022-09-27T15:08:04.470Z] Removing intermediate container 5dd99a000307 [2022-09-27T15:08:04.470Z] ---> 36540fdfa77c [2022-09-27T15:08:04.470Z] Step 10/25 : COPY . . [2022-09-27T15:08:05.429Z] ---> 9cc915090fdd [2022-09-27T15:08:05.429Z] Step 11/25 : RUN ${MAKE} [2022-09-27T15:08:05.701Z] ---> Running in 6f6e4c8dce6e [2022-09-27T15:08:06.661Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-27T15:10:28.381Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-27T15:10:28.381Z] Removing intermediate container 6f6e4c8dce6e [2022-09-27T15:10:28.381Z] ---> 8ff836024112 [2022-09-27T15:10:28.381Z] Step 12/25 : FROM alpine:3.16 [2022-09-27T15:10:29.348Z] 3.16: Pulling from library/alpine [2022-09-27T15:10:29.348Z] 9b18e9b68314: Pulling fs layer [2022-09-27T15:10:29.618Z] 9b18e9b68314: Verifying Checksum [2022-09-27T15:10:29.618Z] 9b18e9b68314: Download complete [2022-09-27T15:10:30.207Z] 9b18e9b68314: Pull complete [2022-09-27T15:10:30.207Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T15:10:30.207Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T15:10:30.207Z] ---> a6215f271958 [2022-09-27T15:10:30.207Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T15:10:30.207Z] ---> Running in e9d288e53b23 [2022-09-27T15:10:30.797Z] Removing intermediate container e9d288e53b23 [2022-09-27T15:10:30.797Z] ---> 3f08075abdc6 [2022-09-27T15:10:30.797Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T15:10:30.797Z] ---> Running in 9df111f8b8b5 [2022-09-27T15:10:36.158Z] Removing intermediate container 9df111f8b8b5 [2022-09-27T15:10:36.158Z] ---> 4b4c9a20c5dd [2022-09-27T15:10:36.158Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-27T15:10:36.158Z] ---> Running in f03baebedcf5 [2022-09-27T15:10:37.570Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T15:10:38.533Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T15:10:39.946Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T15:10:39.946Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-27T15:10:39.946Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T15:10:40.216Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-27T15:10:40.216Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-27T15:10:40.485Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T15:10:40.485Z] OK: 8 MiB in 19 packages [2022-09-27T15:10:41.910Z] Removing intermediate container f03baebedcf5 [2022-09-27T15:10:41.910Z] ---> 3dcb78908346 [2022-09-27T15:10:41.910Z] Step 16/25 : WORKDIR / [2022-09-27T15:10:42.180Z] ---> Running in 97affc9f4ddc [2022-09-27T15:10:42.449Z] Removing intermediate container 97affc9f4ddc [2022-09-27T15:10:42.449Z] ---> 3117a41d8139 [2022-09-27T15:10:42.449Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-27T15:10:45.047Z] ---> 84576c9bc4b9 [2022-09-27T15:10:45.047Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-27T15:10:46.467Z] ---> ebc0f3827fb6 [2022-09-27T15:10:46.467Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-27T15:10:47.052Z] ---> 54cfa13cfcc8 [2022-09-27T15:10:47.052Z] Step 20/25 : EXPOSE 59999 [2022-09-27T15:10:47.320Z] ---> Running in 4276f1e5f0ec [2022-09-27T15:10:47.595Z] Removing intermediate container 4276f1e5f0ec [2022-09-27T15:10:47.595Z] ---> a5bb15a65778 [2022-09-27T15:10:47.595Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-27T15:10:47.595Z] ---> Running in ea8813aa6f89 [2022-09-27T15:10:48.188Z] Removing intermediate container ea8813aa6f89 [2022-09-27T15:10:48.188Z] ---> 1844d4fe06bb [2022-09-27T15:10:48.188Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T15:10:48.188Z] ---> Running in e241edbb9515 [2022-09-27T15:10:48.463Z] Removing intermediate container e241edbb9515 [2022-09-27T15:10:48.463Z] ---> 5086516ac19d [2022-09-27T15:10:48.463Z] Step 23/25 : LABEL arch=arm64 [2022-09-27T15:10:48.740Z] ---> Running in ce4054b552b3 [2022-09-27T15:10:49.009Z] Removing intermediate container ce4054b552b3 [2022-09-27T15:10:49.009Z] ---> 8410b1cb0812 [2022-09-27T15:10:49.009Z] Step 24/25 : LABEL git_sha=32167e186cd280efad328d3bc9a5f43c05eae3ff [2022-09-27T15:10:49.009Z] ---> Running in 16fc4f2b4f63 [2022-09-27T15:10:49.277Z] Removing intermediate container 16fc4f2b4f63 [2022-09-27T15:10:49.277Z] ---> ef4c01cb944b [2022-09-27T15:10:49.277Z] Step 25/25 : LABEL version=2.3.0-dev.30 [2022-09-27T15:10:49.545Z] ---> Running in 5f45fe20a825 [2022-09-27T15:10:49.811Z] Removing intermediate container 5f45fe20a825 [2022-09-27T15:10:49.811Z] ---> 78f0d71d773b [2022-09-27T15:10:49.811Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T15:10:49.811Z] Successfully built 78f0d71d773b [2022-09-27T15:10:49.811Z] 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-27T15:10:50.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T15:10:50.207Z] [2022-09-27T15:10:50.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:10:50.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T15:10:50.555Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T15:10:50.555Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T15:10:50.555Z] 04944245beec: Pulling fs layer [2022-09-27T15:10:50.555Z] 699f458cf7ca: Pulling fs layer [2022-09-27T15:10:50.555Z] 765212b225bb: Pulling fs layer [2022-09-27T15:10:50.555Z] f23df028b6ca: Pulling fs layer [2022-09-27T15:10:50.555Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T15:10:50.555Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T15:10:50.555Z] 765212b225bb: Waiting [2022-09-27T15:10:50.555Z] f23df028b6ca: Waiting [2022-09-27T15:10:50.555Z] d65c8cfc05b1: Waiting [2022-09-27T15:10:50.555Z] 2437ff75d9bd: Waiting [2022-09-27T15:10:50.853Z] 04944245beec: Verifying Checksum [2022-09-27T15:10:50.853Z] 04944245beec: Download complete [2022-09-27T15:10:50.853Z] 765212b225bb: Verifying Checksum [2022-09-27T15:10:50.853Z] 765212b225bb: Download complete [2022-09-27T15:10:50.853Z] f23df028b6ca: Verifying Checksum [2022-09-27T15:10:50.853Z] f23df028b6ca: Download complete [2022-09-27T15:10:50.853Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T15:10:50.853Z] d65c8cfc05b1: Download complete [2022-09-27T15:10:50.853Z] 699f458cf7ca: Verifying Checksum [2022-09-27T15:10:50.853Z] 699f458cf7ca: Download complete [2022-09-27T15:10:51.436Z] 8998bd30e6a1: Download complete [2022-09-27T15:10:54.022Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T15:10:54.022Z] 2437ff75d9bd: Download complete [2022-09-27T15:10:55.438Z] 8998bd30e6a1: Pull complete [2022-09-27T15:10:55.704Z] 04944245beec: Pull complete [2022-09-27T15:10:57.124Z] 699f458cf7ca: Pull complete [2022-09-27T15:10:57.124Z] 765212b225bb: Pull complete [2022-09-27T15:10:58.091Z] f23df028b6ca: Pull complete [2022-09-27T15:10:58.358Z] d65c8cfc05b1: Pull complete [2022-09-27T15:11:13.350Z] 2437ff75d9bd: Pull complete [2022-09-27T15:11:13.350Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T15:11:13.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T15:11:13.350Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:11:13.534Z] prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container [2022-09-27T15:11:13.603Z] $ 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/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@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-27T15:11:16.329Z] $ docker top c37e286ad5f95f3a80a15d0ce82ef8f3cc8ca9092b9220ef1c253d7211ef785a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:11:16.951Z] ---> job-cost.sh [2022-09-27T15:11:17.230Z] lf-activate-venv: SKIPPING [2022-09-27T15:11:17.230Z] INFO: No Stack... [2022-09-27T15:11:17.825Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T15:11:18.800Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T15:11:19.152Z] + cat /w/workspace/device-sdk-go/105/archives/cost.csv [2022-09-27T15:11:19.152Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T15:11:19.253Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [2022-09-27T15:11:19.258Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] did not exist. Created. [2022-09-27T15:11:19.258Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T15:11:19.618Z] /w/workspace/device-sdk-go/105@tmp/durable-a13994e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T15:11:20.273Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T15:11:20.292Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T15:11:20.352Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T15:11:20.358Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T15:11:20.368Z] $ docker stop --time=1 c37e286ad5f95f3a80a15d0ce82ef8f3cc8ca9092b9220ef1c253d7211ef785a [2022-09-27T15:11:21.885Z] $ docker rm -f c37e286ad5f95f3a80a15d0ce82ef8f3cc8ca9092b9220ef1c253d7211ef785a [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-27T15:11:22.294Z] provisioning config files... [2022-09-27T15:11:22.300Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12448535204874007898tmp [Pipeline] { [Pipeline] sh [2022-09-27T15:11:22.598Z] + set +x [2022-09-27T15:11:22.598Z] + + curl -sbash https://codecov.io/bash -s [2022-09-27T15:11:22.598Z] -- [2022-09-27T15:11:22.598Z] [2022-09-27T15:11:22.598Z] _____ _ [2022-09-27T15:11:22.598Z] / ____| | | [2022-09-27T15:11:22.598Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T15:11:22.598Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T15:11:22.598Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T15:11:22.598Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T15:11:22.598Z] Bash-1.0.6 [2022-09-27T15:11:22.598Z] [2022-09-27T15:11:22.598Z] [2022-09-27T15:11:22.598Z] ==> git version 2.25.1 found [2022-09-27T15:11:22.598Z] ==> 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-27T15:11:22.598Z] Release-Date: 2020-01-08 [2022-09-27T15:11:22.598Z] 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-27T15:11:22.598Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T15:11:22.598Z] ==> Jenkins CI detected. [2022-09-27T15:11:22.598Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-09-27T15:11:22.598Z] project root: . [2022-09-27T15:11:22.598Z] --> token set from env [2022-09-27T15:11:22.598Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T15:11:22.598Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T15:11:22.598Z] ==> Python coveragepy not found [2022-09-27T15:11:22.598Z] ==> Searching for coverage reports in: [2022-09-27T15:11:22.598Z] + . [2022-09-27T15:11:22.598Z] -> Found 1 reports [2022-09-27T15:11:22.598Z] ==> Detecting git/mercurial file structure [2022-09-27T15:11:22.598Z] ==> Reading reports [2022-09-27T15:11:22.598Z] + ./coverage.out bytes=100927 [2022-09-27T15:11:22.598Z] ==> Appending adjustments [2022-09-27T15:11:22.598Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T15:11:22.857Z] + Found adjustments [2022-09-27T15:11:23.119Z] ==> Gzipping contents [2022-09-27T15:11:23.119Z] 16K /tmp/codecov.TpLCtw.gz [2022-09-27T15:11:23.119Z] ==> Uploading reports [2022-09-27T15:11:23.119Z] url: https://codecov.io [2022-09-27T15:11:23.119Z] query: branch=main&commit=32167e186cd280efad328d3bc9a5f43c05eae3ff&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-27T15:11:23.119Z] -> Pinging Codecov [2022-09-27T15:11:23.119Z] 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=32167e186cd280efad328d3bc9a5f43c05eae3ff&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-27T15:11:23.379Z] -> Uploading to [2022-09-27T15:11:23.379Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7E55EF52A471D76F132DFD9A03CDDE97/32167e186cd280efad328d3bc9a5f43c05eae3ff/1b473ea5-7985-4bbb-b1bd-d56237d6633e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T151123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54f4d7563bf402fcfae2553a8d08cdde624764900f4e2e469529f2d995bf7fb7 [2022-09-27T15:11:23.379Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T15:11:23.379Z] Dload Upload Total Spent Left Speed [2022-09-27T15:11:23.639Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14545 0 0 100 14545 0 65814 --:--:-- --:--:-- --:--:-- 65518 100 14545 0 0 100 14545 0 57948 --:--:-- --:--:-- --:--:-- 57718 [2022-09-27T15:11:23.639Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] } [2022-09-27T15:11:23.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-27T15:11:23.846Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-27T15:11:23.855Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:11:24.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-27T15:11:24.149Z] [2022-09-27T15:11:24.149Z] 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-27T15:11:24.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-27T15:11:24.444Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-27T15:11:24.444Z] df9b9388f04a: Pulling fs layer [2022-09-27T15:11:24.444Z] 52dc419b0ee2: Pulling fs layer [2022-09-27T15:11:24.444Z] 25bc292e5bac: Pulling fs layer [2022-09-27T15:11:24.444Z] 114826534d7a: Pulling fs layer [2022-09-27T15:11:24.444Z] 4657fd5d0bcf: Pulling fs layer [2022-09-27T15:11:24.444Z] 6ad1cebc031e: Pulling fs layer [2022-09-27T15:11:24.444Z] 8a3aa393b2d8: Pulling fs layer [2022-09-27T15:11:24.444Z] 4657fd5d0bcf: Waiting [2022-09-27T15:11:24.444Z] 6ad1cebc031e: Waiting [2022-09-27T15:11:24.444Z] 8a3aa393b2d8: Waiting [2022-09-27T15:11:24.444Z] 114826534d7a: Waiting [2022-09-27T15:11:24.444Z] 25bc292e5bac: Verifying Checksum [2022-09-27T15:11:24.444Z] 25bc292e5bac: Download complete [2022-09-27T15:11:24.444Z] 52dc419b0ee2: Verifying Checksum [2022-09-27T15:11:24.444Z] 52dc419b0ee2: Download complete [2022-09-27T15:11:24.444Z] 4657fd5d0bcf: Verifying Checksum [2022-09-27T15:11:24.444Z] 4657fd5d0bcf: Download complete [2022-09-27T15:11:24.444Z] df9b9388f04a: Download complete [2022-09-27T15:11:24.703Z] 6ad1cebc031e: Verifying Checksum [2022-09-27T15:11:24.703Z] 6ad1cebc031e: Download complete [2022-09-27T15:11:24.703Z] df9b9388f04a: Pull complete [2022-09-27T15:11:24.703Z] 52dc419b0ee2: Pull complete [2022-09-27T15:11:25.287Z] 25bc292e5bac: Pull complete [2022-09-27T15:11:25.287Z] 114826534d7a: Verifying Checksum [2022-09-27T15:11:25.287Z] 114826534d7a: Download complete [2022-09-27T15:11:25.609Z] 8a3aa393b2d8: Verifying Checksum [2022-09-27T15:11:25.609Z] 8a3aa393b2d8: Download complete [2022-09-27T15:11:29.824Z] 114826534d7a: Pull complete [2022-09-27T15:11:29.824Z] 4657fd5d0bcf: Pull complete [2022-09-27T15:11:30.095Z] 6ad1cebc031e: Pull complete [2022-09-27T15:11:33.426Z] 8a3aa393b2d8: Pull complete [2022-09-27T15:11:33.426Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-27T15:11:33.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-27T15:11:33.426Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:11:33.492Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T15:11:33.519Z] $ 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-27T15:11:39.476Z] $ docker top f3de7a44dbd74b3f1876b6cc2be2126dba2b98ed98281a6557af89d5faa10e74 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-27T15:11:39.539Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2022-09-27T15:11:39.825Z] + set -o pipefail [2022-09-27T15:11:39.825Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2022-09-27T15:11:46.398Z] [2022-09-27T15:11:46.398Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-09-27T15:11:46.398Z] [2022-09-27T15:11:46.398Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/7392ed41-b945-4d37-99da-8fee164b805c [2022-09-27T15:11:46.398Z] [2022-09-27T15:11:46.398Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-27T15:11:46.398Z] [2022-09-27T15:11:46.966Z] [Pipeline] } [2022-09-27T15:11:46.975Z] $ docker stop --time=1 f3de7a44dbd74b3f1876b6cc2be2126dba2b98ed98281a6557af89d5faa10e74 [2022-09-27T15:11:56.365Z] $ docker rm -f f3de7a44dbd74b3f1876b6cc2be2126dba2b98ed98281a6557af89d5faa10e74 [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-27T15:11:56.866Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T15:11:56.873Z] provisioning config files... [2022-09-27T15:11:56.879Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5517238466535199140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:11:57.179Z] --> edgex-publish-swagger.sh [2022-09-27T15:11:57.179Z] === Publish openapi/v2 API === [2022-09-27T15:11:57.179Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-09-27T15:11:57.179Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-09-27T15:11:57.179Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T15:11:57.179Z] Dload Upload Total Spent Left Speed [2022-09-27T15:11:57.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 77387 --:--:-- --:--:-- --:--:-- 77275 100 53552 0 0 100 53552 0 77387 --:--:-- --:--:-- --:--:-- 77275 [2022-09-27T15:11:57.744Z] [2022-09-27T15:11:57.744Z] [Pipeline] } [2022-09-27T15:11:57.749Z] 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-27T15:11:58.145Z] + git log --format=format:%s -1 32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] sh [2022-09-27T15:11:58.436Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T15:11:58.436Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:11:58.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T15:11:58.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:11:58.787Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T15:11:58.818Z] $ 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-27T15:12:00.150Z] $ docker top 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 -eo pid,comm [2022-09-27T15:12:00.226Z] 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-27T15:12:00.226Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T15:12:00.259Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T15:12:00.259Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T15:12:00.431Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T15:12:00.433Z] $ docker exec 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 ssh-agent [2022-09-27T15:12:00.547Z] SSH_AUTH_SOCK=/tmp/ssh-WVY58BxvSBDF/agent.14 [2022-09-27T15:12:00.547Z] SSH_AGENT_PID=20 [2022-09-27T15:12:00.552Z] Running ssh-add (command line suppressed) [2022-09-27T15:12:00.699Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3787107899970331258.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3787107899970331258.key) [2022-09-27T15:12:00.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T15:12:01.003Z] + git semver tag [2022-09-27T15:12:01.261Z] 2022-09-27 15:12:01,207 [run_tag] DEBUG tag force:False [2022-09-27T15:12:01.261Z] 2022-09-27 15:12:01,208 [check_head_tag] DEBUG check head tag [2022-09-27T15:12:01.262Z] 2022-09-27 15:12:01,208 [execute] INFO git cat-file --batch-check [2022-09-27T15:12:01.262Z] 2022-09-27 15:12:01,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-27T15:12:01.262Z] 2022-09-27 15:12:01,211 [execute] INFO git cat-file --batch [2022-09-27T15:12:01.262Z] 2022-09-27 15:12:01,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-27T15:12:01.262Z] 2022-09-27 15:12:01,223 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T15:12:01.262Z] 2022-09-27 15:12:01,224 [execute] INFO git tag -a v2.3.0-dev.30 -m v2.3.0-dev.30 [2022-09-27T15:12:01.262Z] 2022-09-27 15:12:01,224 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.30', '-m', 'v2.3.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-27T15:12:01.262Z] 2022-09-27 15:12:01,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T15:12:01.262Z] 2.3.0-dev.30 [Pipeline] } [2022-09-27T15:12:01.269Z] $ docker exec --env ******** --env ******** 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 ssh-agent -k [2022-09-27T15:12:01.351Z] unset SSH_AUTH_SOCK; [2022-09-27T15:12:01.352Z] unset SSH_AGENT_PID; [2022-09-27T15:12:01.352Z] echo Agent pid 20 killed; [2022-09-27T15:12:01.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T15:12:01.670Z] + git semver [Pipeline] } [2022-09-27T15:12:02.250Z] $ docker stop --time=1 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 [2022-09-27T15:12:04.445Z] $ docker rm -f 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:12:04.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-27T15:12:04.971Z] [2022-09-27T15:12:04.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:12:05.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-27T15:12:05.678Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-27T15:12:05.678Z] ab5ef0e58194: Pulling fs layer [2022-09-27T15:12:05.678Z] 9712f1f96733: Pulling fs layer [2022-09-27T15:12:05.678Z] 63f879dbbcfc: Pulling fs layer [2022-09-27T15:12:05.678Z] 0d9ebad4ef96: Pulling fs layer [2022-09-27T15:12:05.678Z] e9a5061849ea: Pulling fs layer [2022-09-27T15:12:05.678Z] d747dcd14b5f: Pulling fs layer [2022-09-27T15:12:05.678Z] 2de7ff778b66: Pulling fs layer [2022-09-27T15:12:05.678Z] 0d9ebad4ef96: Waiting [2022-09-27T15:12:05.678Z] e9a5061849ea: Waiting [2022-09-27T15:12:05.678Z] 2de7ff778b66: Waiting [2022-09-27T15:12:05.678Z] d747dcd14b5f: Waiting [2022-09-27T15:12:05.678Z] 9712f1f96733: Verifying Checksum [2022-09-27T15:12:05.678Z] 9712f1f96733: Download complete [2022-09-27T15:12:06.262Z] 63f879dbbcfc: Verifying Checksum [2022-09-27T15:12:06.262Z] 63f879dbbcfc: Download complete [2022-09-27T15:12:06.540Z] e9a5061849ea: Verifying Checksum [2022-09-27T15:12:06.540Z] e9a5061849ea: Download complete [2022-09-27T15:12:06.540Z] d747dcd14b5f: Verifying Checksum [2022-09-27T15:12:06.540Z] d747dcd14b5f: Download complete [2022-09-27T15:12:06.540Z] ab5ef0e58194: Verifying Checksum [2022-09-27T15:12:06.540Z] ab5ef0e58194: Download complete [2022-09-27T15:12:06.540Z] 0d9ebad4ef96: Verifying Checksum [2022-09-27T15:12:06.540Z] 0d9ebad4ef96: Download complete [2022-09-27T15:12:06.798Z] 2de7ff778b66: Download complete [2022-09-27T15:12:09.359Z] ab5ef0e58194: Pull complete [2022-09-27T15:12:09.617Z] 9712f1f96733: Pull complete [2022-09-27T15:12:10.554Z] 63f879dbbcfc: Pull complete [2022-09-27T15:12:15.828Z] 0d9ebad4ef96: Pull complete [2022-09-27T15:12:16.088Z] e9a5061849ea: Pull complete [2022-09-27T15:12:16.347Z] d747dcd14b5f: Pull complete [2022-09-27T15:12:18.259Z] 2de7ff778b66: Pull complete [2022-09-27T15:12:18.259Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-27T15:12:18.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-27T15:12:18.519Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:12:18.642Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T15:12:18.680Z] $ 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-27T15:12:30.815Z] $ docker top 1141ea160b4b1a747148cfc292d0222c1bdb298a408297b8737005283e60b44a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-27T15:12:30.878Z] provisioning config files... [2022-09-27T15:12:30.884Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15891891849310028829tmp [2022-09-27T15:12:30.892Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15485062503448875549tmp [2022-09-27T15:12:30.900Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17261741459004992431tmp [Pipeline] { [Pipeline] echo [2022-09-27T15:12:30.915Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:31.198Z] ---> sigul-configuration.sh [2022-09-27T15:12:31.198Z] gpg: directory `/root/.gnupg' created [2022-09-27T15:12:31.198Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-27T15:12:31.198Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-27T15:12:31.198Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-27T15:12:31.198Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-27T15:12:31.198Z] gpg: CAST5 encrypted data [2022-09-27T15:12:31.198Z] gpg: encrypted with 1 passphrase [2022-09-27T15:12:31.198Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-27T15:12:31.484Z] + mkdir /home/jenkins [2022-09-27T15:12:31.484Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-27T15:12:31.772Z] + 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-27T15:12:31.780Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:32.082Z] ---> sigul-install.sh [2022-09-27T15:12:32.082Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-27T15:12:32.371Z] + git tag --list [2022-09-27T15:12:32.371Z] 0.7.1 [2022-09-27T15:12:32.371Z] delhi-tag [2022-09-27T15:12:32.371Z] v1.0.0 [2022-09-27T15:12:32.371Z] v1.1.0 [2022-09-27T15:12:32.371Z] v1.1.1 [2022-09-27T15:12:32.371Z] v1.1.2 [2022-09-27T15:12:32.371Z] v1.2.0 [2022-09-27T15:12:32.371Z] v1.2.1 [2022-09-27T15:12:32.371Z] v1.2.2 [2022-09-27T15:12:32.371Z] v1.2.3 [2022-09-27T15:12:32.371Z] v1.3.0 [2022-09-27T15:12:32.371Z] v1.4.0 [2022-09-27T15:12:32.371Z] v2.0.0 [2022-09-27T15:12:32.371Z] v2.1.0 [2022-09-27T15:12:32.371Z] v2.1.1 [2022-09-27T15:12:32.371Z] v2.1.1-dev.2 [2022-09-27T15:12:32.371Z] v2.1.1-dev.3 [2022-09-27T15:12:32.371Z] v2.2.0 [2022-09-27T15:12:32.371Z] v2.2.1-dev.1 [2022-09-27T15:12:32.371Z] v2.2.1-dev.10 [2022-09-27T15:12:32.371Z] v2.2.1-dev.11 [2022-09-27T15:12:32.371Z] v2.2.1-dev.12 [2022-09-27T15:12:32.371Z] v2.2.1-dev.13 [2022-09-27T15:12:32.371Z] v2.2.1-dev.14 [2022-09-27T15:12:32.371Z] v2.2.1-dev.2 [2022-09-27T15:12:32.371Z] v2.2.1-dev.3 [2022-09-27T15:12:32.371Z] v2.2.1-dev.4 [2022-09-27T15:12:32.371Z] v2.2.1-dev.5 [2022-09-27T15:12:32.371Z] v2.2.1-dev.6 [2022-09-27T15:12:32.371Z] v2.2.1-dev.7 [2022-09-27T15:12:32.371Z] v2.2.1-dev.8 [2022-09-27T15:12:32.371Z] v2.2.1-dev.9 [2022-09-27T15:12:32.371Z] v2.3.0-dev.14 [2022-09-27T15:12:32.371Z] v2.3.0-dev.15 [2022-09-27T15:12:32.371Z] v2.3.0-dev.16 [2022-09-27T15:12:32.371Z] v2.3.0-dev.17 [2022-09-27T15:12:32.371Z] v2.3.0-dev.18 [2022-09-27T15:12:32.371Z] v2.3.0-dev.19 [2022-09-27T15:12:32.371Z] v2.3.0-dev.20 [2022-09-27T15:12:32.371Z] v2.3.0-dev.21 [2022-09-27T15:12:32.371Z] v2.3.0-dev.22 [2022-09-27T15:12:32.371Z] v2.3.0-dev.23 [2022-09-27T15:12:32.371Z] v2.3.0-dev.24 [2022-09-27T15:12:32.371Z] v2.3.0-dev.25 [2022-09-27T15:12:32.371Z] v2.3.0-dev.26 [2022-09-27T15:12:32.371Z] v2.3.0-dev.27 [2022-09-27T15:12:32.371Z] v2.3.0-dev.28 [2022-09-27T15:12:32.371Z] v2.3.0-dev.29 [2022-09-27T15:12:32.371Z] v2.3.0-dev.30 [Pipeline] sh [2022-09-27T15:12:32.655Z] + lftools sign git-tag v2.3.0-dev.30 [2022-09-27T15:12:33.223Z] Signing Git tag with Sigul... [2022-09-27T15:12:33.223Z] Signing v2.3.0-dev.30 [Pipeline] echo [2022-09-27T15:12:33.798Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:34.081Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-27T15:12:34.087Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-27T15:12:34.103Z] $ docker stop --time=1 1141ea160b4b1a747148cfc292d0222c1bdb298a408297b8737005283e60b44a [2022-09-27T15:12:36.242Z] $ docker rm -f 1141ea160b4b1a747148cfc292d0222c1bdb298a408297b8737005283e60b44a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-27T15:12:36.678Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T15:12:36.678Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:12:36.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T15:12:36.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:12:37.034Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T15:12:37.064Z] $ 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-27T15:12:38.408Z] $ docker top a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be -eo pid,comm [2022-09-27T15:12:38.462Z] 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-27T15:12:38.462Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T15:12:38.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T15:12:38.489Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T15:12:38.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T15:12:38.612Z] $ docker exec a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be ssh-agent [2022-09-27T15:12:38.722Z] SSH_AUTH_SOCK=/tmp/ssh-8aBU1QqR8yhI/agent.13 [2022-09-27T15:12:38.722Z] SSH_AGENT_PID=19 [2022-09-27T15:12:38.728Z] Running ssh-add (command line suppressed) [2022-09-27T15:12:39.084Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16022344903494387331.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16022344903494387331.key) [2022-09-27T15:12:39.102Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T15:12:39.389Z] + git semver bump pre [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,618 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,618 [bump_version] DEBUG bumping version:2.3.0-dev.30 on axis:pre with prefix:dev [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,618 [bump_version] DEBUG bumped version:2.3.0-dev.31 [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,618 [write_version] DEBUG write version:2.3.0-dev.31 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,618 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,619 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,622 [execute] INFO git cat-file --batch-check [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,623 [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-27T15:12:39.648Z] 2022-09-27 15:12:39,629 [execute] INFO git cat-file --batch [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T15:12:39.648Z] 2022-09-27 15:12:39,637 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T15:12:39.648Z] 2.3.0-dev.31 [Pipeline] } [2022-09-27T15:12:39.929Z] $ docker exec --env ******** --env ******** a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be ssh-agent -k [2022-09-27T15:12:40.028Z] unset SSH_AUTH_SOCK; [2022-09-27T15:12:40.029Z] unset SSH_AGENT_PID; [2022-09-27T15:12:40.029Z] echo Agent pid 19 killed; [2022-09-27T15:12:40.041Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T15:12:40.340Z] + git semver [Pipeline] } [2022-09-27T15:12:40.616Z] $ docker stop --time=1 a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be [2022-09-27T15:12:42.345Z] $ docker rm -f a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T15:12:42.795Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T15:12:42.795Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:12:43.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T15:12:43.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:12:43.149Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T15:12:43.186Z] $ 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-27T15:12:44.298Z] $ docker top 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 -eo pid,comm [2022-09-27T15:12:44.352Z] 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-27T15:12:44.352Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T15:12:44.394Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T15:12:44.394Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T15:12:44.617Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T15:12:44.634Z] $ docker exec 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 ssh-agent [2022-09-27T15:12:44.861Z] SSH_AUTH_SOCK=/tmp/ssh-2vLDIxM4t8ny/agent.14 [2022-09-27T15:12:44.861Z] SSH_AGENT_PID=20 [2022-09-27T15:12:44.867Z] Running ssh-add (command line suppressed) [2022-09-27T15:12:44.982Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16579709380297887300.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16579709380297887300.key) [2022-09-27T15:12:45.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T15:12:45.298Z] + git semver push [2022-09-27T15:12:45.885Z] 2022-09-27 15:12:45,708 [run_push] DEBUG push [2022-09-27T15:12:45.885Z] 2022-09-27 15:12:45,709 [execute] INFO git cat-file --batch-check [2022-09-27T15:12:45.885Z] 2022-09-27 15:12:45,709 [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-27T15:12:45.885Z] 2022-09-27 15:12:45,713 [execute] INFO git rev-list a0d28419706e17e65ef5c3171c3bd97c412f3c2f -- [2022-09-27T15:12:45.885Z] 2022-09-27 15:12:45,714 [execute] DEBUG Popen(['git', 'rev-list', 'a0d28419706e17e65ef5c3171c3bd97c412f3c2f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-27T15:12:45.885Z] 2022-09-27 15:12:45,725 [execute] INFO git fetch -v origin [2022-09-27T15:12:45.885Z] 2022-09-27 15:12:45,725 [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-27T15:12:46.453Z] 2022-09-27 15:12:46,316 [run_push] DEBUG no remote changes detected [2022-09-27T15:12:46.453Z] 2022-09-27 15:12:46,316 [execute] INFO git push origin semver [2022-09-27T15:12:46.453Z] 2022-09-27 15:12:46,317 [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-27T15:12:47.393Z] 2022-09-27 15:12:47,199 [run_push] DEBUG push all version tags [2022-09-27T15:12:47.393Z] 2022-09-27 15:12:47,200 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-27T15:12:47.393Z] 2022-09-27 15:12:47,200 [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-27T15:12:48.335Z] 2022-09-27 15:12:47,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-27T15:12:48.335Z] 2.3.0-dev.31 [Pipeline] } [2022-09-27T15:12:48.343Z] $ docker exec --env ******** --env ******** 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 ssh-agent -k [2022-09-27T15:12:48.432Z] unset SSH_AUTH_SOCK; [2022-09-27T15:12:48.433Z] unset SSH_AGENT_PID; [2022-09-27T15:12:48.433Z] echo Agent pid 20 killed; [2022-09-27T15:12:48.445Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T15:12:48.752Z] + git semver [Pipeline] } [2022-09-27T15:12:49.024Z] $ docker stop --time=1 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 [2022-09-27T15:12:51.208Z] $ docker rm -f 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 [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-27T15:12:51.800Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-09-27T15:12:51.800Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-27T15:12:51.800Z] total 16 [2022-09-27T15:12:51.800Z] drwxr-xr-x 3 root root 4096 Sep 27 15:02 . [2022-09-27T15:12:51.800Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:12 .. [2022-09-27T15:12:51.800Z] drwxr-xr-x 2 root root 4096 Sep 27 15:02 cost [2022-09-27T15:12:51.800Z] -rw-r--r-- 1 root root 85 Sep 27 15:02 cost.csv [2022-09-27T15:12:51.800Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-27T15:12:51.800Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-27T15:12:51.800Z] total 16 [2022-09-27T15:12:51.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 15:02 . [2022-09-27T15:12:51.800Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:12 .. [2022-09-27T15:12:51.800Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 15:02 cost [2022-09-27T15:12:51.800Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 27 15:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:52.088Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:52.950Z] ---> package-listing.sh [2022-09-27T15:12:52.950Z] ++ facter osfamily [2022-09-27T15:12:52.950Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T15:12:53.210Z] + OS_FAMILY=debian [2022-09-27T15:12:53.210Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-09-27T15:12:53.210Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T15:12:53.210Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T15:12:53.210Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T15:12:53.210Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T15:12:53.210Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-09-27T15:12:53.210Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T15:12:53.210Z] + case "${OS_FAMILY}" in [2022-09-27T15:12:53.210Z] + dpkg -l [2022-09-27T15:12:53.210Z] + grep '^ii' [2022-09-27T15:12:53.210Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T15:12:53.210Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T15:12:53.210Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T15:12:53.210Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-09-27T15:12:53.210Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-09-27T15:12:53.210Z] + 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-27T15:12:53.299Z] 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-27T15:12:53.654Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T15:12:54.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T15:12:54.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T15:12:54.348Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2022-09-27T15:12:54.379Z] $ 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-27T15:12:54.594Z] $ docker top e80b37ca1d9aa1f3838e824bd104ec583f7d7194e8523c8da3d97c1fcd948807 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T15:12:54.938Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T15:12:55.224Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T15:12:55.505Z] + ls /var/log/sa-host [2022-09-27T15:12:55.505Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T15:12:55.639Z] provisioning config files... [2022-09-27T15:12:55.648Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4909468081082315652tmp [Pipeline] { [Pipeline] echo [2022-09-27T15:12:55.660Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:55.980Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T15:12:55.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:56.327Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T15:12:56.335Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:56.616Z] ---> sudo-logs.sh [2022-09-27T15:12:56.616Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T15:12:56.640Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:56.924Z] ---> job-cost.sh [2022-09-27T15:12:56.924Z] lf-activate-venv: SKIPPING [2022-09-27T15:12:56.924Z] DEBUG: total: 0.2199999988079071 [2022-09-27T15:12:56.924Z] INFO: Retrieving Stack Cost... [2022-09-27T15:12:57.494Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T15:12:57.754Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T15:12:57.815Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T15:12:58.133Z] ---> logs-deploy.sh [2022-09-27T15:12:58.133Z] lf-activate-venv: SKIPPING [2022-09-27T15:12:58.133Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/105 [2022-09-27T15:12:58.133Z] INFO: archiving workspace using pattern(s): [2022-09-27T15:12:59.069Z] Archives upload complete. [2022-09-27T15:12:59.328Z] INFO: archiving logs to Nexus