Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e5a0b3e55ec9dc6fa0154916c923036ad023fb3d 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-ssh7718949722633866714.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-ssh4246761930684709964.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-ssh14510091340408881382.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-ssh6816042923100101958.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-ssh10445740001820567861.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 ‘prd-ubuntu20.04-docker-8c-8g-572’ is offline ‘prd-ubuntu20.04-docker-8c-8g-612’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-607’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-614 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 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d (main) Commit message: "Merge pull request #1212 from hahattan/issue-1189" > 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 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d # timeout=10 > git rev-list --no-walk e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T16:33:37.245Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T16:33:37.305Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T16:33:37.320Z] ========================================================= [2022-09-22T16:33:37.321Z] EdgeX Global Pipelines Version Info [2022-09-22T16:33:37.321Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:33:38.033Z] ------------------- [2022-09-22T16:33:38.033Z] stable info: [2022-09-22T16:33:38.033Z] ------------------- [2022-09-22T16:33:38.033Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T16:33:38.033Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T16:33:38.033Z] Message: update stable to v1.0.239 [2022-09-22T16:33:39.960Z] ------------------- [2022-09-22T16:33:39.960Z] experimental info: [2022-09-22T16:33:39.960Z] ------------------- [2022-09-22T16:33:39.960Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T16:33:39.960Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T16:33:39.960Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T16:33:40.109Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-22T16:33:40.121Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-22T16:33:40.132Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T16:33:40.145Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T16:33:40.158Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T16:33:40.172Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T16:33:40.186Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T16:33:40.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-22T16:33:40.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T16:33:40.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T16:33:40.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T16:33:40.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-22T16:33:40.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T16:33:40.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T16:33:40.285Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T16:33:40.300Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:33:40.316Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:33:40.326Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:33:40.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T16:33:40.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T16:33:40.362Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-22T16:33:40.374Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-22T16:33:40.387Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T16:33:40.396Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T16:33:40.412Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T16:33:40.426Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T16:33:40.436Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T16:33:40.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-09-22T16:33:40.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-09-22T16:33:40.470Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-09-22T16:33:40.482Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] echo [2022-09-22T16:33:40.493Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5a0b3e [Pipeline] echo [2022-09-22T16:33:40.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:33:40.550Z] provisioning config files... [2022-09-22T16:33:40.570Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11267605406234593726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:33:40.875Z] ---> docker-login.sh [2022-09-22T16:33:40.875Z] nexus3.edgexfoundry.org:10001 [2022-09-22T16:33:41.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:41.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:41.136Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:41.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:41.136Z] [2022-09-22T16:33:41.136Z] Login Succeeded [2022-09-22T16:33:41.136Z] nexus3.edgexfoundry.org:10002 [2022-09-22T16:33:41.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:41.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:41.397Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:41.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:41.397Z] [2022-09-22T16:33:41.397Z] Login Succeeded [2022-09-22T16:33:41.397Z] nexus3.edgexfoundry.org:10003 [2022-09-22T16:33:41.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:41.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:41.397Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:41.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:41.397Z] [2022-09-22T16:33:41.397Z] Login Succeeded [2022-09-22T16:33:41.397Z] nexus3.edgexfoundry.org:10004 [2022-09-22T16:33:41.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:41.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:41.658Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:41.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:41.658Z] [2022-09-22T16:33:41.658Z] Login Succeeded [2022-09-22T16:33:41.658Z] docker.io [2022-09-22T16:33:41.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:41.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:41.919Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:41.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:41.919Z] [2022-09-22T16:33:41.919Z] Login Succeeded [2022-09-22T16:33:41.919Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T16:33:41.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T16:33:42.274Z] + git rev-list -1 --merges e5a0b3e55ec9dc6fa0154916c923036ad023fb3d~1..e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] echo [2022-09-22T16:33:42.310Z] -----------> git rev-list -1 --merges e5a0b3e55ec9dc6fa0154916c923036ad023fb3d~1..e5a0b3e55ec9dc6fa0154916c923036ad023fb3d e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [2022-09-22T16:33:42.310Z] e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [false] [Pipeline] sh [2022-09-22T16:33:42.602Z] + git log --format=format:%s -1 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] echo [2022-09-22T16:33:42.616Z] ========================================================= [2022-09-22T16:33:42.616Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T16:33:42.616Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:33:42.927Z] + git log --format=format:%s -1 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] echo [2022-09-22T16:33:42.938Z] [semverPrep] GIT_COMMIT: e5a0b3e55ec9dc6fa0154916c923036ad023fb3d, Commit Message: Merge pull request #1212 from hahattan/issue-1189 [Pipeline] echo [2022-09-22T16:33:42.945Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T16:33:43.292Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:33:43.292Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T16:33:43.292Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T16:33:43.292Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T16:33:43.292Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T16:33:43.292Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T16:33:43.292Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:33:43.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:33:43.639Z] [2022-09-22T16:33:43.639Z] 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-22T16:33:43.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:33:43.936Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T16:33:43.936Z] b85a868b505f: Pulling fs layer [2022-09-22T16:33:43.936Z] e2be974225ed: Pulling fs layer [2022-09-22T16:33:43.936Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T16:33:43.936Z] 988bab9f4d93: Pulling fs layer [2022-09-22T16:33:43.936Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T16:33:43.936Z] eaf3925da568: Pulling fs layer [2022-09-22T16:33:43.936Z] bab4dde63d76: Pulling fs layer [2022-09-22T16:33:43.936Z] bde34c3a00c8: Pulling fs layer [2022-09-22T16:33:43.936Z] b352a97aabf1: Pulling fs layer [2022-09-22T16:33:43.936Z] 4872d77fe225: Pulling fs layer [2022-09-22T16:33:43.936Z] 5851b861e8e6: Pulling fs layer [2022-09-22T16:33:43.936Z] 4872d77fe225: Waiting [2022-09-22T16:33:43.936Z] 5851b861e8e6: Waiting [2022-09-22T16:33:43.936Z] bde34c3a00c8: Waiting [2022-09-22T16:33:43.936Z] eaf3925da568: Waiting [2022-09-22T16:33:43.936Z] 988bab9f4d93: Waiting [2022-09-22T16:33:43.936Z] b352a97aabf1: Waiting [2022-09-22T16:33:43.936Z] 1469e6f7b9e6: Waiting [2022-09-22T16:33:43.936Z] bab4dde63d76: Waiting [2022-09-22T16:33:43.936Z] e2be974225ed: Verifying Checksum [2022-09-22T16:33:43.936Z] e2be974225ed: Download complete [2022-09-22T16:33:43.936Z] 988bab9f4d93: Download complete [2022-09-22T16:33:44.196Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T16:33:44.196Z] 339a4e72a1f5: Download complete [2022-09-22T16:33:44.196Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T16:33:44.196Z] 1469e6f7b9e6: Download complete [2022-09-22T16:33:44.196Z] eaf3925da568: Download complete [2022-09-22T16:33:44.196Z] bde34c3a00c8: Verifying Checksum [2022-09-22T16:33:44.196Z] bde34c3a00c8: Download complete [2022-09-22T16:33:44.196Z] b352a97aabf1: Verifying Checksum [2022-09-22T16:33:44.196Z] b352a97aabf1: Download complete [2022-09-22T16:33:44.196Z] 4872d77fe225: Verifying Checksum [2022-09-22T16:33:44.196Z] 4872d77fe225: Download complete [2022-09-22T16:33:44.196Z] 5851b861e8e6: Download complete [2022-09-22T16:33:44.196Z] b85a868b505f: Verifying Checksum [2022-09-22T16:33:44.196Z] b85a868b505f: Download complete [2022-09-22T16:33:44.455Z] bab4dde63d76: Verifying Checksum [2022-09-22T16:33:44.455Z] bab4dde63d76: Download complete [2022-09-22T16:33:45.393Z] b85a868b505f: Pull complete [2022-09-22T16:33:45.654Z] e2be974225ed: Pull complete [2022-09-22T16:33:46.222Z] 339a4e72a1f5: Pull complete [2022-09-22T16:33:46.222Z] 988bab9f4d93: Pull complete [2022-09-22T16:33:46.482Z] 1469e6f7b9e6: Pull complete [2022-09-22T16:33:46.482Z] eaf3925da568: Pull complete [2022-09-22T16:33:48.388Z] bab4dde63d76: Pull complete [2022-09-22T16:33:48.388Z] bde34c3a00c8: Pull complete [2022-09-22T16:33:48.648Z] b352a97aabf1: Pull complete [2022-09-22T16:33:48.648Z] 4872d77fe225: Pull complete [2022-09-22T16:33:48.648Z] 5851b861e8e6: Pull complete [2022-09-22T16:33:48.648Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T16:33:48.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:33:48.648Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:33:48.739Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:33:48.782Z] $ 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-22T16:33:50.205Z] $ docker top 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad -eo pid,comm [2022-09-22T16:33:50.265Z] 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-22T16:33:50.265Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:33:50.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:33:50.305Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:33:50.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:33:50.427Z] $ docker exec 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad ssh-agent [2022-09-22T16:33:50.542Z] SSH_AUTH_SOCK=/tmp/ssh-nUkVdbp7ltrx/agent.32 [2022-09-22T16:33:50.542Z] SSH_AGENT_PID=38 [2022-09-22T16:33:50.549Z] Running ssh-add (command line suppressed) [2022-09-22T16:33:50.661Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11863516716807039837.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11863516716807039837.key) [2022-09-22T16:33:50.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:33:50.965Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T16:33:50.982Z] $ docker exec --env ******** --env ******** 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad ssh-agent -k [2022-09-22T16:33:51.102Z] unset SSH_AUTH_SOCK; [2022-09-22T16:33:51.102Z] unset SSH_AGENT_PID; [2022-09-22T16:33:51.102Z] echo Agent pid 38 killed; [2022-09-22T16:33:51.111Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T16:33:51.135Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:33:51.135Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:33:51.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:33:51.270Z] $ docker exec 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad ssh-agent [2022-09-22T16:33:51.385Z] SSH_AUTH_SOCK=/tmp/ssh-KeW19ip90jki/agent.69 [2022-09-22T16:33:51.385Z] SSH_AGENT_PID=75 [2022-09-22T16:33:51.391Z] Running ssh-add (command line suppressed) [2022-09-22T16:33:51.514Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12732728288490572644.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12732728288490572644.key) [2022-09-22T16:33:51.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:33:51.816Z] + git semver init [2022-09-22T16:33:52.075Z] 2022-09-22 16:33:52,029 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T16:33:52.075Z] 2022-09-22 16:33:52,030 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-09-22T16:33:52.075Z] 2022-09-22 16:33:52,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-09-22T16:33:52.076Z] 2022-09-22 16:33:52,031 [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-22T16:33:53.459Z] 2022-09-22 16:33:53,021 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-09-22T16:33:53.459Z] 2022-09-22 16:33:53,021 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-09-22T16:33:53.459Z] 2022-09-22 16:33:53,021 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-22T16:33:53.459Z] 2022-09-22 16:33:53,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-22T16:33:53.459Z] 2.3.0-dev.24 [Pipeline] } [2022-09-22T16:33:53.472Z] $ docker exec --env ******** --env ******** 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad ssh-agent -k [2022-09-22T16:33:53.589Z] unset SSH_AUTH_SOCK; [2022-09-22T16:33:53.591Z] unset SSH_AGENT_PID; [2022-09-22T16:33:53.591Z] echo Agent pid 75 killed; [2022-09-22T16:33:53.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:33:53.913Z] + git semver [Pipeline] } [2022-09-22T16:33:54.189Z] $ docker stop --time=1 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad [2022-09-22T16:33:55.498Z] $ docker rm -f 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:33:55.844Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T16:33:56.037Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T16:33:56.039Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.24 [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-22T16:33:56.188Z] provisioning config files... [2022-09-22T16:33:56.222Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1926500608686908412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:33:56.523Z] ---> docker-login.sh [2022-09-22T16:33:56.523Z] nexus3.edgexfoundry.org:10001 [2022-09-22T16:33:56.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:56.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:56.523Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:56.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:56.523Z] [2022-09-22T16:33:56.523Z] Login Succeeded [2022-09-22T16:33:56.523Z] nexus3.edgexfoundry.org:10002 [2022-09-22T16:33:56.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:56.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:56.783Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:56.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:56.783Z] [2022-09-22T16:33:56.783Z] Login Succeeded [2022-09-22T16:33:56.783Z] nexus3.edgexfoundry.org:10003 [2022-09-22T16:33:56.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:56.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:56.783Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:56.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:56.783Z] [2022-09-22T16:33:56.783Z] Login Succeeded [2022-09-22T16:33:56.783Z] nexus3.edgexfoundry.org:10004 [2022-09-22T16:33:56.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:56.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:56.783Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:56.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:56.783Z] [2022-09-22T16:33:56.783Z] Login Succeeded [2022-09-22T16:33:57.042Z] docker.io [2022-09-22T16:33:57.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:33:57.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:33:57.302Z] Configure a credential helper to remove this warning. See [2022-09-22T16:33:57.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:33:57.302Z] [2022-09-22T16:33:57.302Z] Login Succeeded [2022-09-22T16:33:57.302Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T16:33:57.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T16:33:57.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:33:57.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:33:57.382Z] ========================================================= [2022-09-22T16:33:57.382Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T16:33:57.382Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:33:57.680Z] + 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-22T16:33:57.681Z] Sending build context to Docker daemon 9.873MB [2022-09-22T16:33:57.681Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:33:57.681Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T16:33:57.681Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T16:33:57.681Z] 2408cc74d12b: Pulling fs layer [2022-09-22T16:33:57.681Z] ea60b727a1ce: Pulling fs layer [2022-09-22T16:33:57.681Z] 30c4a7721957: Pulling fs layer [2022-09-22T16:33:57.681Z] 370296b7ddb6: Pulling fs layer [2022-09-22T16:33:57.681Z] 7c6cee850709: Pulling fs layer [2022-09-22T16:33:57.681Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T16:33:57.681Z] d94ebbe4e438: Pulling fs layer [2022-09-22T16:33:57.681Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T16:33:57.681Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T16:33:57.681Z] 39a5fcdaea64: Waiting [2022-09-22T16:33:57.681Z] d94ebbe4e438: Waiting [2022-09-22T16:33:57.681Z] 59ccb84bbe0f: Waiting [2022-09-22T16:33:57.681Z] bcfd1f05c69d: Waiting [2022-09-22T16:33:57.681Z] 370296b7ddb6: Waiting [2022-09-22T16:33:57.681Z] 7c6cee850709: Waiting [2022-09-22T16:33:57.681Z] 30c4a7721957: Verifying Checksum [2022-09-22T16:33:57.681Z] 30c4a7721957: Download complete [2022-09-22T16:33:57.681Z] ea60b727a1ce: Verifying Checksum [2022-09-22T16:33:57.681Z] ea60b727a1ce: Download complete [2022-09-22T16:33:57.943Z] 7c6cee850709: Verifying Checksum [2022-09-22T16:33:57.943Z] 7c6cee850709: Download complete [2022-09-22T16:33:57.943Z] 39a5fcdaea64: Download complete [2022-09-22T16:33:57.943Z] 2408cc74d12b: Verifying Checksum [2022-09-22T16:33:57.943Z] 2408cc74d12b: Download complete [2022-09-22T16:33:57.943Z] d94ebbe4e438: Verifying Checksum [2022-09-22T16:33:57.943Z] d94ebbe4e438: Download complete [2022-09-22T16:33:57.943Z] 2408cc74d12b: Pull complete [2022-09-22T16:33:58.210Z] ea60b727a1ce: Pull complete [2022-09-22T16:33:58.210Z] 30c4a7721957: Pull complete [2022-09-22T16:33:58.474Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T16:33:58.474Z] 59ccb84bbe0f: Download complete [2022-09-22T16:33:58.474Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T16:33:58.474Z] bcfd1f05c69d: Download complete [2022-09-22T16:33:58.732Z] 370296b7ddb6: Verifying Checksum [2022-09-22T16:33:58.732Z] 370296b7ddb6: Download complete [2022-09-22T16:34:02.915Z] 370296b7ddb6: Pull complete [2022-09-22T16:34:02.915Z] 7c6cee850709: Pull complete [2022-09-22T16:34:02.915Z] 39a5fcdaea64: Pull complete [2022-09-22T16:34:02.915Z] d94ebbe4e438: Pull complete [2022-09-22T16:34:04.816Z] bcfd1f05c69d: Pull complete [2022-09-22T16:34:05.750Z] 59ccb84bbe0f: Pull complete [2022-09-22T16:34:05.750Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T16:34:05.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T16:34:05.750Z] ---> a4fb48ad2a94 [2022-09-22T16:34:05.750Z] Step 3/11 : ARG MAKE=make build [2022-09-22T16:34:07.657Z] ---> Running in 2791895f8ba2 [2022-09-22T16:34:07.657Z] Removing intermediate container 2791895f8ba2 [2022-09-22T16:34:07.657Z] ---> 32c68cf3b9e3 [2022-09-22T16:34:07.657Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T16:34:07.657Z] ---> Running in f24a0b41fe3a [2022-09-22T16:34:07.657Z] Removing intermediate container f24a0b41fe3a [2022-09-22T16:34:07.657Z] ---> 2ecc1090ce1f [2022-09-22T16:34:07.657Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:34:07.657Z] ---> Running in bbb0c5fe03a3 [2022-09-22T16:34:07.657Z] Removing intermediate container bbb0c5fe03a3 [2022-09-22T16:34:07.657Z] ---> 7892de2f86f4 [2022-09-22T16:34:07.657Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:34:07.916Z] ---> Running in f2959889c7c4 [2022-09-22T16:34:08.484Z] Removing intermediate container f2959889c7c4 [2022-09-22T16:34:08.484Z] ---> eacdfcf1b398 [2022-09-22T16:34:08.484Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:34:08.484Z] ---> Running in 78fbb62ae028 [2022-09-22T16:34:08.742Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T16:34:09.679Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T16:34:09.937Z] OK: 211 MiB in 51 packages [2022-09-22T16:34:10.195Z] Removing intermediate container 78fbb62ae028 [2022-09-22T16:34:10.195Z] ---> a3c4abea0715 [2022-09-22T16:34:10.195Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T16:34:10.452Z] ---> 13b591819322 [2022-09-22T16:34:10.452Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:34:10.452Z] ---> Running in 35e4708f4964 [2022-09-22T16:34:11.115Z] Still waiting to schedule task [2022-09-22T16:34:11.116Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-22T16:34:25.327Z] Removing intermediate container 35e4708f4964 [2022-09-22T16:34:25.327Z] ---> 4b0b6f519503 [2022-09-22T16:34:25.327Z] Step 10/11 : COPY . . [2022-09-22T16:34:25.585Z] ---> 0b61fd605743 [2022-09-22T16:34:25.585Z] Step 11/11 : RUN ${MAKE} [2022-09-22T16:34:25.585Z] ---> Running in 853d8aad5e2b [2022-09-22T16:34:25.846Z] noop [2022-09-22T16:34:26.105Z] Removing intermediate container 853d8aad5e2b [2022-09-22T16:34:26.105Z] ---> 931718e7e2b2 [2022-09-22T16:34:26.105Z] Successfully built 931718e7e2b2 [2022-09-22T16:34:26.105Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:34:26.414Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T16:34:26.414Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:34:26.478Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:34:26.514Z] $ 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-22T16:34:26.889Z] $ docker top 73a28c4e2e4c5ee2485da9f3b0c847467d9325eeef195e97d26c8682c0a2a5ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:34:27.237Z] + go version [2022-09-22T16:34:27.237Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T16:34:27.251Z] $ docker stop --time=1 73a28c4e2e4c5ee2485da9f3b0c847467d9325eeef195e97d26c8682c0a2a5ae [2022-09-22T16:34:28.536Z] $ docker rm -f 73a28c4e2e4c5ee2485da9f3b0c847467d9325eeef195e97d26c8682c0a2a5ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:34:28.917Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T16:34:28.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:34:28.986Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:34:29.017Z] $ 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-22T16:34:29.391Z] $ docker top 3b7e787a174712a9ae63d5615838647b56e3490d0c9dec37fd4450b4b256f5d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:34:29.731Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-09-22T16:34:30.018Z] + make test [2022-09-22T16:34:30.018Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T16:34:36.585Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T16:34:51.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-09-22T16:34:51.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.111s coverage: 78.9% of statements [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T16:34:51.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.091s coverage: 60.0% of statements [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T16:34:51.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.115s coverage: 54.4% of statements [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T16:34:51.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 65.1% of statements [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T16:34:51.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.729s coverage: 89.2% of statements [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T16:34:51.446Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.5% of statements [2022-09-22T16:34:51.446Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T16:35:09.522Z] 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-22T16:35:09.522Z] GO111MODULE=on go vet ./... [2022-09-22T16:35:10.894Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:35:10.894Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:35:10.894Z] ./bin/test-attribution-txt.sh [2022-09-22T16:35:10.894Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T16:35:10.894Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-22T16:35:10.894Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-22T16:35:10.894Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-22T16:35:10.894Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T16:35:11.152Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T16:35:11.152Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T16:35:11.152Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T16:35:11.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T16:35:11.175Z] $ docker stop --time=1 3b7e787a174712a9ae63d5615838647b56e3490d0c9dec37fd4450b4b256f5d6 [2022-09-22T16:35:13.325Z] $ docker rm -f 3b7e787a174712a9ae63d5615838647b56e3490d0c9dec37fd4450b4b256f5d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:35:13.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T16:35:13.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T16:35:14.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T16:35:14.528Z] + ls -al . [2022-09-22T16:35:14.528Z] total 276 [2022-09-22T16:35:14.528Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 16:34 . [2022-09-22T16:35:14.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:33 .. [2022-09-22T16:35:14.528Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:33 .dockerignore [2022-09-22T16:35:14.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:34 .git [2022-09-22T16:35:14.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:33 .github [2022-09-22T16:35:14.528Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:33 .gitignore [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:33 .golangci.yml [2022-09-22T16:35:14.529Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:33 .semver [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:33 CHANGELOG.md [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:33 GOVERNANCE.md [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:33 Jenkinsfile [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:33 LICENSE [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:33 Makefile [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:33 OWNERS.md [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:33 README.md [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 16:33 VERSION [2022-09-22T16:35:14.529Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:33 bin [2022-09-22T16:35:14.529Z] -rw-r--r-- 1 jenkins jenkins 101795 Sep 22 16:34 coverage.out [2022-09-22T16:35:14.529Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:33 example [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 16:33 go.mod [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 16:33 go.sum [2022-09-22T16:35:14.529Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:33 internal [2022-09-22T16:35:14.529Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:33 openapi [2022-09-22T16:35:14.529Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:33 pkg [2022-09-22T16:35:14.529Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:33 snap [2022-09-22T16:35:14.529Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:35:14.822Z] + 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=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d --label arch=amd64 --label version=2.3.0-dev.24 . [2022-09-22T16:35:14.822Z] Sending build context to Docker daemon 9.976MB [2022-09-22T16:35:14.822Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:35:14.822Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T16:35:14.822Z] ---> 931718e7e2b2 [2022-09-22T16:35:14.822Z] Step 3/25 : ARG MAKE=make build [2022-09-22T16:35:14.822Z] ---> Running in 488fa04ef92e [2022-09-22T16:35:15.079Z] Removing intermediate container 488fa04ef92e [2022-09-22T16:35:15.079Z] ---> 31ced8356290 [2022-09-22T16:35:15.079Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T16:35:15.079Z] ---> Running in 8ffe9d5acf40 [2022-09-22T16:35:15.079Z] Removing intermediate container 8ffe9d5acf40 [2022-09-22T16:35:15.079Z] ---> 27742b94748a [2022-09-22T16:35:15.079Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:35:15.079Z] ---> Running in f9b9ab8d296d [2022-09-22T16:35:15.337Z] Removing intermediate container f9b9ab8d296d [2022-09-22T16:35:15.337Z] ---> 88478d0be7dc [2022-09-22T16:35:15.338Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:35:15.338Z] ---> Running in 3c996217f09d [2022-09-22T16:35:15.904Z] Removing intermediate container 3c996217f09d [2022-09-22T16:35:15.904Z] ---> e5a4fcd469fa [2022-09-22T16:35:15.904Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:35:15.904Z] ---> Running in 18667d7d4e33 [2022-09-22T16:35:16.163Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T16:35:17.099Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T16:35:17.357Z] OK: 211 MiB in 51 packages [2022-09-22T16:35:17.615Z] Removing intermediate container 18667d7d4e33 [2022-09-22T16:35:17.615Z] ---> c4664c4ba3bc [2022-09-22T16:35:17.615Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T16:35:17.873Z] ---> 779edd8793c1 [2022-09-22T16:35:17.873Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:35:17.873Z] ---> Running in d126d381b97d [2022-09-22T16:35:18.812Z] Removing intermediate container d126d381b97d [2022-09-22T16:35:18.812Z] ---> b80742dd262b [2022-09-22T16:35:18.812Z] Step 10/25 : COPY . . [2022-09-22T16:35:19.071Z] ---> 4f64615f9822 [2022-09-22T16:35:19.071Z] Step 11/25 : RUN ${MAKE} [2022-09-22T16:35:19.071Z] ---> Running in 6db2aceecfe8 [2022-09-22T16:35:19.328Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T16:35:37.552Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T16:35:39.455Z] Removing intermediate container 6db2aceecfe8 [2022-09-22T16:35:39.455Z] ---> 5740b3bc5698 [2022-09-22T16:35:39.455Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T16:35:40.021Z] 3.16: Pulling from library/alpine [2022-09-22T16:35:40.022Z] 213ec9aee27d: Pulling fs layer [2022-09-22T16:35:40.296Z] 213ec9aee27d: Verifying Checksum [2022-09-22T16:35:40.296Z] 213ec9aee27d: Download complete [2022-09-22T16:35:40.296Z] 213ec9aee27d: Pull complete [2022-09-22T16:35:40.296Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T16:35:40.296Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T16:35:40.296Z] ---> 9c6f07244728 [2022-09-22T16:35:40.297Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:35:40.554Z] ---> Running in 3f6905b925b8 [2022-09-22T16:35:40.554Z] Removing intermediate container 3f6905b925b8 [2022-09-22T16:35:40.554Z] ---> fa9008f88f38 [2022-09-22T16:35:40.554Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:35:40.554Z] ---> Running in 7f4f0e543eb9 [2022-09-22T16:35:41.122Z] Removing intermediate container 7f4f0e543eb9 [2022-09-22T16:35:41.122Z] ---> 64e12f8f8f8f [2022-09-22T16:35:41.122Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T16:35:41.122Z] ---> Running in a4eb62286fa3 [2022-09-22T16:35:41.687Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T16:35:42.256Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T16:35:42.823Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T16:35:42.823Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T16:35:42.823Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T16:35:43.081Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T16:35:43.081Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T16:35:43.081Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T16:35:43.081Z] OK: 8 MiB in 19 packages [2022-09-22T16:35:43.649Z] Removing intermediate container a4eb62286fa3 [2022-09-22T16:35:43.649Z] ---> 56d81c81ab9a [2022-09-22T16:35:43.649Z] Step 16/25 : WORKDIR / [2022-09-22T16:35:43.649Z] ---> Running in 3ccc34366396 [2022-09-22T16:35:43.649Z] Removing intermediate container 3ccc34366396 [2022-09-22T16:35:43.649Z] ---> fbb0bd5f5245 [2022-09-22T16:35:43.649Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T16:35:43.922Z] ---> ff1df9493f3e [2022-09-22T16:35:43.922Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T16:35:44.487Z] ---> e9e5fc9e87cd [2022-09-22T16:35:44.487Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T16:35:44.487Z] ---> f30007c2d8f6 [2022-09-22T16:35:44.487Z] Step 20/25 : EXPOSE 59999 [2022-09-22T16:35:44.745Z] ---> Running in 83d80515fd14 [2022-09-22T16:35:44.745Z] Removing intermediate container 83d80515fd14 [2022-09-22T16:35:44.745Z] ---> d94061ea75f6 [2022-09-22T16:35:44.745Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T16:35:44.745Z] ---> Running in 7cd3e3f5be61 [2022-09-22T16:35:44.745Z] Removing intermediate container 7cd3e3f5be61 [2022-09-22T16:35:44.745Z] ---> 1c5160730ba1 [2022-09-22T16:35:44.745Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T16:35:45.004Z] ---> Running in a51959b9a186 [2022-09-22T16:35:45.004Z] Removing intermediate container a51959b9a186 [2022-09-22T16:35:45.004Z] ---> 4a9d7804c7b2 [2022-09-22T16:35:45.004Z] Step 23/25 : LABEL arch=amd64 [2022-09-22T16:35:45.004Z] ---> Running in bc80b0b2151a [2022-09-22T16:35:45.004Z] Removing intermediate container bc80b0b2151a [2022-09-22T16:35:45.004Z] ---> 8c5b3e563456 [2022-09-22T16:35:45.004Z] Step 24/25 : LABEL git_sha=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [2022-09-22T16:35:45.004Z] ---> Running in 3965a6084697 [2022-09-22T16:35:45.262Z] Removing intermediate container 3965a6084697 [2022-09-22T16:35:45.262Z] ---> 1964891e5f65 [2022-09-22T16:35:45.262Z] Step 25/25 : LABEL version=2.3.0-dev.24 [2022-09-22T16:35:45.262Z] ---> Running in bf51d0858fce [2022-09-22T16:35:45.262Z] Removing intermediate container bf51d0858fce [2022-09-22T16:35:45.262Z] ---> 15bca8a740c7 [2022-09-22T16:35:45.262Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T16:35:45.262Z] Successfully built 15bca8a740c7 [2022-09-22T16:35:45.262Z] 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-22T16:35:45.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:35:45.637Z] [2022-09-22T16:35:45.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:35:45.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:35:45.934Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T16:35:45.934Z] 5eb5b503b376: Pulling fs layer [2022-09-22T16:35:45.934Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T16:35:45.934Z] ec43610c2a17: Pulling fs layer [2022-09-22T16:35:45.934Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T16:35:45.934Z] 33b1e0a273af: Pulling fs layer [2022-09-22T16:35:45.934Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T16:35:45.934Z] 2f39f015ded8: Pulling fs layer [2022-09-22T16:35:45.934Z] 3a2ae6a8a46f: Waiting [2022-09-22T16:35:45.934Z] 33b1e0a273af: Waiting [2022-09-22T16:35:45.934Z] 5d3b04190fa2: Waiting [2022-09-22T16:35:45.934Z] 2f39f015ded8: Waiting [2022-09-22T16:35:45.934Z] 5c69ac0246d0: Verifying Checksum [2022-09-22T16:35:45.934Z] 5c69ac0246d0: Download complete [2022-09-22T16:35:45.934Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T16:35:45.934Z] 3a2ae6a8a46f: Download complete [2022-09-22T16:35:45.934Z] 33b1e0a273af: Verifying Checksum [2022-09-22T16:35:45.934Z] 33b1e0a273af: Download complete [2022-09-22T16:35:46.195Z] 5d3b04190fa2: Download complete [2022-09-22T16:35:46.196Z] ec43610c2a17: Verifying Checksum [2022-09-22T16:35:46.196Z] ec43610c2a17: Download complete [2022-09-22T16:35:46.196Z] 5eb5b503b376: Download complete [2022-09-22T16:35:46.762Z] 2f39f015ded8: Download complete [2022-09-22T16:35:47.328Z] 5eb5b503b376: Pull complete [2022-09-22T16:35:47.585Z] 5c69ac0246d0: Pull complete [2022-09-22T16:35:48.151Z] ec43610c2a17: Pull complete [2022-09-22T16:35:48.151Z] 3a2ae6a8a46f: Pull complete [2022-09-22T16:35:48.151Z] 33b1e0a273af: Pull complete [2022-09-22T16:35:48.409Z] 5d3b04190fa2: Pull complete [2022-09-22T16:35:52.591Z] 2f39f015ded8: Pull complete [2022-09-22T16:35:52.591Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T16:35:52.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:35:52.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:35:52.680Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:35:52.717Z] $ 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-22T16:35:54.312Z] $ docker top 21f1e7a2aa921124e30fcf53f0d458dec86bbe0c4e4ad481fd532c6f73d27a78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:35:54.684Z] ---> job-cost.sh [2022-09-22T16:35:54.684Z] lf-activate-venv: SKIPPING [2022-09-22T16:35:54.684Z] INFO: No Stack... [2022-09-22T16:35:54.943Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T16:35:55.514Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T16:35:55.805Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-09-22T16:35:55.805Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T16:35:55.818Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [2022-09-22T16:35:55.823Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] did not exist. Created. [2022-09-22T16:35:55.823Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T16:35:56.119Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T16:35:56.149Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T16:35:56.155Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T16:35:56.172Z] $ docker stop --time=1 21f1e7a2aa921124e30fcf53f0d458dec86bbe0c4e4ad481fd532c6f73d27a78 [2022-09-22T16:35:57.331Z] $ docker rm -f 21f1e7a2aa921124e30fcf53f0d458dec86bbe0c4e4ad481fd532c6f73d27a78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T16:37:13.712Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-616 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-09-22T16:37:13.724Z] Running in /w/workspace/device-sdk-go/99 [Pipeline] { [Pipeline] checkout [2022-09-22T16:37:13.760Z] The recommended git tool is: git [2022-09-22T16:37:19.170Z] using credential edgex-jenkins-ssh [2022-09-22T16:37:19.187Z] Cloning the remote Git repository [2022-09-22T16:37:19.234Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T16:37:19.316Z] > git init /w/workspace/device-sdk-go/99 # timeout=10 [2022-09-22T16:37:19.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T16:37:19.495Z] > git --version # timeout=10 [2022-09-22T16:37:19.517Z] > git --version # 'git version 2.25.1' [2022-09-22T16:37:19.520Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T16:37:19.573Z] Verifying host key using known hosts file [2022-09-22T16:37:19.768Z] 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-22T16:37:19.785Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T16:37:22.265Z] Avoid second fetch [2022-09-22T16:37:22.266Z] Checking out Revision e5a0b3e55ec9dc6fa0154916c923036ad023fb3d (main) [2022-09-22T16:37:21.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T16:37:21.360Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T16:37:22.283Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T16:37:22.304Z] > git checkout -f e5a0b3e55ec9dc6fa0154916c923036ad023fb3d # timeout=10 [2022-09-22T16:37:22.810Z] Commit message: "Merge pull request #1212 from hahattan/issue-1189" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:37:23.630Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T16:37:23.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:37:23.630Z] Dload Upload Total Spent Left Speed [2022-09-22T16:37:23.630Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2022-09-22T16:37:24.239Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T16:37:24.568Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-09-22T16:37:24.569Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T16:37:24.569Z] { [2022-09-22T16:37:24.569Z] "registry-mirrors": [ [2022-09-22T16:37:24.569Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T16:37:24.569Z] ], [2022-09-22T16:37:24.569Z] "bip": "10.250.0.254/24", [2022-09-22T16:37:24.569Z] "hosts": [ [2022-09-22T16:37:24.569Z] "tcp://0.0.0.0:5555", [2022-09-22T16:37:24.569Z] "unix:///var/run/docker.sock" [2022-09-22T16:37:24.569Z] ], [2022-09-22T16:37:24.569Z] "mtu": 1458, [2022-09-22T16:37:24.569Z] "selinux-enabled": true, [2022-09-22T16:37:24.569Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T16:37:24.569Z] } [Pipeline] sh [2022-09-22T16:37:24.905Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T16:37:25.241Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:37:43.527Z] provisioning config files... [2022-09-22T16:37:43.556Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/99@tmp/config11231763704865920807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:37:43.909Z] ---> docker-login.sh [2022-09-22T16:37:43.909Z] nexus3.edgexfoundry.org:10001 [2022-09-22T16:37:44.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:37:44.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:37:44.775Z] Configure a credential helper to remove this warning. See [2022-09-22T16:37:44.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:37:44.775Z] [2022-09-22T16:37:44.775Z] Login Succeeded [2022-09-22T16:37:44.775Z] nexus3.edgexfoundry.org:10002 [2022-09-22T16:37:44.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:37:45.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:37:45.046Z] Configure a credential helper to remove this warning. See [2022-09-22T16:37:45.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:37:45.046Z] [2022-09-22T16:37:45.046Z] Login Succeeded [2022-09-22T16:37:45.046Z] nexus3.edgexfoundry.org:10003 [2022-09-22T16:37:45.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:37:45.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:37:45.315Z] Configure a credential helper to remove this warning. See [2022-09-22T16:37:45.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:37:45.315Z] [2022-09-22T16:37:45.315Z] Login Succeeded [2022-09-22T16:37:45.315Z] nexus3.edgexfoundry.org:10004 [2022-09-22T16:37:45.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:37:45.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:37:45.855Z] Configure a credential helper to remove this warning. See [2022-09-22T16:37:45.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:37:45.855Z] [2022-09-22T16:37:45.855Z] Login Succeeded [2022-09-22T16:37:45.855Z] docker.io [2022-09-22T16:37:45.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:37:46.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:37:46.440Z] Configure a credential helper to remove this warning. See [2022-09-22T16:37:46.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:37:46.440Z] [2022-09-22T16:37:46.440Z] Login Succeeded [2022-09-22T16:37:46.440Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T16:37:46.454Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T16:37:46.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:37:46.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:37:46.655Z] ========================================================= [2022-09-22T16:37:46.655Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T16:37:46.655Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:37:47.004Z] + 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-22T16:37:47.279Z] Sending build context to Docker daemon 5.299MB [2022-09-22T16:37:47.279Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:37:47.279Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T16:37:47.554Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T16:37:47.554Z] b3c136eddcbf: Pulling fs layer [2022-09-22T16:37:47.554Z] c0a3192eca97: Pulling fs layer [2022-09-22T16:37:47.554Z] a050256f5b6f: Pulling fs layer [2022-09-22T16:37:47.554Z] 656be50a0ddc: Pulling fs layer [2022-09-22T16:37:47.554Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T16:37:47.554Z] 46d945488cbd: Pulling fs layer [2022-09-22T16:37:47.554Z] 8a5474983e97: Pulling fs layer [2022-09-22T16:37:47.554Z] 329c88fbcd65: Pulling fs layer [2022-09-22T16:37:47.554Z] 46d945488cbd: Waiting [2022-09-22T16:37:47.554Z] 656be50a0ddc: Waiting [2022-09-22T16:37:47.554Z] 2bbca73fdf42: Waiting [2022-09-22T16:37:47.554Z] 8a5474983e97: Waiting [2022-09-22T16:37:47.554Z] 329c88fbcd65: Waiting [2022-09-22T16:37:47.554Z] a050256f5b6f: Verifying Checksum [2022-09-22T16:37:47.554Z] a050256f5b6f: Download complete [2022-09-22T16:37:47.554Z] c0a3192eca97: Verifying Checksum [2022-09-22T16:37:47.554Z] c0a3192eca97: Download complete [2022-09-22T16:37:47.554Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T16:37:47.554Z] 2bbca73fdf42: Download complete [2022-09-22T16:37:47.554Z] 46d945488cbd: Verifying Checksum [2022-09-22T16:37:47.554Z] 46d945488cbd: Download complete [2022-09-22T16:37:47.829Z] b3c136eddcbf: Verifying Checksum [2022-09-22T16:37:47.829Z] b3c136eddcbf: Download complete [2022-09-22T16:37:48.812Z] 329c88fbcd65: Verifying Checksum [2022-09-22T16:37:48.812Z] 329c88fbcd65: Download complete [2022-09-22T16:37:49.410Z] b3c136eddcbf: Pull complete [2022-09-22T16:37:50.002Z] c0a3192eca97: Pull complete [2022-09-22T16:37:50.002Z] 8a5474983e97: Verifying Checksum [2022-09-22T16:37:50.002Z] 8a5474983e97: Download complete [2022-09-22T16:37:50.002Z] a050256f5b6f: Pull complete [2022-09-22T16:37:50.598Z] 656be50a0ddc: Verifying Checksum [2022-09-22T16:37:50.598Z] 656be50a0ddc: Download complete [2022-09-22T16:38:02.961Z] 656be50a0ddc: Pull complete [2022-09-22T16:38:02.961Z] 2bbca73fdf42: Pull complete [2022-09-22T16:38:03.231Z] 46d945488cbd: Pull complete [2022-09-22T16:38:09.898Z] 8a5474983e97: Pull complete [2022-09-22T16:38:11.319Z] 329c88fbcd65: Pull complete [2022-09-22T16:38:11.602Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T16:38:11.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T16:38:11.602Z] ---> ff4287adb874 [2022-09-22T16:38:11.602Z] Step 3/11 : ARG MAKE=make build [2022-09-22T16:38:13.678Z] ---> Running in 12986e0ebe74 [2022-09-22T16:38:13.678Z] Removing intermediate container 12986e0ebe74 [2022-09-22T16:38:13.678Z] ---> 0fa33f364b2c [2022-09-22T16:38:13.678Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T16:38:13.959Z] ---> Running in 6bbc2f76c5df [2022-09-22T16:38:14.227Z] Removing intermediate container 6bbc2f76c5df [2022-09-22T16:38:14.227Z] ---> 2513540806a4 [2022-09-22T16:38:14.227Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:38:14.227Z] ---> Running in ba0171f43364 [2022-09-22T16:38:14.499Z] Removing intermediate container ba0171f43364 [2022-09-22T16:38:14.499Z] ---> aedebacd9102 [2022-09-22T16:38:14.499Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:38:14.770Z] ---> Running in e2ae140d792a [2022-09-22T16:38:16.725Z] Removing intermediate container e2ae140d792a [2022-09-22T16:38:16.725Z] ---> 0f5788e826d2 [2022-09-22T16:38:16.725Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:38:16.725Z] ---> Running in fc15ab38873c [2022-09-22T16:38:17.692Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T16:38:18.653Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T16:38:19.237Z] OK: 221 MiB in 51 packages [2022-09-22T16:38:20.197Z] Removing intermediate container fc15ab38873c [2022-09-22T16:38:20.197Z] ---> 2ec4d0496d55 [2022-09-22T16:38:20.197Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T16:38:20.487Z] ---> d7d3f0fa12bc [2022-09-22T16:38:20.487Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:38:20.756Z] ---> Running in 2f7ba389fbb4 [2022-09-22T16:39:07.613Z] Removing intermediate container 2f7ba389fbb4 [2022-09-22T16:39:07.614Z] ---> 15a9c3fddbfd [2022-09-22T16:39:07.614Z] Step 10/11 : COPY . . [2022-09-22T16:39:08.581Z] ---> 67833bd31926 [2022-09-22T16:39:08.581Z] Step 11/11 : RUN ${MAKE} [2022-09-22T16:39:08.581Z] ---> Running in e19f8cdabae7 [2022-09-22T16:39:09.545Z] noop [2022-09-22T16:39:10.140Z] Removing intermediate container e19f8cdabae7 [2022-09-22T16:39:10.140Z] ---> 75e4568a53c0 [2022-09-22T16:39:10.140Z] Successfully built 75e4568a53c0 [2022-09-22T16:39:10.140Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:39:10.491Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T16:39:10.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:39:10.680Z] prd-ubuntu20.04-docker-arm64-4c-16g-616 does not seem to be running inside a container [2022-09-22T16:39:10.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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-22T16:39:11.991Z] $ docker top 06d17e5437b3b1180752f815cf2214515edde3df7c40ce73eca08f5f84547be1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:39:12.817Z] + go version [2022-09-22T16:39:12.817Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T16:39:12.841Z] $ docker stop --time=1 06d17e5437b3b1180752f815cf2214515edde3df7c40ce73eca08f5f84547be1 [2022-09-22T16:39:14.468Z] $ docker rm -f 06d17e5437b3b1180752f815cf2214515edde3df7c40ce73eca08f5f84547be1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:39:14.978Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T16:39:14.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:39:15.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-616 does not seem to be running inside a container [2022-09-22T16:39:15.238Z] $ 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/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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-22T16:39:16.423Z] $ docker top 3ef09cfd9c1da74b56bd61c3541a181617478248b4651689b722f212766513a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:39:16.943Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/99 [Pipeline] fileExists [Pipeline] sh [2022-09-22T16:39:17.598Z] + make test [2022-09-22T16:39:17.598Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T16:39:49.824Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T16:41:56.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T16:41:56.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T16:41:56.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T16:41:56.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T16:41:56.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T16:41:59.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.279s coverage: 27.6% of statements [2022-09-22T16:41:59.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.387s coverage: 78.9% of statements [2022-09-22T16:41:59.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T16:42:05.803Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.404s coverage: 60.0% of statements [2022-09-22T16:42:05.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T16:42:05.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T16:42:12.480Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.899s coverage: 54.4% of statements [2022-09-22T16:42:12.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T16:42:12.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-22T16:42:12.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T16:42:12.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T16:42:12.480Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.732s coverage: 65.1% of statements [2022-09-22T16:42:12.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T16:42:12.480Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T16:42:12.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.814s coverage: 89.2% of statements [2022-09-22T16:42:12.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T16:42:16.106Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.250s coverage: 4.5% of statements [2022-09-22T16:42:16.106Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T16:42:16.687Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T16:42:16.687Z] GO111MODULE=on go vet ./... [2022-09-22T16:44:08.366Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:44:08.366Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:44:08.366Z] ./bin/test-attribution-txt.sh [2022-09-22T16:44:08.366Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T16:44:08.366Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-22T16:44:08.366Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-22T16:44:08.366Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-22T16:44:08.366Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T16:44:08.366Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T16:44:08.366Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T16:44:08.366Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T16:44:08.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T16:44:08.397Z] $ docker stop --time=1 3ef09cfd9c1da74b56bd61c3541a181617478248b4651689b722f212766513a8 [2022-09-22T16:44:10.309Z] $ docker rm -f 3ef09cfd9c1da74b56bd61c3541a181617478248b4651689b722f212766513a8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:44:11.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T16:44:11.777Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T16:44:12.376Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:44:12.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T16:44:13.087Z] + ls -al . [2022-09-22T16:44:13.087Z] total 272 [2022-09-22T16:44:13.087Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 16:39 . [2022-09-22T16:44:13.087Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:37 .. [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:37 .dockerignore [2022-09-22T16:44:13.087Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:37 .git [2022-09-22T16:44:13.087Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:37 .github [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:37 .gitignore [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:37 .golangci.yml [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:37 CHANGELOG.md [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:37 GOVERNANCE.md [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:37 Jenkinsfile [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:37 LICENSE [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:37 Makefile [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:37 OWNERS.md [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:37 README.md [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 16:33 VERSION [2022-09-22T16:44:13.087Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:37 bin [2022-09-22T16:44:13.087Z] -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:42 coverage.out [2022-09-22T16:44:13.087Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:37 example [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 16:37 go.mod [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 16:37 go.sum [2022-09-22T16:44:13.087Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:37 internal [2022-09-22T16:44:13.087Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:37 openapi [2022-09-22T16:44:13.087Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:37 pkg [2022-09-22T16:44:13.087Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:37 snap [2022-09-22T16:44:13.087Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:44:13.431Z] + 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=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d --label arch=arm64 --label version=2.3.0-dev.24 . [2022-09-22T16:44:13.706Z] Sending build context to Docker daemon 5.402MB [2022-09-22T16:44:13.977Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:44:13.977Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T16:44:13.977Z] ---> 75e4568a53c0 [2022-09-22T16:44:13.977Z] Step 3/25 : ARG MAKE=make build [2022-09-22T16:44:13.977Z] ---> Running in 1643126abe87 [2022-09-22T16:44:14.565Z] Removing intermediate container 1643126abe87 [2022-09-22T16:44:14.565Z] ---> 0ceffe9e284e [2022-09-22T16:44:14.565Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T16:44:14.565Z] ---> Running in 419399115fa9 [2022-09-22T16:44:14.834Z] Removing intermediate container 419399115fa9 [2022-09-22T16:44:14.834Z] ---> 7c36680f062f [2022-09-22T16:44:14.834Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:44:14.834Z] ---> Running in 492bf38f0f70 [2022-09-22T16:44:15.105Z] Removing intermediate container 492bf38f0f70 [2022-09-22T16:44:15.105Z] ---> c6ad753d4188 [2022-09-22T16:44:15.105Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:44:15.376Z] ---> Running in 8d27c5b4004d [2022-09-22T16:44:17.329Z] Removing intermediate container 8d27c5b4004d [2022-09-22T16:44:17.329Z] ---> 75fd4e8731ff [2022-09-22T16:44:17.329Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:44:17.329Z] ---> Running in 8af1ad07db79 [2022-09-22T16:44:18.295Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T16:44:19.261Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T16:44:20.222Z] OK: 221 MiB in 51 packages [2022-09-22T16:44:21.189Z] Removing intermediate container 8af1ad07db79 [2022-09-22T16:44:21.189Z] ---> 10743494ff7b [2022-09-22T16:44:21.189Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T16:44:21.779Z] ---> 1d9bc3ac2b2e [2022-09-22T16:44:21.779Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:44:21.779Z] ---> Running in ac77393cc5e1 [2022-09-22T16:44:23.739Z] Removing intermediate container ac77393cc5e1 [2022-09-22T16:44:23.739Z] ---> 89bdd113870e [2022-09-22T16:44:23.739Z] Step 10/25 : COPY . . [2022-09-22T16:44:25.155Z] ---> ab26e6577b03 [2022-09-22T16:44:25.155Z] Step 11/25 : RUN ${MAKE} [2022-09-22T16:44:25.155Z] ---> Running in 2a66f57b3357 [2022-09-22T16:44:26.117Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T16:46:47.848Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T16:46:52.105Z] Removing intermediate container 2a66f57b3357 [2022-09-22T16:46:52.105Z] ---> c31b4e082fda [2022-09-22T16:46:52.105Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T16:46:52.426Z] 3.16: Pulling from library/alpine [2022-09-22T16:46:52.702Z] 9b18e9b68314: Pulling fs layer [2022-09-22T16:46:52.977Z] 9b18e9b68314: Verifying Checksum [2022-09-22T16:46:52.977Z] 9b18e9b68314: Download complete [2022-09-22T16:46:53.579Z] 9b18e9b68314: Pull complete [2022-09-22T16:46:53.579Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T16:46:53.579Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T16:46:53.579Z] ---> a6215f271958 [2022-09-22T16:46:53.579Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:46:53.579Z] ---> Running in 0f86a2ea2840 [2022-09-22T16:46:53.856Z] Removing intermediate container 0f86a2ea2840 [2022-09-22T16:46:53.856Z] ---> b74e3077ed63 [2022-09-22T16:46:53.856Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:46:54.148Z] ---> Running in 3e2059b5118e [2022-09-22T16:46:56.148Z] Removing intermediate container 3e2059b5118e [2022-09-22T16:46:56.148Z] ---> 2ac81d194232 [2022-09-22T16:46:56.148Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T16:46:56.148Z] ---> Running in 41623eca3dc9 [2022-09-22T16:46:56.733Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T16:46:57.694Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T16:46:58.659Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T16:46:58.927Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T16:46:58.927Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T16:46:59.198Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T16:46:59.198Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T16:46:59.465Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T16:46:59.465Z] OK: 8 MiB in 19 packages [2022-09-22T16:47:00.434Z] Removing intermediate container 41623eca3dc9 [2022-09-22T16:47:00.434Z] ---> 6c530279967e [2022-09-22T16:47:00.434Z] Step 16/25 : WORKDIR / [2022-09-22T16:47:00.434Z] ---> Running in ce788e149f56 [2022-09-22T16:47:00.702Z] Removing intermediate container ce788e149f56 [2022-09-22T16:47:00.702Z] ---> 494fdea4426d [2022-09-22T16:47:00.702Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T16:47:01.291Z] ---> 1112f99ee60c [2022-09-22T16:47:01.291Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T16:47:02.702Z] ---> 74f977f3d859 [2022-09-22T16:47:02.702Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T16:47:03.290Z] ---> 3d426a8f42e1 [2022-09-22T16:47:03.290Z] Step 20/25 : EXPOSE 59999 [2022-09-22T16:47:03.561Z] ---> Running in 32cd42d75ab0 [2022-09-22T16:47:03.829Z] Removing intermediate container 32cd42d75ab0 [2022-09-22T16:47:03.829Z] ---> 471298b79937 [2022-09-22T16:47:03.829Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T16:47:03.829Z] ---> Running in 7c6be915e21e [2022-09-22T16:47:04.102Z] Removing intermediate container 7c6be915e21e [2022-09-22T16:47:04.102Z] ---> ab1930c2918a [2022-09-22T16:47:04.102Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T16:47:04.371Z] ---> Running in fb8ffda4399f [2022-09-22T16:47:04.640Z] Removing intermediate container fb8ffda4399f [2022-09-22T16:47:04.640Z] ---> 4b6daf271bb6 [2022-09-22T16:47:04.640Z] Step 23/25 : LABEL arch=arm64 [2022-09-22T16:47:04.640Z] ---> Running in b53c7ea0dcc9 [2022-09-22T16:47:04.911Z] Removing intermediate container b53c7ea0dcc9 [2022-09-22T16:47:04.911Z] ---> 52f511680995 [2022-09-22T16:47:04.911Z] Step 24/25 : LABEL git_sha=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [2022-09-22T16:47:04.911Z] ---> Running in fd50325a0463 [2022-09-22T16:47:05.179Z] Removing intermediate container fd50325a0463 [2022-09-22T16:47:05.179Z] ---> 7ea8ac97ace8 [2022-09-22T16:47:05.179Z] Step 25/25 : LABEL version=2.3.0-dev.24 [2022-09-22T16:47:05.447Z] ---> Running in dce21d4f3d77 [2022-09-22T16:47:05.714Z] Removing intermediate container dce21d4f3d77 [2022-09-22T16:47:05.714Z] ---> 0ccfec459d0d [2022-09-22T16:47:05.714Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T16:47:05.714Z] Successfully built 0ccfec459d0d [2022-09-22T16:47:05.714Z] 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-22T16:47:06.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:47:06.136Z] [2022-09-22T16:47:06.136Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:47:06.484Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:47:06.484Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T16:47:06.484Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T16:47:06.484Z] 04944245beec: Pulling fs layer [2022-09-22T16:47:06.484Z] 699f458cf7ca: Pulling fs layer [2022-09-22T16:47:06.484Z] 765212b225bb: Pulling fs layer [2022-09-22T16:47:06.484Z] f23df028b6ca: Pulling fs layer [2022-09-22T16:47:06.484Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T16:47:06.484Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T16:47:06.484Z] 765212b225bb: Waiting [2022-09-22T16:47:06.484Z] f23df028b6ca: Waiting [2022-09-22T16:47:06.484Z] d65c8cfc05b1: Waiting [2022-09-22T16:47:06.484Z] 2437ff75d9bd: Waiting [2022-09-22T16:47:06.752Z] 04944245beec: Verifying Checksum [2022-09-22T16:47:06.752Z] 04944245beec: Download complete [2022-09-22T16:47:06.752Z] 765212b225bb: Verifying Checksum [2022-09-22T16:47:06.752Z] 765212b225bb: Download complete [2022-09-22T16:47:06.752Z] f23df028b6ca: Verifying Checksum [2022-09-22T16:47:06.752Z] f23df028b6ca: Download complete [2022-09-22T16:47:06.752Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T16:47:06.752Z] d65c8cfc05b1: Download complete [2022-09-22T16:47:07.023Z] 699f458cf7ca: Verifying Checksum [2022-09-22T16:47:07.023Z] 699f458cf7ca: Download complete [2022-09-22T16:47:07.292Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T16:47:07.292Z] 8998bd30e6a1: Download complete [2022-09-22T16:47:09.878Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T16:47:09.878Z] 2437ff75d9bd: Download complete [2022-09-22T16:47:11.284Z] 8998bd30e6a1: Pull complete [2022-09-22T16:47:11.552Z] 04944245beec: Pull complete [2022-09-22T16:47:12.959Z] 699f458cf7ca: Pull complete [2022-09-22T16:47:12.959Z] 765212b225bb: Pull complete [2022-09-22T16:47:13.915Z] f23df028b6ca: Pull complete [2022-09-22T16:47:13.915Z] d65c8cfc05b1: Pull complete [2022-09-22T16:47:28.905Z] 2437ff75d9bd: Pull complete [2022-09-22T16:47:28.905Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T16:47:28.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:47:28.905Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:47:29.089Z] prd-ubuntu20.04-docker-arm64-4c-16g-616 does not seem to be running inside a container [2022-09-22T16:47:29.166Z] $ 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/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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-22T16:47:32.058Z] $ docker top c6656d12f40ddd93bcc19589396805df58b0c0f65b9be7fe1e05fcbc426c33e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:47:32.903Z] ---> job-cost.sh [2022-09-22T16:47:32.903Z] lf-activate-venv: SKIPPING [2022-09-22T16:47:32.903Z] INFO: No Stack... [2022-09-22T16:47:33.169Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T16:47:34.127Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T16:47:34.769Z] + cat /w/workspace/device-sdk-go/99/archives/cost.csv [2022-09-22T16:47:34.769Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T16:47:34.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [2022-09-22T16:47:34.856Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] did not exist. Created. [2022-09-22T16:47:34.856Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T16:47:35.518Z] /w/workspace/device-sdk-go/99@tmp/durable-d4c63912/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T16:47:35.861Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T16:47:35.883Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T16:47:35.949Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T16:47:35.958Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T16:47:35.978Z] $ docker stop --time=1 c6656d12f40ddd93bcc19589396805df58b0c0f65b9be7fe1e05fcbc426c33e7 [2022-09-22T16:47:37.539Z] $ docker rm -f c6656d12f40ddd93bcc19589396805df58b0c0f65b9be7fe1e05fcbc426c33e7 [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-22T16:47:37.958Z] provisioning config files... [2022-09-22T16:47:37.966Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16056506274790189400tmp [Pipeline] { [Pipeline] sh [2022-09-22T16:47:38.256Z] + set +x [2022-09-22T16:47:38.256Z] + + curl -s https://codecov.io/bashbash [2022-09-22T16:47:38.256Z] -s -- [2022-09-22T16:47:38.256Z] [2022-09-22T16:47:38.256Z] _____ _ [2022-09-22T16:47:38.256Z] / ____| | | [2022-09-22T16:47:38.256Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T16:47:38.256Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T16:47:38.256Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T16:47:38.256Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T16:47:38.256Z] Bash-1.0.6 [2022-09-22T16:47:38.256Z] [2022-09-22T16:47:38.256Z] [2022-09-22T16:47:38.256Z] ==> git version 2.25.1 found [2022-09-22T16:47:38.256Z] ==> 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-22T16:47:38.256Z] Release-Date: 2020-01-08 [2022-09-22T16:47:38.256Z] 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-22T16:47:38.256Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T16:47:38.256Z] ==> Jenkins CI detected. [2022-09-22T16:47:38.256Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-09-22T16:47:38.256Z] project root: . [2022-09-22T16:47:38.256Z] --> token set from env [2022-09-22T16:47:38.256Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T16:47:38.256Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T16:47:38.256Z] ==> Python coveragepy not found [2022-09-22T16:47:38.256Z] ==> Searching for coverage reports in: [2022-09-22T16:47:38.256Z] + . [2022-09-22T16:47:38.256Z] -> Found 1 reports [2022-09-22T16:47:38.256Z] ==> Detecting git/mercurial file structure [2022-09-22T16:47:38.256Z] ==> Reading reports [2022-09-22T16:47:38.256Z] + ./coverage.out bytes=101794 [2022-09-22T16:47:38.256Z] ==> Appending adjustments [2022-09-22T16:47:38.256Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T16:47:38.826Z] + Found adjustments [2022-09-22T16:47:38.826Z] ==> Gzipping contents [2022-09-22T16:47:38.826Z] 16K /tmp/codecov.SLGo6P.gz [2022-09-22T16:47:38.826Z] ==> Uploading reports [2022-09-22T16:47:38.826Z] url: https://codecov.io [2022-09-22T16:47:38.826Z] query: branch=main&commit=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-22T16:47:38.826Z] -> Pinging Codecov [2022-09-22T16:47:38.826Z] 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=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-09-22T16:47:39.085Z] -> Uploading to [2022-09-22T16:47:39.085Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/e5a0b3e55ec9dc6fa0154916c923036ad023fb3d/08dffe35-fdda-43d3-bda7-f60f2f4efb8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T164738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f05b646fea16df71bd008ec19e4609349b748f5c1376f442ed8d107e9c0e892 [2022-09-22T16:47:39.085Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:47:39.085Z] Dload Upload Total Spent Left Speed [2022-09-22T16:47:39.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14665 0 0 100 14665 0 60349 --:--:-- --:--:-- --:--:-- 60349 [2022-09-22T16:47:39.343Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] } [2022-09-22T16:47:39.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-09-22T16:47:39.446Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-09-22T16:47:39.454Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:47:39.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-22T16:47:39.746Z] [2022-09-22T16:47:39.746Z] 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-22T16:47:40.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-22T16:47:40.043Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-09-22T16:47:40.043Z] df9b9388f04a: Pulling fs layer [2022-09-22T16:47:40.043Z] 52dc419b0ee2: Pulling fs layer [2022-09-22T16:47:40.043Z] 25bc292e5bac: Pulling fs layer [2022-09-22T16:47:40.043Z] 114826534d7a: Pulling fs layer [2022-09-22T16:47:40.043Z] 4657fd5d0bcf: Pulling fs layer [2022-09-22T16:47:40.043Z] 6ad1cebc031e: Pulling fs layer [2022-09-22T16:47:40.043Z] 8a3aa393b2d8: Pulling fs layer [2022-09-22T16:47:40.043Z] 114826534d7a: Waiting [2022-09-22T16:47:40.043Z] 8a3aa393b2d8: Waiting [2022-09-22T16:47:40.043Z] 6ad1cebc031e: Waiting [2022-09-22T16:47:40.043Z] 4657fd5d0bcf: Waiting [2022-09-22T16:47:40.043Z] 25bc292e5bac: Verifying Checksum [2022-09-22T16:47:40.043Z] 25bc292e5bac: Download complete [2022-09-22T16:47:40.043Z] 52dc419b0ee2: Verifying Checksum [2022-09-22T16:47:40.043Z] 52dc419b0ee2: Download complete [2022-09-22T16:47:40.043Z] 4657fd5d0bcf: Verifying Checksum [2022-09-22T16:47:40.043Z] 4657fd5d0bcf: Download complete [2022-09-22T16:47:40.043Z] df9b9388f04a: Download complete [2022-09-22T16:47:40.306Z] df9b9388f04a: Pull complete [2022-09-22T16:47:40.307Z] 6ad1cebc031e: Verifying Checksum [2022-09-22T16:47:40.307Z] 6ad1cebc031e: Download complete [2022-09-22T16:47:40.307Z] 52dc419b0ee2: Pull complete [2022-09-22T16:47:40.307Z] 25bc292e5bac: Pull complete [2022-09-22T16:47:40.885Z] 114826534d7a: Verifying Checksum [2022-09-22T16:47:40.885Z] 114826534d7a: Download complete [2022-09-22T16:47:40.885Z] 8a3aa393b2d8: Verifying Checksum [2022-09-22T16:47:44.161Z] 114826534d7a: Pull complete [2022-09-22T16:47:44.162Z] 4657fd5d0bcf: Pull complete [2022-09-22T16:47:44.421Z] 6ad1cebc031e: Pull complete [2022-09-22T16:47:46.951Z] 8a3aa393b2d8: Pull complete [2022-09-22T16:47:46.951Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-09-22T16:47:46.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-09-22T16:47:46.951Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:47:47.024Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:47:47.048Z] $ 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-22T16:47:48.885Z] $ docker top 27ad9bd84459c993fe87d246ecbdcc20a589165f072f31649603fd1427a8d426 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-09-22T16:47:48.949Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2022-09-22T16:47:49.225Z] + set -o pipefail [2022-09-22T16:47:49.225Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2022-09-22T16:47:54.490Z] [2022-09-22T16:47:54.490Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-09-22T16:47:54.490Z] [2022-09-22T16:47:54.490Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a2724132-71db-4c7c-a896-3fc702ca6907 [2022-09-22T16:47:54.490Z] [2022-09-22T16:47:54.490Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-09-22T16:47:54.490Z] [2022-09-22T16:47:54.490Z] [Pipeline] } [2022-09-22T16:47:54.499Z] $ docker stop --time=1 27ad9bd84459c993fe87d246ecbdcc20a589165f072f31649603fd1427a8d426 [2022-09-22T16:47:56.579Z] $ docker rm -f 27ad9bd84459c993fe87d246ecbdcc20a589165f072f31649603fd1427a8d426 [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-22T16:47:56.985Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:47:57.003Z] provisioning config files... [2022-09-22T16:47:57.011Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8659416447553161933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:47:57.305Z] --> edgex-publish-swagger.sh [2022-09-22T16:47:57.305Z] === Publish openapi/v2 API === [2022-09-22T16:47:57.305Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-09-22T16:47:57.305Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-09-22T16:47:57.305Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:47:57.305Z] Dload Upload Total Spent Left Speed [2022-09-22T16:47:57.875Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 71593 --:--:-- --:--:-- --:--:-- 71497 100 53552 0 0 100 53552 0 71593 --:--:-- --:--:-- --:--:-- 71497 [2022-09-22T16:47:57.875Z] [2022-09-22T16:47:57.875Z] [Pipeline] } [2022-09-22T16:47:57.882Z] 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-22T16:47:58.297Z] + git log --format=format:%s -1 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] sh [2022-09-22T16:47:58.580Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:47:58.580Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:47:58.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:47:58.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:47:58.946Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:47:58.974Z] $ 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-22T16:47:59.406Z] $ docker top 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:47:59.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:47:59.489Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:47:59.600Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:47:59.602Z] $ docker exec 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd ssh-agent [2022-09-22T16:47:59.706Z] SSH_AUTH_SOCK=/tmp/ssh-hebRnzIxTu1A/agent.33 [2022-09-22T16:47:59.706Z] SSH_AGENT_PID=39 [2022-09-22T16:47:59.711Z] Running ssh-add (command line suppressed) [2022-09-22T16:47:59.812Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2127083867046416705.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2127083867046416705.key) [2022-09-22T16:47:59.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:48:00.113Z] + git semver tag [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,307 [run_tag] DEBUG tag force:False [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,307 [check_head_tag] DEBUG check head tag [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,308 [execute] INFO git cat-file --batch-check [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,311 [execute] INFO git cat-file --batch [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,331 [execute] INFO git tag -a v2.3.0-dev.24 -m v2.3.0-dev.24 [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,331 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.24', '-m', 'v2.3.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-09-22T16:48:00.373Z] 2022-09-22 16:48:00,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-22T16:48:00.373Z] 2.3.0-dev.24 [Pipeline] } [2022-09-22T16:48:00.380Z] $ docker exec --env ******** --env ******** 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd ssh-agent -k [2022-09-22T16:48:00.477Z] unset SSH_AUTH_SOCK; [2022-09-22T16:48:00.478Z] unset SSH_AGENT_PID; [2022-09-22T16:48:00.478Z] echo Agent pid 39 killed; [2022-09-22T16:48:00.487Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:48:00.795Z] + git semver [Pipeline] } [2022-09-22T16:48:01.064Z] $ docker stop --time=1 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd [2022-09-22T16:48:02.332Z] $ docker rm -f 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:48:02.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-22T16:48:02.713Z] [2022-09-22T16:48:02.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:48:03.008Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-22T16:48:03.008Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-09-22T16:48:03.008Z] ab5ef0e58194: Pulling fs layer [2022-09-22T16:48:03.008Z] 9712f1f96733: Pulling fs layer [2022-09-22T16:48:03.008Z] 63f879dbbcfc: Pulling fs layer [2022-09-22T16:48:03.008Z] 0d9ebad4ef96: Pulling fs layer [2022-09-22T16:48:03.008Z] e9a5061849ea: Pulling fs layer [2022-09-22T16:48:03.008Z] d747dcd14b5f: Pulling fs layer [2022-09-22T16:48:03.008Z] 2de7ff778b66: Pulling fs layer [2022-09-22T16:48:03.008Z] 2de7ff778b66: Waiting [2022-09-22T16:48:03.008Z] d747dcd14b5f: Waiting [2022-09-22T16:48:03.008Z] 0d9ebad4ef96: Waiting [2022-09-22T16:48:03.008Z] e9a5061849ea: Waiting [2022-09-22T16:48:03.008Z] 9712f1f96733: Verifying Checksum [2022-09-22T16:48:03.008Z] 9712f1f96733: Download complete [2022-09-22T16:48:03.590Z] 63f879dbbcfc: Verifying Checksum [2022-09-22T16:48:03.590Z] 63f879dbbcfc: Download complete [2022-09-22T16:48:03.590Z] ab5ef0e58194: Verifying Checksum [2022-09-22T16:48:03.590Z] ab5ef0e58194: Download complete [2022-09-22T16:48:03.590Z] d747dcd14b5f: Download complete [2022-09-22T16:48:03.590Z] 0d9ebad4ef96: Verifying Checksum [2022-09-22T16:48:03.590Z] 0d9ebad4ef96: Download complete [2022-09-22T16:48:03.590Z] e9a5061849ea: Verifying Checksum [2022-09-22T16:48:03.590Z] e9a5061849ea: Download complete [2022-09-22T16:48:03.590Z] 2de7ff778b66: Verifying Checksum [2022-09-22T16:48:03.590Z] 2de7ff778b66: Download complete [2022-09-22T16:48:06.120Z] ab5ef0e58194: Pull complete [2022-09-22T16:48:06.120Z] 9712f1f96733: Pull complete [2022-09-22T16:48:06.685Z] 63f879dbbcfc: Pull complete [2022-09-22T16:48:09.967Z] 0d9ebad4ef96: Pull complete [2022-09-22T16:48:10.226Z] e9a5061849ea: Pull complete [2022-09-22T16:48:10.226Z] d747dcd14b5f: Pull complete [2022-09-22T16:48:11.164Z] 2de7ff778b66: Pull complete [2022-09-22T16:48:11.164Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-09-22T16:48:11.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-09-22T16:48:11.164Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:48:11.230Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:48:11.259Z] $ 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-22T16:48:13.041Z] $ docker top b376941d62239165c6445ff0a9a9877063ba8b09017a8fe58b2256b1dfe3f739 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:48:13.101Z] provisioning config files... [2022-09-22T16:48:13.107Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5052172294765332566tmp [2022-09-22T16:48:13.118Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12026064022687240338tmp [2022-09-22T16:48:13.128Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16095882039316671451tmp [Pipeline] { [Pipeline] echo [2022-09-22T16:48:13.136Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:13.413Z] ---> sigul-configuration.sh [2022-09-22T16:48:13.413Z] gpg: directory `/root/.gnupg' created [2022-09-22T16:48:13.413Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-09-22T16:48:13.413Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-09-22T16:48:13.413Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-09-22T16:48:13.413Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-09-22T16:48:13.413Z] gpg: CAST5 encrypted data [2022-09-22T16:48:13.413Z] gpg: encrypted with 1 passphrase [2022-09-22T16:48:13.413Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-09-22T16:48:13.695Z] + mkdir /home/jenkins [2022-09-22T16:48:13.695Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-09-22T16:48:13.980Z] + 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-22T16:48:13.987Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:14.267Z] ---> sigul-install.sh [2022-09-22T16:48:14.267Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-09-22T16:48:14.553Z] + git tag --list [2022-09-22T16:48:14.553Z] 0.7.1 [2022-09-22T16:48:14.553Z] delhi-tag [2022-09-22T16:48:14.553Z] v1.0.0 [2022-09-22T16:48:14.553Z] v1.1.0 [2022-09-22T16:48:14.553Z] v1.1.1 [2022-09-22T16:48:14.553Z] v1.1.2 [2022-09-22T16:48:14.553Z] v1.2.0 [2022-09-22T16:48:14.554Z] v1.2.1 [2022-09-22T16:48:14.554Z] v1.2.2 [2022-09-22T16:48:14.554Z] v1.2.3 [2022-09-22T16:48:14.554Z] v1.3.0 [2022-09-22T16:48:14.554Z] v1.4.0 [2022-09-22T16:48:14.554Z] v2.0.0 [2022-09-22T16:48:14.554Z] v2.1.0 [2022-09-22T16:48:14.554Z] v2.1.1 [2022-09-22T16:48:14.554Z] v2.1.1-dev.2 [2022-09-22T16:48:14.554Z] v2.1.1-dev.3 [2022-09-22T16:48:14.554Z] v2.2.0 [2022-09-22T16:48:14.554Z] v2.2.1-dev.1 [2022-09-22T16:48:14.554Z] v2.2.1-dev.10 [2022-09-22T16:48:14.554Z] v2.2.1-dev.11 [2022-09-22T16:48:14.554Z] v2.2.1-dev.12 [2022-09-22T16:48:14.554Z] v2.2.1-dev.13 [2022-09-22T16:48:14.554Z] v2.2.1-dev.14 [2022-09-22T16:48:14.554Z] v2.2.1-dev.2 [2022-09-22T16:48:14.554Z] v2.2.1-dev.3 [2022-09-22T16:48:14.554Z] v2.2.1-dev.4 [2022-09-22T16:48:14.554Z] v2.2.1-dev.5 [2022-09-22T16:48:14.554Z] v2.2.1-dev.6 [2022-09-22T16:48:14.554Z] v2.2.1-dev.7 [2022-09-22T16:48:14.554Z] v2.2.1-dev.8 [2022-09-22T16:48:14.554Z] v2.2.1-dev.9 [2022-09-22T16:48:14.554Z] v2.3.0-dev.14 [2022-09-22T16:48:14.554Z] v2.3.0-dev.15 [2022-09-22T16:48:14.554Z] v2.3.0-dev.16 [2022-09-22T16:48:14.554Z] v2.3.0-dev.17 [2022-09-22T16:48:14.554Z] v2.3.0-dev.18 [2022-09-22T16:48:14.554Z] v2.3.0-dev.19 [2022-09-22T16:48:14.554Z] v2.3.0-dev.20 [2022-09-22T16:48:14.554Z] v2.3.0-dev.21 [2022-09-22T16:48:14.554Z] v2.3.0-dev.22 [2022-09-22T16:48:14.554Z] v2.3.0-dev.23 [2022-09-22T16:48:14.554Z] v2.3.0-dev.24 [Pipeline] sh [2022-09-22T16:48:14.838Z] + lftools sign git-tag v2.3.0-dev.24 [2022-09-22T16:48:15.404Z] Signing Git tag with Sigul... [2022-09-22T16:48:15.404Z] Signing v2.3.0-dev.24 [Pipeline] echo [2022-09-22T16:48:15.670Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:15.950Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-09-22T16:48:15.957Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-09-22T16:48:15.972Z] $ docker stop --time=1 b376941d62239165c6445ff0a9a9877063ba8b09017a8fe58b2256b1dfe3f739 [2022-09-22T16:48:17.271Z] $ docker rm -f b376941d62239165c6445ff0a9a9877063ba8b09017a8fe58b2256b1dfe3f739 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-09-22T16:48:17.665Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:48:17.665Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:48:17.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:48:17.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:48:18.044Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:48:18.076Z] $ 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-22T16:48:18.450Z] $ docker top 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:48:18.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:48:18.533Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:48:18.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:48:18.662Z] $ docker exec 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 ssh-agent [2022-09-22T16:48:18.770Z] SSH_AUTH_SOCK=/tmp/ssh-l0sCQn4vin6u/agent.32 [2022-09-22T16:48:18.770Z] SSH_AGENT_PID=38 [2022-09-22T16:48:18.775Z] Running ssh-add (command line suppressed) [2022-09-22T16:48:18.881Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7331998812028392502.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7331998812028392502.key) [2022-09-22T16:48:18.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:48:19.178Z] + git semver bump pre [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,371 [bump_version] DEBUG bumping version:2.3.0-dev.24 on axis:pre with prefix:dev [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,371 [bump_version] DEBUG bumped version:2.3.0-dev.25 [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,371 [write_version] DEBUG write version:2.3.0-dev.25 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,371 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,373 [execute] INFO git cat-file --batch-check [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,373 [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-22T16:48:19.437Z] 2022-09-22 16:48:19,378 [execute] INFO git cat-file --batch [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T16:48:19.437Z] 2022-09-22 16:48:19,383 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-22T16:48:19.437Z] 2.3.0-dev.25 [Pipeline] } [2022-09-22T16:48:19.445Z] $ docker exec --env ******** --env ******** 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 ssh-agent -k [2022-09-22T16:48:19.539Z] unset SSH_AUTH_SOCK; [2022-09-22T16:48:19.539Z] unset SSH_AGENT_PID; [2022-09-22T16:48:19.539Z] echo Agent pid 38 killed; [2022-09-22T16:48:19.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:48:19.854Z] + git semver [Pipeline] } [2022-09-22T16:48:20.124Z] $ docker stop --time=1 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 [2022-09-22T16:48:21.396Z] $ docker rm -f 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:48:21.741Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:48:21.741Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:48:22.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:48:22.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:48:22.110Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:48:22.137Z] $ 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-22T16:48:22.483Z] $ docker top 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb -eo pid,comm [2022-09-22T16:48:22.529Z] 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-22T16:48:22.529Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:48:22.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:48:22.561Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:48:22.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:48:22.696Z] $ docker exec 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb ssh-agent [2022-09-22T16:48:22.813Z] SSH_AUTH_SOCK=/tmp/ssh-ZQzONOIaOkTU/agent.32 [2022-09-22T16:48:22.813Z] SSH_AGENT_PID=38 [2022-09-22T16:48:22.818Z] Running ssh-add (command line suppressed) [2022-09-22T16:48:22.916Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_852011698210358442.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_852011698210358442.key) [2022-09-22T16:48:22.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:48:23.218Z] + git semver push [2022-09-22T16:48:23.478Z] 2022-09-22 16:48:23,396 [run_push] DEBUG push [2022-09-22T16:48:23.478Z] 2022-09-22 16:48:23,396 [execute] INFO git cat-file --batch-check [2022-09-22T16:48:23.478Z] 2022-09-22 16:48:23,396 [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-22T16:48:23.478Z] 2022-09-22 16:48:23,400 [execute] INFO git rev-list 8aded83da9f96c2ec81101637fab22a0812c5e8a -- [2022-09-22T16:48:23.478Z] 2022-09-22 16:48:23,400 [execute] DEBUG Popen(['git', 'rev-list', '8aded83da9f96c2ec81101637fab22a0812c5e8a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-09-22T16:48:23.478Z] 2022-09-22 16:48:23,412 [execute] INFO git fetch -v origin [2022-09-22T16:48:23.478Z] 2022-09-22 16:48:23,412 [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-22T16:48:24.416Z] 2022-09-22 16:48:24,135 [run_push] DEBUG no remote changes detected [2022-09-22T16:48:24.416Z] 2022-09-22 16:48:24,136 [execute] INFO git push origin semver [2022-09-22T16:48:24.416Z] 2022-09-22 16:48:24,136 [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-22T16:48:25.353Z] 2022-09-22 16:48:25,082 [run_push] DEBUG push all version tags [2022-09-22T16:48:25.353Z] 2022-09-22 16:48:25,082 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-09-22T16:48:25.353Z] 2022-09-22 16:48:25,083 [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-22T16:48:25.919Z] 2022-09-22 16:48:25,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-09-22T16:48:25.919Z] 2.3.0-dev.25 [Pipeline] } [2022-09-22T16:48:25.927Z] $ docker exec --env ******** --env ******** 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb ssh-agent -k [2022-09-22T16:48:26.019Z] unset SSH_AUTH_SOCK; [2022-09-22T16:48:26.019Z] unset SSH_AGENT_PID; [2022-09-22T16:48:26.020Z] echo Agent pid 38 killed; [2022-09-22T16:48:26.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:48:26.326Z] + git semver [Pipeline] } [2022-09-22T16:48:26.596Z] $ docker stop --time=1 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb [2022-09-22T16:48:27.892Z] $ docker rm -f 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb [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-22T16:48:28.413Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-09-22T16:48:28.413Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-22T16:48:28.413Z] total 16 [2022-09-22T16:48:28.413Z] drwxr-xr-x 3 root root 4096 Sep 22 16:35 . [2022-09-22T16:48:28.413Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:48 .. [2022-09-22T16:48:28.413Z] drwxr-xr-x 2 root root 4096 Sep 22 16:35 cost [2022-09-22T16:48:28.413Z] -rw-r--r-- 1 root root 84 Sep 22 16:35 cost.csv [2022-09-22T16:48:28.413Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-22T16:48:28.413Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-09-22T16:48:28.413Z] total 16 [2022-09-22T16:48:28.413Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:35 . [2022-09-22T16:48:28.413Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:48 .. [2022-09-22T16:48:28.413Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 16:35 cost [2022-09-22T16:48:28.413Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 22 16:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:28.700Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:29.556Z] ---> package-listing.sh [2022-09-22T16:48:29.556Z] ++ facter osfamily [2022-09-22T16:48:29.556Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T16:48:29.816Z] + OS_FAMILY=debian [2022-09-22T16:48:29.816Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-09-22T16:48:29.816Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T16:48:29.816Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T16:48:29.816Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T16:48:29.816Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T16:48:29.816Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-09-22T16:48:29.816Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T16:48:29.817Z] + case "${OS_FAMILY}" in [2022-09-22T16:48:29.817Z] + dpkg -l [2022-09-22T16:48:29.817Z] + grep '^ii' [2022-09-22T16:48:29.817Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T16:48:29.817Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T16:48:29.817Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T16:48:29.817Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-09-22T16:48:29.817Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-09-22T16:48:29.817Z] + 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-22T16:48:29.826Z] 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-22T16:48:30.103Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:48:30.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:48:30.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:48:30.732Z] prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container [2022-09-22T16:48:30.765Z] $ 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-22T16:48:30.999Z] $ docker top f56aac5ee013ac53093fe4c4a33a32a38a2bc253bd0b5cfc3817baf85fd7cc69 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:48:31.344Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T16:48:31.626Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T16:48:31.910Z] + ls /var/log/sa-host [2022-09-22T16:48:31.910Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:48:32.041Z] provisioning config files... [2022-09-22T16:48:32.050Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6254173868789585687tmp [Pipeline] { [Pipeline] echo [2022-09-22T16:48:32.064Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:32.343Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T16:48:32.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:32.703Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T16:48:32.710Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:33.007Z] ---> sudo-logs.sh [2022-09-22T16:48:33.007Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T16:48:33.046Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:33.392Z] ---> job-cost.sh [2022-09-22T16:48:33.392Z] lf-activate-venv: SKIPPING [2022-09-22T16:48:33.392Z] DEBUG: total: 0.2199999988079071 [2022-09-22T16:48:33.392Z] INFO: Retrieving Stack Cost... [2022-09-22T16:48:33.665Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T16:48:34.234Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T16:48:34.244Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:48:34.526Z] ---> logs-deploy.sh [2022-09-22T16:48:34.526Z] lf-activate-venv: SKIPPING [2022-09-22T16:48:34.526Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/99 [2022-09-22T16:48:34.526Z] INFO: archiving workspace using pattern(s): [2022-09-22T16:48:35.465Z] Archives upload complete. [2022-09-22T16:48:35.724Z] INFO: archiving logs to Nexus