Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 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-ssh3675825238012963278.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10195532131364309826.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9543400145760788084.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12816841766236412093.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh18039348303687177639.key > 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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9877 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 > 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 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 (main) > 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 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 Commit message: "Merge pull request #1356 from hahattan/issue-1271" > git rev-list --no-walk 84b3eaa6b9d9b6bc9df706aeb119f986429132ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T13:25:02.135Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T13:25:02.179Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T13:25:02.193Z] ========================================================= [2023-03-13T13:25:02.193Z] EdgeX Global Pipelines Version Info [2023-03-13T13:25:02.193Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:25:02.923Z] ------------------- [2023-03-13T13:25:02.923Z] stable info: [2023-03-13T13:25:02.923Z] ------------------- [2023-03-13T13:25:02.923Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T13:25:02.923Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T13:25:02.923Z] Message: update stable to v1.0.244 [2023-03-13T13:25:03.496Z] ------------------- [2023-03-13T13:25:03.496Z] experimental info: [2023-03-13T13:25:03.496Z] ------------------- [2023-03-13T13:25:03.496Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T13:25:03.496Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T13:25:03.496Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T13:25:03.674Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-13T13:25:03.683Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-13T13:25:03.697Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T13:25:03.712Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T13:25:03.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T13:25:03.730Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T13:25:03.739Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T13:25:03.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-13T13:25:03.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T13:25:03.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T13:25:03.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T13:25:03.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-13T13:25:03.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T13:25:03.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T13:25:03.850Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T13:25:03.865Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T13:25:03.881Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T13:25:03.898Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T13:25:03.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T13:25:03.921Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T13:25:03.935Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-13T13:25:03.945Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-13T13:25:03.957Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T13:25:03.971Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T13:25:03.982Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T13:25:03.995Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T13:25:04.009Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T13:25:04.024Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-13T13:25:04.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-13T13:25:04.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-13T13:25:04.065Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] echo [2023-03-13T13:25:04.075Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2dcc4a6 [Pipeline] echo [2023-03-13T13:25:04.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T13:25:04.136Z] provisioning config files... [2023-03-13T13:25:04.150Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9588534713448107320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:25:04.464Z] ---> docker-login.sh [2023-03-13T13:25:04.464Z] nexus3.edgexfoundry.org:10001 [2023-03-13T13:25:04.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:04.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:04.990Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:04.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:04.990Z] [2023-03-13T13:25:04.990Z] Login Succeeded [2023-03-13T13:25:04.990Z] nexus3.edgexfoundry.org:10002 [2023-03-13T13:25:04.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:04.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:04.990Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:04.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:04.990Z] [2023-03-13T13:25:04.990Z] Login Succeeded [2023-03-13T13:25:04.990Z] nexus3.edgexfoundry.org:10003 [2023-03-13T13:25:04.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:05.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:05.249Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:05.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:05.249Z] [2023-03-13T13:25:05.249Z] Login Succeeded [2023-03-13T13:25:05.249Z] nexus3.edgexfoundry.org:10004 [2023-03-13T13:25:05.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:05.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:05.250Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:05.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:05.250Z] [2023-03-13T13:25:05.250Z] Login Succeeded [2023-03-13T13:25:05.250Z] docker.io [2023-03-13T13:25:05.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:05.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:05.509Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:05.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:05.509Z] [2023-03-13T13:25:05.509Z] Login Succeeded [2023-03-13T13:25:05.509Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T13:25:05.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T13:25:05.886Z] + git rev-list -1 --merges 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616~1..2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] echo [2023-03-13T13:25:05.925Z] -----------> git rev-list -1 --merges 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616~1..2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [2023-03-13T13:25:05.925Z] 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [false] [Pipeline] sh [2023-03-13T13:25:06.212Z] + git log --format=format:%s -1 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] echo [2023-03-13T13:25:06.250Z] ========================================================= [2023-03-13T13:25:06.250Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T13:25:06.250Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T13:25:06.573Z] + git log --format=format:%s -1 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] echo [2023-03-13T13:25:06.585Z] [semverPrep] GIT_COMMIT: 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616, Commit Message: Merge pull request #1356 from hahattan/issue-1271 [Pipeline] echo [2023-03-13T13:25:06.597Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T13:25:06.965Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T13:25:06.965Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T13:25:06.965Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T13:25:06.965Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T13:25:06.965Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T13:25:06.965Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T13:25:06.966Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:25:07.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T13:25:07.307Z] [2023-03-13T13:25:07.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:25:07.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T13:25:07.617Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T13:25:07.617Z] b85a868b505f: Pulling fs layer [2023-03-13T13:25:07.617Z] e2be974225ed: Pulling fs layer [2023-03-13T13:25:07.617Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T13:25:07.617Z] 988bab9f4d93: Pulling fs layer [2023-03-13T13:25:07.617Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T13:25:07.617Z] 988bab9f4d93: Waiting [2023-03-13T13:25:07.617Z] eaf3925da568: Pulling fs layer [2023-03-13T13:25:07.617Z] bab4dde63d76: Pulling fs layer [2023-03-13T13:25:07.617Z] bde34c3a00c8: Pulling fs layer [2023-03-13T13:25:07.617Z] 1469e6f7b9e6: Waiting [2023-03-13T13:25:07.617Z] eaf3925da568: Waiting [2023-03-13T13:25:07.617Z] bab4dde63d76: Waiting [2023-03-13T13:25:07.617Z] b352a97aabf1: Pulling fs layer [2023-03-13T13:25:07.617Z] 4872d77fe225: Pulling fs layer [2023-03-13T13:25:07.617Z] b352a97aabf1: Waiting [2023-03-13T13:25:07.617Z] 5851b861e8e6: Pulling fs layer [2023-03-13T13:25:07.617Z] 4872d77fe225: Waiting [2023-03-13T13:25:07.617Z] e2be974225ed: Verifying Checksum [2023-03-13T13:25:07.617Z] e2be974225ed: Download complete [2023-03-13T13:25:07.617Z] 988bab9f4d93: Verifying Checksum [2023-03-13T13:25:07.617Z] 988bab9f4d93: Download complete [2023-03-13T13:25:07.876Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T13:25:07.876Z] 1469e6f7b9e6: Download complete [2023-03-13T13:25:07.876Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T13:25:07.876Z] 339a4e72a1f5: Download complete [2023-03-13T13:25:07.876Z] eaf3925da568: Verifying Checksum [2023-03-13T13:25:07.876Z] eaf3925da568: Download complete [2023-03-13T13:25:07.876Z] bde34c3a00c8: Download complete [2023-03-13T13:25:07.876Z] b352a97aabf1: Download complete [2023-03-13T13:25:07.876Z] 4872d77fe225: Verifying Checksum [2023-03-13T13:25:07.876Z] 4872d77fe225: Download complete [2023-03-13T13:25:07.876Z] 5851b861e8e6: Verifying Checksum [2023-03-13T13:25:07.876Z] 5851b861e8e6: Download complete [2023-03-13T13:25:07.876Z] b85a868b505f: Verifying Checksum [2023-03-13T13:25:07.876Z] b85a868b505f: Download complete [2023-03-13T13:25:08.134Z] bab4dde63d76: Verifying Checksum [2023-03-13T13:25:08.134Z] bab4dde63d76: Download complete [2023-03-13T13:25:09.070Z] b85a868b505f: Pull complete [2023-03-13T13:25:09.330Z] e2be974225ed: Pull complete [2023-03-13T13:25:09.897Z] 339a4e72a1f5: Pull complete [2023-03-13T13:25:09.897Z] 988bab9f4d93: Pull complete [2023-03-13T13:25:10.156Z] 1469e6f7b9e6: Pull complete [2023-03-13T13:25:10.156Z] eaf3925da568: Pull complete [2023-03-13T13:25:12.064Z] bab4dde63d76: Pull complete [2023-03-13T13:25:12.064Z] bde34c3a00c8: Pull complete [2023-03-13T13:25:12.325Z] b352a97aabf1: Pull complete [2023-03-13T13:25:12.325Z] 4872d77fe225: Pull complete [2023-03-13T13:25:12.325Z] 5851b861e8e6: Pull complete [2023-03-13T13:25:12.325Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T13:25:12.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T13:25:12.325Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:25:12.415Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:25:12.459Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T13:25:14.874Z] $ docker top 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 -eo pid,comm [2023-03-13T13:25:14.926Z] 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). [2023-03-13T13:25:14.926Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T13:25:14.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T13:25:14.966Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T13:25:15.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T13:25:15.084Z] $ docker exec 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 ssh-agent [2023-03-13T13:25:15.191Z] SSH_AUTH_SOCK=/tmp/ssh-sKWKOtcRtjWn/agent.31 [2023-03-13T13:25:15.191Z] SSH_AGENT_PID=37 [2023-03-13T13:25:15.197Z] Running ssh-add (command line suppressed) [2023-03-13T13:25:15.300Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9733695413186960086.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9733695413186960086.key) [2023-03-13T13:25:15.310Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T13:25:15.593Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T13:25:15.616Z] $ docker exec --env ******** --env ******** 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 ssh-agent -k [2023-03-13T13:25:15.712Z] unset SSH_AUTH_SOCK; [2023-03-13T13:25:15.713Z] unset SSH_AGENT_PID; [2023-03-13T13:25:15.713Z] echo Agent pid 37 killed; [2023-03-13T13:25:15.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T13:25:15.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T13:25:15.747Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T13:25:15.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T13:25:15.854Z] $ docker exec 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 ssh-agent [2023-03-13T13:25:15.954Z] SSH_AUTH_SOCK=/tmp/ssh-LXY1d4BgK9kz/agent.69 [2023-03-13T13:25:15.954Z] SSH_AGENT_PID=75 [2023-03-13T13:25:15.958Z] Running ssh-add (command line suppressed) [2023-03-13T13:25:16.055Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10521673511038401604.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10521673511038401604.key) [2023-03-13T13:25:16.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T13:25:16.354Z] + git semver init [2023-03-13T13:25:16.613Z] 2023-03-13 13:25:16,516 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T13:25:16.613Z] 2023-03-13 13:25:16,517 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-03-13T13:25:16.613Z] 2023-03-13 13:25:16,518 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-03-13T13:25:16.613Z] 2023-03-13 13:25:16,518 [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) [2023-03-13T13:25:17.552Z] 2023-03-13 13:25:17,398 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-03-13T13:25:17.552Z] 2023-03-13 13:25:17,399 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-03-13T13:25:17.552Z] 2023-03-13 13:25:17,399 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-13T13:25:17.552Z] 2023-03-13 13:25:17,399 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-13T13:25:17.552Z] 3.0.0-dev.51 [Pipeline] } [2023-03-13T13:25:17.565Z] $ docker exec --env ******** --env ******** 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 ssh-agent -k [2023-03-13T13:25:17.664Z] unset SSH_AUTH_SOCK; [2023-03-13T13:25:17.664Z] unset SSH_AGENT_PID; [2023-03-13T13:25:17.664Z] echo Agent pid 75 killed; [2023-03-13T13:25:17.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T13:25:17.972Z] + git semver [Pipeline] } [2023-03-13T13:25:18.247Z] $ docker stop --time=1 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 [2023-03-13T13:25:19.569Z] $ docker rm -f --volumes 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T13:25:19.905Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T13:25:20.107Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T13:25:20.110Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.51 [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 [2023-03-13T13:25:20.277Z] provisioning config files... [2023-03-13T13:25:20.286Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16744673562705196900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:25:20.579Z] ---> docker-login.sh [2023-03-13T13:25:20.579Z] nexus3.edgexfoundry.org:10001 [2023-03-13T13:25:20.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:20.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:20.579Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:20.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:20.579Z] [2023-03-13T13:25:20.579Z] Login Succeeded [2023-03-13T13:25:20.579Z] nexus3.edgexfoundry.org:10002 [2023-03-13T13:25:20.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:20.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:20.579Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:20.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:20.579Z] [2023-03-13T13:25:20.579Z] Login Succeeded [2023-03-13T13:25:20.579Z] nexus3.edgexfoundry.org:10003 [2023-03-13T13:25:20.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:20.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:20.838Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:20.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:20.838Z] [2023-03-13T13:25:20.838Z] Login Succeeded [2023-03-13T13:25:20.838Z] nexus3.edgexfoundry.org:10004 [2023-03-13T13:25:20.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:20.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:20.839Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:20.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:20.839Z] [2023-03-13T13:25:20.839Z] Login Succeeded [2023-03-13T13:25:20.839Z] docker.io [2023-03-13T13:25:20.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:25:21.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:25:21.097Z] Configure a credential helper to remove this warning. See [2023-03-13T13:25:21.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:25:21.097Z] [2023-03-13T13:25:21.097Z] Login Succeeded [2023-03-13T13:25:21.097Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T13:25:21.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T13:25:21.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T13:25:21.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T13:25:21.189Z] ========================================================= [2023-03-13T13:25:21.189Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T13:25:21.189Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:25:21.500Z] + 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 . [2023-03-13T13:25:21.500Z] Sending build context to Docker daemon 10.74MB [2023-03-13T13:25:21.500Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T13:25:21.500Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-13T13:25:21.500Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T13:25:21.500Z] 213ec9aee27d: Pulling fs layer [2023-03-13T13:25:21.500Z] 4583459ba037: Pulling fs layer [2023-03-13T13:25:21.500Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T13:25:21.500Z] 53926ce57604: Pulling fs layer [2023-03-13T13:25:21.500Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T13:25:21.500Z] 22ff95d597cd: Pulling fs layer [2023-03-13T13:25:21.500Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T13:25:21.500Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T13:25:21.500Z] a7acece74701: Pulling fs layer [2023-03-13T13:25:21.500Z] 53926ce57604: Waiting [2023-03-13T13:25:21.500Z] 21b2b0c7a3f4: Waiting [2023-03-13T13:25:21.500Z] 22ff95d597cd: Waiting [2023-03-13T13:25:21.500Z] 12d6caf4c0d1: Waiting [2023-03-13T13:25:21.500Z] 96b7cbca73a9: Waiting [2023-03-13T13:25:21.500Z] a7acece74701: Waiting [2023-03-13T13:25:21.758Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T13:25:21.758Z] 93c1e223e6f2: Download complete [2023-03-13T13:25:21.758Z] 4583459ba037: Download complete [2023-03-13T13:25:21.758Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T13:25:21.758Z] 21b2b0c7a3f4: Download complete [2023-03-13T13:25:21.758Z] 22ff95d597cd: Verifying Checksum [2023-03-13T13:25:21.758Z] 22ff95d597cd: Download complete [2023-03-13T13:25:21.758Z] 213ec9aee27d: Verifying Checksum [2023-03-13T13:25:21.758Z] 213ec9aee27d: Download complete [2023-03-13T13:25:21.758Z] 12d6caf4c0d1: Download complete [2023-03-13T13:25:21.758Z] 213ec9aee27d: Pull complete [2023-03-13T13:25:22.025Z] 4583459ba037: Pull complete [2023-03-13T13:25:22.025Z] 93c1e223e6f2: Pull complete [2023-03-13T13:25:22.285Z] a7acece74701: Verifying Checksum [2023-03-13T13:25:22.285Z] a7acece74701: Download complete [2023-03-13T13:25:22.544Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T13:25:22.544Z] 96b7cbca73a9: Download complete [2023-03-13T13:25:22.544Z] 53926ce57604: Verifying Checksum [2023-03-13T13:25:22.544Z] 53926ce57604: Download complete [2023-03-13T13:25:25.821Z] 53926ce57604: Pull complete [2023-03-13T13:25:25.821Z] 21b2b0c7a3f4: Pull complete [2023-03-13T13:25:26.079Z] 22ff95d597cd: Pull complete [2023-03-13T13:25:26.079Z] 12d6caf4c0d1: Pull complete [2023-03-13T13:25:27.975Z] 96b7cbca73a9: Pull complete [2023-03-13T13:25:28.910Z] a7acece74701: Pull complete [2023-03-13T13:25:28.910Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T13:25:28.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T13:25:28.910Z] ---> db6d94c90886 [2023-03-13T13:25:28.910Z] Step 3/10 : ARG MAKE=make build [2023-03-13T13:25:32.220Z] ---> Running in e1ba3a765b28 [2023-03-13T13:25:32.220Z] Removing intermediate container e1ba3a765b28 [2023-03-13T13:25:32.220Z] ---> 4cc452ea2a69 [2023-03-13T13:25:32.220Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-13T13:25:32.220Z] ---> Running in 21bf14b78507 [2023-03-13T13:25:32.220Z] Removing intermediate container 21bf14b78507 [2023-03-13T13:25:32.220Z] ---> 8490235d7aab [2023-03-13T13:25:32.220Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T13:25:32.220Z] ---> Running in 55d73916b0a2 [2023-03-13T13:25:32.480Z] Removing intermediate container 55d73916b0a2 [2023-03-13T13:25:32.480Z] ---> f70b18bf07a1 [2023-03-13T13:25:32.480Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-13T13:25:32.480Z] ---> Running in 372b71ae8766 [2023-03-13T13:25:32.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T13:25:32.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T13:25:33.254Z] OK: 211 MiB in 51 packages [2023-03-13T13:25:33.514Z] Removing intermediate container 372b71ae8766 [2023-03-13T13:25:33.514Z] ---> f343e581b344 [2023-03-13T13:25:33.514Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-13T13:25:33.773Z] ---> 38b09f5edf3e [2023-03-13T13:25:33.773Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T13:25:33.773Z] ---> Running in 5988067b78d1 [2023-03-13T13:25:35.227Z] Still waiting to schedule task [2023-03-13T13:25:35.227Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-13T13:26:12.490Z] Removing intermediate container 5988067b78d1 [2023-03-13T13:26:12.490Z] ---> 4611c6559f55 [2023-03-13T13:26:12.490Z] Step 9/10 : COPY . . [2023-03-13T13:26:12.490Z] ---> a1fb355155d9 [2023-03-13T13:26:12.490Z] Step 10/10 : RUN ${MAKE} [2023-03-13T13:26:12.490Z] ---> Running in bdc1b949d709 [2023-03-13T13:26:12.490Z] noop [2023-03-13T13:26:12.490Z] Removing intermediate container bdc1b949d709 [2023-03-13T13:26:12.490Z] ---> b07dbac2b2d7 [2023-03-13T13:26:12.490Z] Successfully built b07dbac2b2d7 [2023-03-13T13:26:12.490Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:26:12.813Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T13:26:12.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:26:12.889Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:26:12.924Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-13T13:26:13.239Z] $ docker top ac2f45afdffdd06c61a5c59eca6b345288d29916e61d76895f2a8513d4d95268 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:26:13.578Z] + go version [2023-03-13T13:26:13.578Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T13:26:13.592Z] $ docker stop --time=1 ac2f45afdffdd06c61a5c59eca6b345288d29916e61d76895f2a8513d4d95268 [2023-03-13T13:26:14.855Z] $ docker rm -f --volumes ac2f45afdffdd06c61a5c59eca6b345288d29916e61d76895f2a8513d4d95268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:26:15.234Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T13:26:15.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:26:15.298Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:26:15.331Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-13T13:26:15.650Z] $ docker top 338a801730eeeaf80fddbff1fe03be6c703e2c9a6896938e56f5fafe1dfa17aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:26:15.990Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-13T13:26:16.284Z] + make test [2023-03-13T13:26:16.284Z] go test -race -coverprofile=coverage.out ./... [2023-03-13T13:26:22.851Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-13T13:26:35.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-13T13:26:35.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-13T13:26:35.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-13T13:26:35.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-13T13:26:35.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-13T13:26:35.301Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.074s coverage: 27.6% of statements [2023-03-13T13:26:35.301Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 78.9% of statements [2023-03-13T13:26:35.301Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.123s coverage: 86.0% of statements [2023-03-13T13:26:35.301Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-13T13:26:35.301Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-13T13:26:35.558Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.128s coverage: 75.9% of statements [2023-03-13T13:26:35.558Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-13T13:26:38.847Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 15.2% of statements [2023-03-13T13:26:38.847Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-13T13:26:38.847Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.104s coverage: 65.2% of statements [2023-03-13T13:26:38.847Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-13T13:26:38.847Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-13T13:26:38.847Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.781s coverage: 89.2% of statements [2023-03-13T13:26:38.847Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.5% of statements [2023-03-13T13:26:38.847Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-13T13:26:53.721Z] 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." [2023-03-13T13:26:53.721Z] GO111MODULE=on go vet ./... [2023-03-13T13:26:57.000Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T13:26:57.000Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T13:26:57.000Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T13:26:57.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T13:26:57.031Z] $ docker stop --time=1 338a801730eeeaf80fddbff1fe03be6c703e2c9a6896938e56f5fafe1dfa17aa [2023-03-13T13:27:00.577Z] $ docker rm -f --volumes 338a801730eeeaf80fddbff1fe03be6c703e2c9a6896938e56f5fafe1dfa17aa [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T13:27:01.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T13:27:01.136Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-13T13:27:01.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T13:27:01.918Z] + ls -al . [2023-03-13T13:27:01.918Z] total 280 [2023-03-13T13:27:01.918Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 13:26 . [2023-03-13T13:27:01.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:25 .. [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 13:25 .dockerignore [2023-03-13T13:27:01.918Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 13:26 .git [2023-03-13T13:27:01.918Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:25 .github [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 13 13:25 .gitignore [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 13:25 .golangci.yml [2023-03-13T13:27:01.918Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 13:25 .semver [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 13 13:25 CHANGELOG.md [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 13:25 GOVERNANCE.md [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 13:25 Jenkinsfile [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 13:25 LICENSE [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 13 13:25 Makefile [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 13:25 OWNERS.md [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 13 13:25 README.md [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 13:25 VERSION [2023-03-13T13:27:01.918Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:25 bin [2023-03-13T13:27:01.918Z] -rw-r--r-- 1 jenkins jenkins 111699 Mar 13 13:26 coverage.out [2023-03-13T13:27:01.918Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 13:25 example [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 13 13:25 go.mod [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 13 13:25 go.sum [2023-03-13T13:27:01.918Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 13:25 internal [2023-03-13T13:27:01.918Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:25 openapi [2023-03-13T13:27:01.918Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 13:25 pkg [2023-03-13T13:27:01.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:25 snap [2023-03-13T13:27:01.918Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 13:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:27:02.228Z] + 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=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 --label arch=amd64 --label version=3.0.0-dev.51 . [2023-03-13T13:27:02.228Z] Sending build context to Docker daemon 10.85MB [2023-03-13T13:27:02.228Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T13:27:02.228Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-13T13:27:02.228Z] ---> b07dbac2b2d7 [2023-03-13T13:27:02.228Z] Step 3/23 : ARG MAKE=make build [2023-03-13T13:27:02.488Z] ---> Running in d474a8f65b72 [2023-03-13T13:27:02.488Z] Removing intermediate container d474a8f65b72 [2023-03-13T13:27:02.488Z] ---> ac7301af716d [2023-03-13T13:27:02.488Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-13T13:27:02.488Z] ---> Running in 00fcbb8f3465 [2023-03-13T13:27:02.488Z] Removing intermediate container 00fcbb8f3465 [2023-03-13T13:27:02.488Z] ---> 3d90657a9eb4 [2023-03-13T13:27:02.488Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T13:27:02.748Z] ---> Running in 7af1839e07d5 [2023-03-13T13:27:02.748Z] Removing intermediate container 7af1839e07d5 [2023-03-13T13:27:02.748Z] ---> 2ee7e7d5d205 [2023-03-13T13:27:02.748Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-13T13:27:02.748Z] ---> Running in b9fc2ba6274e [2023-03-13T13:27:03.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T13:27:03.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T13:27:03.266Z] OK: 211 MiB in 51 packages [2023-03-13T13:27:03.834Z] Removing intermediate container b9fc2ba6274e [2023-03-13T13:27:03.834Z] ---> 13e3ac7d6810 [2023-03-13T13:27:03.834Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-13T13:27:03.834Z] ---> 703490fc5dfc [2023-03-13T13:27:03.834Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T13:27:03.834Z] ---> Running in 216f434c2090 [2023-03-13T13:27:04.769Z] Removing intermediate container 216f434c2090 [2023-03-13T13:27:04.769Z] ---> 756506dfeded [2023-03-13T13:27:04.769Z] Step 9/23 : COPY . . [2023-03-13T13:27:05.028Z] ---> 18d9b0aa0757 [2023-03-13T13:27:05.028Z] Step 10/23 : RUN ${MAKE} [2023-03-13T13:27:05.028Z] ---> Running in 61b9b67b2767 [2023-03-13T13:27:05.287Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.51" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-13T13:27:13.714Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9878 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-03-13T13:27:13.727Z] Running in /w/workspace/device-sdk-go/181 [Pipeline] { [Pipeline] checkout [2023-03-13T13:27:13.767Z] The recommended git tool is: git [2023-03-13T13:27:19.208Z] using credential edgex-jenkins-ssh [2023-03-13T13:27:19.229Z] Cloning the remote Git repository [2023-03-13T13:27:19.276Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-13T13:27:19.348Z] > git init /w/workspace/device-sdk-go/181 # timeout=10 [2023-03-13T13:27:19.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-13T13:27:19.515Z] > git --version # timeout=10 [2023-03-13T13:27:19.544Z] > git --version # 'git version 2.25.1' [2023-03-13T13:27:19.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T13:27:19.614Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T13:27:22.134Z] Avoid second fetch [2023-03-13T13:27:22.135Z] Checking out Revision 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 (main) [2023-03-13T13:27:21.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-13T13:27:21.255Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T13:27:22.155Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T13:27:22.176Z] > git checkout -f 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 [2023-03-13T13:27:22.670Z] Commit message: "Merge pull request #1356 from hahattan/issue-1271" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T13:27:23.364Z] Removing intermediate container 61b9b67b2767 [2023-03-13T13:27:23.364Z] ---> 1a314ff4ed9f [2023-03-13T13:27:23.364Z] Step 11/23 : FROM alpine:3.16 [2023-03-13T13:27:23.568Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T13:27:23.568Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T13:27:23.568Z] Dload Upload Total Spent Left Speed [2023-03-13T13:27:23.568Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [2023-03-13T13:27:23.624Z] 3.16: Pulling from library/alpine [2023-03-13T13:27:23.880Z] ef5531b6e74e: Pulling fs layer [Pipeline] sh [2023-03-13T13:27:24.190Z] ef5531b6e74e: Verifying Checksum [2023-03-13T13:27:24.190Z] ef5531b6e74e: Download complete [2023-03-13T13:27:24.190Z] ef5531b6e74e: Pull complete [2023-03-13T13:27:24.190Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T13:27:24.190Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T13:27:24.190Z] ---> dfd21b5a31f5 [2023-03-13T13:27:24.190Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-13T13:27:24.245Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T13:27:24.449Z] ---> Running in eedd856ae404 [2023-03-13T13:27:24.449Z] Removing intermediate container eedd856ae404 [2023-03-13T13:27:24.449Z] ---> 1557a8dbadcc [2023-03-13T13:27:24.449Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-13T13:27:24.449Z] ---> Running in 18adf9335817 [2023-03-13T13:27:24.572Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T13:27:24.572Z] + sudo tee /etc/docker/daemon.new [2023-03-13T13:27:24.572Z] { [2023-03-13T13:27:24.572Z] "registry-mirrors": [ [2023-03-13T13:27:24.572Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T13:27:24.572Z] ], [2023-03-13T13:27:24.572Z] "bip": "10.250.0.254/24", [2023-03-13T13:27:24.572Z] "hosts": [ [2023-03-13T13:27:24.572Z] "tcp://0.0.0.0:5555", [2023-03-13T13:27:24.572Z] "unix:///var/run/docker.sock" [2023-03-13T13:27:24.572Z] ], [2023-03-13T13:27:24.572Z] "mtu": 1458, [2023-03-13T13:27:24.572Z] "selinux-enabled": true, [2023-03-13T13:27:24.572Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T13:27:24.572Z] } [Pipeline] sh [2023-03-13T13:27:24.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T13:27:24.907Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T13:27:24.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T13:27:25.226Z] OK: 6 MiB in 14 packages [2023-03-13T13:27:25.238Z] + sudo service docker restart [2023-03-13T13:27:25.485Z] Removing intermediate container 18adf9335817 [2023-03-13T13:27:25.485Z] ---> 6d53b8b04810 [2023-03-13T13:27:25.485Z] Step 14/23 : WORKDIR / [2023-03-13T13:27:25.485Z] ---> Running in c8aaa3485335 [2023-03-13T13:27:25.485Z] Removing intermediate container c8aaa3485335 [2023-03-13T13:27:25.485Z] ---> 4bb44a89594c [2023-03-13T13:27:25.485Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-13T13:27:25.742Z] ---> 455b5eb32b75 [2023-03-13T13:27:25.742Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-13T13:27:26.308Z] ---> b08791344cbb [2023-03-13T13:27:26.308Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-13T13:27:26.569Z] ---> 0d5470235d23 [2023-03-13T13:27:26.569Z] Step 18/23 : EXPOSE 59999 [2023-03-13T13:27:26.569Z] ---> Running in 7b46bc1e5933 [2023-03-13T13:27:26.569Z] Removing intermediate container 7b46bc1e5933 [2023-03-13T13:27:26.569Z] ---> f22af402eae5 [2023-03-13T13:27:26.569Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-13T13:27:26.569Z] ---> Running in f8bb49dfafef [2023-03-13T13:27:26.569Z] Removing intermediate container f8bb49dfafef [2023-03-13T13:27:26.569Z] ---> 46b45ace61d6 [2023-03-13T13:27:26.569Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-13T13:27:26.829Z] ---> Running in fbb6276f6677 [2023-03-13T13:27:26.829Z] Removing intermediate container fbb6276f6677 [2023-03-13T13:27:26.829Z] ---> 3b0e44334bf5 [2023-03-13T13:27:26.829Z] Step 21/23 : LABEL arch=amd64 [2023-03-13T13:27:26.829Z] ---> Running in e6f4773cfbcb [2023-03-13T13:27:26.829Z] Removing intermediate container e6f4773cfbcb [2023-03-13T13:27:26.829Z] ---> 2e1e81d927b6 [2023-03-13T13:27:26.829Z] Step 22/23 : LABEL git_sha=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [2023-03-13T13:27:26.829Z] ---> Running in 3b8303ba18e8 [2023-03-13T13:27:27.091Z] Removing intermediate container 3b8303ba18e8 [2023-03-13T13:27:27.091Z] ---> f000e1456f77 [2023-03-13T13:27:27.091Z] Step 23/23 : LABEL version=3.0.0-dev.51 [2023-03-13T13:27:27.091Z] ---> Running in 43a1fe7a5e99 [2023-03-13T13:27:27.091Z] Removing intermediate container 43a1fe7a5e99 [2023-03-13T13:27:27.091Z] ---> d79e34f6d4d9 [2023-03-13T13:27:27.091Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T13:27:27.091Z] Successfully built d79e34f6d4d9 [2023-03-13T13:27:27.091Z] 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 [2023-03-13T13:27:27.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T13:27:27.651Z] [2023-03-13T13:27:27.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:27:27.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T13:27:27.993Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T13:27:27.993Z] 5eb5b503b376: Pulling fs layer [2023-03-13T13:27:27.993Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T13:27:27.993Z] ec43610c2a17: Pulling fs layer [2023-03-13T13:27:27.993Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T13:27:27.993Z] 33b1e0a273af: Pulling fs layer [2023-03-13T13:27:27.993Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T13:27:27.993Z] 2f39f015ded8: Pulling fs layer [2023-03-13T13:27:27.993Z] 3a2ae6a8a46f: Waiting [2023-03-13T13:27:27.993Z] 33b1e0a273af: Waiting [2023-03-13T13:27:27.993Z] 5d3b04190fa2: Waiting [2023-03-13T13:27:27.993Z] 2f39f015ded8: Waiting [2023-03-13T13:27:27.993Z] 5c69ac0246d0: Download complete [2023-03-13T13:27:27.993Z] 3a2ae6a8a46f: Download complete [2023-03-13T13:27:28.253Z] 33b1e0a273af: Verifying Checksum [2023-03-13T13:27:28.253Z] 33b1e0a273af: Download complete [2023-03-13T13:27:28.253Z] 5d3b04190fa2: Download complete [2023-03-13T13:27:28.253Z] ec43610c2a17: Verifying Checksum [2023-03-13T13:27:28.253Z] ec43610c2a17: Download complete [2023-03-13T13:27:28.253Z] 5eb5b503b376: Verifying Checksum [2023-03-13T13:27:28.253Z] 5eb5b503b376: Download complete [2023-03-13T13:27:28.820Z] 2f39f015ded8: Download complete [2023-03-13T13:27:29.389Z] 5eb5b503b376: Pull complete [2023-03-13T13:27:29.647Z] 5c69ac0246d0: Pull complete [2023-03-13T13:27:29.905Z] ec43610c2a17: Pull complete [2023-03-13T13:27:30.164Z] 3a2ae6a8a46f: Pull complete [2023-03-13T13:27:30.422Z] 33b1e0a273af: Pull complete [2023-03-13T13:27:30.422Z] 5d3b04190fa2: Pull complete [2023-03-13T13:27:34.605Z] 2f39f015ded8: Pull complete [2023-03-13T13:27:34.605Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T13:27:34.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T13:27:34.605Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:27:34.681Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:27:34.719Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T13:27:38.173Z] $ docker top 9e576dd1e7d5d2773dd409d44bc30a8342ec32f55c60080049aac213cd53d2f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:27:38.587Z] ---> job-cost.sh [2023-03-13T13:27:38.587Z] lf-activate-venv: SKIPPING [2023-03-13T13:27:38.587Z] INFO: No Stack... [2023-03-13T13:27:38.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T13:27:39.104Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T13:27:39.395Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-03-13T13:27:39.395Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T13:27:39.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [2023-03-13T13:27:39.414Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] did not exist. Created. [2023-03-13T13:27:39.414Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T13:27:39.713Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T13:27:39.748Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T13:27:39.754Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T13:27:39.773Z] $ docker stop --time=1 9e576dd1e7d5d2773dd409d44bc30a8342ec32f55c60080049aac213cd53d2f9 [2023-03-13T13:27:40.914Z] $ docker rm -f --volumes 9e576dd1e7d5d2773dd409d44bc30a8342ec32f55c60080049aac213cd53d2f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T13:27:47.366Z] provisioning config files... [2023-03-13T13:27:47.388Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/181@tmp/config2251527300918738634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:27:47.725Z] ---> docker-login.sh [2023-03-13T13:27:47.726Z] nexus3.edgexfoundry.org:10001 [2023-03-13T13:27:47.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:27:48.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:27:48.261Z] Configure a credential helper to remove this warning. See [2023-03-13T13:27:48.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:27:48.261Z] [2023-03-13T13:27:48.261Z] Login Succeeded [2023-03-13T13:27:48.261Z] nexus3.edgexfoundry.org:10002 [2023-03-13T13:27:48.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:27:48.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:27:48.528Z] Configure a credential helper to remove this warning. See [2023-03-13T13:27:48.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:27:48.528Z] [2023-03-13T13:27:48.528Z] Login Succeeded [2023-03-13T13:27:48.528Z] nexus3.edgexfoundry.org:10003 [2023-03-13T13:27:48.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:27:48.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:27:48.794Z] Configure a credential helper to remove this warning. See [2023-03-13T13:27:48.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:27:48.794Z] [2023-03-13T13:27:48.794Z] Login Succeeded [2023-03-13T13:27:48.794Z] nexus3.edgexfoundry.org:10004 [2023-03-13T13:27:49.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:27:49.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:27:49.332Z] Configure a credential helper to remove this warning. See [2023-03-13T13:27:49.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:27:49.332Z] [2023-03-13T13:27:49.332Z] Login Succeeded [2023-03-13T13:27:49.332Z] docker.io [2023-03-13T13:27:49.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T13:27:49.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T13:27:49.600Z] Configure a credential helper to remove this warning. See [2023-03-13T13:27:49.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T13:27:49.600Z] [2023-03-13T13:27:49.600Z] Login Succeeded [2023-03-13T13:27:49.600Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T13:27:49.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T13:27:49.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T13:27:49.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T13:27:49.873Z] ========================================================= [2023-03-13T13:27:49.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T13:27:49.873Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:27:50.225Z] + 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 . [2023-03-13T13:27:50.492Z] Sending build context to Docker daemon 5.773MB [2023-03-13T13:27:50.492Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T13:27:50.492Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-13T13:27:50.763Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T13:27:50.763Z] 9b18e9b68314: Pulling fs layer [2023-03-13T13:27:50.763Z] 35d82f9e3411: Pulling fs layer [2023-03-13T13:27:50.763Z] e16973657156: Pulling fs layer [2023-03-13T13:27:50.763Z] fc693d55d65f: Pulling fs layer [2023-03-13T13:27:50.763Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T13:27:50.763Z] dda99020689f: Pulling fs layer [2023-03-13T13:27:50.763Z] db1c61fa0a46: Pulling fs layer [2023-03-13T13:27:50.763Z] 891c053d2c06: Pulling fs layer [2023-03-13T13:27:50.763Z] dda99020689f: Waiting [2023-03-13T13:27:50.763Z] fc693d55d65f: Waiting [2023-03-13T13:27:50.763Z] 7e9fc2657dce: Waiting [2023-03-13T13:27:50.763Z] db1c61fa0a46: Waiting [2023-03-13T13:27:50.763Z] 891c053d2c06: Waiting [2023-03-13T13:27:50.763Z] e16973657156: Verifying Checksum [2023-03-13T13:27:50.763Z] e16973657156: Download complete [2023-03-13T13:27:50.763Z] 35d82f9e3411: Verifying Checksum [2023-03-13T13:27:50.763Z] 35d82f9e3411: Download complete [2023-03-13T13:27:50.763Z] 7e9fc2657dce: Download complete [2023-03-13T13:27:50.763Z] dda99020689f: Verifying Checksum [2023-03-13T13:27:50.763Z] dda99020689f: Download complete [2023-03-13T13:27:50.763Z] 9b18e9b68314: Verifying Checksum [2023-03-13T13:27:50.763Z] 9b18e9b68314: Download complete [2023-03-13T13:27:51.727Z] 9b18e9b68314: Pull complete [2023-03-13T13:27:51.727Z] 891c053d2c06: Verifying Checksum [2023-03-13T13:27:51.727Z] 891c053d2c06: Download complete [2023-03-13T13:27:52.319Z] 35d82f9e3411: Pull complete [2023-03-13T13:27:52.589Z] e16973657156: Pull complete [2023-03-13T13:27:52.861Z] db1c61fa0a46: Verifying Checksum [2023-03-13T13:27:52.861Z] db1c61fa0a46: Download complete [2023-03-13T13:27:53.449Z] fc693d55d65f: Verifying Checksum [2023-03-13T13:27:53.449Z] fc693d55d65f: Download complete [2023-03-13T13:28:03.537Z] fc693d55d65f: Pull complete [2023-03-13T13:28:03.803Z] 7e9fc2657dce: Pull complete [2023-03-13T13:28:04.070Z] dda99020689f: Pull complete [2023-03-13T13:28:10.727Z] db1c61fa0a46: Pull complete [2023-03-13T13:28:11.691Z] 891c053d2c06: Pull complete [2023-03-13T13:28:11.961Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T13:28:11.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T13:28:11.961Z] ---> f96f9c87975a [2023-03-13T13:28:11.961Z] Step 3/10 : ARG MAKE=make build [2023-03-13T13:28:13.902Z] ---> Running in cffa45114b43 [2023-03-13T13:28:13.902Z] Removing intermediate container cffa45114b43 [2023-03-13T13:28:13.902Z] ---> 81ec00a70483 [2023-03-13T13:28:13.902Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-13T13:28:13.902Z] ---> Running in abe80fdb886a [2023-03-13T13:28:14.169Z] Removing intermediate container abe80fdb886a [2023-03-13T13:28:14.169Z] ---> 5df37e306838 [2023-03-13T13:28:14.169Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T13:28:14.435Z] ---> Running in 4bb6dc47a9f6 [2023-03-13T13:28:14.702Z] Removing intermediate container 4bb6dc47a9f6 [2023-03-13T13:28:14.702Z] ---> 2f1111cd3e89 [2023-03-13T13:28:14.702Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-13T13:28:14.702Z] ---> Running in 36adb6bf4658 [2023-03-13T13:28:15.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T13:28:15.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T13:28:16.878Z] OK: 221 MiB in 51 packages [2023-03-13T13:28:17.838Z] Removing intermediate container 36adb6bf4658 [2023-03-13T13:28:17.838Z] ---> e12e227d61a9 [2023-03-13T13:28:17.838Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-13T13:28:18.106Z] ---> 8b0524e92c60 [2023-03-13T13:28:18.106Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T13:28:18.106Z] ---> Running in 1eedc8d420f2 [2023-03-13T13:29:26.116Z] Removing intermediate container 1eedc8d420f2 [2023-03-13T13:29:26.116Z] ---> 4bed0fb19891 [2023-03-13T13:29:26.116Z] Step 9/10 : COPY . . [2023-03-13T13:29:26.116Z] ---> 4040a0b6cda3 [2023-03-13T13:29:26.116Z] Step 10/10 : RUN ${MAKE} [2023-03-13T13:29:26.116Z] ---> Running in be0c35a71f9c [2023-03-13T13:29:26.116Z] noop [2023-03-13T13:29:26.116Z] Removing intermediate container be0c35a71f9c [2023-03-13T13:29:26.116Z] ---> 23be2b624674 [2023-03-13T13:29:26.116Z] Successfully built 23be2b624674 [2023-03-13T13:29:26.116Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:29:26.482Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T13:29:26.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:29:26.678Z] prd-ubuntu20.04-docker-arm64-4c-16g-9878 does not seem to be running inside a container [2023-03-13T13:29:26.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/181 -v /w/workspace/device-sdk-go/181:/w/workspace/device-sdk-go/181:rw,z -v /w/workspace/device-sdk-go/181@tmp:/w/workspace/device-sdk-go/181@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 [2023-03-13T13:29:28.040Z] $ docker top f502aefb064e6a351e30325dfc38e08fbc7b47583f748cdde56655f908fecb51 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:29:28.862Z] + go version [2023-03-13T13:29:28.862Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T13:29:28.884Z] $ docker stop --time=1 f502aefb064e6a351e30325dfc38e08fbc7b47583f748cdde56655f908fecb51 [2023-03-13T13:29:30.467Z] $ docker rm -f --volumes f502aefb064e6a351e30325dfc38e08fbc7b47583f748cdde56655f908fecb51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:29:30.974Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T13:29:30.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:29:31.145Z] prd-ubuntu20.04-docker-arm64-4c-16g-9878 does not seem to be running inside a container [2023-03-13T13:29:31.207Z] $ 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/181 -v /w/workspace/device-sdk-go/181:/w/workspace/device-sdk-go/181:rw,z -v /w/workspace/device-sdk-go/181@tmp:/w/workspace/device-sdk-go/181@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 [2023-03-13T13:29:32.335Z] $ docker top 71ef7b6745194f74591f128ef5ab55d72d80aff9ee4457b0bf359077b8e7bc0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:29:32.825Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/181 [Pipeline] fileExists [Pipeline] sh [2023-03-13T13:29:33.485Z] + make test [2023-03-13T13:29:33.485Z] go test -race -coverprofile=coverage.out ./... [2023-03-13T13:30:05.703Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-13T13:31:57.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-13T13:31:57.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-13T13:31:57.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-13T13:31:57.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-13T13:31:57.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-13T13:31:58.304Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.360s coverage: 27.6% of statements [2023-03-13T13:32:00.887Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.401s coverage: 78.9% of statements [2023-03-13T13:32:06.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.600s coverage: 86.0% of statements [2023-03-13T13:32:06.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-13T13:32:06.230Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-13T13:32:08.808Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.560s coverage: 75.9% of statements [2023-03-13T13:32:08.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-13T13:32:09.075Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.441s coverage: 15.2% of statements [2023-03-13T13:32:09.075Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-13T13:32:10.486Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.601s coverage: 65.2% of statements [2023-03-13T13:32:10.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-13T13:32:10.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-13T13:32:12.432Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.600s coverage: 89.2% of statements [2023-03-13T13:32:12.433Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.234s coverage: 5.5% of statements [2023-03-13T13:32:12.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-13T13:32:13.399Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-13T13:32:13.399Z] GO111MODULE=on go vet ./... [2023-03-13T13:33:50.056Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T13:33:50.056Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T13:33:50.056Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T13:33:50.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T13:33:50.091Z] $ docker stop --time=1 71ef7b6745194f74591f128ef5ab55d72d80aff9ee4457b0bf359077b8e7bc0e [2023-03-13T13:33:51.998Z] $ docker rm -f --volumes 71ef7b6745194f74591f128ef5ab55d72d80aff9ee4457b0bf359077b8e7bc0e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T13:33:53.324Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T13:33:53.340Z] Warning: overwriting stash ‘coverage-report’ [2023-03-13T13:33:53.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T13:33:54.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T13:33:54.542Z] + ls -al . [2023-03-13T13:33:54.542Z] total 276 [2023-03-13T13:33:54.542Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 13:29 . [2023-03-13T13:33:54.542Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:27 .. [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 13:27 .dockerignore [2023-03-13T13:33:54.542Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 13:27 .git [2023-03-13T13:33:54.542Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:27 .github [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 13 13:27 .gitignore [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 13:27 .golangci.yml [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 13 13:27 CHANGELOG.md [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 13:27 GOVERNANCE.md [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 13:27 Jenkinsfile [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 13:27 LICENSE [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 13 13:27 Makefile [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 13:27 OWNERS.md [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 13 13:27 README.md [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 13:25 VERSION [2023-03-13T13:33:54.542Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:27 bin [2023-03-13T13:33:54.542Z] -rw-r--r-- 1 jenkins jenkins 111699 Mar 13 13:32 coverage.out [2023-03-13T13:33:54.542Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 13:27 example [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 13 13:27 go.mod [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 13 13:27 go.sum [2023-03-13T13:33:54.542Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 13:27 internal [2023-03-13T13:33:54.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:27 openapi [2023-03-13T13:33:54.542Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 13:27 pkg [2023-03-13T13:33:54.542Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:27 snap [2023-03-13T13:33:54.542Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 13:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:33:54.886Z] + 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=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 --label arch=arm64 --label version=3.0.0-dev.51 . [2023-03-13T13:33:55.154Z] Sending build context to Docker daemon 5.885MB [2023-03-13T13:33:55.154Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T13:33:55.154Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-13T13:33:55.154Z] ---> 23be2b624674 [2023-03-13T13:33:55.154Z] Step 3/23 : ARG MAKE=make build [2023-03-13T13:33:55.420Z] ---> Running in 0f287e41a30e [2023-03-13T13:33:55.687Z] Removing intermediate container 0f287e41a30e [2023-03-13T13:33:55.687Z] ---> 0379111c1e4b [2023-03-13T13:33:55.687Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-13T13:33:55.687Z] ---> Running in 8511fcae864c [2023-03-13T13:33:55.955Z] Removing intermediate container 8511fcae864c [2023-03-13T13:33:55.955Z] ---> 4b076ae3a30c [2023-03-13T13:33:55.955Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T13:33:56.223Z] ---> Running in 6d5eaeff1c06 [2023-03-13T13:33:56.496Z] Removing intermediate container 6d5eaeff1c06 [2023-03-13T13:33:56.496Z] ---> 38c4ad48dd67 [2023-03-13T13:33:56.496Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-13T13:33:56.496Z] ---> Running in 2dd7260dd459 [2023-03-13T13:33:57.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T13:33:57.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T13:33:58.690Z] OK: 221 MiB in 51 packages [2023-03-13T13:33:59.652Z] Removing intermediate container 2dd7260dd459 [2023-03-13T13:33:59.652Z] ---> b006928f4a4f [2023-03-13T13:33:59.652Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-13T13:33:59.920Z] ---> 3f0a866bf441 [2023-03-13T13:33:59.920Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T13:34:00.194Z] ---> Running in 91140089b3f5 [2023-03-13T13:34:02.766Z] Removing intermediate container 91140089b3f5 [2023-03-13T13:34:02.766Z] ---> b6a5f11937ee [2023-03-13T13:34:02.766Z] Step 9/23 : COPY . . [2023-03-13T13:34:03.722Z] ---> 03c614ea3eb7 [2023-03-13T13:34:03.722Z] Step 10/23 : RUN ${MAKE} [2023-03-13T13:34:03.722Z] ---> Running in 6b5f94498ea5 [2023-03-13T13:34:04.679Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.51" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-13T13:36:11.332Z] Removing intermediate container 6b5f94498ea5 [2023-03-13T13:36:11.332Z] ---> 4d415f296e39 [2023-03-13T13:36:11.332Z] Step 11/23 : FROM alpine:3.16 [2023-03-13T13:36:11.332Z] 3.16: Pulling from library/alpine [2023-03-13T13:36:11.332Z] 3760b48202b3: Pulling fs layer [2023-03-13T13:36:11.332Z] 3760b48202b3: Verifying Checksum [2023-03-13T13:36:11.332Z] 3760b48202b3: Download complete [2023-03-13T13:36:11.332Z] 3760b48202b3: Pull complete [2023-03-13T13:36:11.332Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T13:36:11.332Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T13:36:11.332Z] ---> 4c81e5bf8899 [2023-03-13T13:36:11.332Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-13T13:36:11.332Z] ---> Running in e87547809b8f [2023-03-13T13:36:11.332Z] Removing intermediate container e87547809b8f [2023-03-13T13:36:11.332Z] ---> 9aba0a0712dd [2023-03-13T13:36:11.332Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-13T13:36:11.332Z] ---> Running in a73e00da89b1 [2023-03-13T13:36:11.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T13:36:11.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T13:36:11.332Z] OK: 5 MiB in 14 packages [2023-03-13T13:36:11.332Z] Removing intermediate container a73e00da89b1 [2023-03-13T13:36:11.332Z] ---> 35b1bc801864 [2023-03-13T13:36:11.332Z] Step 14/23 : WORKDIR / [2023-03-13T13:36:11.332Z] ---> Running in 0512711e71e8 [2023-03-13T13:36:11.332Z] Removing intermediate container 0512711e71e8 [2023-03-13T13:36:11.332Z] ---> e13baf9de1bc [2023-03-13T13:36:11.332Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-13T13:36:11.332Z] ---> 36120afcdcfd [2023-03-13T13:36:11.332Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-13T13:36:11.332Z] ---> fa361f3a0e16 [2023-03-13T13:36:11.332Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-13T13:36:11.332Z] ---> 125baac5e6fa [2023-03-13T13:36:11.332Z] Step 18/23 : EXPOSE 59999 [2023-03-13T13:36:11.332Z] ---> Running in ad73d5af5688 [2023-03-13T13:36:11.332Z] Removing intermediate container ad73d5af5688 [2023-03-13T13:36:11.332Z] ---> 1e72a6f8c40c [2023-03-13T13:36:11.332Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-13T13:36:11.332Z] ---> Running in 5885eceb8be6 [2023-03-13T13:36:11.332Z] Removing intermediate container 5885eceb8be6 [2023-03-13T13:36:11.332Z] ---> 74edc06224f9 [2023-03-13T13:36:11.332Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-13T13:36:11.332Z] ---> Running in bf9f2b7036ae [2023-03-13T13:36:11.332Z] Removing intermediate container bf9f2b7036ae [2023-03-13T13:36:11.332Z] ---> 6f5f7b907235 [2023-03-13T13:36:11.332Z] Step 21/23 : LABEL arch=arm64 [2023-03-13T13:36:11.332Z] ---> Running in d98e96af972e [2023-03-13T13:36:11.332Z] Removing intermediate container d98e96af972e [2023-03-13T13:36:11.332Z] ---> ba85427e9b55 [2023-03-13T13:36:11.332Z] Step 22/23 : LABEL git_sha=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [2023-03-13T13:36:11.332Z] ---> Running in 9de08661afc8 [2023-03-13T13:36:11.332Z] Removing intermediate container 9de08661afc8 [2023-03-13T13:36:11.332Z] ---> a81597938c7c [2023-03-13T13:36:11.332Z] Step 23/23 : LABEL version=3.0.0-dev.51 [2023-03-13T13:36:11.332Z] ---> Running in 7aa2bc1d2214 [2023-03-13T13:36:11.332Z] Removing intermediate container 7aa2bc1d2214 [2023-03-13T13:36:11.332Z] ---> 392a5a5592ef [2023-03-13T13:36:11.332Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T13:36:11.332Z] Successfully built 392a5a5592ef [2023-03-13T13:36:11.332Z] 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 [2023-03-13T13:36:11.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T13:36:11.765Z] [2023-03-13T13:36:11.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:36:12.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T13:36:12.096Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T13:36:12.096Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T13:36:12.096Z] 04944245beec: Pulling fs layer [2023-03-13T13:36:12.096Z] 699f458cf7ca: Pulling fs layer [2023-03-13T13:36:12.096Z] 765212b225bb: Pulling fs layer [2023-03-13T13:36:12.096Z] f23df028b6ca: Pulling fs layer [2023-03-13T13:36:12.096Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T13:36:12.096Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T13:36:12.096Z] f23df028b6ca: Waiting [2023-03-13T13:36:12.096Z] d65c8cfc05b1: Waiting [2023-03-13T13:36:12.096Z] 765212b225bb: Waiting [2023-03-13T13:36:12.096Z] 2437ff75d9bd: Waiting [2023-03-13T13:36:12.361Z] 04944245beec: Verifying Checksum [2023-03-13T13:36:12.361Z] 04944245beec: Download complete [2023-03-13T13:36:12.361Z] 765212b225bb: Verifying Checksum [2023-03-13T13:36:12.361Z] 765212b225bb: Download complete [2023-03-13T13:36:12.361Z] f23df028b6ca: Verifying Checksum [2023-03-13T13:36:12.361Z] f23df028b6ca: Download complete [2023-03-13T13:36:12.361Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T13:36:12.361Z] d65c8cfc05b1: Download complete [2023-03-13T13:36:12.361Z] 699f458cf7ca: Verifying Checksum [2023-03-13T13:36:12.361Z] 699f458cf7ca: Download complete [2023-03-13T13:36:12.945Z] 8998bd30e6a1: Download complete [2023-03-13T13:36:14.895Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T13:36:14.895Z] 2437ff75d9bd: Download complete [2023-03-13T13:36:16.293Z] 8998bd30e6a1: Pull complete [2023-03-13T13:36:16.875Z] 04944245beec: Pull complete [2023-03-13T13:36:17.833Z] 699f458cf7ca: Pull complete [2023-03-13T13:36:18.104Z] 765212b225bb: Pull complete [2023-03-13T13:36:18.793Z] f23df028b6ca: Pull complete [2023-03-13T13:36:19.073Z] d65c8cfc05b1: Pull complete [2023-03-13T13:36:31.706Z] 2437ff75d9bd: Pull complete [2023-03-13T13:36:31.706Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T13:36:31.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T13:36:31.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:36:31.879Z] prd-ubuntu20.04-docker-arm64-4c-16g-9878 does not seem to be running inside a container [2023-03-13T13:36:31.941Z] $ 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/181 -v /w/workspace/device-sdk-go/181:/w/workspace/device-sdk-go/181:rw,z -v /w/workspace/device-sdk-go/181@tmp:/w/workspace/device-sdk-go/181@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 [2023-03-13T13:36:34.410Z] $ docker top fc2d022da0ccc204b9c2adfec7d3d040b4af334d90ef44a3d306e3d2f66e8a45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:36:34.914Z] ---> job-cost.sh [2023-03-13T13:36:35.178Z] lf-activate-venv: SKIPPING [2023-03-13T13:36:35.178Z] INFO: No Stack... [2023-03-13T13:36:36.130Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T13:36:36.708Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T13:36:37.023Z] + cut -d, -f6 [2023-03-13T13:36:37.023Z] + cat /w/workspace/device-sdk-go/181/archives/cost.csv [Pipeline] lock [2023-03-13T13:36:37.081Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [2023-03-13T13:36:37.087Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] did not exist. Created. [2023-03-13T13:36:37.087Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T13:36:37.412Z] /w/workspace/device-sdk-go/181@tmp/durable-44528a8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T13:36:37.735Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T13:36:37.757Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T13:36:37.826Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T13:36:37.838Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T13:36:37.858Z] $ docker stop --time=1 fc2d022da0ccc204b9c2adfec7d3d040b4af334d90ef44a3d306e3d2f66e8a45 [2023-03-13T13:36:39.308Z] $ docker rm -f --volumes fc2d022da0ccc204b9c2adfec7d3d040b4af334d90ef44a3d306e3d2f66e8a45 [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 [2023-03-13T13:36:39.660Z] provisioning config files... [2023-03-13T13:36:39.667Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1478958926666491438tmp [Pipeline] { [Pipeline] sh [2023-03-13T13:36:39.959Z] + set +x [2023-03-13T13:36:39.959Z] + curl -s https://codecov.io/bash [2023-03-13T13:36:39.959Z] + bash -s -- [2023-03-13T13:36:39.959Z] [2023-03-13T13:36:39.959Z] _____ _ [2023-03-13T13:36:39.959Z] / ____| | | [2023-03-13T13:36:39.959Z] | | ___ __| | ___ ___ _____ __ [2023-03-13T13:36:39.959Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-13T13:36:39.959Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-13T13:36:39.959Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-13T13:36:39.959Z] Bash-1.0.6 [2023-03-13T13:36:39.959Z] [2023-03-13T13:36:39.959Z] [2023-03-13T13:36:39.959Z] ==> git version 2.25.1 found [2023-03-13T13:36:39.959Z] ==> 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 [2023-03-13T13:36:39.959Z] Release-Date: 2020-01-08 [2023-03-13T13:36:39.959Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-13T13:36:39.959Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-13T13:36:39.959Z] ==> Jenkins CI detected. [2023-03-13T13:36:39.959Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-03-13T13:36:39.959Z] project root: . [2023-03-13T13:36:39.959Z] --> token set from env [2023-03-13T13:36:39.959Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-13T13:36:39.959Z] ==> Running gcov in . (disable via -X gcov) [2023-03-13T13:36:39.959Z] ==> Python coveragepy not found [2023-03-13T13:36:39.959Z] ==> Searching for coverage reports in: [2023-03-13T13:36:39.959Z] + . [2023-03-13T13:36:39.959Z] -> Found 1 reports [2023-03-13T13:36:39.959Z] ==> Detecting git/mercurial file structure [2023-03-13T13:36:40.221Z] ==> Reading reports [2023-03-13T13:36:40.221Z] + ./coverage.out bytes=111699 [2023-03-13T13:36:40.221Z] ==> Appending adjustments [2023-03-13T13:36:40.221Z] https://docs.codecov.io/docs/fixing-reports [2023-03-13T13:36:40.480Z] + Found adjustments [2023-03-13T13:36:40.481Z] ==> Gzipping contents [2023-03-13T13:36:40.481Z] 16K /tmp/codecov.DWt6JA.gz [2023-03-13T13:36:40.481Z] ==> Uploading reports [2023-03-13T13:36:40.481Z] url: https://codecov.io [2023-03-13T13:36:40.481Z] query: branch=main&commit=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-13T13:36:40.481Z] -> Pinging Codecov [2023-03-13T13:36:40.481Z] 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=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-13T13:36:40.481Z] -> Uploading to [2023-03-13T13:36:40.481Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-13/7E55EF52A471D76F132DFD9A03CDDE97/2dcc4a6d5dc5ca25eaa0111ffba392fe61782616/1053b9ab-d906-495c-acfa-1a54f7610f16.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T133640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29f90a83f37860e85329b0ecae9b71ea9e8d9ac3576d58c8b8be74545c31ebe5 [2023-03-13T13:36:40.481Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T13:36:40.481Z] Dload Upload Total Spent Left Speed [2023-03-13T13:36:40.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15521 0 0 100 15521 0 64402 --:--:-- --:--:-- --:--:-- 64402 [2023-03-13T13:36:40.744Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] } [2023-03-13T13:36:40.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-13T13:36:40.963Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-13T13:36:40.977Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:36:41.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-13T13:36:41.284Z] [2023-03-13T13:36:41.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:36:41.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-13T13:36:41.585Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-13T13:36:41.585Z] df9b9388f04a: Pulling fs layer [2023-03-13T13:36:41.585Z] 52dc419b0ee2: Pulling fs layer [2023-03-13T13:36:41.585Z] 25bc292e5bac: Pulling fs layer [2023-03-13T13:36:41.585Z] 114826534d7a: Pulling fs layer [2023-03-13T13:36:41.585Z] 4657fd5d0bcf: Pulling fs layer [2023-03-13T13:36:41.585Z] 6ad1cebc031e: Pulling fs layer [2023-03-13T13:36:41.585Z] 8a3aa393b2d8: Pulling fs layer [2023-03-13T13:36:41.585Z] 6ad1cebc031e: Waiting [2023-03-13T13:36:41.585Z] 114826534d7a: Waiting [2023-03-13T13:36:41.585Z] 8a3aa393b2d8: Waiting [2023-03-13T13:36:41.585Z] 4657fd5d0bcf: Waiting [2023-03-13T13:36:41.585Z] 25bc292e5bac: Download complete [2023-03-13T13:36:41.845Z] 52dc419b0ee2: Verifying Checksum [2023-03-13T13:36:41.845Z] 52dc419b0ee2: Download complete [2023-03-13T13:36:41.845Z] 4657fd5d0bcf: Verifying Checksum [2023-03-13T13:36:41.845Z] 4657fd5d0bcf: Download complete [2023-03-13T13:36:41.845Z] df9b9388f04a: Verifying Checksum [2023-03-13T13:36:41.845Z] df9b9388f04a: Download complete [2023-03-13T13:36:41.845Z] 6ad1cebc031e: Verifying Checksum [2023-03-13T13:36:41.845Z] 6ad1cebc031e: Download complete [2023-03-13T13:36:41.845Z] df9b9388f04a: Pull complete [2023-03-13T13:36:42.103Z] 52dc419b0ee2: Pull complete [2023-03-13T13:36:42.103Z] 25bc292e5bac: Pull complete [2023-03-13T13:36:42.672Z] 114826534d7a: Verifying Checksum [2023-03-13T13:36:42.672Z] 114826534d7a: Download complete [2023-03-13T13:36:42.672Z] 8a3aa393b2d8: Verifying Checksum [2023-03-13T13:36:42.672Z] 8a3aa393b2d8: Download complete [2023-03-13T13:36:46.863Z] 114826534d7a: Pull complete [2023-03-13T13:36:46.863Z] 4657fd5d0bcf: Pull complete [2023-03-13T13:36:47.122Z] 6ad1cebc031e: Pull complete [2023-03-13T13:36:51.322Z] 8a3aa393b2d8: Pull complete [2023-03-13T13:36:51.323Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-13T13:36:51.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-13T13:36:51.323Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:36:51.405Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:36:51.435Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-13T13:37:05.787Z] $ docker top 7b9d5b6e094683de0bdbd9bbafa3ef1083f1abbe32b36ceffd8c42197d03ed32 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-13T13:37:05.863Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-03-13T13:37:06.139Z] + set -o pipefail [2023-03-13T13:37:06.139Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-03-13T13:37:10.329Z] [2023-03-13T13:37:10.329Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-03-13T13:37:10.329Z] [2023-03-13T13:37:10.329Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/2fde76d9-b7fc-4ecd-83e0-4f178905bb4a [2023-03-13T13:37:10.329Z] [2023-03-13T13:37:10.329Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-13T13:37:10.329Z] [2023-03-13T13:37:10.329Z] [2023-03-13T13:37:10.329Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-13T13:37:10.329Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-13T13:37:10.329Z] More details here: https://snyk.co/ue1NS [2023-03-13T13:37:10.329Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-03-13T13:37:10.329Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-03-13T13:37:10.340Z] $ docker stop --time=1 7b9d5b6e094683de0bdbd9bbafa3ef1083f1abbe32b36ceffd8c42197d03ed32 [2023-03-13T13:37:15.468Z] $ docker rm -f --volumes 7b9d5b6e094683de0bdbd9bbafa3ef1083f1abbe32b36ceffd8c42197d03ed32 [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 [2023-03-13T13:37:15.864Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T13:37:15.873Z] provisioning config files... [2023-03-13T13:37:15.880Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6075377404070967051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:37:16.172Z] --> edgex-publish-swagger.sh [2023-03-13T13:37:16.172Z] === Publish openapi/v3 API === [2023-03-13T13:37:16.172Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-03-13T13:37:16.172Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-03-13T13:37:16.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T13:37:16.172Z] Dload Upload Total Spent Left Speed [2023-03-13T13:37:16.739Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 39089 --:--:-- --:--:-- --:--:-- 39024 100 23571 0 0 100 23571 0 39089 --:--:-- --:--:-- --:--:-- 39024 [2023-03-13T13:37:16.739Z] [2023-03-13T13:37:16.739Z] [Pipeline] } [2023-03-13T13:37:16.747Z] 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 [2023-03-13T13:37:17.152Z] + git log --format=format:%s -1 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] sh [2023-03-13T13:37:17.443Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T13:37:17.443Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:37:17.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T13:37:17.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:37:17.810Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:37:17.837Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T13:37:18.285Z] $ docker top 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 -eo pid,comm [2023-03-13T13:37:18.334Z] 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). [2023-03-13T13:37:18.334Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T13:37:18.362Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T13:37:18.362Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T13:37:18.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T13:37:18.484Z] $ docker exec 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 ssh-agent [2023-03-13T13:37:18.609Z] SSH_AUTH_SOCK=/tmp/ssh-r3cDhVLEqX2A/agent.32 [2023-03-13T13:37:18.609Z] SSH_AGENT_PID=38 [2023-03-13T13:37:18.614Z] Running ssh-add (command line suppressed) [2023-03-13T13:37:18.719Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2015857763268922818.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2015857763268922818.key) [2023-03-13T13:37:18.731Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T13:37:19.019Z] + git semver tag [2023-03-13T13:37:19.277Z] 2023-03-13 13:37:19,258 [run_tag] DEBUG tag force:False [2023-03-13T13:37:19.277Z] 2023-03-13 13:37:19,259 [check_head_tag] DEBUG check head tag [2023-03-13T13:37:19.277Z] 2023-03-13 13:37:19,260 [execute] INFO git cat-file --batch-check [2023-03-13T13:37:19.277Z] 2023-03-13 13:37:19,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-03-13T13:37:19.277Z] 2023-03-13 13:37:19,265 [execute] INFO git cat-file --batch [2023-03-13T13:37:19.277Z] 2023-03-13 13:37:19,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-03-13T13:37:19.537Z] 2023-03-13 13:37:19,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-13T13:37:19.537Z] 2023-03-13 13:37:19,303 [execute] INFO git tag -a v3.0.0-dev.51 -m v3.0.0-dev.51 [2023-03-13T13:37:19.537Z] 2023-03-13 13:37:19,304 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.51', '-m', 'v3.0.0-dev.51'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-13T13:37:19.537Z] 2023-03-13 13:37:19,310 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-13T13:37:19.537Z] 3.0.0-dev.51 [Pipeline] } [2023-03-13T13:37:19.547Z] $ docker exec --env ******** --env ******** 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 ssh-agent -k [2023-03-13T13:37:19.646Z] unset SSH_AUTH_SOCK; [2023-03-13T13:37:19.647Z] unset SSH_AGENT_PID; [2023-03-13T13:37:19.647Z] echo Agent pid 38 killed; [2023-03-13T13:37:19.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T13:37:19.953Z] + git semver [Pipeline] } [2023-03-13T13:37:20.226Z] $ docker stop --time=1 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 [2023-03-13T13:37:21.617Z] $ docker rm -f --volumes 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:37:21.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-13T13:37:21.987Z] [2023-03-13T13:37:21.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:37:22.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-13T13:37:22.543Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-13T13:37:22.543Z] ab5ef0e58194: Pulling fs layer [2023-03-13T13:37:22.543Z] 9712f1f96733: Pulling fs layer [2023-03-13T13:37:22.543Z] 63f879dbbcfc: Pulling fs layer [2023-03-13T13:37:22.543Z] 0d9ebad4ef96: Pulling fs layer [2023-03-13T13:37:22.543Z] e9a5061849ea: Pulling fs layer [2023-03-13T13:37:22.543Z] d747dcd14b5f: Pulling fs layer [2023-03-13T13:37:22.543Z] 2de7ff778b66: Pulling fs layer [2023-03-13T13:37:22.543Z] 0d9ebad4ef96: Waiting [2023-03-13T13:37:22.543Z] e9a5061849ea: Waiting [2023-03-13T13:37:22.543Z] 2de7ff778b66: Waiting [2023-03-13T13:37:22.543Z] d747dcd14b5f: Waiting [2023-03-13T13:37:22.543Z] 9712f1f96733: Verifying Checksum [2023-03-13T13:37:22.543Z] 9712f1f96733: Download complete [2023-03-13T13:37:22.804Z] 63f879dbbcfc: Verifying Checksum [2023-03-13T13:37:22.804Z] 63f879dbbcfc: Download complete [2023-03-13T13:37:23.063Z] e9a5061849ea: Verifying Checksum [2023-03-13T13:37:23.063Z] e9a5061849ea: Download complete [2023-03-13T13:37:23.063Z] d747dcd14b5f: Download complete [2023-03-13T13:37:23.063Z] 0d9ebad4ef96: Verifying Checksum [2023-03-13T13:37:23.063Z] 0d9ebad4ef96: Download complete [2023-03-13T13:37:23.063Z] ab5ef0e58194: Verifying Checksum [2023-03-13T13:37:23.063Z] ab5ef0e58194: Download complete [2023-03-13T13:37:23.320Z] 2de7ff778b66: Verifying Checksum [2023-03-13T13:37:23.320Z] 2de7ff778b66: Download complete [2023-03-13T13:37:25.845Z] ab5ef0e58194: Pull complete [2023-03-13T13:37:25.845Z] 9712f1f96733: Pull complete [2023-03-13T13:37:26.777Z] 63f879dbbcfc: Pull complete [2023-03-13T13:37:30.961Z] 0d9ebad4ef96: Pull complete [2023-03-13T13:37:30.961Z] e9a5061849ea: Pull complete [2023-03-13T13:37:30.961Z] d747dcd14b5f: Pull complete [2023-03-13T13:37:31.894Z] 2de7ff778b66: Pull complete [2023-03-13T13:37:31.894Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-13T13:37:31.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-13T13:37:31.894Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:37:31.971Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:37:32.002Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-13T13:37:43.702Z] $ docker top 0e593f66d4ba0bc2fe66127f4a86df6f8627af96fda3ba536a84b019dde0f0cf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-13T13:37:43.777Z] provisioning config files... [2023-03-13T13:37:43.784Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16598325542767843742tmp [2023-03-13T13:37:43.794Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1772892456854637897tmp [2023-03-13T13:37:43.804Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1308942045912308332tmp [Pipeline] { [Pipeline] echo [2023-03-13T13:37:43.814Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:37:44.097Z] ---> sigul-configuration.sh [2023-03-13T13:37:44.097Z] gpg: directory `/root/.gnupg' created [2023-03-13T13:37:44.097Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-13T13:37:44.097Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-13T13:37:44.097Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-13T13:37:44.097Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-13T13:37:44.097Z] gpg: CAST5 encrypted data [2023-03-13T13:37:44.097Z] gpg: encrypted with 1 passphrase [2023-03-13T13:37:44.097Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-13T13:37:44.379Z] + mkdir /home/jenkins [2023-03-13T13:37:44.379Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-13T13:37:44.664Z] + 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 [2023-03-13T13:37:44.673Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:37:44.957Z] ---> sigul-install.sh [2023-03-13T13:37:44.957Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-13T13:37:45.239Z] + git tag --list [2023-03-13T13:37:45.239Z] 0.7.1 [2023-03-13T13:37:45.239Z] delhi-tag [2023-03-13T13:37:45.239Z] v1.0.0 [2023-03-13T13:37:45.239Z] v1.1.0 [2023-03-13T13:37:45.239Z] v1.1.1 [2023-03-13T13:37:45.239Z] v1.1.2 [2023-03-13T13:37:45.239Z] v1.2.0 [2023-03-13T13:37:45.239Z] v1.2.1 [2023-03-13T13:37:45.239Z] v1.2.2 [2023-03-13T13:37:45.239Z] v1.2.3 [2023-03-13T13:37:45.239Z] v1.3.0 [2023-03-13T13:37:45.239Z] v1.4.0 [2023-03-13T13:37:45.239Z] v2.0.0 [2023-03-13T13:37:45.239Z] v2.1.0 [2023-03-13T13:37:45.239Z] v2.1.1 [2023-03-13T13:37:45.239Z] v2.1.1-dev.2 [2023-03-13T13:37:45.239Z] v2.1.1-dev.3 [2023-03-13T13:37:45.239Z] v2.2.0 [2023-03-13T13:37:45.239Z] v2.2.1-dev.1 [2023-03-13T13:37:45.239Z] v2.2.1-dev.10 [2023-03-13T13:37:45.239Z] v2.2.1-dev.11 [2023-03-13T13:37:45.239Z] v2.2.1-dev.12 [2023-03-13T13:37:45.239Z] v2.2.1-dev.13 [2023-03-13T13:37:45.239Z] v2.2.1-dev.14 [2023-03-13T13:37:45.239Z] v2.2.1-dev.2 [2023-03-13T13:37:45.239Z] v2.2.1-dev.3 [2023-03-13T13:37:45.239Z] v2.2.1-dev.4 [2023-03-13T13:37:45.239Z] v2.2.1-dev.5 [2023-03-13T13:37:45.239Z] v2.2.1-dev.6 [2023-03-13T13:37:45.239Z] v2.2.1-dev.7 [2023-03-13T13:37:45.239Z] v2.2.1-dev.8 [2023-03-13T13:37:45.239Z] v2.2.1-dev.9 [2023-03-13T13:37:45.239Z] v2.3.0 [2023-03-13T13:37:45.239Z] v2.3.0-dev.14 [2023-03-13T13:37:45.240Z] v2.3.0-dev.15 [2023-03-13T13:37:45.240Z] v2.3.0-dev.16 [2023-03-13T13:37:45.240Z] v2.3.0-dev.17 [2023-03-13T13:37:45.240Z] v2.3.0-dev.18 [2023-03-13T13:37:45.240Z] v2.3.0-dev.19 [2023-03-13T13:37:45.240Z] v2.3.0-dev.20 [2023-03-13T13:37:45.240Z] v2.3.0-dev.21 [2023-03-13T13:37:45.240Z] v2.3.0-dev.22 [2023-03-13T13:37:45.240Z] v2.3.0-dev.23 [2023-03-13T13:37:45.240Z] v2.3.0-dev.24 [2023-03-13T13:37:45.240Z] v2.3.0-dev.25 [2023-03-13T13:37:45.240Z] v2.3.0-dev.26 [2023-03-13T13:37:45.240Z] v2.3.0-dev.27 [2023-03-13T13:37:45.240Z] v2.3.0-dev.28 [2023-03-13T13:37:45.240Z] v2.3.0-dev.29 [2023-03-13T13:37:45.240Z] v2.3.0-dev.30 [2023-03-13T13:37:45.240Z] v2.3.0-dev.31 [2023-03-13T13:37:45.240Z] v2.3.0-dev.32 [2023-03-13T13:37:45.240Z] v2.3.0-dev.33 [2023-03-13T13:37:45.240Z] v2.3.0-dev.34 [2023-03-13T13:37:45.240Z] v2.3.0-dev.35 [2023-03-13T13:37:45.240Z] v2.3.0-dev.36 [2023-03-13T13:37:45.240Z] v2.3.0-dev.37 [2023-03-13T13:37:45.240Z] v2.3.0-dev.38 [2023-03-13T13:37:45.240Z] v2.3.0-dev.39 [2023-03-13T13:37:45.240Z] v2.3.0-dev.40 [2023-03-13T13:37:45.240Z] v2.3.0-dev.41 [2023-03-13T13:37:45.240Z] v2.3.0-dev.42 [2023-03-13T13:37:45.240Z] v2.3.0-dev.43 [2023-03-13T13:37:45.240Z] v2.3.0-dev.44 [2023-03-13T13:37:45.240Z] v2.3.0-dev.45 [2023-03-13T13:37:45.240Z] v2.3.0-dev.46 [2023-03-13T13:37:45.240Z] v2.3.0-dev.47 [2023-03-13T13:37:45.240Z] v2.3.0-dev.48 [2023-03-13T13:37:45.240Z] v2.3.0-dev.49 [2023-03-13T13:37:45.240Z] v2.3.0-dev.50 [2023-03-13T13:37:45.240Z] v2.3.0-dev.51 [2023-03-13T13:37:45.240Z] v2.3.1-dev.1 [2023-03-13T13:37:45.240Z] v3.0.0-dev.1 [2023-03-13T13:37:45.240Z] v3.0.0-dev.10 [2023-03-13T13:37:45.240Z] v3.0.0-dev.11 [2023-03-13T13:37:45.240Z] v3.0.0-dev.12 [2023-03-13T13:37:45.240Z] v3.0.0-dev.13 [2023-03-13T13:37:45.240Z] v3.0.0-dev.14 [2023-03-13T13:37:45.240Z] v3.0.0-dev.15 [2023-03-13T13:37:45.240Z] v3.0.0-dev.16 [2023-03-13T13:37:45.240Z] v3.0.0-dev.17 [2023-03-13T13:37:45.240Z] v3.0.0-dev.18 [2023-03-13T13:37:45.240Z] v3.0.0-dev.19 [2023-03-13T13:37:45.240Z] v3.0.0-dev.2 [2023-03-13T13:37:45.240Z] v3.0.0-dev.20 [2023-03-13T13:37:45.240Z] v3.0.0-dev.21 [2023-03-13T13:37:45.240Z] v3.0.0-dev.22 [2023-03-13T13:37:45.240Z] v3.0.0-dev.23 [2023-03-13T13:37:45.240Z] v3.0.0-dev.24 [2023-03-13T13:37:45.240Z] v3.0.0-dev.25 [2023-03-13T13:37:45.240Z] v3.0.0-dev.26 [2023-03-13T13:37:45.240Z] v3.0.0-dev.27 [2023-03-13T13:37:45.240Z] v3.0.0-dev.28 [2023-03-13T13:37:45.240Z] v3.0.0-dev.29 [2023-03-13T13:37:45.240Z] v3.0.0-dev.3 [2023-03-13T13:37:45.240Z] v3.0.0-dev.30 [2023-03-13T13:37:45.240Z] v3.0.0-dev.31 [2023-03-13T13:37:45.240Z] v3.0.0-dev.32 [2023-03-13T13:37:45.240Z] v3.0.0-dev.33 [2023-03-13T13:37:45.240Z] v3.0.0-dev.34 [2023-03-13T13:37:45.240Z] v3.0.0-dev.35 [2023-03-13T13:37:45.240Z] v3.0.0-dev.36 [2023-03-13T13:37:45.240Z] v3.0.0-dev.37 [2023-03-13T13:37:45.240Z] v3.0.0-dev.38 [2023-03-13T13:37:45.240Z] v3.0.0-dev.39 [2023-03-13T13:37:45.240Z] v3.0.0-dev.4 [2023-03-13T13:37:45.240Z] v3.0.0-dev.40 [2023-03-13T13:37:45.240Z] v3.0.0-dev.41 [2023-03-13T13:37:45.240Z] v3.0.0-dev.42 [2023-03-13T13:37:45.240Z] v3.0.0-dev.43 [2023-03-13T13:37:45.240Z] v3.0.0-dev.44 [2023-03-13T13:37:45.240Z] v3.0.0-dev.45 [2023-03-13T13:37:45.240Z] v3.0.0-dev.46 [2023-03-13T13:37:45.240Z] v3.0.0-dev.47 [2023-03-13T13:37:45.240Z] v3.0.0-dev.48 [2023-03-13T13:37:45.240Z] v3.0.0-dev.49 [2023-03-13T13:37:45.240Z] v3.0.0-dev.5 [2023-03-13T13:37:45.240Z] v3.0.0-dev.50 [2023-03-13T13:37:45.240Z] v3.0.0-dev.51 [2023-03-13T13:37:45.240Z] v3.0.0-dev.6 [2023-03-13T13:37:45.240Z] v3.0.0-dev.7 [2023-03-13T13:37:45.240Z] v3.0.0-dev.8 [2023-03-13T13:37:45.240Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-13T13:37:45.534Z] + lftools sign git-tag v3.0.0-dev.51 [2023-03-13T13:37:46.103Z] Signing Git tag with Sigul... [2023-03-13T13:37:46.103Z] Signing v3.0.0-dev.51 [Pipeline] echo [2023-03-13T13:37:46.677Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:37:46.964Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-13T13:37:46.971Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-13T13:37:46.988Z] $ docker stop --time=1 0e593f66d4ba0bc2fe66127f4a86df6f8627af96fda3ba536a84b019dde0f0cf [2023-03-13T13:37:48.934Z] $ docker rm -f --volumes 0e593f66d4ba0bc2fe66127f4a86df6f8627af96fda3ba536a84b019dde0f0cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-13T13:37:49.364Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T13:37:49.364Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:37:49.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T13:37:49.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:37:49.727Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:37:49.757Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T13:37:50.517Z] $ docker top 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 -eo pid,comm [2023-03-13T13:37:50.561Z] 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). [2023-03-13T13:37:50.561Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T13:37:50.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T13:37:50.599Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T13:37:50.719Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T13:37:50.722Z] $ docker exec 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 ssh-agent [2023-03-13T13:37:50.821Z] SSH_AUTH_SOCK=/tmp/ssh-CMPNaT8u5i77/agent.32 [2023-03-13T13:37:50.821Z] SSH_AGENT_PID=38 [2023-03-13T13:37:50.826Z] Running ssh-add (command line suppressed) [2023-03-13T13:37:50.928Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2869878467499477220.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2869878467499477220.key) [2023-03-13T13:37:50.940Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T13:37:51.228Z] + git semver bump pre [2023-03-13T13:37:51.486Z] 2023-03-13 13:37:51,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-13T13:37:51.486Z] 2023-03-13 13:37:51,432 [bump_version] DEBUG bumping version:3.0.0-dev.51 on axis:pre with prefix:dev [2023-03-13T13:37:51.487Z] 2023-03-13 13:37:51,432 [bump_version] DEBUG bumped version:3.0.0-dev.52 [2023-03-13T13:37:51.487Z] 2023-03-13 13:37:51,432 [write_version] DEBUG write version:3.0.0-dev.52 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-03-13T13:37:51.487Z] 2023-03-13 13:37:51,432 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-13T13:37:51.487Z] 2023-03-13 13:37:51,432 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-13T13:37:51.487Z] 2023-03-13 13:37:51,435 [execute] INFO git cat-file --batch-check [2023-03-13T13:37:51.487Z] 2023-03-13 13:37:51,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T13:37:51.487Z] 2023-03-13 13:37:51,441 [execute] INFO git cat-file --batch [2023-03-13T13:37:51.487Z] 2023-03-13 13:37:51,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T13:37:51.487Z] 2023-03-13 13:37:51,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-13T13:37:51.487Z] 3.0.0-dev.52 [Pipeline] } [2023-03-13T13:37:51.496Z] $ docker exec --env ******** --env ******** 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 ssh-agent -k [2023-03-13T13:37:51.589Z] unset SSH_AUTH_SOCK; [2023-03-13T13:37:51.589Z] unset SSH_AGENT_PID; [2023-03-13T13:37:51.589Z] echo Agent pid 38 killed; [2023-03-13T13:37:51.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T13:37:51.894Z] + git semver [Pipeline] } [2023-03-13T13:37:52.168Z] $ docker stop --time=1 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 [2023-03-13T13:37:53.473Z] $ docker rm -f --volumes 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T13:37:53.809Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T13:37:53.809Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:37:54.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T13:37:54.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:37:54.178Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:37:54.204Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T13:37:54.567Z] $ docker top b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 -eo pid,comm [2023-03-13T13:37:54.616Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-13T13:37:54.616Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T13:37:54.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T13:37:54.660Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T13:37:54.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T13:37:54.777Z] $ docker exec b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 ssh-agent [2023-03-13T13:37:54.881Z] SSH_AUTH_SOCK=/tmp/ssh-pqfedBWFX97D/agent.33 [2023-03-13T13:37:54.881Z] SSH_AGENT_PID=39 [2023-03-13T13:37:54.886Z] Running ssh-add (command line suppressed) [2023-03-13T13:37:54.985Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4413482195672033694.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4413482195672033694.key) [2023-03-13T13:37:54.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T13:37:55.289Z] + git semver push [2023-03-13T13:37:55.549Z] 2023-03-13 13:37:55,456 [run_push] DEBUG push [2023-03-13T13:37:55.549Z] 2023-03-13 13:37:55,457 [execute] INFO git cat-file --batch-check [2023-03-13T13:37:55.549Z] 2023-03-13 13:37:55,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T13:37:55.549Z] 2023-03-13 13:37:55,459 [execute] INFO git rev-list 58f91cc6589b34c61270caa1248f0100e34aa422 -- [2023-03-13T13:37:55.549Z] 2023-03-13 13:37:55,459 [execute] DEBUG Popen(['git', 'rev-list', '58f91cc6589b34c61270caa1248f0100e34aa422', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-13T13:37:55.549Z] 2023-03-13 13:37:55,472 [execute] INFO git fetch -v origin [2023-03-13T13:37:55.549Z] 2023-03-13 13:37:55,472 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-13T13:37:56.117Z] 2023-03-13 13:37:55,929 [run_push] DEBUG no remote changes detected [2023-03-13T13:37:56.117Z] 2023-03-13 13:37:55,929 [execute] INFO git push origin semver [2023-03-13T13:37:56.117Z] 2023-03-13 13:37:55,930 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-13T13:37:57.051Z] 2023-03-13 13:37:56,754 [run_push] DEBUG push all version tags [2023-03-13T13:37:57.051Z] 2023-03-13 13:37:56,755 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-13T13:37:57.051Z] 2023-03-13 13:37:56,755 [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) [2023-03-13T13:37:57.619Z] 2023-03-13 13:37:57,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-03-13T13:37:57.619Z] 3.0.0-dev.52 [Pipeline] } [2023-03-13T13:37:57.888Z] $ docker exec --env ******** --env ******** b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 ssh-agent -k [2023-03-13T13:37:57.985Z] unset SSH_AUTH_SOCK; [2023-03-13T13:37:57.985Z] unset SSH_AGENT_PID; [2023-03-13T13:37:57.985Z] echo Agent pid 39 killed; [2023-03-13T13:37:57.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T13:37:58.303Z] + git semver [Pipeline] } [2023-03-13T13:37:58.575Z] $ docker stop --time=1 b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 [2023-03-13T13:38:00.340Z] $ docker rm -f --volumes b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 [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 [2023-03-13T13:38:00.899Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-03-13T13:38:00.899Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-03-13T13:38:00.899Z] total 16 [2023-03-13T13:38:00.899Z] drwxr-xr-x 3 root root 4096 Mar 13 13:27 . [2023-03-13T13:38:00.899Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 13:37 .. [2023-03-13T13:38:00.899Z] drwxr-xr-x 2 root root 4096 Mar 13 13:27 cost [2023-03-13T13:38:00.899Z] -rw-r--r-- 1 root root 85 Mar 13 13:27 cost.csv [2023-03-13T13:38:00.899Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-03-13T13:38:00.899Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-03-13T13:38:00.899Z] total 16 [2023-03-13T13:38:00.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 13:27 . [2023-03-13T13:38:00.899Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 13:37 .. [2023-03-13T13:38:00.899Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 13:27 cost [2023-03-13T13:38:00.899Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 13 13:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:38:01.186Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:38:02.040Z] ---> package-listing.sh [2023-03-13T13:38:02.040Z] ++ facter osfamily [2023-03-13T13:38:02.040Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T13:38:02.298Z] + OS_FAMILY=debian [2023-03-13T13:38:02.298Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-03-13T13:38:02.298Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T13:38:02.298Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T13:38:02.298Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T13:38:02.298Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T13:38:02.298Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-03-13T13:38:02.298Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T13:38:02.299Z] + case "${OS_FAMILY}" in [2023-03-13T13:38:02.299Z] + grep '^ii' [2023-03-13T13:38:02.299Z] + dpkg -l [2023-03-13T13:38:02.299Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T13:38:02.299Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T13:38:02.299Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T13:38:02.299Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-03-13T13:38:02.299Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-03-13T13:38:02.299Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-03-13T13:38:02.309Z] 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 [2023-03-13T13:38:02.586Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T13:38:03.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T13:38:03.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T13:38:03.205Z] prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container [2023-03-13T13:38:03.232Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T13:38:03.698Z] $ docker top 0803556f2429c97edca892aeff0df75f537a51b92cb94d0b051802eaf557c8c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T13:38:04.039Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T13:38:04.322Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T13:38:04.605Z] + ls /var/log/sa-host [2023-03-13T13:38:04.605Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T13:38:04.756Z] provisioning config files... [2023-03-13T13:38:04.764Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1807279350913658717tmp [Pipeline] { [Pipeline] echo [2023-03-13T13:38:04.778Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:38:05.062Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T13:38:05.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:38:05.389Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T13:38:05.399Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:38:05.760Z] ---> sudo-logs.sh [2023-03-13T13:38:05.760Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T13:38:05.814Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:38:06.161Z] ---> job-cost.sh [2023-03-13T13:38:06.161Z] lf-activate-venv: SKIPPING [2023-03-13T13:38:06.161Z] DEBUG: total: 0.2199999988079071 [2023-03-13T13:38:06.161Z] INFO: Retrieving Stack Cost... [2023-03-13T13:38:06.420Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T13:38:06.988Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T13:38:07.002Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T13:38:07.286Z] ---> logs-deploy.sh [2023-03-13T13:38:07.286Z] lf-activate-venv: SKIPPING [2023-03-13T13:38:07.286Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/181 [2023-03-13T13:38:07.286Z] INFO: archiving workspace using pattern(s): [2023-03-13T13:38:08.223Z] Archives upload complete. [2023-03-13T13:38:08.481Z] INFO: archiving logs to Nexus