Push event to branch levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 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-ssh8102125726153652729.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-ssh8959820799416342487.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/levski/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/levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14083961139674158726.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-ssh18316993086830512326.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/levski/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/levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16763451791759416868.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8558 in /w/workspace/dgexfoundry_device-sdk-go_levski [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/dgexfoundry_device-sdk-go_levski # 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 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 (levski) > 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 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 # timeout=10 Commit message: "fix: assign device service in dic before driver.Initialize (#1359)" > git rev-list --no-walk b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T15:05:31.521Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T15:05:31.564Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T15:05:31.579Z] ========================================================= [2023-03-07T15:05:31.579Z] EdgeX Global Pipelines Version Info [2023-03-07T15:05:31.579Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:05:32.286Z] ------------------- [2023-03-07T15:05:32.286Z] stable info: [2023-03-07T15:05:32.286Z] ------------------- [2023-03-07T15:05:32.286Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T15:05:32.286Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T15:05:32.286Z] Message: update stable to v1.0.244 [2023-03-07T15:05:32.856Z] ------------------- [2023-03-07T15:05:32.856Z] experimental info: [2023-03-07T15:05:32.856Z] ------------------- [2023-03-07T15:05:32.856Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T15:05:32.856Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T15:05:32.856Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T15:05:33.019Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T15:05:33.028Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T15:05:33.037Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T15:05:33.045Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T15:05:33.054Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T15:05:33.063Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T15:05:33.079Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T15:05:33.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T15:05:33.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T15:05:33.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T15:05:33.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T15:05:33.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T15:05:33.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T15:05:33.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T15:05:33.159Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T15:05:33.169Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T15:05:33.178Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T15:05:33.187Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T15:05:33.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T15:05:33.205Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T15:05:33.215Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T15:05:33.235Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-03-07T15:05:33.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T15:05:33.273Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T15:05:33.291Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T15:05:33.306Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T15:05:33.318Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T15:05:33.332Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo [2023-03-07T15:05:33.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo [2023-03-07T15:05:33.356Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo [2023-03-07T15:05:33.368Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-07T15:05:33.382Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d4ffc7 [Pipeline] echo [2023-03-07T15:05:33.393Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T15:05:33.433Z] provisioning config files... [2023-03-07T15:05:33.448Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config12324525805546114905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:05:33.750Z] ---> docker-login.sh [2023-03-07T15:05:33.750Z] nexus3.edgexfoundry.org:10001 [2023-03-07T15:05:34.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:34.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:34.010Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:34.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:34.010Z] [2023-03-07T15:05:34.010Z] Login Succeeded [2023-03-07T15:05:34.010Z] nexus3.edgexfoundry.org:10002 [2023-03-07T15:05:34.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:34.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:34.270Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:34.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:34.270Z] [2023-03-07T15:05:34.270Z] Login Succeeded [2023-03-07T15:05:34.270Z] nexus3.edgexfoundry.org:10003 [2023-03-07T15:05:34.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:34.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:34.270Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:34.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:34.270Z] [2023-03-07T15:05:34.270Z] Login Succeeded [2023-03-07T15:05:34.270Z] nexus3.edgexfoundry.org:10004 [2023-03-07T15:05:34.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:34.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:34.531Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:34.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:34.531Z] [2023-03-07T15:05:34.531Z] Login Succeeded [2023-03-07T15:05:34.531Z] docker.io [2023-03-07T15:05:34.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:34.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:34.791Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:34.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:34.791Z] [2023-03-07T15:05:34.791Z] Login Succeeded [2023-03-07T15:05:34.791Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T15:05:34.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T15:05:35.184Z] + git rev-list -1 --merges 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7~1..4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-07T15:05:35.234Z] -----------> git rev-list -1 --merges 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7~1..4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [false] [Pipeline] sh [2023-03-07T15:05:35.525Z] + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-07T15:05:35.542Z] ========================================================= [2023-03-07T15:05:35.542Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T15:05:35.542Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T15:05:35.862Z] + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-07T15:05:35.873Z] [semverPrep] GIT_COMMIT: 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7, Commit Message: fix: assign device service in dic before driver.Initialize (#1359) [Pipeline] echo [2023-03-07T15:05:35.883Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T15:05:36.246Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T15:05:36.246Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T15:05:36.246Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T15:05:36.246Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T15:05:36.246Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T15:05:36.246Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T15:05:36.246Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:05:36.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T15:05:36.682Z] [2023-03-07T15:05:36.682Z] 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-07T15:05:36.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T15:05:36.980Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T15:05:36.980Z] b85a868b505f: Pulling fs layer [2023-03-07T15:05:36.980Z] e2be974225ed: Pulling fs layer [2023-03-07T15:05:36.980Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T15:05:36.980Z] 988bab9f4d93: Pulling fs layer [2023-03-07T15:05:36.980Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T15:05:36.980Z] eaf3925da568: Pulling fs layer [2023-03-07T15:05:36.980Z] bab4dde63d76: Pulling fs layer [2023-03-07T15:05:36.980Z] bde34c3a00c8: Pulling fs layer [2023-03-07T15:05:36.980Z] b352a97aabf1: Pulling fs layer [2023-03-07T15:05:36.980Z] 4872d77fe225: Pulling fs layer [2023-03-07T15:05:36.980Z] 5851b861e8e6: Pulling fs layer [2023-03-07T15:05:36.980Z] eaf3925da568: Waiting [2023-03-07T15:05:36.980Z] bab4dde63d76: Waiting [2023-03-07T15:05:36.980Z] bde34c3a00c8: Waiting [2023-03-07T15:05:36.980Z] b352a97aabf1: Waiting [2023-03-07T15:05:36.980Z] 4872d77fe225: Waiting [2023-03-07T15:05:36.980Z] 5851b861e8e6: Waiting [2023-03-07T15:05:36.980Z] 988bab9f4d93: Waiting [2023-03-07T15:05:36.980Z] e2be974225ed: Download complete [2023-03-07T15:05:36.980Z] 988bab9f4d93: Verifying Checksum [2023-03-07T15:05:36.980Z] 988bab9f4d93: Download complete [2023-03-07T15:05:37.246Z] 1469e6f7b9e6: Download complete [2023-03-07T15:05:37.246Z] eaf3925da568: Verifying Checksum [2023-03-07T15:05:37.246Z] eaf3925da568: Download complete [2023-03-07T15:05:37.246Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T15:05:37.246Z] 339a4e72a1f5: Download complete [2023-03-07T15:05:37.246Z] bde34c3a00c8: Verifying Checksum [2023-03-07T15:05:37.246Z] bde34c3a00c8: Download complete [2023-03-07T15:05:37.246Z] b352a97aabf1: Download complete [2023-03-07T15:05:37.246Z] 4872d77fe225: Download complete [2023-03-07T15:05:37.506Z] 5851b861e8e6: Download complete [2023-03-07T15:05:37.506Z] b85a868b505f: Verifying Checksum [2023-03-07T15:05:37.506Z] b85a868b505f: Download complete [2023-03-07T15:05:37.765Z] bab4dde63d76: Verifying Checksum [2023-03-07T15:05:37.765Z] bab4dde63d76: Download complete [2023-03-07T15:05:38.713Z] b85a868b505f: Pull complete [2023-03-07T15:05:38.713Z] e2be974225ed: Pull complete [2023-03-07T15:05:39.283Z] 339a4e72a1f5: Pull complete [2023-03-07T15:05:39.542Z] 988bab9f4d93: Pull complete [2023-03-07T15:05:39.800Z] 1469e6f7b9e6: Pull complete [2023-03-07T15:05:39.800Z] eaf3925da568: Pull complete [2023-03-07T15:05:41.701Z] bab4dde63d76: Pull complete [2023-03-07T15:05:41.701Z] bde34c3a00c8: Pull complete [2023-03-07T15:05:41.701Z] b352a97aabf1: Pull complete [2023-03-07T15:05:41.961Z] 4872d77fe225: Pull complete [2023-03-07T15:05:41.961Z] 5851b861e8e6: Pull complete [2023-03-07T15:05:41.961Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T15:05:41.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T15:05:41.961Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:05:42.048Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:05:42.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T15:05:44.589Z] $ docker top e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd -eo pid,comm [2023-03-07T15:05:44.655Z] 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-07T15:05:44.655Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T15:05:44.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T15:05:44.687Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T15:05:44.804Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T15:05:44.802Z] $ docker exec e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd ssh-agent [2023-03-07T15:05:44.920Z] SSH_AUTH_SOCK=/tmp/ssh-m93IzN6RZekx/agent.33 [2023-03-07T15:05:44.920Z] SSH_AGENT_PID=39 [2023-03-07T15:05:44.927Z] Running ssh-add (command line suppressed) [2023-03-07T15:05:45.028Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_8118309737356394894.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_8118309737356394894.key) [2023-03-07T15:05:45.047Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T15:05:45.334Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T15:05:45.340Z] $ docker exec --env ******** --env ******** e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd ssh-agent -k [2023-03-07T15:05:45.438Z] unset SSH_AUTH_SOCK; [2023-03-07T15:05:45.439Z] unset SSH_AGENT_PID; [2023-03-07T15:05:45.439Z] echo Agent pid 39 killed; [2023-03-07T15:05:45.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T15:05:45.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T15:05:45.469Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T15:05:45.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T15:05:45.575Z] $ docker exec e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd ssh-agent [2023-03-07T15:05:45.684Z] SSH_AUTH_SOCK=/tmp/ssh-8IaimVgUgbKw/agent.71 [2023-03-07T15:05:45.684Z] SSH_AGENT_PID=77 [2023-03-07T15:05:45.688Z] Running ssh-add (command line suppressed) [2023-03-07T15:05:45.788Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_14827741442715253700.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_14827741442715253700.key) [2023-03-07T15:05:45.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T15:05:46.092Z] + git semver init [2023-03-07T15:05:46.351Z] 2023-03-07 15:05:46,282 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T15:05:46.351Z] 2023-03-07 15:05:46,283 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver [2023-03-07T15:05:46.351Z] 2023-03-07 15:05:46,284 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/dgexfoundry_device-sdk-go_levski/.semver [2023-03-07T15:05:46.351Z] 2023-03-07 15:05:46,284 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/dgexfoundry_device-sdk-go_levski/.semver'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) [2023-03-07T15:05:47.289Z] 2023-03-07 15:05:47,171 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.git/info/exclude [2023-03-07T15:05:47.289Z] 2023-03-07 15:05:47,172 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:False [2023-03-07T15:05:47.289Z] 2023-03-07 15:05:47,172 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-07T15:05:47.289Z] 2023-03-07 15:05:47,176 [execute] INFO git cat-file --batch-check [2023-03-07T15:05:47.289Z] 2023-03-07 15:05:47,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T15:05:47.289Z] 2023-03-07 15:05:47,181 [execute] INFO git cat-file --batch [2023-03-07T15:05:47.289Z] 2023-03-07 15:05:47,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T15:05:47.289Z] 2023-03-07 15:05:47,187 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-07T15:05:47.289Z] 0.0.0 [Pipeline] } [2023-03-07T15:05:47.293Z] $ docker exec --env ******** --env ******** e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd ssh-agent -k [2023-03-07T15:05:47.386Z] unset SSH_AUTH_SOCK; [2023-03-07T15:05:47.387Z] unset SSH_AGENT_PID; [2023-03-07T15:05:47.387Z] echo Agent pid 77 killed; [2023-03-07T15:05:47.402Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T15:05:47.694Z] + git semver [Pipeline] } [2023-03-07T15:05:47.961Z] $ docker stop --time=1 e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd [2023-03-07T15:05:49.238Z] $ docker rm -f --volumes e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T15:05:49.572Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T15:05:49.770Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T15:05:49.773Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T15:05:49.875Z] provisioning config files... [2023-03-07T15:05:49.883Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config10020168558488913668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:05:50.178Z] ---> docker-login.sh [2023-03-07T15:05:50.178Z] nexus3.edgexfoundry.org:10001 [2023-03-07T15:05:50.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:50.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:50.178Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:50.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:50.178Z] [2023-03-07T15:05:50.178Z] Login Succeeded [2023-03-07T15:05:50.178Z] nexus3.edgexfoundry.org:10002 [2023-03-07T15:05:50.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:50.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:50.178Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:50.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:50.178Z] [2023-03-07T15:05:50.178Z] Login Succeeded [2023-03-07T15:05:50.178Z] nexus3.edgexfoundry.org:10003 [2023-03-07T15:05:50.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:50.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:50.436Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:50.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:50.436Z] [2023-03-07T15:05:50.436Z] Login Succeeded [2023-03-07T15:05:50.436Z] nexus3.edgexfoundry.org:10004 [2023-03-07T15:05:50.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:50.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:50.436Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:50.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:50.437Z] [2023-03-07T15:05:50.437Z] Login Succeeded [2023-03-07T15:05:50.437Z] docker.io [2023-03-07T15:05:50.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:05:50.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:05:50.695Z] Configure a credential helper to remove this warning. See [2023-03-07T15:05:50.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:05:50.695Z] [2023-03-07T15:05:50.695Z] Login Succeeded [2023-03-07T15:05:50.695Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T15:05:50.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T15:05:50.756Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T15:05:50.767Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T15:05:50.774Z] ========================================================= [2023-03-07T15:05:50.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T15:05:50.774Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:05:51.084Z] + 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-07T15:05:51.084Z] Sending build context to Docker daemon 10.66MB [2023-03-07T15:05:51.084Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T15:05:51.084Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T15:05:51.084Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T15:05:51.084Z] 213ec9aee27d: Pulling fs layer [2023-03-07T15:05:51.084Z] 4583459ba037: Pulling fs layer [2023-03-07T15:05:51.084Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T15:05:51.084Z] 53926ce57604: Pulling fs layer [2023-03-07T15:05:51.084Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T15:05:51.084Z] 22ff95d597cd: Pulling fs layer [2023-03-07T15:05:51.084Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T15:05:51.084Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T15:05:51.084Z] a7acece74701: Pulling fs layer [2023-03-07T15:05:51.084Z] 53926ce57604: Waiting [2023-03-07T15:05:51.084Z] 21b2b0c7a3f4: Waiting [2023-03-07T15:05:51.084Z] 22ff95d597cd: Waiting [2023-03-07T15:05:51.084Z] 12d6caf4c0d1: Waiting [2023-03-07T15:05:51.084Z] 96b7cbca73a9: Waiting [2023-03-07T15:05:51.084Z] a7acece74701: Waiting [2023-03-07T15:05:51.084Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T15:05:51.084Z] 93c1e223e6f2: Download complete [2023-03-07T15:05:51.084Z] 4583459ba037: Download complete [2023-03-07T15:05:51.346Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T15:05:51.346Z] 21b2b0c7a3f4: Download complete [2023-03-07T15:05:51.346Z] 22ff95d597cd: Verifying Checksum [2023-03-07T15:05:51.346Z] 213ec9aee27d: Verifying Checksum [2023-03-07T15:05:51.346Z] 213ec9aee27d: Download complete [2023-03-07T15:05:51.346Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T15:05:51.346Z] 12d6caf4c0d1: Download complete [2023-03-07T15:05:51.609Z] 213ec9aee27d: Pull complete [2023-03-07T15:05:51.609Z] 4583459ba037: Pull complete [2023-03-07T15:05:51.609Z] 93c1e223e6f2: Pull complete [2023-03-07T15:05:52.212Z] a7acece74701: Verifying Checksum [2023-03-07T15:05:52.212Z] a7acece74701: Download complete [2023-03-07T15:05:52.212Z] 96b7cbca73a9: Download complete [2023-03-07T15:05:52.212Z] 53926ce57604: Verifying Checksum [2023-03-07T15:05:52.212Z] 53926ce57604: Download complete [2023-03-07T15:05:56.405Z] 53926ce57604: Pull complete [2023-03-07T15:05:56.664Z] 21b2b0c7a3f4: Pull complete [2023-03-07T15:05:56.923Z] 22ff95d597cd: Pull complete [2023-03-07T15:05:56.923Z] 12d6caf4c0d1: Pull complete [2023-03-07T15:05:59.459Z] 96b7cbca73a9: Pull complete [2023-03-07T15:06:00.039Z] a7acece74701: Pull complete [2023-03-07T15:06:00.039Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T15:06:00.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T15:06:00.039Z] ---> db6d94c90886 [2023-03-07T15:06:00.039Z] Step 3/10 : ARG MAKE=make build [2023-03-07T15:06:04.846Z] Still waiting to schedule task [2023-03-07T15:06:04.846Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-07T15:06:06.670Z] ---> Running in 9a23e86958e0 [2023-03-07T15:06:06.670Z] Removing intermediate container 9a23e86958e0 [2023-03-07T15:06:06.670Z] ---> 46494942654b [2023-03-07T15:06:06.670Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T15:06:06.670Z] ---> Running in 3507c7406ce4 [2023-03-07T15:06:06.670Z] Removing intermediate container 3507c7406ce4 [2023-03-07T15:06:06.670Z] ---> 045287566058 [2023-03-07T15:06:06.670Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T15:06:06.670Z] ---> Running in cec51ae44f64 [2023-03-07T15:06:06.670Z] Removing intermediate container cec51ae44f64 [2023-03-07T15:06:06.670Z] ---> a7ba59b79d68 [2023-03-07T15:06:06.670Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-07T15:06:06.670Z] ---> Running in cb60f3cefc12 [2023-03-07T15:06:06.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T15:06:06.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T15:06:06.930Z] OK: 211 MiB in 51 packages [2023-03-07T15:06:07.190Z] Removing intermediate container cb60f3cefc12 [2023-03-07T15:06:07.190Z] ---> 8e04433ae127 [2023-03-07T15:06:07.190Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T15:06:07.449Z] ---> d8a895b7a629 [2023-03-07T15:06:07.449Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T15:06:07.449Z] ---> Running in 5e791fc40a0b [2023-03-07T15:06:39.573Z] Removing intermediate container 5e791fc40a0b [2023-03-07T15:06:39.573Z] ---> 899cb60b293a [2023-03-07T15:06:39.573Z] Step 9/10 : COPY . . [2023-03-07T15:06:39.573Z] ---> 6a7d54cd061d [2023-03-07T15:06:39.573Z] Step 10/10 : RUN ${MAKE} [2023-03-07T15:06:39.573Z] ---> Running in a5d62c8620e2 [2023-03-07T15:06:39.573Z] noop [2023-03-07T15:06:39.832Z] Removing intermediate container a5d62c8620e2 [2023-03-07T15:06:39.832Z] ---> 6c50f077e54d [2023-03-07T15:06:39.832Z] Successfully built 6c50f077e54d [2023-03-07T15:06:39.832Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:06:40.147Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T15:06:40.147Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:06:40.219Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:06:40.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@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 ******** ci-base-image-x86_64 cat [2023-03-07T15:06:40.833Z] $ docker top 5551cb12bc4ed4070b67278c621ec7121290b59560814710b04c573228b83a99 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T15:06:41.171Z] + go version [2023-03-07T15:06:41.171Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T15:06:41.190Z] $ docker stop --time=1 5551cb12bc4ed4070b67278c621ec7121290b59560814710b04c573228b83a99 [2023-03-07T15:06:42.704Z] $ docker rm -f --volumes 5551cb12bc4ed4070b67278c621ec7121290b59560814710b04c573228b83a99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:06:43.107Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T15:06:43.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:06:43.178Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:06:43.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@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 ******** ci-base-image-x86_64 cat [2023-03-07T15:06:43.695Z] $ docker top 07c92ee33b00c32907ef65ede00cb5b23505029a566b2608a7f3acd3883edde2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T15:06:44.032Z] + git config --global --add safe.directory /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] fileExists [Pipeline] sh [2023-03-07T15:06:44.328Z] + make test [2023-03-07T15:06:44.328Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-07T15:06:50.892Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-07T15:07:05.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-07T15:07:05.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-07T15:07:05.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-07T15:07:05.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-07T15:07:05.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-07T15:07:05.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 27.6% of statements [2023-03-07T15:07:05.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements [2023-03-07T15:07:05.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-07T15:07:05.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 73.1% of statements [2023-03-07T15:07:05.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-07T15:07:05.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-07T15:07:06.036Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.119s coverage: 54.4% of statements [2023-03-07T15:07:06.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-07T15:07:06.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-07T15:07:06.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-07T15:07:06.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-07T15:07:06.036Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements [2023-03-07T15:07:06.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-07T15:07:06.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-07T15:07:06.036Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.835s coverage: 89.2% of statements [2023-03-07T15:07:06.036Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-07T15:07:06.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.074s coverage: 4.7% of statements [2023-03-07T15:07:06.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-07T15:07:24.380Z] 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-07T15:07:24.380Z] GO111MODULE=on go vet ./... [2023-03-07T15:07:26.910Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T15:07:26.910Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T15:07:26.910Z] ./bin/test-attribution-txt.sh [2023-03-07T15:07:26.910Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-07T15:07:26.910Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-07T15:07:26.910Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-07T15:07:26.910Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-07T15:07:26.923Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T15:07:26.945Z] $ docker stop --time=1 07c92ee33b00c32907ef65ede00cb5b23505029a566b2608a7f3acd3883edde2 [2023-03-07T15:07:33.239Z] $ docker rm -f --volumes 07c92ee33b00c32907ef65ede00cb5b23505029a566b2608a7f3acd3883edde2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T15:07:33.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T15:07:33.857Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T15:07:34.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T15:07:34.725Z] + ls -al . [2023-03-07T15:07:34.725Z] total 280 [2023-03-07T15:07:34.725Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 15:06 . [2023-03-07T15:07:34.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 15:05 .. [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 15:05 .dockerignore [2023-03-07T15:07:34.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 15:07 .git [2023-03-07T15:07:34.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 15:05 .github [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 15:05 .gitignore [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 15:05 .golangci.yml [2023-03-07T15:07:34.725Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 15:05 .semver [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 15:05 CHANGELOG.md [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 15:05 GOVERNANCE.md [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 7 15:05 Jenkinsfile [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 15:05 LICENSE [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 7 15:05 Makefile [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 15:05 OWNERS.md [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 7 15:05 README.md [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 15:05 VERSION [2023-03-07T15:07:34.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 15:05 bin [2023-03-07T15:07:34.725Z] -rw-r--r-- 1 jenkins jenkins 101840 Mar 7 15:07 coverage.out [2023-03-07T15:07:34.725Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 15:05 example [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 7 15:05 go.mod [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 7 15:05 go.sum [2023-03-07T15:07:34.725Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 7 15:05 internal [2023-03-07T15:07:34.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 15:05 openapi [2023-03-07T15:07:34.725Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 15:05 pkg [2023-03-07T15:07:34.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 15:05 snap [2023-03-07T15:07:34.725Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 15:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:07:35.038Z] + 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=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 --label arch=amd64 --label version=0.0.0 . [2023-03-07T15:07:35.038Z] Sending build context to Docker daemon 10.76MB [2023-03-07T15:07:35.038Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T15:07:35.038Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T15:07:35.038Z] ---> 6c50f077e54d [2023-03-07T15:07:35.038Z] Step 3/23 : ARG MAKE=make build [2023-03-07T15:07:35.298Z] ---> Running in 4ffa9bedddf3 [2023-03-07T15:07:35.298Z] Removing intermediate container 4ffa9bedddf3 [2023-03-07T15:07:35.298Z] ---> c65947f1ab18 [2023-03-07T15:07:35.298Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T15:07:35.298Z] ---> Running in 02e12bedeee0 [2023-03-07T15:07:35.567Z] Removing intermediate container 02e12bedeee0 [2023-03-07T15:07:35.567Z] ---> 24aea9b5d614 [2023-03-07T15:07:35.567Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T15:07:35.567Z] ---> Running in 0f5b2cfc5967 [2023-03-07T15:07:35.567Z] Removing intermediate container 0f5b2cfc5967 [2023-03-07T15:07:35.567Z] ---> 8a5261cad1b2 [2023-03-07T15:07:35.567Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-07T15:07:35.567Z] ---> Running in 0a53bcdfe010 [2023-03-07T15:07:35.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T15:07:35.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T15:07:36.085Z] OK: 211 MiB in 51 packages [2023-03-07T15:07:36.345Z] Removing intermediate container 0a53bcdfe010 [2023-03-07T15:07:36.345Z] ---> fa03f43a64c4 [2023-03-07T15:07:36.345Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T15:07:36.604Z] ---> 2c0dfd7738a6 [2023-03-07T15:07:36.604Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T15:07:36.604Z] ---> Running in 581552c7eb5a [2023-03-07T15:07:37.174Z] Removing intermediate container 581552c7eb5a [2023-03-07T15:07:37.174Z] ---> 2ec43a817fab [2023-03-07T15:07:37.174Z] Step 9/23 : COPY . . [2023-03-07T15:07:37.768Z] ---> 32876cbc92ea [2023-03-07T15:07:37.768Z] Step 10/23 : RUN ${MAKE} [2023-03-07T15:07:37.768Z] ---> Running in 5b13106b6b94 [2023-03-07T15:07:38.032Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8559 in /w/workspace/dgexfoundry_device-sdk-go_levski [2023-03-07T15:07:38.033Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] { [Pipeline] ws [2023-03-07T15:07:38.046Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-07T15:07:38.083Z] The recommended git tool is: git [2023-03-07T15:07:43.123Z] using credential edgex-jenkins-ssh [2023-03-07T15:07:43.145Z] Cloning the remote Git repository [2023-03-07T15:07:43.179Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T15:07:43.250Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-07T15:07:43.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T15:07:43.393Z] > git --version # timeout=10 [2023-03-07T15:07:43.416Z] > git --version # 'git version 2.25.1' [2023-03-07T15:07:43.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T15:07:43.483Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T15:07:45.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T15:07:45.095Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T15:07:45.898Z] Avoid second fetch [2023-03-07T15:07:45.898Z] Checking out Revision 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 (levski) [2023-03-07T15:07:46.427Z] Commit message: "fix: assign device service in dic before driver.Initialize (#1359)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T15:07:45.906Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T15:07:45.922Z] > git checkout -f 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 # timeout=10 [2023-03-07T15:07:47.330Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T15:07:47.330Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T15:07:47.330Z] Dload Upload Total Spent Left Speed [2023-03-07T15:07:47.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-03-07T15:07:48.017Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T15:07:48.355Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T15:07:48.355Z] + sudo tee /etc/docker/daemon.new [2023-03-07T15:07:48.355Z] { [2023-03-07T15:07:48.355Z] "registry-mirrors": [ [2023-03-07T15:07:48.355Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T15:07:48.355Z] ], [2023-03-07T15:07:48.355Z] "bip": "10.250.0.254/24", [2023-03-07T15:07:48.355Z] "hosts": [ [2023-03-07T15:07:48.355Z] "tcp://0.0.0.0:5555", [2023-03-07T15:07:48.355Z] "unix:///var/run/docker.sock" [2023-03-07T15:07:48.355Z] ], [2023-03-07T15:07:48.355Z] "mtu": 1458, [2023-03-07T15:07:48.355Z] "selinux-enabled": true, [2023-03-07T15:07:48.355Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T15:07:48.355Z] } [Pipeline] sh [2023-03-07T15:07:48.691Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T15:07:49.044Z] + sudo service docker restart [2023-03-07T15:07:56.235Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-03-07T15:08:02.921Z] Removing intermediate container 5b13106b6b94 [2023-03-07T15:08:02.921Z] ---> af0524f13bb3 [2023-03-07T15:08:02.921Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T15:08:03.184Z] 3.16: Pulling from library/alpine [2023-03-07T15:08:03.184Z] ef5531b6e74e: Pulling fs layer [2023-03-07T15:08:03.443Z] ef5531b6e74e: Verifying Checksum [2023-03-07T15:08:03.443Z] ef5531b6e74e: Download complete [2023-03-07T15:08:03.702Z] ef5531b6e74e: Pull complete [2023-03-07T15:08:03.702Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T15:08:03.702Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T15:08:03.702Z] ---> dfd21b5a31f5 [2023-03-07T15:08:03.702Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T15:08:03.960Z] ---> Running in f2d4cac7a0df [2023-03-07T15:08:03.960Z] Removing intermediate container f2d4cac7a0df [2023-03-07T15:08:03.960Z] ---> 38585c690ff9 [2023-03-07T15:08:03.960Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-07T15:08:03.960Z] ---> Running in 3f91663638bf [2023-03-07T15:08:04.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T15:08:04.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T15:08:04.478Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-07T15:08:04.478Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-07T15:08:04.478Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-07T15:08:04.478Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-07T15:08:04.738Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-07T15:08:04.738Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T15:08:04.738Z] OK: 8 MiB in 19 packages [2023-03-07T15:08:05.306Z] Removing intermediate container 3f91663638bf [2023-03-07T15:08:05.306Z] ---> b4f80f05d500 [2023-03-07T15:08:05.306Z] Step 14/23 : WORKDIR / [2023-03-07T15:08:05.306Z] ---> Running in b7b25b1acd09 [2023-03-07T15:08:05.306Z] Removing intermediate container b7b25b1acd09 [2023-03-07T15:08:05.306Z] ---> dd92498abb37 [2023-03-07T15:08:05.306Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T15:08:05.306Z] ---> 9c4d4c601f01 [2023-03-07T15:08:05.306Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T15:08:06.243Z] ---> 191b7ff6a70a [2023-03-07T15:08:06.243Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T15:08:06.513Z] ---> cc1752a8b15e [2023-03-07T15:08:06.513Z] Step 18/23 : EXPOSE 59999 [2023-03-07T15:08:06.816Z] ---> Running in 96f657c42f4b [2023-03-07T15:08:06.816Z] Removing intermediate container 96f657c42f4b [2023-03-07T15:08:06.816Z] ---> 07e0e112e702 [2023-03-07T15:08:06.816Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T15:08:06.816Z] ---> Running in 871c33ca9bc6 [2023-03-07T15:08:06.816Z] Removing intermediate container 871c33ca9bc6 [2023-03-07T15:08:06.816Z] ---> 9f02f2b39204 [2023-03-07T15:08:06.816Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-07T15:08:06.816Z] ---> Running in fe2145ae993f [2023-03-07T15:08:06.816Z] Removing intermediate container fe2145ae993f [2023-03-07T15:08:06.816Z] ---> 52f46db86151 [2023-03-07T15:08:06.816Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T15:08:07.091Z] ---> Running in 6c1e500dc5d5 [2023-03-07T15:08:07.091Z] Removing intermediate container 6c1e500dc5d5 [2023-03-07T15:08:07.091Z] ---> 9497be224c6e [2023-03-07T15:08:07.091Z] Step 22/23 : LABEL git_sha=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [2023-03-07T15:08:07.091Z] ---> Running in b46501dc8021 [2023-03-07T15:08:07.091Z] Removing intermediate container b46501dc8021 [2023-03-07T15:08:07.091Z] ---> 23e2b3f09e7c [2023-03-07T15:08:07.091Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T15:08:07.091Z] ---> Running in 9e8749fe6724 [2023-03-07T15:08:07.091Z] Removing intermediate container 9e8749fe6724 [2023-03-07T15:08:07.091Z] ---> e6a6a8813d95 [2023-03-07T15:08:07.091Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T15:08:07.091Z] Successfully built e6a6a8813d95 [2023-03-07T15:08:07.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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T15:08:07.311Z] provisioning config files... [2023-03-07T15:08:07.336Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8604858209284021738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:08:07.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T15:08:07.559Z] [2023-03-07T15:08:07.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:08:07.687Z] ---> docker-login.sh [2023-03-07T15:08:07.687Z] nexus3.edgexfoundry.org:10001 [2023-03-07T15:08:07.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T15:08:07.903Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T15:08:07.903Z] 5eb5b503b376: Pulling fs layer [2023-03-07T15:08:07.903Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T15:08:07.903Z] ec43610c2a17: Pulling fs layer [2023-03-07T15:08:07.903Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T15:08:07.903Z] 33b1e0a273af: Pulling fs layer [2023-03-07T15:08:07.903Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T15:08:07.903Z] 2f39f015ded8: Pulling fs layer [2023-03-07T15:08:07.903Z] 33b1e0a273af: Waiting [2023-03-07T15:08:07.903Z] 5d3b04190fa2: Waiting [2023-03-07T15:08:07.903Z] 2f39f015ded8: Waiting [2023-03-07T15:08:07.903Z] 3a2ae6a8a46f: Waiting [2023-03-07T15:08:07.903Z] 5c69ac0246d0: Download complete [2023-03-07T15:08:07.903Z] 3a2ae6a8a46f: Download complete [2023-03-07T15:08:08.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:08:08.167Z] 33b1e0a273af: Verifying Checksum [2023-03-07T15:08:08.167Z] 33b1e0a273af: Download complete [2023-03-07T15:08:08.167Z] 5d3b04190fa2: Download complete [2023-03-07T15:08:08.167Z] ec43610c2a17: Verifying Checksum [2023-03-07T15:08:08.167Z] ec43610c2a17: Download complete [2023-03-07T15:08:08.167Z] 5eb5b503b376: Verifying Checksum [2023-03-07T15:08:08.167Z] 5eb5b503b376: Download complete [2023-03-07T15:08:08.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:08:08.271Z] Configure a credential helper to remove this warning. See [2023-03-07T15:08:08.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:08:08.271Z] [2023-03-07T15:08:08.271Z] Login Succeeded [2023-03-07T15:08:08.271Z] nexus3.edgexfoundry.org:10002 [2023-03-07T15:08:08.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:08:08.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:08:08.540Z] Configure a credential helper to remove this warning. See [2023-03-07T15:08:08.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:08:08.540Z] [2023-03-07T15:08:08.540Z] Login Succeeded [2023-03-07T15:08:08.540Z] nexus3.edgexfoundry.org:10003 [2023-03-07T15:08:08.732Z] 2f39f015ded8: Verifying Checksum [2023-03-07T15:08:08.733Z] 2f39f015ded8: Download complete [2023-03-07T15:08:08.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:08:09.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:08:09.087Z] Configure a credential helper to remove this warning. See [2023-03-07T15:08:09.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:08:09.087Z] [2023-03-07T15:08:09.087Z] Login Succeeded [2023-03-07T15:08:09.087Z] nexus3.edgexfoundry.org:10004 [2023-03-07T15:08:09.301Z] 5eb5b503b376: Pull complete [2023-03-07T15:08:09.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:08:09.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:08:09.358Z] Configure a credential helper to remove this warning. See [2023-03-07T15:08:09.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:08:09.358Z] [2023-03-07T15:08:09.358Z] Login Succeeded [2023-03-07T15:08:09.358Z] docker.io [2023-03-07T15:08:09.560Z] 5c69ac0246d0: Pull complete [2023-03-07T15:08:09.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T15:08:09.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T15:08:09.895Z] Configure a credential helper to remove this warning. See [2023-03-07T15:08:09.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T15:08:09.895Z] [2023-03-07T15:08:09.895Z] Login Succeeded [2023-03-07T15:08:09.895Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T15:08:09.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-03-07T15:08:10.127Z] ec43610c2a17: Pull complete [2023-03-07T15:08:10.127Z] 3a2ae6a8a46f: Pull complete [Pipeline] echo [2023-03-07T15:08:10.188Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T15:08:10.204Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T15:08:10.214Z] ========================================================= [2023-03-07T15:08:10.214Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T15:08:10.214Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:08:10.385Z] 33b1e0a273af: Pull complete [2023-03-07T15:08:10.385Z] 5d3b04190fa2: Pull complete [2023-03-07T15:08:10.548Z] + 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-07T15:08:10.820Z] Sending build context to Docker daemon 5.737MB [2023-03-07T15:08:11.103Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T15:08:11.103Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T15:08:11.700Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T15:08:11.700Z] 9b18e9b68314: Pulling fs layer [2023-03-07T15:08:11.700Z] 35d82f9e3411: Pulling fs layer [2023-03-07T15:08:11.700Z] e16973657156: Pulling fs layer [2023-03-07T15:08:11.700Z] fc693d55d65f: Pulling fs layer [2023-03-07T15:08:11.700Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T15:08:11.700Z] dda99020689f: Pulling fs layer [2023-03-07T15:08:11.700Z] db1c61fa0a46: Pulling fs layer [2023-03-07T15:08:11.700Z] 891c053d2c06: Pulling fs layer [2023-03-07T15:08:11.700Z] fc693d55d65f: Waiting [2023-03-07T15:08:11.700Z] db1c61fa0a46: Waiting [2023-03-07T15:08:11.700Z] 7e9fc2657dce: Waiting [2023-03-07T15:08:11.700Z] dda99020689f: Waiting [2023-03-07T15:08:11.700Z] 891c053d2c06: Waiting [2023-03-07T15:08:11.700Z] e16973657156: Download complete [2023-03-07T15:08:11.700Z] 35d82f9e3411: Verifying Checksum [2023-03-07T15:08:11.700Z] 35d82f9e3411: Download complete [2023-03-07T15:08:11.700Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T15:08:11.700Z] 7e9fc2657dce: Download complete [2023-03-07T15:08:11.700Z] 9b18e9b68314: Verifying Checksum [2023-03-07T15:08:11.700Z] dda99020689f: Verifying Checksum [2023-03-07T15:08:11.700Z] dda99020689f: Download complete [2023-03-07T15:08:13.150Z] 9b18e9b68314: Pull complete [2023-03-07T15:08:13.150Z] 891c053d2c06: Verifying Checksum [2023-03-07T15:08:13.150Z] 891c053d2c06: Download complete [2023-03-07T15:08:13.424Z] 35d82f9e3411: Pull complete [2023-03-07T15:08:13.694Z] e16973657156: Pull complete [2023-03-07T15:08:14.282Z] db1c61fa0a46: Download complete [2023-03-07T15:08:14.568Z] 2f39f015ded8: Pull complete [2023-03-07T15:08:14.569Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T15:08:14.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T15:08:14.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:08:14.646Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:08:14.683Z] $ 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/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@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-07T15:08:14.869Z] fc693d55d65f: Verifying Checksum [2023-03-07T15:08:14.869Z] fc693d55d65f: Download complete [2023-03-07T15:08:21.059Z] $ docker top ce8e054a7b0fa6288468054de4840be92d493e1d7bac9161085785b41dbd50b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:08:21.454Z] ---> job-cost.sh [2023-03-07T15:08:21.454Z] lf-activate-venv: SKIPPING [2023-03-07T15:08:21.454Z] INFO: No Stack... [2023-03-07T15:08:21.713Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T15:08:21.972Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T15:08:22.259Z] + cat /w/workspace/dgexfoundry_device-sdk-go_levski/archives/cost.csv [2023-03-07T15:08:22.259Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T15:08:22.275Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [2023-03-07T15:08:22.282Z] Resource [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] did not exist. Created. [2023-03-07T15:08:22.282Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T15:08:22.581Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T15:08:22.608Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T15:08:22.613Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T15:08:22.637Z] $ docker stop --time=1 ce8e054a7b0fa6288468054de4840be92d493e1d7bac9161085785b41dbd50b3 [2023-03-07T15:08:23.781Z] $ docker rm -f --volumes ce8e054a7b0fa6288468054de4840be92d493e1d7bac9161085785b41dbd50b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T15:08:27.213Z] fc693d55d65f: Pull complete [2023-03-07T15:08:27.213Z] 7e9fc2657dce: Pull complete [2023-03-07T15:08:27.213Z] dda99020689f: Pull complete [2023-03-07T15:08:33.878Z] db1c61fa0a46: Pull complete [2023-03-07T15:08:37.254Z] 891c053d2c06: Pull complete [2023-03-07T15:08:37.254Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T15:08:37.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T15:08:37.254Z] ---> f96f9c87975a [2023-03-07T15:08:37.254Z] Step 3/10 : ARG MAKE=make build [2023-03-07T15:08:38.692Z] ---> Running in faee3a319155 [2023-03-07T15:08:38.975Z] Removing intermediate container faee3a319155 [2023-03-07T15:08:38.975Z] ---> 9a5ceb9dfb9e [2023-03-07T15:08:38.975Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T15:08:38.975Z] ---> Running in a4f1b2469542 [2023-03-07T15:08:39.252Z] Removing intermediate container a4f1b2469542 [2023-03-07T15:08:39.253Z] ---> bd36625831e7 [2023-03-07T15:08:39.253Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T15:08:39.543Z] ---> Running in 91c55e020568 [2023-03-07T15:08:39.820Z] Removing intermediate container 91c55e020568 [2023-03-07T15:08:39.820Z] ---> 32e34d84180c [2023-03-07T15:08:39.820Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-07T15:08:39.820Z] ---> Running in 2b3b1318d64c [2023-03-07T15:08:41.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T15:08:41.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T15:08:42.209Z] OK: 221 MiB in 51 packages [2023-03-07T15:08:43.175Z] Removing intermediate container 2b3b1318d64c [2023-03-07T15:08:43.175Z] ---> 195eb1641249 [2023-03-07T15:08:43.175Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T15:08:43.762Z] ---> de2a59d88a1a [2023-03-07T15:08:43.762Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T15:08:43.762Z] ---> Running in f658bdc0277d [2023-03-07T15:09:40.204Z] Removing intermediate container f658bdc0277d [2023-03-07T15:09:40.204Z] ---> 3c02e4d20b37 [2023-03-07T15:09:40.204Z] Step 9/10 : COPY . . [2023-03-07T15:09:40.204Z] ---> d1644ac51d18 [2023-03-07T15:09:40.204Z] Step 10/10 : RUN ${MAKE} [2023-03-07T15:09:40.204Z] ---> Running in 06028feded1f [2023-03-07T15:09:40.793Z] noop [2023-03-07T15:09:41.378Z] Removing intermediate container 06028feded1f [2023-03-07T15:09:41.378Z] ---> 5a59f85fbe26 [2023-03-07T15:09:41.645Z] Successfully built 5a59f85fbe26 [2023-03-07T15:09:41.645Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:09:42.001Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T15:09:42.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:09:42.184Z] prd-ubuntu20.04-docker-arm64-4c-16g-8559 does not seem to be running inside a container [2023-03-07T15:09:42.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-arm64 cat [2023-03-07T15:09:43.431Z] $ docker top 2f96072f9ca95b70c52864fb6204674293f7ebe2b6fd6bfa27f11ccd4f09709c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T15:09:44.266Z] + go version [2023-03-07T15:09:44.266Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T15:09:44.293Z] $ docker stop --time=1 2f96072f9ca95b70c52864fb6204674293f7ebe2b6fd6bfa27f11ccd4f09709c [2023-03-07T15:09:45.944Z] $ docker rm -f --volumes 2f96072f9ca95b70c52864fb6204674293f7ebe2b6fd6bfa27f11ccd4f09709c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:09:46.490Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T15:09:46.490Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:09:46.676Z] prd-ubuntu20.04-docker-arm64-4c-16g-8559 does not seem to be running inside a container [2023-03-07T15:09:46.760Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-arm64 cat [2023-03-07T15:09:47.866Z] $ docker top 734640a212e5764fa207417e547be7d87d9bf23d9fe3770dc2c6b779eb95f3dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T15:09:48.359Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-07T15:09:48.686Z] + make test [2023-03-07T15:09:48.686Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-07T15:10:20.913Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-07T15:12:12.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-07T15:12:12.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-07T15:12:12.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-07T15:12:12.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-07T15:12:12.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-07T15:12:12.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.394s coverage: 27.6% of statements [2023-03-07T15:12:13.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.482s coverage: 78.9% of statements [2023-03-07T15:12:13.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-07T15:12:21.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.643s coverage: 73.1% of statements [2023-03-07T15:12:21.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-07T15:12:21.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-07T15:12:24.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.636s coverage: 54.4% of statements [2023-03-07T15:12:24.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-07T15:12:24.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-07T15:12:24.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-07T15:12:24.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-07T15:12:24.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.398s coverage: 65.1% of statements [2023-03-07T15:12:24.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-07T15:12:24.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-07T15:12:24.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.197s coverage: 89.2% of statements [2023-03-07T15:12:24.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-07T15:12:29.011Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.261s coverage: 4.7% of statements [2023-03-07T15:12:29.011Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-07T15:12:29.988Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T15:12:29.988Z] GO111MODULE=on go vet ./... [2023-03-07T15:14:06.641Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T15:14:06.641Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T15:14:06.641Z] ./bin/test-attribution-txt.sh [2023-03-07T15:14:06.641Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-07T15:14:06.641Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-07T15:14:06.641Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-07T15:14:06.641Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-07T15:14:06.660Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T15:14:06.686Z] $ docker stop --time=1 734640a212e5764fa207417e547be7d87d9bf23d9fe3770dc2c6b779eb95f3dd [2023-03-07T15:14:08.665Z] $ docker rm -f --volumes 734640a212e5764fa207417e547be7d87d9bf23d9fe3770dc2c6b779eb95f3dd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T15:14:10.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T15:14:10.062Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T15:14:10.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T15:14:10.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T15:14:11.266Z] + ls -al . [2023-03-07T15:14:11.266Z] total 276 [2023-03-07T15:14:11.266Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 15:09 . [2023-03-07T15:14:11.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 15:07 .. [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 15:07 .dockerignore [2023-03-07T15:14:11.266Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 15:07 .git [2023-03-07T15:14:11.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 15:07 .github [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 15:07 .gitignore [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 15:07 .golangci.yml [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 15:07 CHANGELOG.md [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 15:07 GOVERNANCE.md [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 7 15:07 Jenkinsfile [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 15:07 LICENSE [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 7 15:07 Makefile [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 15:07 OWNERS.md [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 7 15:07 README.md [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 15:05 VERSION [2023-03-07T15:14:11.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 15:07 bin [2023-03-07T15:14:11.266Z] -rw-r--r-- 1 jenkins jenkins 101840 Mar 7 15:12 coverage.out [2023-03-07T15:14:11.266Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 15:07 example [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 7 15:07 go.mod [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 7 15:07 go.sum [2023-03-07T15:14:11.266Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 7 15:07 internal [2023-03-07T15:14:11.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 15:07 openapi [2023-03-07T15:14:11.266Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 15:07 pkg [2023-03-07T15:14:11.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 15:07 snap [2023-03-07T15:14:11.266Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:14:11.603Z] + 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=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 --label arch=arm64 --label version=0.0.0 . [2023-03-07T15:14:11.874Z] Sending build context to Docker daemon 5.839MB [2023-03-07T15:14:11.875Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T15:14:11.875Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T15:14:11.875Z] ---> 5a59f85fbe26 [2023-03-07T15:14:11.875Z] Step 3/23 : ARG MAKE=make build [2023-03-07T15:14:12.150Z] ---> Running in 2f34dd4377da [2023-03-07T15:14:12.419Z] Removing intermediate container 2f34dd4377da [2023-03-07T15:14:12.419Z] ---> 7809d9c34bf8 [2023-03-07T15:14:12.419Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T15:14:12.419Z] ---> Running in 8c64d6e80095 [2023-03-07T15:14:12.688Z] Removing intermediate container 8c64d6e80095 [2023-03-07T15:14:12.688Z] ---> 6d1f0b1a755f [2023-03-07T15:14:12.688Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T15:14:12.956Z] ---> Running in 891dbed4b651 [2023-03-07T15:14:12.956Z] Removing intermediate container 891dbed4b651 [2023-03-07T15:14:12.956Z] ---> e05efc02e44a [2023-03-07T15:14:12.956Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-07T15:14:13.224Z] ---> Running in 95aa7918d18f [2023-03-07T15:14:14.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T15:14:14.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T15:14:15.427Z] OK: 221 MiB in 51 packages [2023-03-07T15:14:18.014Z] Removing intermediate container 95aa7918d18f [2023-03-07T15:14:18.014Z] ---> 55dde3058700 [2023-03-07T15:14:18.014Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T15:14:18.283Z] ---> a1c9df7ba60e [2023-03-07T15:14:18.283Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T15:14:18.283Z] ---> Running in 1758db751df9 [2023-03-07T15:14:20.228Z] Removing intermediate container 1758db751df9 [2023-03-07T15:14:20.229Z] ---> d66b2f1ce0be [2023-03-07T15:14:20.229Z] Step 9/23 : COPY . . [2023-03-07T15:14:21.643Z] ---> a5a730fd7cbb [2023-03-07T15:14:21.643Z] Step 10/23 : RUN ${MAKE} [2023-03-07T15:14:21.643Z] ---> Running in 132fa4e52208 [2023-03-07T15:14:22.603Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T15:16:29.272Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-03-07T15:16:29.539Z] Removing intermediate container 132fa4e52208 [2023-03-07T15:16:29.539Z] ---> 4da03d28b831 [2023-03-07T15:16:29.539Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T15:16:30.119Z] 3.16: Pulling from library/alpine [2023-03-07T15:16:30.119Z] 3760b48202b3: Pulling fs layer [2023-03-07T15:16:30.388Z] 3760b48202b3: Download complete [2023-03-07T15:16:30.973Z] 3760b48202b3: Pull complete [2023-03-07T15:16:30.973Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T15:16:30.973Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T15:16:30.973Z] ---> 4c81e5bf8899 [2023-03-07T15:16:30.973Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T15:16:30.973Z] ---> Running in 4bc96599a965 [2023-03-07T15:16:31.241Z] Removing intermediate container 4bc96599a965 [2023-03-07T15:16:31.241Z] ---> 41f8d914b27a [2023-03-07T15:16:31.241Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-07T15:16:31.513Z] ---> Running in e96b667eedfc [2023-03-07T15:16:32.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T15:16:32.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T15:16:33.716Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-07T15:16:33.716Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-07T15:16:33.716Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-07T15:16:33.716Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-07T15:16:33.716Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-07T15:16:33.716Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T15:16:33.716Z] OK: 8 MiB in 19 packages [2023-03-07T15:16:34.678Z] Removing intermediate container e96b667eedfc [2023-03-07T15:16:34.678Z] ---> 308c6a54d18c [2023-03-07T15:16:34.678Z] Step 14/23 : WORKDIR / [2023-03-07T15:16:34.678Z] ---> Running in 9fac9afdf021 [2023-03-07T15:16:35.261Z] Removing intermediate container 9fac9afdf021 [2023-03-07T15:16:35.261Z] ---> bffebb4dd544 [2023-03-07T15:16:35.261Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T15:16:35.525Z] ---> b491921b5517 [2023-03-07T15:16:35.525Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T15:16:36.932Z] ---> 96bc8c9225eb [2023-03-07T15:16:36.932Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T15:16:37.511Z] ---> d66aa00474b8 [2023-03-07T15:16:37.511Z] Step 18/23 : EXPOSE 59999 [2023-03-07T15:16:37.511Z] ---> Running in 1ec67946c317 [2023-03-07T15:16:37.777Z] Removing intermediate container 1ec67946c317 [2023-03-07T15:16:37.777Z] ---> d8cf85651b74 [2023-03-07T15:16:37.777Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T15:16:37.777Z] ---> Running in 6b0db7c87a04 [2023-03-07T15:16:38.043Z] Removing intermediate container 6b0db7c87a04 [2023-03-07T15:16:38.043Z] ---> 377601cfe80f [2023-03-07T15:16:38.043Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-07T15:16:38.308Z] ---> Running in 130335ef998e [2023-03-07T15:16:38.572Z] Removing intermediate container 130335ef998e [2023-03-07T15:16:38.572Z] ---> a45fc866fa5c [2023-03-07T15:16:38.572Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T15:16:38.572Z] ---> Running in fa5dc3896e23 [2023-03-07T15:16:38.838Z] Removing intermediate container fa5dc3896e23 [2023-03-07T15:16:38.838Z] ---> 7f411c8925f1 [2023-03-07T15:16:38.838Z] Step 22/23 : LABEL git_sha=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [2023-03-07T15:16:39.104Z] ---> Running in 11dc17dd4142 [2023-03-07T15:16:39.371Z] Removing intermediate container 11dc17dd4142 [2023-03-07T15:16:39.371Z] ---> 97b484fdd960 [2023-03-07T15:16:39.371Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T15:16:39.371Z] ---> Running in b94a63a10464 [2023-03-07T15:16:39.639Z] Removing intermediate container b94a63a10464 [2023-03-07T15:16:39.639Z] ---> ef1fb01453ce [2023-03-07T15:16:39.639Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T15:16:39.639Z] Successfully built ef1fb01453ce [2023-03-07T15:16:39.639Z] 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-07T15:16:40.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T15:16:40.055Z] [2023-03-07T15:16:40.055Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:16:40.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T15:16:40.410Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T15:16:40.410Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T15:16:40.410Z] 04944245beec: Pulling fs layer [2023-03-07T15:16:40.410Z] 699f458cf7ca: Pulling fs layer [2023-03-07T15:16:40.410Z] 765212b225bb: Pulling fs layer [2023-03-07T15:16:40.410Z] f23df028b6ca: Pulling fs layer [2023-03-07T15:16:40.410Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T15:16:40.410Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T15:16:40.410Z] 765212b225bb: Waiting [2023-03-07T15:16:40.410Z] d65c8cfc05b1: Waiting [2023-03-07T15:16:40.410Z] 2437ff75d9bd: Waiting [2023-03-07T15:16:40.410Z] f23df028b6ca: Waiting [2023-03-07T15:16:40.676Z] 04944245beec: Verifying Checksum [2023-03-07T15:16:40.676Z] 04944245beec: Download complete [2023-03-07T15:16:40.676Z] 765212b225bb: Verifying Checksum [2023-03-07T15:16:40.676Z] 765212b225bb: Download complete [2023-03-07T15:16:40.676Z] f23df028b6ca: Verifying Checksum [2023-03-07T15:16:40.676Z] f23df028b6ca: Download complete [2023-03-07T15:16:40.676Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T15:16:40.676Z] d65c8cfc05b1: Download complete [2023-03-07T15:16:40.676Z] 699f458cf7ca: Verifying Checksum [2023-03-07T15:16:40.676Z] 699f458cf7ca: Download complete [2023-03-07T15:16:41.376Z] 8998bd30e6a1: Download complete [2023-03-07T15:16:43.377Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T15:16:43.377Z] 2437ff75d9bd: Download complete [2023-03-07T15:16:45.411Z] 8998bd30e6a1: Pull complete [2023-03-07T15:16:45.681Z] 04944245beec: Pull complete [2023-03-07T15:16:47.088Z] 699f458cf7ca: Pull complete [2023-03-07T15:16:47.088Z] 765212b225bb: Pull complete [2023-03-07T15:16:47.672Z] f23df028b6ca: Pull complete [2023-03-07T15:16:47.939Z] d65c8cfc05b1: Pull complete [2023-03-07T15:17:02.929Z] 2437ff75d9bd: Pull complete [2023-03-07T15:17:02.929Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T15:17:02.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T15:17:02.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:17:03.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-8559 does not seem to be running inside a container [2023-03-07T15:17:03.176Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:arm64 cat [2023-03-07T15:17:07.976Z] $ docker top 02994586676e231668038507cb14067409acb07f7d0d7ff89f9e156163bd4e6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:17:08.461Z] ---> job-cost.sh [2023-03-07T15:17:08.726Z] lf-activate-venv: SKIPPING [2023-03-07T15:17:08.726Z] INFO: No Stack... [2023-03-07T15:17:09.304Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T15:17:09.882Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T15:17:10.199Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-07T15:17:10.199Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T15:17:10.258Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [2023-03-07T15:17:10.264Z] Resource [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] did not exist. Created. [2023-03-07T15:17:10.264Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T15:17:10.601Z] /w/workspace/device-sdk-go/2@tmp/durable-d1e5ae8d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T15:17:10.928Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T15:17:10.950Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T15:17:11.008Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T15:17:11.015Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T15:17:11.043Z] $ docker stop --time=1 02994586676e231668038507cb14067409acb07f7d0d7ff89f9e156163bd4e6f [2023-03-07T15:17:12.481Z] $ docker rm -f --volumes 02994586676e231668038507cb14067409acb07f7d0d7ff89f9e156163bd4e6f [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-07T15:17:12.825Z] provisioning config files... [2023-03-07T15:17:12.832Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config3237066737323614606tmp [Pipeline] { [Pipeline] sh [2023-03-07T15:17:13.120Z] + set +x [2023-03-07T15:17:13.120Z] + curl -s https://codecov.io/bash [2023-03-07T15:17:13.120Z] + bash -s -- [2023-03-07T15:17:13.120Z] [2023-03-07T15:17:13.120Z] _____ _ [2023-03-07T15:17:13.120Z] / ____| | | [2023-03-07T15:17:13.120Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T15:17:13.120Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T15:17:13.120Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T15:17:13.120Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T15:17:13.120Z] Bash-1.0.6 [2023-03-07T15:17:13.120Z] [2023-03-07T15:17:13.120Z] [2023-03-07T15:17:13.120Z] ==> git version 2.25.1 found [2023-03-07T15:17:13.120Z] ==> 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-07T15:17:13.120Z] Release-Date: 2020-01-08 [2023-03-07T15:17:13.120Z] 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-07T15:17:13.120Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T15:17:13.120Z] ==> Jenkins CI detected. [2023-03-07T15:17:13.120Z] current dir:  /w/workspace/dgexfoundry_device-sdk-go_levski [2023-03-07T15:17:13.120Z] project root: . [2023-03-07T15:17:13.120Z] --> token set from env [2023-03-07T15:17:13.120Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T15:17:13.120Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T15:17:13.120Z] ==> Python coveragepy not found [2023-03-07T15:17:13.120Z] ==> Searching for coverage reports in: [2023-03-07T15:17:13.120Z] + . [2023-03-07T15:17:13.120Z] -> Found 1 reports [2023-03-07T15:17:13.120Z] ==> Detecting git/mercurial file structure [2023-03-07T15:17:13.120Z] ==> Reading reports [2023-03-07T15:17:13.120Z] + ./coverage.out bytes=101840 [2023-03-07T15:17:13.120Z] ==> Appending adjustments [2023-03-07T15:17:13.120Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T15:17:13.378Z] + Found adjustments [2023-03-07T15:17:13.378Z] ==> Gzipping contents [2023-03-07T15:17:13.378Z] 16K /tmp/codecov.gnK3MX.gz [2023-03-07T15:17:13.378Z] ==> Uploading reports [2023-03-07T15:17:13.378Z] url: https://codecov.io [2023-03-07T15:17:13.378Z] query: branch=levski&commit=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-07T15:17:13.378Z] -> Pinging Codecov [2023-03-07T15:17:13.378Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=levski&commit=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-07T15:17:13.635Z] -> Uploading to [2023-03-07T15:17:13.635Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7/dbfc58dd-341b-4946-bf9d-7e20fb75e530.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T151713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06f68fdddf791d788bf2eb12e8da50374407b118c70db08f0de09b1dcb7aa13c [2023-03-07T15:17:13.635Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T15:17:13.635Z] Dload Upload Total Spent Left Speed [2023-03-07T15:17:13.894Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14707 0 0 100 14707 0 50366 --:--:-- --:--:-- --:--:-- 50366 [2023-03-07T15:17:13.894Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] } [2023-03-07T15:17:13.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-07T15:17:14.110Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-07T15:17:14.122Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:17:14.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-07T15:17:14.419Z] [2023-03-07T15:17:14.419Z] 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-07T15:17:14.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-07T15:17:15.656Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-07T15:17:15.656Z] df9b9388f04a: Pulling fs layer [2023-03-07T15:17:15.656Z] 52dc419b0ee2: Pulling fs layer [2023-03-07T15:17:15.656Z] 25bc292e5bac: Pulling fs layer [2023-03-07T15:17:15.656Z] 114826534d7a: Pulling fs layer [2023-03-07T15:17:15.656Z] 4657fd5d0bcf: Pulling fs layer [2023-03-07T15:17:15.656Z] 6ad1cebc031e: Pulling fs layer [2023-03-07T15:17:15.656Z] 8a3aa393b2d8: Pulling fs layer [2023-03-07T15:17:15.656Z] 4657fd5d0bcf: Waiting [2023-03-07T15:17:15.656Z] 6ad1cebc031e: Waiting [2023-03-07T15:17:15.656Z] 8a3aa393b2d8: Waiting [2023-03-07T15:17:15.656Z] 114826534d7a: Waiting [2023-03-07T15:17:15.656Z] 25bc292e5bac: Verifying Checksum [2023-03-07T15:17:15.656Z] 25bc292e5bac: Download complete [2023-03-07T15:17:15.656Z] 52dc419b0ee2: Download complete [2023-03-07T15:17:15.656Z] 4657fd5d0bcf: Download complete [2023-03-07T15:17:15.932Z] df9b9388f04a: Download complete [2023-03-07T15:17:15.932Z] df9b9388f04a: Pull complete [2023-03-07T15:17:16.191Z] 6ad1cebc031e: Verifying Checksum [2023-03-07T15:17:16.191Z] 6ad1cebc031e: Download complete [2023-03-07T15:17:16.460Z] 52dc419b0ee2: Pull complete [2023-03-07T15:17:16.460Z] 25bc292e5bac: Pull complete [2023-03-07T15:17:16.718Z] 8a3aa393b2d8: Verifying Checksum [2023-03-07T15:17:16.718Z] 8a3aa393b2d8: Download complete [2023-03-07T15:17:16.718Z] 114826534d7a: Verifying Checksum [2023-03-07T15:17:16.718Z] 114826534d7a: Download complete [2023-03-07T15:17:20.910Z] 114826534d7a: Pull complete [2023-03-07T15:17:20.910Z] 4657fd5d0bcf: Pull complete [2023-03-07T15:17:20.910Z] 6ad1cebc031e: Pull complete [2023-03-07T15:17:23.441Z] 8a3aa393b2d8: Pull complete [2023-03-07T15:17:23.441Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-07T15:17:23.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-07T15:17:23.441Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:17:23.514Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:17:23.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@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/edgex-snyk-go:1.410.4 cat [2023-03-07T15:17:28.146Z] $ docker top 183550e15f5d7c2f818eda4a12c13d37c3849036e0d0fba704413c9bed078a57 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-07T15:17:28.199Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:levski' [Pipeline] sh [2023-03-07T15:17:28.475Z] + set -o pipefail [2023-03-07T15:17:28.475Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:levski' [2023-03-07T15:17:35.042Z] [2023-03-07T15:17:35.042Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_levski (github.com/edgexfoundry/device-sdk-go/v2)... [2023-03-07T15:17:35.042Z] [2023-03-07T15:17:35.042Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/7f96d442-1b96-43d8-af02-66b3b682a0df/history/fd185dbb-e0cd-4e3e-ad2e-81fcb9b63242 [2023-03-07T15:17:35.042Z] [2023-03-07T15:17:35.042Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-07T15:17:35.042Z] [2023-03-07T15:17:35.042Z] [2023-03-07T15:17:35.042Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-07T15:17:35.042Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-07T15:17:35.042Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-07T15:17:35.063Z] $ docker stop --time=1 183550e15f5d7c2f818eda4a12c13d37c3849036e0d0fba704413c9bed078a57 [2023-03-07T15:17:38.603Z] $ docker rm -f --volumes 183550e15f5d7c2f818eda4a12c13d37c3849036e0d0fba704413c9bed078a57 [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-07T15:17:38.946Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T15:17:38.956Z] provisioning config files... [2023-03-07T15:17:38.963Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config1924514086651097541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:17:39.255Z] --> edgex-publish-swagger.sh [2023-03-07T15:17:39.255Z] === Publish openapi/v2 API === [2023-03-07T15:17:39.255Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2023-03-07T15:17:39.255Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_levski/openapi/v2/device-sdk.yaml] [2023-03-07T15:17:39.255Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T15:17:39.255Z] Dload Upload Total Spent Left Speed [2023-03-07T15:17:39.822Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 95628 --:--:-- --:--:-- --:--:-- 95458 100 53552 0 0 100 53552 0 95458 --:--:-- --:--:-- --:--:-- 95288 [2023-03-07T15:17:39.822Z] [2023-03-07T15:17:39.822Z] [Pipeline] } [2023-03-07T15:17:39.829Z] 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-07T15:17:40.190Z] + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] sh [2023-03-07T15:17:40.480Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T15:17:40.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:17:40.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T15:17:40.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:17:40.852Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:17:40.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T15:17:41.287Z] $ docker top 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 -eo pid,comm [2023-03-07T15:17:41.320Z] 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-07T15:17:41.320Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T15:17:41.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T15:17:41.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T15:17:41.454Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T15:17:41.467Z] $ docker exec 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 ssh-agent [2023-03-07T15:17:41.558Z] SSH_AUTH_SOCK=/tmp/ssh-cxYHq5o6fmp3/agent.32 [2023-03-07T15:17:41.558Z] SSH_AGENT_PID=38 [2023-03-07T15:17:41.562Z] Running ssh-add (command line suppressed) [2023-03-07T15:17:41.675Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_5685023376430125480.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_5685023376430125480.key) [2023-03-07T15:17:41.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T15:17:41.971Z] + git semver tag [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,181 [run_tag] DEBUG tag force:False [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,181 [check_head_tag] DEBUG check head tag [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,184 [execute] INFO git cat-file --batch-check [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,188 [execute] INFO git cat-file --batch [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,218 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,219 [execute] INFO git tag -a v0.0.0 -m v0.0.0 [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,219 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.0', '-m', 'v0.0.0'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) [2023-03-07T15:17:42.230Z] 2023-03-07 15:17:42,222 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-07T15:17:42.230Z] 0.0.0 [Pipeline] } [2023-03-07T15:17:42.249Z] $ docker exec --env ******** --env ******** 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 ssh-agent -k [2023-03-07T15:17:42.344Z] unset SSH_AUTH_SOCK; [2023-03-07T15:17:42.344Z] unset SSH_AGENT_PID; [2023-03-07T15:17:42.344Z] echo Agent pid 38 killed; [2023-03-07T15:17:42.342Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T15:17:42.656Z] + git semver [Pipeline] } [2023-03-07T15:17:42.939Z] $ docker stop --time=1 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 [2023-03-07T15:17:44.224Z] $ docker rm -f --volumes 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:17:44.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-07T15:17:44.605Z] [2023-03-07T15:17:44.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:17:44.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-07T15:17:44.905Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-07T15:17:44.905Z] ab5ef0e58194: Pulling fs layer [2023-03-07T15:17:44.905Z] 9712f1f96733: Pulling fs layer [2023-03-07T15:17:44.905Z] 63f879dbbcfc: Pulling fs layer [2023-03-07T15:17:44.905Z] 0d9ebad4ef96: Pulling fs layer [2023-03-07T15:17:44.905Z] e9a5061849ea: Pulling fs layer [2023-03-07T15:17:44.905Z] d747dcd14b5f: Pulling fs layer [2023-03-07T15:17:44.905Z] 2de7ff778b66: Pulling fs layer [2023-03-07T15:17:44.906Z] d747dcd14b5f: Waiting [2023-03-07T15:17:44.906Z] 0d9ebad4ef96: Waiting [2023-03-07T15:17:44.906Z] 2de7ff778b66: Waiting [2023-03-07T15:17:44.906Z] e9a5061849ea: Waiting [2023-03-07T15:17:44.906Z] 9712f1f96733: Download complete [2023-03-07T15:17:45.487Z] 63f879dbbcfc: Verifying Checksum [2023-03-07T15:17:45.487Z] 63f879dbbcfc: Download complete [2023-03-07T15:17:45.487Z] 0d9ebad4ef96: Verifying Checksum [2023-03-07T15:17:45.487Z] 0d9ebad4ef96: Download complete [2023-03-07T15:17:45.487Z] e9a5061849ea: Verifying Checksum [2023-03-07T15:17:45.487Z] e9a5061849ea: Download complete [2023-03-07T15:17:45.487Z] d747dcd14b5f: Verifying Checksum [2023-03-07T15:17:45.487Z] ab5ef0e58194: Verifying Checksum [2023-03-07T15:17:45.487Z] ab5ef0e58194: Download complete [2023-03-07T15:17:45.746Z] 2de7ff778b66: Verifying Checksum [2023-03-07T15:17:45.746Z] 2de7ff778b66: Download complete [2023-03-07T15:17:48.278Z] ab5ef0e58194: Pull complete [2023-03-07T15:17:48.278Z] 9712f1f96733: Pull complete [2023-03-07T15:17:48.843Z] 63f879dbbcfc: Pull complete [2023-03-07T15:17:53.027Z] 0d9ebad4ef96: Pull complete [2023-03-07T15:17:53.027Z] e9a5061849ea: Pull complete [2023-03-07T15:17:53.027Z] d747dcd14b5f: Pull complete [2023-03-07T15:17:53.961Z] 2de7ff778b66: Pull complete [2023-03-07T15:17:53.961Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-07T15:17:53.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-07T15:17:53.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:17:54.041Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:17:54.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-07T15:18:00.759Z] $ docker top d5526743986f962fff8f41c69f7bba8e294887e6a6df707dfe1fea97ece438fd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-07T15:18:00.810Z] provisioning config files... [2023-03-07T15:18:00.814Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config5107043565832809306tmp [2023-03-07T15:18:00.823Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config13046299451033784017tmp [2023-03-07T15:18:00.831Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config10428292352986604275tmp [Pipeline] { [Pipeline] echo [2023-03-07T15:18:00.847Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:01.126Z] ---> sigul-configuration.sh [2023-03-07T15:18:01.126Z] gpg: directory `/root/.gnupg' created [2023-03-07T15:18:01.126Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-07T15:18:01.126Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-07T15:18:01.126Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-07T15:18:01.126Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-07T15:18:01.126Z] gpg: CAST5 encrypted data [2023-03-07T15:18:01.126Z] gpg: encrypted with 1 passphrase [2023-03-07T15:18:01.126Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-07T15:18:01.410Z] + mkdir /home/jenkins [2023-03-07T15:18:01.410Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-07T15:18:01.695Z] + 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-07T15:18:01.705Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:01.986Z] ---> sigul-install.sh [2023-03-07T15:18:01.986Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-07T15:18:02.266Z] + git tag --list [2023-03-07T15:18:02.266Z] 0.7.1 [2023-03-07T15:18:02.266Z] delhi-tag [2023-03-07T15:18:02.266Z] v0.0.0 [2023-03-07T15:18:02.266Z] v1.0.0 [2023-03-07T15:18:02.266Z] v1.1.0 [2023-03-07T15:18:02.266Z] v1.1.1 [2023-03-07T15:18:02.266Z] v1.1.2 [2023-03-07T15:18:02.266Z] v1.2.0 [2023-03-07T15:18:02.266Z] v1.2.1 [2023-03-07T15:18:02.266Z] v1.2.2 [2023-03-07T15:18:02.266Z] v1.2.3 [2023-03-07T15:18:02.266Z] v1.3.0 [2023-03-07T15:18:02.266Z] v1.4.0 [2023-03-07T15:18:02.266Z] v2.0.0 [2023-03-07T15:18:02.266Z] v2.1.0 [2023-03-07T15:18:02.266Z] v2.1.1 [2023-03-07T15:18:02.266Z] v2.1.1-dev.2 [2023-03-07T15:18:02.266Z] v2.1.1-dev.3 [2023-03-07T15:18:02.266Z] v2.2.0 [2023-03-07T15:18:02.266Z] v2.2.1-dev.1 [2023-03-07T15:18:02.266Z] v2.2.1-dev.10 [2023-03-07T15:18:02.266Z] v2.2.1-dev.11 [2023-03-07T15:18:02.266Z] v2.2.1-dev.12 [2023-03-07T15:18:02.266Z] v2.2.1-dev.13 [2023-03-07T15:18:02.266Z] v2.2.1-dev.14 [2023-03-07T15:18:02.266Z] v2.2.1-dev.2 [2023-03-07T15:18:02.266Z] v2.2.1-dev.3 [2023-03-07T15:18:02.266Z] v2.2.1-dev.4 [2023-03-07T15:18:02.266Z] v2.2.1-dev.5 [2023-03-07T15:18:02.266Z] v2.2.1-dev.6 [2023-03-07T15:18:02.266Z] v2.2.1-dev.7 [2023-03-07T15:18:02.266Z] v2.2.1-dev.8 [2023-03-07T15:18:02.266Z] v2.2.1-dev.9 [2023-03-07T15:18:02.266Z] v2.3.0 [2023-03-07T15:18:02.266Z] v2.3.0-dev.14 [2023-03-07T15:18:02.266Z] v2.3.0-dev.15 [2023-03-07T15:18:02.266Z] v2.3.0-dev.16 [2023-03-07T15:18:02.266Z] v2.3.0-dev.17 [2023-03-07T15:18:02.266Z] v2.3.0-dev.18 [2023-03-07T15:18:02.266Z] v2.3.0-dev.19 [2023-03-07T15:18:02.266Z] v2.3.0-dev.20 [2023-03-07T15:18:02.266Z] v2.3.0-dev.21 [2023-03-07T15:18:02.266Z] v2.3.0-dev.22 [2023-03-07T15:18:02.266Z] v2.3.0-dev.23 [2023-03-07T15:18:02.266Z] v2.3.0-dev.24 [2023-03-07T15:18:02.266Z] v2.3.0-dev.25 [2023-03-07T15:18:02.266Z] v2.3.0-dev.26 [2023-03-07T15:18:02.266Z] v2.3.0-dev.27 [2023-03-07T15:18:02.266Z] v2.3.0-dev.28 [2023-03-07T15:18:02.266Z] v2.3.0-dev.29 [2023-03-07T15:18:02.266Z] v2.3.0-dev.30 [2023-03-07T15:18:02.266Z] v2.3.0-dev.31 [2023-03-07T15:18:02.266Z] v2.3.0-dev.32 [2023-03-07T15:18:02.266Z] v2.3.0-dev.33 [2023-03-07T15:18:02.266Z] v2.3.0-dev.34 [2023-03-07T15:18:02.266Z] v2.3.0-dev.35 [2023-03-07T15:18:02.266Z] v2.3.0-dev.36 [2023-03-07T15:18:02.266Z] v2.3.0-dev.37 [2023-03-07T15:18:02.266Z] v2.3.0-dev.38 [2023-03-07T15:18:02.266Z] v2.3.0-dev.39 [2023-03-07T15:18:02.266Z] v2.3.0-dev.40 [2023-03-07T15:18:02.266Z] v2.3.0-dev.41 [2023-03-07T15:18:02.266Z] v2.3.0-dev.42 [2023-03-07T15:18:02.266Z] v2.3.0-dev.43 [2023-03-07T15:18:02.266Z] v2.3.0-dev.44 [2023-03-07T15:18:02.266Z] v2.3.0-dev.45 [2023-03-07T15:18:02.266Z] v2.3.0-dev.46 [2023-03-07T15:18:02.266Z] v2.3.0-dev.47 [2023-03-07T15:18:02.266Z] v2.3.0-dev.48 [2023-03-07T15:18:02.266Z] v2.3.0-dev.49 [2023-03-07T15:18:02.266Z] v2.3.0-dev.50 [2023-03-07T15:18:02.266Z] v2.3.0-dev.51 [2023-03-07T15:18:02.267Z] v2.3.1-dev.1 [2023-03-07T15:18:02.267Z] v2.3.1-dev.2 [2023-03-07T15:18:02.267Z] v3.0.0-dev.1 [2023-03-07T15:18:02.267Z] v3.0.0-dev.10 [2023-03-07T15:18:02.267Z] v3.0.0-dev.11 [2023-03-07T15:18:02.267Z] v3.0.0-dev.12 [2023-03-07T15:18:02.267Z] v3.0.0-dev.13 [2023-03-07T15:18:02.267Z] v3.0.0-dev.14 [2023-03-07T15:18:02.267Z] v3.0.0-dev.15 [2023-03-07T15:18:02.267Z] v3.0.0-dev.16 [2023-03-07T15:18:02.267Z] v3.0.0-dev.17 [2023-03-07T15:18:02.267Z] v3.0.0-dev.18 [2023-03-07T15:18:02.267Z] v3.0.0-dev.19 [2023-03-07T15:18:02.267Z] v3.0.0-dev.2 [2023-03-07T15:18:02.267Z] v3.0.0-dev.20 [2023-03-07T15:18:02.267Z] v3.0.0-dev.21 [2023-03-07T15:18:02.267Z] v3.0.0-dev.22 [2023-03-07T15:18:02.267Z] v3.0.0-dev.23 [2023-03-07T15:18:02.267Z] v3.0.0-dev.24 [2023-03-07T15:18:02.267Z] v3.0.0-dev.25 [2023-03-07T15:18:02.267Z] v3.0.0-dev.26 [2023-03-07T15:18:02.267Z] v3.0.0-dev.27 [2023-03-07T15:18:02.267Z] v3.0.0-dev.28 [2023-03-07T15:18:02.267Z] v3.0.0-dev.29 [2023-03-07T15:18:02.267Z] v3.0.0-dev.3 [2023-03-07T15:18:02.267Z] v3.0.0-dev.30 [2023-03-07T15:18:02.267Z] v3.0.0-dev.31 [2023-03-07T15:18:02.267Z] v3.0.0-dev.32 [2023-03-07T15:18:02.267Z] v3.0.0-dev.33 [2023-03-07T15:18:02.267Z] v3.0.0-dev.34 [2023-03-07T15:18:02.267Z] v3.0.0-dev.35 [2023-03-07T15:18:02.267Z] v3.0.0-dev.36 [2023-03-07T15:18:02.267Z] v3.0.0-dev.37 [2023-03-07T15:18:02.267Z] v3.0.0-dev.38 [2023-03-07T15:18:02.267Z] v3.0.0-dev.39 [2023-03-07T15:18:02.267Z] v3.0.0-dev.4 [2023-03-07T15:18:02.267Z] v3.0.0-dev.40 [2023-03-07T15:18:02.267Z] v3.0.0-dev.41 [2023-03-07T15:18:02.267Z] v3.0.0-dev.42 [2023-03-07T15:18:02.267Z] v3.0.0-dev.43 [2023-03-07T15:18:02.267Z] v3.0.0-dev.44 [2023-03-07T15:18:02.267Z] v3.0.0-dev.45 [2023-03-07T15:18:02.267Z] v3.0.0-dev.5 [2023-03-07T15:18:02.267Z] v3.0.0-dev.6 [2023-03-07T15:18:02.267Z] v3.0.0-dev.7 [2023-03-07T15:18:02.267Z] v3.0.0-dev.8 [2023-03-07T15:18:02.267Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-07T15:18:02.561Z] + lftools sign git-tag v0.0.0 [2023-03-07T15:18:03.127Z] Signing Git tag with Sigul... [2023-03-07T15:18:03.127Z] Signing v0.0.0 [Pipeline] echo [2023-03-07T15:18:03.700Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:03.985Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-07T15:18:03.992Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-07T15:18:04.022Z] $ docker stop --time=1 d5526743986f962fff8f41c69f7bba8e294887e6a6df707dfe1fea97ece438fd [2023-03-07T15:18:05.323Z] $ docker rm -f --volumes d5526743986f962fff8f41c69f7bba8e294887e6a6df707dfe1fea97ece438fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-07T15:18:05.703Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T15:18:05.703Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:18:05.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T15:18:05.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:18:06.063Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:18:06.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T15:18:06.433Z] $ docker top 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c -eo pid,comm [2023-03-07T15:18:06.469Z] 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-07T15:18:06.469Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T15:18:06.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T15:18:06.500Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T15:18:06.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T15:18:06.632Z] $ docker exec 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c ssh-agent [2023-03-07T15:18:06.720Z] SSH_AUTH_SOCK=/tmp/ssh-qJ9j8VlLDagH/agent.32 [2023-03-07T15:18:06.720Z] SSH_AGENT_PID=38 [2023-03-07T15:18:06.724Z] Running ssh-add (command line suppressed) [2023-03-07T15:18:06.838Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_17907389657543985702.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_17907389657543985702.key) [2023-03-07T15:18:06.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T15:18:07.123Z] + git semver bump pre [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,320 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,320 [bump_version] DEBUG bumping version:0.0.0 on axis:pre with prefix:dev [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,320 [bump_version] DEBUG bumped version:0.0.1-dev.1 [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,320 [write_version] DEBUG write version:0.0.1-dev.1 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:True [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,321 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,321 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,323 [execute] INFO git cat-file --batch-check [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,329 [execute] INFO git cat-file --batch [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T15:18:07.383Z] 2023-03-07 15:18:07,333 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-07T15:18:07.383Z] 0.0.1-dev.1 [Pipeline] } [2023-03-07T15:18:07.403Z] $ docker exec --env ******** --env ******** 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c ssh-agent -k [2023-03-07T15:18:07.498Z] unset SSH_AUTH_SOCK; [2023-03-07T15:18:07.498Z] unset SSH_AGENT_PID; [2023-03-07T15:18:07.498Z] echo Agent pid 38 killed; [2023-03-07T15:18:07.495Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T15:18:07.790Z] + git semver [Pipeline] } [2023-03-07T15:18:08.070Z] $ docker stop --time=1 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c [2023-03-07T15:18:09.320Z] $ docker rm -f --volumes 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T15:18:09.644Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T15:18:09.644Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:18:09.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T15:18:09.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:18:10.006Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:18:10.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T15:18:10.359Z] $ docker top a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T15:18:10.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T15:18:10.423Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T15:18:10.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T15:18:10.545Z] $ docker exec a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 ssh-agent [2023-03-07T15:18:10.629Z] SSH_AUTH_SOCK=/tmp/ssh-iEaZRzUJ58Or/agent.31 [2023-03-07T15:18:10.629Z] SSH_AGENT_PID=37 [2023-03-07T15:18:10.634Z] Running ssh-add (command line suppressed) [2023-03-07T15:18:10.740Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_2028252021393693952.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_2028252021393693952.key) [2023-03-07T15:18:10.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T15:18:11.025Z] + git semver push [2023-03-07T15:18:11.284Z] 2023-03-07 15:18:11,222 [run_push] DEBUG push [2023-03-07T15:18:11.284Z] 2023-03-07 15:18:11,222 [execute] INFO git cat-file --batch-check [2023-03-07T15:18:11.284Z] 2023-03-07 15:18:11,223 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T15:18:11.284Z] 2023-03-07 15:18:11,227 [execute] INFO git rev-list 643413e10494bcbcb4823a8a0af32c1fa00d6649 -- [2023-03-07T15:18:11.284Z] 2023-03-07 15:18:11,227 [execute] DEBUG Popen(['git', 'rev-list', '643413e10494bcbcb4823a8a0af32c1fa00d6649', '--'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-07T15:18:11.284Z] 2023-03-07 15:18:11,240 [execute] INFO git fetch -v origin [2023-03-07T15:18:11.284Z] 2023-03-07 15:18:11,240 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-07T15:18:11.852Z] 2023-03-07 15:18:11,660 [run_push] DEBUG no remote changes detected [2023-03-07T15:18:11.852Z] 2023-03-07 15:18:11,660 [execute] INFO git push origin semver [2023-03-07T15:18:11.852Z] 2023-03-07 15:18:11,660 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-07T15:18:12.788Z] 2023-03-07 15:18:12,720 [run_push] DEBUG push all version tags [2023-03-07T15:18:12.788Z] 2023-03-07 15:18:12,721 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-07T15:18:12.788Z] 2023-03-07 15:18:12,721 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) [2023-03-07T15:18:14.163Z] 2023-03-07 15:18:13,772 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-07T15:18:14.163Z] 0.0.1-dev.1 [Pipeline] } [2023-03-07T15:18:14.184Z] $ docker exec --env ******** --env ******** a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 ssh-agent -k [2023-03-07T15:18:14.285Z] unset SSH_AUTH_SOCK; [2023-03-07T15:18:14.285Z] unset SSH_AGENT_PID; [2023-03-07T15:18:14.285Z] echo Agent pid 37 killed; [2023-03-07T15:18:14.284Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T15:18:14.599Z] + git semver [Pipeline] } [2023-03-07T15:18:14.882Z] $ docker stop --time=1 a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 [2023-03-07T15:18:16.162Z] $ docker rm -f --volumes a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 [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-07T15:18:16.735Z] + [ -d /w/workspace/dgexfoundry_device-sdk-go_levski/archives ] [2023-03-07T15:18:16.736Z] + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives [2023-03-07T15:18:16.736Z] total 16 [2023-03-07T15:18:16.736Z] drwxr-xr-x 3 root root 4096 Mar 7 15:08 . [2023-03-07T15:18:16.736Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 15:18 .. [2023-03-07T15:18:16.736Z] drwxr-xr-x 2 root root 4096 Mar 7 15:08 cost [2023-03-07T15:18:16.736Z] -rw-r--r-- 1 root root 85 Mar 7 15:08 cost.csv [2023-03-07T15:18:16.736Z] + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_device-sdk-go_levski/archives [2023-03-07T15:18:16.736Z] + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives [2023-03-07T15:18:16.736Z] total 16 [2023-03-07T15:18:16.736Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 15:08 . [2023-03-07T15:18:16.736Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 15:18 .. [2023-03-07T15:18:16.736Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 15:08 cost [2023-03-07T15:18:16.736Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 7 15:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:17.024Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:17.879Z] ---> package-listing.sh [2023-03-07T15:18:17.879Z] ++ facter osfamily [2023-03-07T15:18:17.879Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T15:18:18.140Z] + OS_FAMILY=debian [2023-03-07T15:18:18.140Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_levski [2023-03-07T15:18:18.140Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T15:18:18.140Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T15:18:18.140Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T15:18:18.140Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T15:18:18.140Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' [2023-03-07T15:18:18.140Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T15:18:18.140Z] + case "${OS_FAMILY}" in [2023-03-07T15:18:18.140Z] + dpkg -l [2023-03-07T15:18:18.140Z] + grep '^ii' [2023-03-07T15:18:18.140Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T15:18:18.140Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T15:18:18.140Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T15:18:18.140Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' [2023-03-07T15:18:18.140Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ [2023-03-07T15:18:18.140Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ [Pipeline] echo [2023-03-07T15:18:18.151Z] 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/dgexfoundry_device-sdk-go_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T15:18:18.426Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T15:18:18.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T15:18:18.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T15:18:19.051Z] prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container [2023-03-07T15:18:19.091Z] $ 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/dgexfoundry_device-sdk-go_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T15:18:19.266Z] $ docker top 04792a861420f217928748d4dd43d4b27eea75852e7d999ce93c68f96260c023 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T15:18:19.594Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T15:18:19.877Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T15:18:20.161Z] + ls /var/log/sa-host [2023-03-07T15:18:20.161Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T15:18:20.341Z] provisioning config files... [2023-03-07T15:18:20.349Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config18192723447664115802tmp [Pipeline] { [Pipeline] echo [2023-03-07T15:18:20.362Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:20.644Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T15:18:20.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:20.993Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T15:18:21.001Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:21.284Z] ---> sudo-logs.sh [2023-03-07T15:18:21.284Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T15:18:21.316Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:21.677Z] ---> job-cost.sh [2023-03-07T15:18:21.677Z] lf-activate-venv: SKIPPING [2023-03-07T15:18:21.677Z] DEBUG: total: 0.2199999988079071 [2023-03-07T15:18:21.677Z] INFO: Retrieving Stack Cost... [2023-03-07T15:18:22.285Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T15:18:22.559Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T15:18:22.583Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T15:18:22.865Z] ---> logs-deploy.sh [2023-03-07T15:18:22.865Z] lf-activate-venv: SKIPPING [2023-03-07T15:18:22.865Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/levski/2 [2023-03-07T15:18:22.865Z] INFO: archiving workspace using pattern(s): [2023-03-07T15:18:23.799Z] Archives upload complete. [2023-03-07T15:18:23.799Z] INFO: archiving logs to Nexus