Started by user Ernesto Ojeda 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-ssh3916646098015349641.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-ssh5493073158295407287.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-ssh4547437587190326003.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-ssh4269306722921111463.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-ssh15975747905294201849.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-8840 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 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T18:00:17.293Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T18:00:17.354Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T18:00:17.366Z] ========================================================= [2023-03-08T18:00:17.366Z] EdgeX Global Pipelines Version Info [2023-03-08T18:00:17.366Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:00:18.072Z] ------------------- [2023-03-08T18:00:18.072Z] stable info: [2023-03-08T18:00:18.072Z] ------------------- [2023-03-08T18:00:18.072Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T18:00:18.072Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T18:00:18.072Z] Message: update stable to v1.0.244 [2023-03-08T18:00:18.642Z] ------------------- [2023-03-08T18:00:18.642Z] experimental info: [2023-03-08T18:00:18.642Z] ------------------- [2023-03-08T18:00:18.642Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T18:00:18.642Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T18:00:18.642Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T18:00:18.823Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-08T18:00:18.833Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-08T18:00:18.847Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T18:00:18.858Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T18:00:18.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T18:00:18.884Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T18:00:18.896Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T18:00:18.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-08T18:00:18.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T18:00:18.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T18:00:18.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T18:00:18.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-08T18:00:18.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T18:00:18.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T18:00:19.010Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T18:00:19.024Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T18:00:19.033Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T18:00:19.046Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T18:00:19.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T18:00:19.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T18:00:19.079Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-08T18:00:19.088Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-03-08T18:00:19.096Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T18:00:19.105Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T18:00:19.113Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T18:00:19.122Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T18:00:19.130Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T18:00:19.139Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo [2023-03-08T18:00:19.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo [2023-03-08T18:00:19.156Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo [2023-03-08T18:00:19.166Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-08T18:00:19.176Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d4ffc7 [Pipeline] echo [2023-03-08T18:00:19.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T18:00:19.240Z] provisioning config files... [2023-03-08T18:00:19.255Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config15510501082393863521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:00:19.554Z] ---> docker-login.sh [2023-03-08T18:00:19.554Z] nexus3.edgexfoundry.org:10001 [2023-03-08T18:00:19.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:19.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:19.814Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:19.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:19.814Z] [2023-03-08T18:00:19.814Z] Login Succeeded [2023-03-08T18:00:19.814Z] nexus3.edgexfoundry.org:10002 [2023-03-08T18:00:19.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:19.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:19.814Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:19.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:19.814Z] [2023-03-08T18:00:19.814Z] Login Succeeded [2023-03-08T18:00:19.814Z] nexus3.edgexfoundry.org:10003 [2023-03-08T18:00:20.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:20.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:20.073Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:20.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:20.073Z] [2023-03-08T18:00:20.073Z] Login Succeeded [2023-03-08T18:00:20.073Z] nexus3.edgexfoundry.org:10004 [2023-03-08T18:00:20.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:20.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:20.073Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:20.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:20.073Z] [2023-03-08T18:00:20.073Z] Login Succeeded [2023-03-08T18:00:20.073Z] docker.io [2023-03-08T18:00:20.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:20.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:20.333Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:20.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:20.333Z] [2023-03-08T18:00:20.333Z] Login Succeeded [2023-03-08T18:00:20.333Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T18:00:20.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T18:00:20.723Z] + git rev-list -1 --merges 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7~1..4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-08T18:00:20.776Z] -----------> git rev-list -1 --merges 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7~1..4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [false] [Pipeline] sh [2023-03-08T18:00:21.066Z] + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-08T18:00:21.081Z] ========================================================= [2023-03-08T18:00:21.081Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T18:00:21.081Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T18:00:21.398Z] + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo [2023-03-08T18:00:21.421Z] [semverPrep] GIT_COMMIT: 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7, Commit Message: fix: assign device service in dic before driver.Initialize (#1359) [Pipeline] echo [2023-03-08T18:00:21.429Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T18:00:21.798Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T18:00:21.798Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T18:00:21.798Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T18:00:21.798Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T18:00:21.798Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T18:00:21.798Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T18:00:21.798Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:00:22.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T18:00:22.202Z] [2023-03-08T18:00:22.202Z] 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-08T18:00:22.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T18:00:22.503Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T18:00:22.503Z] b85a868b505f: Pulling fs layer [2023-03-08T18:00:22.503Z] e2be974225ed: Pulling fs layer [2023-03-08T18:00:22.503Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T18:00:22.503Z] 988bab9f4d93: Pulling fs layer [2023-03-08T18:00:22.503Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T18:00:22.503Z] eaf3925da568: Pulling fs layer [2023-03-08T18:00:22.503Z] bab4dde63d76: Pulling fs layer [2023-03-08T18:00:22.503Z] bde34c3a00c8: Pulling fs layer [2023-03-08T18:00:22.503Z] b352a97aabf1: Pulling fs layer [2023-03-08T18:00:22.503Z] 4872d77fe225: Pulling fs layer [2023-03-08T18:00:22.503Z] 5851b861e8e6: Pulling fs layer [2023-03-08T18:00:22.503Z] 988bab9f4d93: Waiting [2023-03-08T18:00:22.503Z] bde34c3a00c8: Waiting [2023-03-08T18:00:22.503Z] b352a97aabf1: Waiting [2023-03-08T18:00:22.503Z] 1469e6f7b9e6: Waiting [2023-03-08T18:00:22.503Z] bab4dde63d76: Waiting [2023-03-08T18:00:22.503Z] eaf3925da568: Waiting [2023-03-08T18:00:22.503Z] 4872d77fe225: Waiting [2023-03-08T18:00:22.503Z] 5851b861e8e6: Waiting [2023-03-08T18:00:22.503Z] e2be974225ed: Verifying Checksum [2023-03-08T18:00:22.503Z] e2be974225ed: Download complete [2023-03-08T18:00:22.503Z] 988bab9f4d93: Verifying Checksum [2023-03-08T18:00:22.503Z] 988bab9f4d93: Download complete [2023-03-08T18:00:22.763Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T18:00:22.763Z] 1469e6f7b9e6: Download complete [2023-03-08T18:00:22.763Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T18:00:22.763Z] 339a4e72a1f5: Download complete [2023-03-08T18:00:22.763Z] eaf3925da568: Verifying Checksum [2023-03-08T18:00:22.763Z] eaf3925da568: Download complete [2023-03-08T18:00:22.763Z] bde34c3a00c8: Verifying Checksum [2023-03-08T18:00:22.763Z] bde34c3a00c8: Download complete [2023-03-08T18:00:22.763Z] b352a97aabf1: Download complete [2023-03-08T18:00:22.763Z] 4872d77fe225: Download complete [2023-03-08T18:00:22.763Z] 5851b861e8e6: Download complete [2023-03-08T18:00:22.763Z] b85a868b505f: Verifying Checksum [2023-03-08T18:00:22.763Z] b85a868b505f: Download complete [2023-03-08T18:00:23.024Z] bab4dde63d76: Verifying Checksum [2023-03-08T18:00:23.024Z] bab4dde63d76: Download complete [2023-03-08T18:00:23.961Z] b85a868b505f: Pull complete [2023-03-08T18:00:24.227Z] e2be974225ed: Pull complete [2023-03-08T18:00:24.486Z] 339a4e72a1f5: Pull complete [2023-03-08T18:00:24.757Z] 988bab9f4d93: Pull complete [2023-03-08T18:00:25.022Z] 1469e6f7b9e6: Pull complete [2023-03-08T18:00:25.022Z] eaf3925da568: Pull complete [2023-03-08T18:00:26.930Z] bab4dde63d76: Pull complete [2023-03-08T18:00:26.930Z] bde34c3a00c8: Pull complete [2023-03-08T18:00:26.930Z] b352a97aabf1: Pull complete [2023-03-08T18:00:27.190Z] 4872d77fe225: Pull complete [2023-03-08T18:00:27.190Z] 5851b861e8e6: Pull complete [2023-03-08T18:00:27.190Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T18:00:27.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T18:00:27.190Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:00:27.286Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:00:27.324Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T18:00:30.085Z] $ docker top e4bf0e79e953d6c83b6ac3129aceb956a8e86711088106108bac18648c290f28 -eo pid,comm [2023-03-08T18:00:30.143Z] 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-08T18:00:30.143Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T18:00:30.183Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T18:00:30.183Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T18:00:30.291Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T18:00:30.297Z] $ docker exec e4bf0e79e953d6c83b6ac3129aceb956a8e86711088106108bac18648c290f28 ssh-agent [2023-03-08T18:00:30.412Z] SSH_AUTH_SOCK=/tmp/ssh-BTBGsNHAIM6c/agent.33 [2023-03-08T18:00:30.412Z] SSH_AGENT_PID=39 [2023-03-08T18:00:30.417Z] Running ssh-add (command line suppressed) [2023-03-08T18:00:30.514Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_5302575735795284527.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_5302575735795284527.key) [2023-03-08T18:00:30.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T18:00:30.811Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T18:00:30.825Z] $ docker exec --env ******** --env ******** e4bf0e79e953d6c83b6ac3129aceb956a8e86711088106108bac18648c290f28 ssh-agent -k [2023-03-08T18:00:30.922Z] unset SSH_AUTH_SOCK; [2023-03-08T18:00:30.922Z] unset SSH_AGENT_PID; [2023-03-08T18:00:30.923Z] echo Agent pid 39 killed; [2023-03-08T18:00:30.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T18:00:30.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T18:00:30.953Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T18:00:31.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T18:00:31.072Z] $ docker exec e4bf0e79e953d6c83b6ac3129aceb956a8e86711088106108bac18648c290f28 ssh-agent [2023-03-08T18:00:31.179Z] SSH_AUTH_SOCK=/tmp/ssh-qI1oLrtrkiEl/agent.71 [2023-03-08T18:00:31.179Z] SSH_AGENT_PID=77 [2023-03-08T18:00:31.184Z] Running ssh-add (command line suppressed) [2023-03-08T18:00:31.294Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_10390043725363141806.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_10390043725363141806.key) [2023-03-08T18:00:31.304Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T18:00:31.592Z] + git semver init [2023-03-08T18:00:31.851Z] 2023-03-08 18:00:31,794 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T18:00:31.851Z] 2023-03-08 18:00:31,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver [2023-03-08T18:00:31.851Z] 2023-03-08 18:00:31,795 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/dgexfoundry_device-sdk-go_levski/.semver [2023-03-08T18:00:31.851Z] 2023-03-08 18:00:31,795 [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-08T18:00:32.789Z] 2023-03-08 18:00:32,727 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.git/info/exclude [2023-03-08T18:00:32.789Z] 2023-03-08 18:00:32,728 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:False [2023-03-08T18:00:32.789Z] 2023-03-08 18:00:32,728 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T18:00:32.789Z] 2023-03-08 18:00:32,728 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T18:00:32.789Z] 2.3.1-dev.1 [Pipeline] } [2023-03-08T18:00:32.803Z] $ docker exec --env ******** --env ******** e4bf0e79e953d6c83b6ac3129aceb956a8e86711088106108bac18648c290f28 ssh-agent -k [2023-03-08T18:00:32.902Z] unset SSH_AUTH_SOCK; [2023-03-08T18:00:32.903Z] unset SSH_AGENT_PID; [2023-03-08T18:00:32.903Z] echo Agent pid 77 killed; [2023-03-08T18:00:32.909Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T18:00:33.202Z] + git semver [Pipeline] } [2023-03-08T18:00:33.478Z] $ docker stop --time=1 e4bf0e79e953d6c83b6ac3129aceb956a8e86711088106108bac18648c290f28 [2023-03-08T18:00:34.771Z] $ docker rm -f --volumes e4bf0e79e953d6c83b6ac3129aceb956a8e86711088106108bac18648c290f28 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T18:00:35.113Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T18:00:35.337Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T18:00:35.340Z] [edgeXSemver]: initialized semver on version 2.3.1-dev.1 [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-08T18:00:35.480Z] provisioning config files... [2023-03-08T18:00:35.490Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config9134657216237885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:00:35.786Z] ---> docker-login.sh [2023-03-08T18:00:35.786Z] nexus3.edgexfoundry.org:10001 [2023-03-08T18:00:35.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:35.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:35.786Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:35.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:35.786Z] [2023-03-08T18:00:35.786Z] Login Succeeded [2023-03-08T18:00:35.786Z] nexus3.edgexfoundry.org:10002 [2023-03-08T18:00:36.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:36.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:36.047Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:36.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:36.047Z] [2023-03-08T18:00:36.047Z] Login Succeeded [2023-03-08T18:00:36.047Z] nexus3.edgexfoundry.org:10003 [2023-03-08T18:00:36.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:36.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:36.047Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:36.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:36.047Z] [2023-03-08T18:00:36.047Z] Login Succeeded [2023-03-08T18:00:36.047Z] nexus3.edgexfoundry.org:10004 [2023-03-08T18:00:36.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:36.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:36.308Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:36.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:36.308Z] [2023-03-08T18:00:36.308Z] Login Succeeded [2023-03-08T18:00:36.308Z] docker.io [2023-03-08T18:00:36.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:00:36.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:00:36.568Z] Configure a credential helper to remove this warning. See [2023-03-08T18:00:36.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:00:36.568Z] [2023-03-08T18:00:36.568Z] Login Succeeded [2023-03-08T18:00:36.568Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T18:00:36.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T18:00:36.631Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T18:00:36.642Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T18:00:36.649Z] ========================================================= [2023-03-08T18:00:36.649Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T18:00:36.649Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:00:36.948Z] + 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-08T18:00:36.948Z] Sending build context to Docker daemon 10.67MB [2023-03-08T18:00:36.948Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T18:00:36.948Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T18:00:36.948Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T18:00:36.948Z] 213ec9aee27d: Pulling fs layer [2023-03-08T18:00:36.948Z] 4583459ba037: Pulling fs layer [2023-03-08T18:00:36.948Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T18:00:36.948Z] 53926ce57604: Pulling fs layer [2023-03-08T18:00:36.948Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T18:00:36.948Z] 22ff95d597cd: Pulling fs layer [2023-03-08T18:00:36.948Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T18:00:36.948Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T18:00:36.948Z] a7acece74701: Pulling fs layer [2023-03-08T18:00:36.948Z] 21b2b0c7a3f4: Waiting [2023-03-08T18:00:36.948Z] 22ff95d597cd: Waiting [2023-03-08T18:00:36.948Z] 12d6caf4c0d1: Waiting [2023-03-08T18:00:36.948Z] 96b7cbca73a9: Waiting [2023-03-08T18:00:36.948Z] a7acece74701: Waiting [2023-03-08T18:00:36.948Z] 53926ce57604: Waiting [2023-03-08T18:00:37.207Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T18:00:37.207Z] 93c1e223e6f2: Download complete [2023-03-08T18:00:37.207Z] 4583459ba037: Download complete [2023-03-08T18:00:37.207Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-08T18:00:37.207Z] 21b2b0c7a3f4: Download complete [2023-03-08T18:00:37.207Z] 213ec9aee27d: Download complete [2023-03-08T18:00:37.207Z] 12d6caf4c0d1: Download complete [2023-03-08T18:00:37.207Z] 213ec9aee27d: Pull complete [2023-03-08T18:00:37.468Z] 4583459ba037: Pull complete [2023-03-08T18:00:37.468Z] 93c1e223e6f2: Pull complete [2023-03-08T18:00:37.468Z] a7acece74701: Verifying Checksum [2023-03-08T18:00:37.468Z] a7acece74701: Download complete [2023-03-08T18:00:38.035Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T18:00:38.035Z] 96b7cbca73a9: Download complete [2023-03-08T18:00:38.035Z] 53926ce57604: Verifying Checksum [2023-03-08T18:00:38.035Z] 53926ce57604: Download complete [2023-03-08T18:00:42.222Z] 53926ce57604: Pull complete [2023-03-08T18:00:42.222Z] 21b2b0c7a3f4: Pull complete [2023-03-08T18:00:42.222Z] 22ff95d597cd: Pull complete [2023-03-08T18:00:42.222Z] 12d6caf4c0d1: Pull complete [2023-03-08T18:00:44.761Z] 96b7cbca73a9: Pull complete [2023-03-08T18:00:45.328Z] a7acece74701: Pull complete [2023-03-08T18:00:45.328Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T18:00:45.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T18:00:45.328Z] ---> db6d94c90886 [2023-03-08T18:00:45.328Z] Step 3/10 : ARG MAKE=make build [2023-03-08T18:00:50.451Z] Still waiting to schedule task [2023-03-08T18:00:50.451Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-08T18:00:50.629Z] ---> Running in 2b7d4dd152dd [2023-03-08T18:00:50.629Z] Removing intermediate container 2b7d4dd152dd [2023-03-08T18:00:50.629Z] ---> 8db891252129 [2023-03-08T18:00:50.629Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T18:00:50.629Z] ---> Running in 9578d81e639b [2023-03-08T18:00:50.629Z] Removing intermediate container 9578d81e639b [2023-03-08T18:00:50.629Z] ---> 23c950903e71 [2023-03-08T18:00:50.629Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T18:00:50.629Z] ---> Running in c286bfa333b8 [2023-03-08T18:00:50.629Z] Removing intermediate container c286bfa333b8 [2023-03-08T18:00:50.629Z] ---> 0a4c44388077 [2023-03-08T18:00:50.629Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-08T18:00:50.629Z] ---> Running in c4953090cfeb [2023-03-08T18:00:50.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T18:00:50.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T18:00:50.888Z] OK: 211 MiB in 51 packages [2023-03-08T18:00:51.146Z] Removing intermediate container c4953090cfeb [2023-03-08T18:00:51.146Z] ---> bf97032a5a24 [2023-03-08T18:00:51.146Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T18:00:51.404Z] ---> d9d8baa01b97 [2023-03-08T18:00:51.404Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T18:00:51.404Z] ---> Running in b13e53d42d90 [2023-03-08T18:01:13.331Z] Removing intermediate container b13e53d42d90 [2023-03-08T18:01:13.331Z] ---> d0abb7632064 [2023-03-08T18:01:13.331Z] Step 9/10 : COPY . . [2023-03-08T18:01:13.331Z] ---> 8dce0aec5e92 [2023-03-08T18:01:13.331Z] Step 10/10 : RUN ${MAKE} [2023-03-08T18:01:13.331Z] ---> Running in 8aa5f0235ffb [2023-03-08T18:01:13.331Z] noop [2023-03-08T18:01:13.591Z] Removing intermediate container 8aa5f0235ffb [2023-03-08T18:01:13.591Z] ---> 709681c34ef8 [2023-03-08T18:01:13.591Z] Successfully built 709681c34ef8 [2023-03-08T18:01:13.591Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:01:13.907Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T18:01:13.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:01:13.981Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:01:14.015Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T18:01:14.363Z] $ docker top ac81c5dd147e3368b5dbd3a9054300e4c46682385f8ee0063672858085a167dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:01:14.712Z] + go version [2023-03-08T18:01:14.712Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T18:01:14.727Z] $ docker stop --time=1 ac81c5dd147e3368b5dbd3a9054300e4c46682385f8ee0063672858085a167dd [2023-03-08T18:01:15.999Z] $ docker rm -f --volumes ac81c5dd147e3368b5dbd3a9054300e4c46682385f8ee0063672858085a167dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:01:16.390Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T18:01:16.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:01:16.462Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:01:16.492Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T18:01:16.859Z] $ docker top a2a4d2c42ea10d22e2e5ecbb8a260835ff6e777c8ff684682d0692fcf80354ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:01:17.194Z] + git config --global --add safe.directory /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] fileExists [Pipeline] sh [2023-03-08T18:01:17.485Z] + make test [2023-03-08T18:01:17.485Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-08T18:01:24.062Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-08T18:01:38.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2023-03-08T18:01:38.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.096s coverage: 78.9% of statements [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-08T18:01:38.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.152s coverage: 73.1% of statements [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-08T18:01:38.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.119s coverage: 54.4% of statements [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-08T18:01:38.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-08T18:01:38.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.731s coverage: 89.2% of statements [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-08T18:01:38.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2023-03-08T18:01:38.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-08T18:01:57.018Z] 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-08T18:01:57.018Z] GO111MODULE=on go vet ./... [2023-03-08T18:01:58.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T18:01:58.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T18:01:58.394Z] ./bin/test-attribution-txt.sh [2023-03-08T18:01:58.394Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-08T18:01:58.394Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-08T18:01:58.394Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-08T18:01:58.394Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T18:01:58.407Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T18:01:58.421Z] $ docker stop --time=1 a2a4d2c42ea10d22e2e5ecbb8a260835ff6e777c8ff684682d0692fcf80354ad [2023-03-08T18:02:02.102Z] $ docker rm -f --volumes a2a4d2c42ea10d22e2e5ecbb8a260835ff6e777c8ff684682d0692fcf80354ad [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T18:02:02.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T18:02:02.689Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T18:02:03.175Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T18:02:03.464Z] + ls -al . [2023-03-08T18:02:03.464Z] total 280 [2023-03-08T18:02:03.464Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 18:01 . [2023-03-08T18:02:03.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:00 .. [2023-03-08T18:02:03.464Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 18:00 .dockerignore [2023-03-08T18:02:03.464Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 18:01 .git [2023-03-08T18:02:03.464Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 18:00 .github [2023-03-08T18:02:03.464Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 18:00 .gitignore [2023-03-08T18:02:03.464Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 18:00 .golangci.yml [2023-03-08T18:02:03.464Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 18:00 .semver [2023-03-08T18:02:03.464Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 18:00 CHANGELOG.md [2023-03-08T18:02:03.464Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 18:00 GOVERNANCE.md [2023-03-08T18:02:03.464Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 8 18:00 Jenkinsfile [2023-03-08T18:02:03.465Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 18:00 LICENSE [2023-03-08T18:02:03.465Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 8 18:00 Makefile [2023-03-08T18:02:03.465Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 18:00 OWNERS.md [2023-03-08T18:02:03.465Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 8 18:00 README.md [2023-03-08T18:02:03.465Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 8 18:00 VERSION [2023-03-08T18:02:03.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 18:00 bin [2023-03-08T18:02:03.465Z] -rw-r--r-- 1 jenkins jenkins 101840 Mar 8 18:01 coverage.out [2023-03-08T18:02:03.465Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 18:00 example [2023-03-08T18:02:03.465Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 8 18:00 go.mod [2023-03-08T18:02:03.465Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 8 18:00 go.sum [2023-03-08T18:02:03.465Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 8 18:00 internal [2023-03-08T18:02:03.465Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:00 openapi [2023-03-08T18:02:03.465Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 18:00 pkg [2023-03-08T18:02:03.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:00 snap [2023-03-08T18:02:03.465Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 18:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:02:03.791Z] + 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=2.3.1-dev.1 . [2023-03-08T18:02:03.791Z] Sending build context to Docker daemon 10.78MB [2023-03-08T18:02:03.791Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T18:02:03.791Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T18:02:03.791Z] ---> 709681c34ef8 [2023-03-08T18:02:03.791Z] Step 3/23 : ARG MAKE=make build [2023-03-08T18:02:04.050Z] ---> Running in bf473400d96a [2023-03-08T18:02:04.050Z] Removing intermediate container bf473400d96a [2023-03-08T18:02:04.050Z] ---> d3a0a2b8ae98 [2023-03-08T18:02:04.050Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T18:02:04.050Z] ---> Running in 0d5666792cbc [2023-03-08T18:02:04.309Z] Removing intermediate container 0d5666792cbc [2023-03-08T18:02:04.309Z] ---> e76849b5fef9 [2023-03-08T18:02:04.309Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T18:02:04.309Z] ---> Running in 7e6a2088b471 [2023-03-08T18:02:04.309Z] Removing intermediate container 7e6a2088b471 [2023-03-08T18:02:04.309Z] ---> db5bcfc82519 [2023-03-08T18:02:04.309Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-08T18:02:04.309Z] ---> Running in a8aaa4282293 [2023-03-08T18:02:04.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T18:02:04.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T18:02:04.828Z] OK: 211 MiB in 51 packages [2023-03-08T18:02:05.087Z] Removing intermediate container a8aaa4282293 [2023-03-08T18:02:05.088Z] ---> 17e89dddd9b9 [2023-03-08T18:02:05.088Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T18:02:05.347Z] ---> 7e4af3e785df [2023-03-08T18:02:05.347Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T18:02:05.347Z] ---> Running in bd293974d97d [2023-03-08T18:02:05.915Z] Removing intermediate container bd293974d97d [2023-03-08T18:02:05.915Z] ---> 3378125aface [2023-03-08T18:02:05.915Z] Step 9/23 : COPY . . [2023-03-08T18:02:06.484Z] ---> 964374d21791 [2023-03-08T18:02:06.485Z] Step 10/23 : RUN ${MAKE} [2023-03-08T18:02:06.485Z] ---> Running in 5b440dffa5c4 [2023-03-08T18:02:06.743Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-08T18:02:23.718Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8841 in /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] { [Pipeline] ws [2023-03-08T18:02:23.733Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-03-08T18:02:23.771Z] The recommended git tool is: git [2023-03-08T18:02:24.816Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-03-08T18:02:28.133Z] Removing intermediate container 5b440dffa5c4 [2023-03-08T18:02:28.133Z] ---> fb90e186e6f9 [2023-03-08T18:02:28.133Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T18:02:28.133Z] 3.16: Pulling from library/alpine [2023-03-08T18:02:28.133Z] ef5531b6e74e: Pulling fs layer [2023-03-08T18:02:28.393Z] ef5531b6e74e: Download complete [2023-03-08T18:02:28.393Z] ef5531b6e74e: Pull complete [2023-03-08T18:02:28.393Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T18:02:28.393Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T18:02:28.393Z] ---> dfd21b5a31f5 [2023-03-08T18:02:28.393Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T18:02:28.653Z] ---> Running in 02b7d33384e8 [2023-03-08T18:02:28.653Z] Removing intermediate container 02b7d33384e8 [2023-03-08T18:02:28.653Z] ---> 19c8943bbc63 [2023-03-08T18:02:28.653Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-08T18:02:28.653Z] ---> Running in 6841ccd2854a [2023-03-08T18:02:28.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T18:02:29.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T18:02:29.431Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-08T18:02:29.431Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-08T18:02:29.431Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-08T18:02:29.431Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-08T18:02:29.431Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-08T18:02:29.431Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T18:02:29.431Z] OK: 8 MiB in 19 packages [2023-03-08T18:02:29.536Z] using credential edgex-jenkins-ssh [2023-03-08T18:02:29.552Z] Cloning the remote Git repository [2023-03-08T18:02:29.691Z] Removing intermediate container 6841ccd2854a [2023-03-08T18:02:29.691Z] ---> f347d26a65b8 [2023-03-08T18:02:29.691Z] Step 14/23 : WORKDIR / [2023-03-08T18:02:29.950Z] ---> Running in 2402bc3d8ec8 [2023-03-08T18:02:29.950Z] Removing intermediate container 2402bc3d8ec8 [2023-03-08T18:02:29.950Z] ---> 6fc7c1553ca2 [2023-03-08T18:02:29.950Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T18:02:29.950Z] ---> e44030b9d555 [2023-03-08T18:02:29.950Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T18:02:29.596Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T18:02:29.671Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-03-08T18:02:29.832Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T18:02:29.833Z] > git --version # timeout=10 [2023-03-08T18:02:29.854Z] > git --version # 'git version 2.25.1' [2023-03-08T18:02:29.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T18:02:29.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T18:02:30.889Z] ---> 38c2976c8ba0 [2023-03-08T18:02:30.889Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T18:02:30.889Z] ---> 007ddb29dea7 [2023-03-08T18:02:30.889Z] Step 18/23 : EXPOSE 59999 [2023-03-08T18:02:30.889Z] ---> Running in 51848271afa8 [2023-03-08T18:02:30.889Z] Removing intermediate container 51848271afa8 [2023-03-08T18:02:30.889Z] ---> 2fc8787f8d00 [2023-03-08T18:02:30.889Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T18:02:30.889Z] ---> Running in 35c5029e5073 [2023-03-08T18:02:31.151Z] Removing intermediate container 35c5029e5073 [2023-03-08T18:02:31.151Z] ---> b5d023b93148 [2023-03-08T18:02:31.151Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-08T18:02:31.151Z] ---> Running in 94421bb68eee [2023-03-08T18:02:31.151Z] Removing intermediate container 94421bb68eee [2023-03-08T18:02:31.151Z] ---> 1f5d94d2e80d [2023-03-08T18:02:31.151Z] Step 21/23 : LABEL arch=amd64 [2023-03-08T18:02:31.151Z] ---> Running in 984cc1806488 [2023-03-08T18:02:31.410Z] Removing intermediate container 984cc1806488 [2023-03-08T18:02:31.410Z] ---> ce92dd777077 [2023-03-08T18:02:31.410Z] Step 22/23 : LABEL git_sha=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [2023-03-08T18:02:31.410Z] ---> Running in f97fe5584047 [2023-03-08T18:02:31.410Z] Removing intermediate container f97fe5584047 [2023-03-08T18:02:31.410Z] ---> 16dbbc42737f [2023-03-08T18:02:31.410Z] Step 23/23 : LABEL version=2.3.1-dev.1 [2023-03-08T18:02:31.410Z] ---> Running in b7e4e4cbf3e6 [2023-03-08T18:02:31.410Z] Removing intermediate container b7e4e4cbf3e6 [2023-03-08T18:02:31.410Z] ---> 038a817a35f8 [2023-03-08T18:02:31.410Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T18:02:31.410Z] Successfully built 038a817a35f8 [2023-03-08T18:02:31.410Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:02:31.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T18:02:31.865Z] [2023-03-08T18:02:31.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:02:32.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T18:02:32.173Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T18:02:32.173Z] 5eb5b503b376: Pulling fs layer [2023-03-08T18:02:32.173Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T18:02:32.173Z] ec43610c2a17: Pulling fs layer [2023-03-08T18:02:32.173Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T18:02:32.173Z] 33b1e0a273af: Pulling fs layer [2023-03-08T18:02:32.173Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T18:02:32.173Z] 2f39f015ded8: Pulling fs layer [2023-03-08T18:02:32.173Z] 3a2ae6a8a46f: Waiting [2023-03-08T18:02:32.173Z] 33b1e0a273af: Waiting [2023-03-08T18:02:32.173Z] 5d3b04190fa2: Waiting [2023-03-08T18:02:32.173Z] 2f39f015ded8: Waiting [2023-03-08T18:02:32.174Z] 5c69ac0246d0: Download complete [2023-03-08T18:02:32.174Z] 3a2ae6a8a46f: Download complete [2023-03-08T18:02:32.337Z] Avoid second fetch [2023-03-08T18:02:32.337Z] Checking out Revision 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 (levski) [2023-03-08T18:02:32.448Z] 33b1e0a273af: Verifying Checksum [2023-03-08T18:02:32.448Z] 33b1e0a273af: Download complete [2023-03-08T18:02:32.448Z] 5d3b04190fa2: Verifying Checksum [2023-03-08T18:02:32.448Z] 5d3b04190fa2: Download complete [2023-03-08T18:02:32.448Z] ec43610c2a17: Verifying Checksum [2023-03-08T18:02:32.448Z] ec43610c2a17: Download complete [2023-03-08T18:02:32.448Z] 5eb5b503b376: Verifying Checksum [2023-03-08T18:02:32.448Z] 5eb5b503b376: Download complete [2023-03-08T18:02:31.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T18:02:31.492Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T18:02:32.353Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T18:02:32.371Z] > git checkout -f 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 # timeout=10 [2023-03-08T18:02:32.851Z] Commit message: "fix: assign device service in dic before driver.Initialize (#1359)" [2023-03-08T18:02:33.053Z] 2f39f015ded8: Download complete [2023-03-08T18:02:33.195Z] [2023-03-08T18:02:33.195Z] GitHub has been notified of this commit’s build result [2023-03-08T18:02:33.195Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T18:02:33.631Z] 5eb5b503b376: Pull complete [2023-03-08T18:02:33.747Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T18:02:33.747Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T18:02:33.747Z] Dload Upload Total Spent Left Speed [2023-03-08T18:02:33.747Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [2023-03-08T18:02:33.889Z] 5c69ac0246d0: Pull complete [Pipeline] sh [2023-03-08T18:02:34.414Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T18:02:34.458Z] ec43610c2a17: Pull complete [2023-03-08T18:02:34.458Z] 3a2ae6a8a46f: Pull complete [2023-03-08T18:02:34.716Z] 33b1e0a273af: Pull complete [2023-03-08T18:02:34.716Z] 5d3b04190fa2: Pull complete [2023-03-08T18:02:34.745Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T18:02:34.745Z] + sudo tee /etc/docker/daemon.new [2023-03-08T18:02:34.745Z] { [2023-03-08T18:02:34.745Z] "registry-mirrors": [ [2023-03-08T18:02:34.745Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T18:02:34.745Z] ], [2023-03-08T18:02:34.745Z] "bip": "10.250.0.254/24", [2023-03-08T18:02:34.745Z] "hosts": [ [2023-03-08T18:02:34.745Z] "tcp://0.0.0.0:5555", [2023-03-08T18:02:34.745Z] "unix:///var/run/docker.sock" [2023-03-08T18:02:34.745Z] ], [2023-03-08T18:02:34.745Z] "mtu": 1458, [2023-03-08T18:02:34.745Z] "selinux-enabled": true, [2023-03-08T18:02:34.745Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T18:02:34.745Z] } [Pipeline] sh [2023-03-08T18:02:35.082Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T18:02:35.417Z] + sudo service docker restart [2023-03-08T18:02:40.012Z] 2f39f015ded8: Pull complete [2023-03-08T18:02:40.012Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T18:02:40.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T18:02:40.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:02:40.094Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:02:40.126Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T18:02:43.706Z] $ docker top f124888bbf51b07f0096eebdd50616dd6de9f9ef2062a3832a2a202d393e7acb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:02:44.092Z] ---> job-cost.sh [2023-03-08T18:02:44.092Z] lf-activate-venv: SKIPPING [2023-03-08T18:02:44.092Z] INFO: No Stack... [2023-03-08T18:02:44.352Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T18:02:44.612Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T18:02:44.904Z] + cut -d, -f6 [2023-03-08T18:02:44.904Z] + cat /w/workspace/dgexfoundry_device-sdk-go_levski/archives/cost.csv [Pipeline] lock [2023-03-08T18:02:44.916Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-4-stack-cost] [2023-03-08T18:02:44.941Z] Resource [jenkins-edgexfoundry-device-sdk-go-levski-4-stack-cost] did not exist. Created. [2023-03-08T18:02:44.941Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T18:02:45.247Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T18:02:45.275Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T18:02:45.285Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T18:02:45.305Z] $ docker stop --time=1 f124888bbf51b07f0096eebdd50616dd6de9f9ef2062a3832a2a202d393e7acb [2023-03-08T18:02:46.462Z] $ docker rm -f --volumes f124888bbf51b07f0096eebdd50616dd6de9f9ef2062a3832a2a202d393e7acb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T18:02:53.689Z] provisioning config files... [2023-03-08T18:02:53.720Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config14382322835490491008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:02:54.084Z] ---> docker-login.sh [2023-03-08T18:02:54.084Z] nexus3.edgexfoundry.org:10001 [2023-03-08T18:02:54.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:02:54.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:02:54.675Z] Configure a credential helper to remove this warning. See [2023-03-08T18:02:54.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:02:54.675Z] [2023-03-08T18:02:54.675Z] Login Succeeded [2023-03-08T18:02:54.675Z] nexus3.edgexfoundry.org:10002 [2023-03-08T18:02:54.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:02:54.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:02:54.944Z] Configure a credential helper to remove this warning. See [2023-03-08T18:02:54.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:02:54.944Z] [2023-03-08T18:02:54.944Z] Login Succeeded [2023-03-08T18:02:54.944Z] nexus3.edgexfoundry.org:10003 [2023-03-08T18:02:55.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:02:55.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:02:55.488Z] Configure a credential helper to remove this warning. See [2023-03-08T18:02:55.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:02:55.488Z] [2023-03-08T18:02:55.488Z] Login Succeeded [2023-03-08T18:02:55.488Z] nexus3.edgexfoundry.org:10004 [2023-03-08T18:02:55.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:02:55.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:02:55.760Z] Configure a credential helper to remove this warning. See [2023-03-08T18:02:55.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:02:55.760Z] [2023-03-08T18:02:55.760Z] Login Succeeded [2023-03-08T18:02:55.760Z] docker.io [2023-03-08T18:02:56.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:02:56.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:02:56.303Z] Configure a credential helper to remove this warning. See [2023-03-08T18:02:56.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:02:56.303Z] [2023-03-08T18:02:56.303Z] Login Succeeded [2023-03-08T18:02:56.303Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T18:02:56.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T18:02:56.617Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T18:02:56.634Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T18:02:56.643Z] ========================================================= [2023-03-08T18:02:56.643Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T18:02:56.643Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:02:56.997Z] + 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-08T18:02:57.589Z] Sending build context to Docker daemon 5.744MB [2023-03-08T18:02:57.589Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T18:02:57.589Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T18:02:57.589Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T18:02:57.589Z] 9b18e9b68314: Pulling fs layer [2023-03-08T18:02:57.589Z] 35d82f9e3411: Pulling fs layer [2023-03-08T18:02:57.589Z] e16973657156: Pulling fs layer [2023-03-08T18:02:57.589Z] fc693d55d65f: Pulling fs layer [2023-03-08T18:02:57.589Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T18:02:57.589Z] dda99020689f: Pulling fs layer [2023-03-08T18:02:57.589Z] db1c61fa0a46: Pulling fs layer [2023-03-08T18:02:57.589Z] 891c053d2c06: Pulling fs layer [2023-03-08T18:02:57.589Z] fc693d55d65f: Waiting [2023-03-08T18:02:57.589Z] 7e9fc2657dce: Waiting [2023-03-08T18:02:57.589Z] dda99020689f: Waiting [2023-03-08T18:02:57.589Z] db1c61fa0a46: Waiting [2023-03-08T18:02:57.589Z] 891c053d2c06: Waiting [2023-03-08T18:02:57.589Z] e16973657156: Verifying Checksum [2023-03-08T18:02:57.589Z] e16973657156: Download complete [2023-03-08T18:02:57.589Z] 35d82f9e3411: Verifying Checksum [2023-03-08T18:02:57.589Z] 35d82f9e3411: Download complete [2023-03-08T18:02:57.589Z] 7e9fc2657dce: Verifying Checksum [2023-03-08T18:02:57.589Z] 7e9fc2657dce: Download complete [2023-03-08T18:02:57.589Z] dda99020689f: Verifying Checksum [2023-03-08T18:02:57.589Z] dda99020689f: Download complete [2023-03-08T18:02:57.589Z] 9b18e9b68314: Verifying Checksum [2023-03-08T18:02:57.589Z] 9b18e9b68314: Download complete [2023-03-08T18:02:59.016Z] 9b18e9b68314: Pull complete [2023-03-08T18:02:59.016Z] 891c053d2c06: Verifying Checksum [2023-03-08T18:02:59.016Z] 891c053d2c06: Download complete [2023-03-08T18:02:59.294Z] 35d82f9e3411: Pull complete [2023-03-08T18:02:59.575Z] e16973657156: Pull complete [2023-03-08T18:03:00.169Z] db1c61fa0a46: Verifying Checksum [2023-03-08T18:03:00.169Z] db1c61fa0a46: Download complete [2023-03-08T18:03:00.782Z] fc693d55d65f: Verifying Checksum [2023-03-08T18:03:00.782Z] fc693d55d65f: Download complete [2023-03-08T18:03:13.123Z] fc693d55d65f: Pull complete [2023-03-08T18:03:13.123Z] 7e9fc2657dce: Pull complete [2023-03-08T18:03:13.123Z] dda99020689f: Pull complete [2023-03-08T18:03:19.790Z] db1c61fa0a46: Pull complete [2023-03-08T18:03:20.755Z] 891c053d2c06: Pull complete [2023-03-08T18:03:20.755Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T18:03:20.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T18:03:20.755Z] ---> f96f9c87975a [2023-03-08T18:03:20.755Z] Step 3/10 : ARG MAKE=make build [2023-03-08T18:03:22.719Z] ---> Running in 8e6fa4278722 [2023-03-08T18:03:23.303Z] Removing intermediate container 8e6fa4278722 [2023-03-08T18:03:23.303Z] ---> 2542f0baa0ab [2023-03-08T18:03:23.303Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T18:03:23.303Z] ---> Running in 80cd862d9fde [2023-03-08T18:03:23.572Z] Removing intermediate container 80cd862d9fde [2023-03-08T18:03:23.572Z] ---> b955bb01867b [2023-03-08T18:03:23.572Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T18:03:23.572Z] ---> Running in 13635e8ac89b [2023-03-08T18:03:23.838Z] Removing intermediate container 13635e8ac89b [2023-03-08T18:03:23.838Z] ---> e8286fae4c3f [2023-03-08T18:03:23.838Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-08T18:03:24.104Z] ---> Running in 94a2e08ae17e [2023-03-08T18:03:25.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T18:03:25.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T18:03:26.297Z] OK: 221 MiB in 51 packages [2023-03-08T18:03:27.265Z] Removing intermediate container 94a2e08ae17e [2023-03-08T18:03:27.265Z] ---> 16e31225c1cb [2023-03-08T18:03:27.265Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T18:03:27.533Z] ---> 46bb3afedc9d [2023-03-08T18:03:27.534Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T18:03:27.802Z] ---> Running in c0b3add09701 [2023-03-08T18:04:24.456Z] Removing intermediate container c0b3add09701 [2023-03-08T18:04:24.456Z] ---> bbd0a15dc41c [2023-03-08T18:04:24.456Z] Step 9/10 : COPY . . [2023-03-08T18:04:24.456Z] ---> 067152e20f46 [2023-03-08T18:04:24.456Z] Step 10/10 : RUN ${MAKE} [2023-03-08T18:04:24.456Z] ---> Running in 72339b67d6e8 [2023-03-08T18:04:24.456Z] noop [2023-03-08T18:04:24.456Z] Removing intermediate container 72339b67d6e8 [2023-03-08T18:04:24.456Z] ---> 10e8487c2a30 [2023-03-08T18:04:24.456Z] Successfully built 10e8487c2a30 [2023-03-08T18:04:24.456Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:04:24.811Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T18:04:24.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:04:25.002Z] prd-ubuntu20.04-docker-arm64-4c-16g-8841 does not seem to be running inside a container [2023-03-08T18:04:25.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-08T18:04:26.251Z] $ docker top 877024f54a82c937df7c240e2101cad831d99010468ce79b737cc9c9bd81a442 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:04:27.072Z] + go version [2023-03-08T18:04:27.072Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T18:04:27.097Z] $ docker stop --time=1 877024f54a82c937df7c240e2101cad831d99010468ce79b737cc9c9bd81a442 [2023-03-08T18:04:28.683Z] $ docker rm -f --volumes 877024f54a82c937df7c240e2101cad831d99010468ce79b737cc9c9bd81a442 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:04:29.215Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T18:04:29.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:04:29.393Z] prd-ubuntu20.04-docker-arm64-4c-16g-8841 does not seem to be running inside a container [2023-03-08T18:04:29.463Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-08T18:04:30.610Z] $ docker top 41a73ffe24edb75ea2062be04d9332fe617ff318c57d9268e9521fbff9408ae4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:04:31.103Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-03-08T18:04:31.704Z] + make test [2023-03-08T18:04:31.704Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-08T18:05:03.933Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-08T18:06:55.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-08T18:06:55.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-08T18:06:55.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-08T18:06:55.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-08T18:06:55.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-08T18:06:59.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.363s coverage: 27.6% of statements [2023-03-08T18:07:04.225Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.687s coverage: 78.9% of statements [2023-03-08T18:07:04.225Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-08T18:07:08.494Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.411s coverage: 73.1% of statements [2023-03-08T18:07:08.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-08T18:07:08.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-08T18:07:12.756Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.862s coverage: 54.4% of statements [2023-03-08T18:07:12.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-08T18:07:12.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-08T18:07:12.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-08T18:07:12.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-08T18:07:14.170Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.565s coverage: 65.1% of statements [2023-03-08T18:07:14.170Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-08T18:07:14.170Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-08T18:07:14.170Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.721s coverage: 89.2% of statements [2023-03-08T18:07:14.170Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-08T18:07:17.526Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.286s coverage: 4.7% of statements [2023-03-08T18:07:17.526Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-08T18:07:18.122Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T18:07:18.122Z] GO111MODULE=on go vet ./... [2023-03-08T18:09:09.804Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T18:09:09.804Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T18:09:09.804Z] ./bin/test-attribution-txt.sh [2023-03-08T18:09:09.804Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-08T18:09:09.804Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-08T18:09:09.804Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-08T18:09:09.804Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T18:09:09.824Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T18:09:09.845Z] $ docker stop --time=1 41a73ffe24edb75ea2062be04d9332fe617ff318c57d9268e9521fbff9408ae4 [2023-03-08T18:09:12.529Z] $ docker rm -f --volumes 41a73ffe24edb75ea2062be04d9332fe617ff318c57d9268e9521fbff9408ae4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T18:09:13.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T18:09:13.910Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T18:09:14.492Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T18:09:14.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T18:09:15.211Z] + ls -al . [2023-03-08T18:09:15.212Z] total 276 [2023-03-08T18:09:15.212Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 18:04 . [2023-03-08T18:09:15.212Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:02 .. [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 18:02 .dockerignore [2023-03-08T18:09:15.212Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 18:02 .git [2023-03-08T18:09:15.212Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 18:02 .github [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 18:02 .gitignore [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 18:02 .golangci.yml [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 18:02 CHANGELOG.md [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 18:02 GOVERNANCE.md [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 8 18:02 Jenkinsfile [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 18:02 LICENSE [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 8 18:02 Makefile [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 18:02 OWNERS.md [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 8 18:02 README.md [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 8 18:00 VERSION [2023-03-08T18:09:15.212Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 18:02 bin [2023-03-08T18:09:15.212Z] -rw-r--r-- 1 jenkins jenkins 101841 Mar 8 18:07 coverage.out [2023-03-08T18:09:15.212Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 18:02 example [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 8 18:02 go.mod [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 8 18:02 go.sum [2023-03-08T18:09:15.212Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 8 18:02 internal [2023-03-08T18:09:15.212Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:02 openapi [2023-03-08T18:09:15.212Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 18:02 pkg [2023-03-08T18:09:15.212Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:02 snap [2023-03-08T18:09:15.212Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 18:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:09:15.558Z] + 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=2.3.1-dev.1 . [2023-03-08T18:09:16.147Z] Sending build context to Docker daemon 5.846MB [2023-03-08T18:09:16.148Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T18:09:16.148Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T18:09:16.148Z] ---> 10e8487c2a30 [2023-03-08T18:09:16.148Z] Step 3/23 : ARG MAKE=make build [2023-03-08T18:09:16.148Z] ---> Running in 532b1e4f7dec [2023-03-08T18:09:16.418Z] Removing intermediate container 532b1e4f7dec [2023-03-08T18:09:16.418Z] ---> 7a5b97bd3bf0 [2023-03-08T18:09:16.418Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T18:09:16.685Z] ---> Running in 5e4299bf41ed [2023-03-08T18:09:16.954Z] Removing intermediate container 5e4299bf41ed [2023-03-08T18:09:16.954Z] ---> af8a0469504a [2023-03-08T18:09:16.954Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T18:09:16.954Z] ---> Running in 188ad7411d3c [2023-03-08T18:09:17.233Z] Removing intermediate container 188ad7411d3c [2023-03-08T18:09:17.233Z] ---> 1e848690f2a6 [2023-03-08T18:09:17.233Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-08T18:09:17.233Z] ---> Running in e44af94ce890 [2023-03-08T18:09:18.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T18:09:18.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T18:09:19.768Z] OK: 221 MiB in 51 packages [2023-03-08T18:09:20.730Z] Removing intermediate container e44af94ce890 [2023-03-08T18:09:20.730Z] ---> c2ecc33a585f [2023-03-08T18:09:20.730Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T18:09:21.332Z] ---> b6948b5fc54d [2023-03-08T18:09:21.332Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T18:09:21.332Z] ---> Running in 60d79ff22f5f [2023-03-08T18:09:23.277Z] Removing intermediate container 60d79ff22f5f [2023-03-08T18:09:23.277Z] ---> 1d6c95078747 [2023-03-08T18:09:23.277Z] Step 9/23 : COPY . . [2023-03-08T18:09:25.221Z] ---> cea0a5ce14c9 [2023-03-08T18:09:25.221Z] Step 10/23 : RUN ${MAKE} [2023-03-08T18:09:25.221Z] ---> Running in 532e66d7f5de [2023-03-08T18:09:26.188Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-08T18:11:47.886Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-03-08T18:11:47.886Z] Removing intermediate container 532e66d7f5de [2023-03-08T18:11:47.886Z] ---> 3a94ac4f4dd9 [2023-03-08T18:11:47.886Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T18:11:47.886Z] 3.16: Pulling from library/alpine [2023-03-08T18:11:47.886Z] 3760b48202b3: Pulling fs layer [2023-03-08T18:11:47.886Z] 3760b48202b3: Verifying Checksum [2023-03-08T18:11:47.886Z] 3760b48202b3: Download complete [2023-03-08T18:11:47.886Z] 3760b48202b3: Pull complete [2023-03-08T18:11:47.886Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T18:11:47.886Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T18:11:47.886Z] ---> 4c81e5bf8899 [2023-03-08T18:11:47.886Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T18:11:47.886Z] ---> Running in 57ae41ef9fd3 [2023-03-08T18:11:47.886Z] Removing intermediate container 57ae41ef9fd3 [2023-03-08T18:11:47.886Z] ---> cedcc0d37cfa [2023-03-08T18:11:47.886Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-08T18:11:47.886Z] ---> Running in 7ed3eb65ba5c [2023-03-08T18:11:47.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T18:11:47.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T18:11:47.886Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-08T18:11:47.886Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-08T18:11:47.886Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-08T18:11:47.886Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-08T18:11:47.886Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-08T18:11:47.886Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T18:11:47.886Z] OK: 8 MiB in 19 packages [2023-03-08T18:11:48.854Z] Removing intermediate container 7ed3eb65ba5c [2023-03-08T18:11:48.854Z] ---> e822378b09d7 [2023-03-08T18:11:48.854Z] Step 14/23 : WORKDIR / [2023-03-08T18:11:49.122Z] ---> Running in 07ad0a3ef7a6 [2023-03-08T18:11:49.397Z] Removing intermediate container 07ad0a3ef7a6 [2023-03-08T18:11:49.397Z] ---> b3872fbbd29f [2023-03-08T18:11:49.397Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T18:11:49.981Z] ---> 34e98f0e7af9 [2023-03-08T18:11:49.981Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T18:11:51.391Z] ---> 0fd01eb81a1f [2023-03-08T18:11:51.391Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T18:11:51.658Z] ---> b9192a3fd632 [2023-03-08T18:11:51.658Z] Step 18/23 : EXPOSE 59999 [2023-03-08T18:11:51.658Z] ---> Running in 56a6f55fe17f [2023-03-08T18:11:51.927Z] Removing intermediate container 56a6f55fe17f [2023-03-08T18:11:51.927Z] ---> ca4d063e1214 [2023-03-08T18:11:51.927Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T18:11:52.194Z] ---> Running in e5b01ce62298 [2023-03-08T18:11:52.549Z] Removing intermediate container e5b01ce62298 [2023-03-08T18:11:52.549Z] ---> fefd142d2c91 [2023-03-08T18:11:52.549Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-08T18:11:52.549Z] ---> Running in ba3322607ca7 [2023-03-08T18:11:52.833Z] Removing intermediate container ba3322607ca7 [2023-03-08T18:11:52.833Z] ---> c7911a485b99 [2023-03-08T18:11:52.833Z] Step 21/23 : LABEL arch=arm64 [2023-03-08T18:11:52.833Z] ---> Running in 27e5e1ce7e5c [2023-03-08T18:11:53.106Z] Removing intermediate container 27e5e1ce7e5c [2023-03-08T18:11:53.106Z] ---> 1c0d2561da9c [2023-03-08T18:11:53.106Z] Step 22/23 : LABEL git_sha=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [2023-03-08T18:11:53.377Z] ---> Running in 441b93e7e116 [2023-03-08T18:11:53.659Z] Removing intermediate container 441b93e7e116 [2023-03-08T18:11:53.659Z] ---> 69bd44f1e241 [2023-03-08T18:11:53.659Z] Step 23/23 : LABEL version=2.3.1-dev.1 [2023-03-08T18:11:53.659Z] ---> Running in 9fdadba90777 [2023-03-08T18:11:53.935Z] Removing intermediate container 9fdadba90777 [2023-03-08T18:11:53.935Z] ---> 8f5692c2fecd [2023-03-08T18:11:53.935Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T18:11:53.935Z] Successfully built 8f5692c2fecd [2023-03-08T18:11:53.935Z] 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-08T18:11:54.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T18:11:54.378Z] [2023-03-08T18:11:54.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:11:54.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T18:11:54.729Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T18:11:54.729Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T18:11:54.729Z] 04944245beec: Pulling fs layer [2023-03-08T18:11:54.729Z] 699f458cf7ca: Pulling fs layer [2023-03-08T18:11:54.729Z] 765212b225bb: Pulling fs layer [2023-03-08T18:11:54.729Z] f23df028b6ca: Pulling fs layer [2023-03-08T18:11:54.729Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T18:11:54.729Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T18:11:54.998Z] 765212b225bb: Waiting [2023-03-08T18:11:54.998Z] f23df028b6ca: Waiting [2023-03-08T18:11:54.998Z] 2437ff75d9bd: Waiting [2023-03-08T18:11:54.998Z] 04944245beec: Verifying Checksum [2023-03-08T18:11:54.998Z] 04944245beec: Download complete [2023-03-08T18:11:54.998Z] 765212b225bb: Verifying Checksum [2023-03-08T18:11:54.998Z] 765212b225bb: Download complete [2023-03-08T18:11:54.998Z] f23df028b6ca: Verifying Checksum [2023-03-08T18:11:54.998Z] f23df028b6ca: Download complete [2023-03-08T18:11:54.998Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T18:11:54.998Z] d65c8cfc05b1: Download complete [2023-03-08T18:11:55.268Z] 699f458cf7ca: Download complete [2023-03-08T18:11:55.535Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T18:11:55.535Z] 8998bd30e6a1: Download complete [2023-03-08T18:11:57.476Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T18:11:57.476Z] 2437ff75d9bd: Download complete [2023-03-08T18:11:59.417Z] 8998bd30e6a1: Pull complete [2023-03-08T18:11:59.685Z] 04944245beec: Pull complete [2023-03-08T18:12:00.644Z] 699f458cf7ca: Pull complete [2023-03-08T18:12:00.912Z] 765212b225bb: Pull complete [2023-03-08T18:12:01.874Z] f23df028b6ca: Pull complete [2023-03-08T18:12:01.874Z] d65c8cfc05b1: Pull complete [2023-03-08T18:12:16.861Z] 2437ff75d9bd: Pull complete [2023-03-08T18:12:16.861Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T18:12:16.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T18:12:16.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:12:17.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-8841 does not seem to be running inside a container [2023-03-08T18:12:17.127Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-08T18:12:19.935Z] $ docker top d94bfb90d62933589f94de4e3ffeda15866fab83cbc3b0ebf3ee9c2105646ad9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:12:20.443Z] ---> job-cost.sh [2023-03-08T18:12:20.707Z] lf-activate-venv: SKIPPING [2023-03-08T18:12:20.707Z] INFO: No Stack... [2023-03-08T18:12:20.972Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T18:12:21.928Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T18:12:22.247Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-03-08T18:12:22.513Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T18:12:22.580Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-4-stack-cost] [2023-03-08T18:12:22.588Z] Resource [jenkins-edgexfoundry-device-sdk-go-levski-4-stack-cost] did not exist. Created. [2023-03-08T18:12:22.588Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T18:12:22.927Z] /w/workspace/device-sdk-go/4@tmp/durable-9e198b56/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T18:12:23.258Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T18:12:23.283Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T18:12:23.351Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T18:12:23.360Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T18:12:23.388Z] $ docker stop --time=1 d94bfb90d62933589f94de4e3ffeda15866fab83cbc3b0ebf3ee9c2105646ad9 [2023-03-08T18:12:24.864Z] $ docker rm -f --volumes d94bfb90d62933589f94de4e3ffeda15866fab83cbc3b0ebf3ee9c2105646ad9 [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-08T18:12:25.311Z] provisioning config files... [2023-03-08T18:12:25.318Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config4926130267882870608tmp [Pipeline] { [Pipeline] sh [2023-03-08T18:12:25.605Z] + set +x [2023-03-08T18:12:25.605Z] + curl -s https://codecov.io/bash [2023-03-08T18:12:25.605Z] + bash -s -- [2023-03-08T18:12:25.605Z] [2023-03-08T18:12:25.605Z] _____ _ [2023-03-08T18:12:25.605Z] / ____| | | [2023-03-08T18:12:25.605Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T18:12:25.605Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T18:12:25.605Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T18:12:25.605Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T18:12:25.605Z] Bash-1.0.6 [2023-03-08T18:12:25.605Z] [2023-03-08T18:12:25.605Z] [2023-03-08T18:12:25.605Z] ==> git version 2.25.1 found [2023-03-08T18:12:25.605Z] ==> 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-08T18:12:25.605Z] Release-Date: 2020-01-08 [2023-03-08T18:12:25.605Z] 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-08T18:12:25.605Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T18:12:25.605Z] ==> Jenkins CI detected. [2023-03-08T18:12:25.605Z] current dir:  /w/workspace/dgexfoundry_device-sdk-go_levski [2023-03-08T18:12:25.605Z] project root: . [2023-03-08T18:12:25.605Z] --> token set from env [2023-03-08T18:12:25.605Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T18:12:25.605Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T18:12:25.605Z] ==> Python coveragepy not found [2023-03-08T18:12:25.605Z] ==> Searching for coverage reports in: [2023-03-08T18:12:25.605Z] + . [2023-03-08T18:12:25.605Z] -> Found 1 reports [2023-03-08T18:12:25.605Z] ==> Detecting git/mercurial file structure [2023-03-08T18:12:25.605Z] ==> Reading reports [2023-03-08T18:12:25.605Z] + ./coverage.out bytes=101841 [2023-03-08T18:12:25.605Z] ==> Appending adjustments [2023-03-08T18:12:25.605Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T18:12:25.864Z] + Found adjustments [2023-03-08T18:12:25.864Z] ==> Gzipping contents [2023-03-08T18:12:25.864Z] 16K /tmp/codecov.dQvASf.gz [2023-03-08T18:12:25.864Z] ==> Uploading reports [2023-03-08T18:12:25.864Z] url: https://codecov.io [2023-03-08T18:12:25.864Z] query: branch=levski&commit=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-08T18:12:25.864Z] -> Pinging Codecov [2023-03-08T18:12:25.864Z] 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=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-08T18:12:26.122Z] -> Uploading to [2023-03-08T18:12:26.122Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7E55EF52A471D76F132DFD9A03CDDE97/4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7/acdc4870-18f9-407f-8fcc-79c086c6e60a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T181225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e8b996ebebc2fee7d5d93072a60a9bbe8ad78e33497f745ed279d19b90886b6 [2023-03-08T18:12:26.122Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T18:12:26.122Z] Dload Upload Total Spent Left Speed [2023-03-08T18:12:26.382Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14709 0 0 100 14709 0 50720 --:--:-- --:--:-- --:--:-- 50720 [2023-03-08T18:12:26.382Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] } [2023-03-08T18:12:26.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-08T18:12:26.612Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-08T18:12:26.622Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:12:26.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-08T18:12:26.921Z] [2023-03-08T18:12:26.921Z] 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-08T18:12:27.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-08T18:12:27.227Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-08T18:12:27.227Z] df9b9388f04a: Pulling fs layer [2023-03-08T18:12:27.227Z] 52dc419b0ee2: Pulling fs layer [2023-03-08T18:12:27.227Z] 25bc292e5bac: Pulling fs layer [2023-03-08T18:12:27.227Z] 114826534d7a: Pulling fs layer [2023-03-08T18:12:27.227Z] 4657fd5d0bcf: Pulling fs layer [2023-03-08T18:12:27.227Z] 6ad1cebc031e: Pulling fs layer [2023-03-08T18:12:27.227Z] 8a3aa393b2d8: Pulling fs layer [2023-03-08T18:12:27.227Z] 114826534d7a: Waiting [2023-03-08T18:12:27.227Z] 6ad1cebc031e: Waiting [2023-03-08T18:12:27.227Z] 4657fd5d0bcf: Waiting [2023-03-08T18:12:27.227Z] 25bc292e5bac: Download complete [2023-03-08T18:12:27.227Z] 52dc419b0ee2: Verifying Checksum [2023-03-08T18:12:27.227Z] 52dc419b0ee2: Download complete [2023-03-08T18:12:27.227Z] 4657fd5d0bcf: Verifying Checksum [2023-03-08T18:12:27.227Z] 4657fd5d0bcf: Download complete [2023-03-08T18:12:27.227Z] df9b9388f04a: Verifying Checksum [2023-03-08T18:12:27.227Z] df9b9388f04a: Download complete [2023-03-08T18:12:27.490Z] df9b9388f04a: Pull complete [2023-03-08T18:12:27.490Z] 52dc419b0ee2: Pull complete [2023-03-08T18:12:27.490Z] 6ad1cebc031e: Verifying Checksum [2023-03-08T18:12:27.490Z] 6ad1cebc031e: Download complete [2023-03-08T18:12:27.490Z] 25bc292e5bac: Pull complete [2023-03-08T18:12:28.064Z] 114826534d7a: Verifying Checksum [2023-03-08T18:12:28.064Z] 114826534d7a: Download complete [2023-03-08T18:12:28.323Z] 8a3aa393b2d8: Verifying Checksum [2023-03-08T18:12:28.323Z] 8a3aa393b2d8: Download complete [2023-03-08T18:12:31.606Z] 114826534d7a: Pull complete [2023-03-08T18:12:31.606Z] 4657fd5d0bcf: Pull complete [2023-03-08T18:12:31.865Z] 6ad1cebc031e: Pull complete [2023-03-08T18:12:34.396Z] 8a3aa393b2d8: Pull complete [2023-03-08T18:12:34.396Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-08T18:12:34.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-08T18:12:34.396Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:12:34.474Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:12:34.504Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-08T18:12:38.093Z] $ docker top 919e36a1ee4e2b73e62ccf618b31a7ff76f0c6e2261e8487d759395cf1bdd4a1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-08T18:12:38.158Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:levski' [Pipeline] sh [2023-03-08T18:12:38.432Z] + set -o pipefail [2023-03-08T18:12:38.432Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:levski' [2023-03-08T18:12:43.697Z] [2023-03-08T18:12:43.697Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_levski (github.com/edgexfoundry/device-sdk-go/v2)... [2023-03-08T18:12:43.697Z] [2023-03-08T18:12:43.697Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/7f96d442-1b96-43d8-af02-66b3b682a0df/history/cd8157da-6225-4d89-b7ac-d76afc568b2f [2023-03-08T18:12:43.697Z] [2023-03-08T18:12:43.697Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-08T18:12:43.697Z] [2023-03-08T18:12:43.697Z] [2023-03-08T18:12:43.697Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-08T18:12:43.697Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-08T18:12:43.697Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-08T18:12:43.709Z] $ docker stop --time=1 919e36a1ee4e2b73e62ccf618b31a7ff76f0c6e2261e8487d759395cf1bdd4a1 [2023-03-08T18:12:47.855Z] $ docker rm -f --volumes 919e36a1ee4e2b73e62ccf618b31a7ff76f0c6e2261e8487d759395cf1bdd4a1 [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-08T18:12:48.269Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T18:12:48.280Z] provisioning config files... [2023-03-08T18:12:48.286Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config11880783131276570713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:12:48.577Z] --> edgex-publish-swagger.sh [2023-03-08T18:12:48.577Z] === Publish openapi/v2 API === [2023-03-08T18:12:48.577Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2023-03-08T18:12:48.577Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_levski/openapi/v2/device-sdk.yaml] [2023-03-08T18:12:48.577Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T18:12:48.577Z] Dload Upload Total Spent Left Speed [2023-03-08T18:12:49.145Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 96143 --:--:-- --:--:-- --:--:-- 96143 [2023-03-08T18:12:49.145Z] [2023-03-08T18:12:49.145Z] [Pipeline] } [2023-03-08T18:12:49.153Z] 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-08T18:12:49.567Z] + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] sh [2023-03-08T18:12:49.861Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T18:12:49.862Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:12:50.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T18:12:50.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:12:50.242Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:12:50.273Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T18:12:50.615Z] $ docker top cacbf19db7e73e9dc237bfcdb4770cf95f80a49976ab6f6904cec73715951633 -eo pid,comm [2023-03-08T18:12:50.660Z] 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-08T18:12:50.660Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T18:12:50.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T18:12:50.696Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T18:12:50.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T18:12:50.803Z] $ docker exec cacbf19db7e73e9dc237bfcdb4770cf95f80a49976ab6f6904cec73715951633 ssh-agent [2023-03-08T18:12:50.901Z] SSH_AUTH_SOCK=/tmp/ssh-ZNvMWDjCVt5l/agent.32 [2023-03-08T18:12:50.901Z] SSH_AGENT_PID=38 [2023-03-08T18:12:50.907Z] Running ssh-add (command line suppressed) [2023-03-08T18:12:51.010Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_496492206436464047.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_496492206436464047.key) [2023-03-08T18:12:51.020Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T18:12:51.307Z] + git semver tag [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,583 [run_tag] DEBUG tag force:False [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,583 [check_head_tag] DEBUG check head tag [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,585 [execute] INFO git cat-file --batch-check [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,588 [execute] INFO git cat-file --batch [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,618 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,618 [execute] INFO git tag -a v2.3.1-dev.1 -m v2.3.1-dev.1 [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,619 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.1', '-m', 'v2.3.1-dev.1'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) [2023-03-08T18:12:51.874Z] 2023-03-08 18:12:51,623 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T18:12:51.874Z] 2.3.1-dev.1 [Pipeline] } [2023-03-08T18:12:51.885Z] $ docker exec --env ******** --env ******** cacbf19db7e73e9dc237bfcdb4770cf95f80a49976ab6f6904cec73715951633 ssh-agent -k [2023-03-08T18:12:51.990Z] unset SSH_AUTH_SOCK; [2023-03-08T18:12:51.990Z] unset SSH_AGENT_PID; [2023-03-08T18:12:51.990Z] echo Agent pid 38 killed; [2023-03-08T18:12:51.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T18:12:52.306Z] + git semver [Pipeline] } [2023-03-08T18:12:52.579Z] $ docker stop --time=1 cacbf19db7e73e9dc237bfcdb4770cf95f80a49976ab6f6904cec73715951633 [2023-03-08T18:12:53.871Z] $ docker rm -f --volumes cacbf19db7e73e9dc237bfcdb4770cf95f80a49976ab6f6904cec73715951633 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:12:54.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-08T18:12:54.243Z] [2023-03-08T18:12:54.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:12:54.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-08T18:12:54.542Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-08T18:12:54.542Z] ab5ef0e58194: Pulling fs layer [2023-03-08T18:12:54.542Z] 9712f1f96733: Pulling fs layer [2023-03-08T18:12:54.542Z] 63f879dbbcfc: Pulling fs layer [2023-03-08T18:12:54.542Z] 0d9ebad4ef96: Pulling fs layer [2023-03-08T18:12:54.542Z] e9a5061849ea: Pulling fs layer [2023-03-08T18:12:54.542Z] d747dcd14b5f: Pulling fs layer [2023-03-08T18:12:54.542Z] 2de7ff778b66: Pulling fs layer [2023-03-08T18:12:54.542Z] 0d9ebad4ef96: Waiting [2023-03-08T18:12:54.542Z] 2de7ff778b66: Waiting [2023-03-08T18:12:54.542Z] e9a5061849ea: Waiting [2023-03-08T18:12:54.542Z] d747dcd14b5f: Waiting [2023-03-08T18:12:54.542Z] 9712f1f96733: Verifying Checksum [2023-03-08T18:12:54.542Z] 9712f1f96733: Download complete [2023-03-08T18:12:55.157Z] 63f879dbbcfc: Verifying Checksum [2023-03-08T18:12:55.157Z] 63f879dbbcfc: Download complete [2023-03-08T18:12:55.458Z] e9a5061849ea: Verifying Checksum [2023-03-08T18:12:55.458Z] e9a5061849ea: Download complete [2023-03-08T18:12:55.727Z] ab5ef0e58194: Verifying Checksum [2023-03-08T18:12:55.728Z] ab5ef0e58194: Download complete [2023-03-08T18:12:55.728Z] 0d9ebad4ef96: Verifying Checksum [2023-03-08T18:12:55.728Z] d747dcd14b5f: Verifying Checksum [2023-03-08T18:12:55.728Z] d747dcd14b5f: Download complete [2023-03-08T18:12:55.728Z] 2de7ff778b66: Verifying Checksum [2023-03-08T18:12:55.728Z] 2de7ff778b66: Download complete [2023-03-08T18:12:58.257Z] ab5ef0e58194: Pull complete [2023-03-08T18:12:58.257Z] 9712f1f96733: Pull complete [2023-03-08T18:12:58.823Z] 63f879dbbcfc: Pull complete [2023-03-08T18:13:02.107Z] 0d9ebad4ef96: Pull complete [2023-03-08T18:13:02.367Z] e9a5061849ea: Pull complete [2023-03-08T18:13:02.367Z] d747dcd14b5f: Pull complete [2023-03-08T18:13:03.302Z] 2de7ff778b66: Pull complete [2023-03-08T18:13:03.302Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-08T18:13:03.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-08T18:13:03.302Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:13:03.381Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:13:03.412Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-08T18:13:10.342Z] $ docker top f0db11b7a58c6797ed80890cc2affc3e74328420e4487241b80608948ab8c0b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-08T18:13:10.417Z] provisioning config files... [2023-03-08T18:13:10.424Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config13196916856989333477tmp [2023-03-08T18:13:10.435Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config6253015941099370472tmp [2023-03-08T18:13:10.444Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config11695262527172782760tmp [Pipeline] { [Pipeline] echo [2023-03-08T18:13:10.456Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:10.739Z] ---> sigul-configuration.sh [2023-03-08T18:13:10.739Z] gpg: directory `/root/.gnupg' created [2023-03-08T18:13:10.739Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-08T18:13:10.739Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-08T18:13:10.739Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-08T18:13:10.739Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-08T18:13:10.739Z] gpg: CAST5 encrypted data [2023-03-08T18:13:10.739Z] gpg: encrypted with 1 passphrase [2023-03-08T18:13:10.739Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-08T18:13:11.023Z] + mkdir /home/jenkins [2023-03-08T18:13:11.023Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-08T18:13:11.311Z] + 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-08T18:13:11.321Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:11.604Z] ---> sigul-install.sh [2023-03-08T18:13:11.604Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-08T18:13:11.887Z] + git tag --list [2023-03-08T18:13:11.887Z] 0.7.1 [2023-03-08T18:13:11.887Z] delhi-tag [2023-03-08T18:13:11.887Z] v1.0.0 [2023-03-08T18:13:11.887Z] v1.1.0 [2023-03-08T18:13:11.887Z] v1.1.1 [2023-03-08T18:13:11.887Z] v1.1.2 [2023-03-08T18:13:11.887Z] v1.2.0 [2023-03-08T18:13:11.887Z] v1.2.1 [2023-03-08T18:13:11.887Z] v1.2.2 [2023-03-08T18:13:11.887Z] v1.2.3 [2023-03-08T18:13:11.887Z] v1.3.0 [2023-03-08T18:13:11.887Z] v1.4.0 [2023-03-08T18:13:11.887Z] v2.0.0 [2023-03-08T18:13:11.887Z] v2.1.0 [2023-03-08T18:13:11.887Z] v2.1.1 [2023-03-08T18:13:11.887Z] v2.1.1-dev.2 [2023-03-08T18:13:11.887Z] v2.1.1-dev.3 [2023-03-08T18:13:11.887Z] v2.2.0 [2023-03-08T18:13:11.887Z] v2.2.1-dev.1 [2023-03-08T18:13:11.887Z] v2.2.1-dev.10 [2023-03-08T18:13:11.887Z] v2.2.1-dev.11 [2023-03-08T18:13:11.887Z] v2.2.1-dev.12 [2023-03-08T18:13:11.887Z] v2.2.1-dev.13 [2023-03-08T18:13:11.887Z] v2.2.1-dev.14 [2023-03-08T18:13:11.887Z] v2.2.1-dev.2 [2023-03-08T18:13:11.887Z] v2.2.1-dev.3 [2023-03-08T18:13:11.887Z] v2.2.1-dev.4 [2023-03-08T18:13:11.887Z] v2.2.1-dev.5 [2023-03-08T18:13:11.887Z] v2.2.1-dev.6 [2023-03-08T18:13:11.887Z] v2.2.1-dev.7 [2023-03-08T18:13:11.887Z] v2.2.1-dev.8 [2023-03-08T18:13:11.887Z] v2.2.1-dev.9 [2023-03-08T18:13:11.887Z] v2.3.0 [2023-03-08T18:13:11.887Z] v2.3.0-dev.14 [2023-03-08T18:13:11.887Z] v2.3.0-dev.15 [2023-03-08T18:13:11.887Z] v2.3.0-dev.16 [2023-03-08T18:13:11.887Z] v2.3.0-dev.17 [2023-03-08T18:13:11.887Z] v2.3.0-dev.18 [2023-03-08T18:13:11.887Z] v2.3.0-dev.19 [2023-03-08T18:13:11.887Z] v2.3.0-dev.20 [2023-03-08T18:13:11.887Z] v2.3.0-dev.21 [2023-03-08T18:13:11.887Z] v2.3.0-dev.22 [2023-03-08T18:13:11.887Z] v2.3.0-dev.23 [2023-03-08T18:13:11.887Z] v2.3.0-dev.24 [2023-03-08T18:13:11.887Z] v2.3.0-dev.25 [2023-03-08T18:13:11.887Z] v2.3.0-dev.26 [2023-03-08T18:13:11.887Z] v2.3.0-dev.27 [2023-03-08T18:13:11.887Z] v2.3.0-dev.28 [2023-03-08T18:13:11.887Z] v2.3.0-dev.29 [2023-03-08T18:13:11.887Z] v2.3.0-dev.30 [2023-03-08T18:13:11.887Z] v2.3.0-dev.31 [2023-03-08T18:13:11.887Z] v2.3.0-dev.32 [2023-03-08T18:13:11.887Z] v2.3.0-dev.33 [2023-03-08T18:13:11.887Z] v2.3.0-dev.34 [2023-03-08T18:13:11.887Z] v2.3.0-dev.35 [2023-03-08T18:13:11.887Z] v2.3.0-dev.36 [2023-03-08T18:13:11.887Z] v2.3.0-dev.37 [2023-03-08T18:13:11.887Z] v2.3.0-dev.38 [2023-03-08T18:13:11.887Z] v2.3.0-dev.39 [2023-03-08T18:13:11.887Z] v2.3.0-dev.40 [2023-03-08T18:13:11.887Z] v2.3.0-dev.41 [2023-03-08T18:13:11.887Z] v2.3.0-dev.42 [2023-03-08T18:13:11.887Z] v2.3.0-dev.43 [2023-03-08T18:13:11.887Z] v2.3.0-dev.44 [2023-03-08T18:13:11.887Z] v2.3.0-dev.45 [2023-03-08T18:13:11.887Z] v2.3.0-dev.46 [2023-03-08T18:13:11.887Z] v2.3.0-dev.47 [2023-03-08T18:13:11.887Z] v2.3.0-dev.48 [2023-03-08T18:13:11.887Z] v2.3.0-dev.49 [2023-03-08T18:13:11.887Z] v2.3.0-dev.50 [2023-03-08T18:13:11.887Z] v2.3.0-dev.51 [2023-03-08T18:13:11.887Z] v2.3.1-dev.1 [2023-03-08T18:13:11.887Z] v3.0.0-dev.1 [2023-03-08T18:13:11.887Z] v3.0.0-dev.10 [2023-03-08T18:13:11.887Z] v3.0.0-dev.11 [2023-03-08T18:13:11.887Z] v3.0.0-dev.12 [2023-03-08T18:13:11.887Z] v3.0.0-dev.13 [2023-03-08T18:13:11.887Z] v3.0.0-dev.14 [2023-03-08T18:13:11.887Z] v3.0.0-dev.15 [2023-03-08T18:13:11.887Z] v3.0.0-dev.16 [2023-03-08T18:13:11.887Z] v3.0.0-dev.17 [2023-03-08T18:13:11.887Z] v3.0.0-dev.18 [2023-03-08T18:13:11.887Z] v3.0.0-dev.19 [2023-03-08T18:13:11.887Z] v3.0.0-dev.2 [2023-03-08T18:13:11.887Z] v3.0.0-dev.20 [2023-03-08T18:13:11.887Z] v3.0.0-dev.21 [2023-03-08T18:13:11.887Z] v3.0.0-dev.22 [2023-03-08T18:13:11.887Z] v3.0.0-dev.23 [2023-03-08T18:13:11.887Z] v3.0.0-dev.24 [2023-03-08T18:13:11.887Z] v3.0.0-dev.25 [2023-03-08T18:13:11.887Z] v3.0.0-dev.26 [2023-03-08T18:13:11.887Z] v3.0.0-dev.27 [2023-03-08T18:13:11.887Z] v3.0.0-dev.28 [2023-03-08T18:13:11.887Z] v3.0.0-dev.29 [2023-03-08T18:13:11.887Z] v3.0.0-dev.3 [2023-03-08T18:13:11.887Z] v3.0.0-dev.30 [2023-03-08T18:13:11.887Z] v3.0.0-dev.31 [2023-03-08T18:13:11.887Z] v3.0.0-dev.32 [2023-03-08T18:13:11.887Z] v3.0.0-dev.33 [2023-03-08T18:13:11.887Z] v3.0.0-dev.34 [2023-03-08T18:13:11.887Z] v3.0.0-dev.35 [2023-03-08T18:13:11.887Z] v3.0.0-dev.36 [2023-03-08T18:13:11.887Z] v3.0.0-dev.37 [2023-03-08T18:13:11.887Z] v3.0.0-dev.38 [2023-03-08T18:13:11.887Z] v3.0.0-dev.39 [2023-03-08T18:13:11.887Z] v3.0.0-dev.4 [2023-03-08T18:13:11.887Z] v3.0.0-dev.40 [2023-03-08T18:13:11.887Z] v3.0.0-dev.41 [2023-03-08T18:13:11.887Z] v3.0.0-dev.42 [2023-03-08T18:13:11.887Z] v3.0.0-dev.43 [2023-03-08T18:13:11.887Z] v3.0.0-dev.44 [2023-03-08T18:13:11.887Z] v3.0.0-dev.45 [2023-03-08T18:13:11.887Z] v3.0.0-dev.46 [2023-03-08T18:13:11.887Z] v3.0.0-dev.47 [2023-03-08T18:13:11.887Z] v3.0.0-dev.48 [2023-03-08T18:13:11.887Z] v3.0.0-dev.5 [2023-03-08T18:13:11.887Z] v3.0.0-dev.6 [2023-03-08T18:13:11.887Z] v3.0.0-dev.7 [2023-03-08T18:13:11.887Z] v3.0.0-dev.8 [2023-03-08T18:13:11.887Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-08T18:13:12.174Z] + lftools sign git-tag v2.3.1-dev.1 [2023-03-08T18:13:12.741Z] Signing Git tag with Sigul... [2023-03-08T18:13:12.741Z] Signing v2.3.1-dev.1 [Pipeline] echo [2023-03-08T18:13:13.008Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:13.291Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-08T18:13:13.298Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-08T18:13:13.316Z] $ docker stop --time=1 f0db11b7a58c6797ed80890cc2affc3e74328420e4487241b80608948ab8c0b5 [2023-03-08T18:13:14.602Z] $ docker rm -f --volumes f0db11b7a58c6797ed80890cc2affc3e74328420e4487241b80608948ab8c0b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-08T18:13:14.987Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T18:13:14.987Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:13:15.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T18:13:15.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:13:15.353Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:13:15.383Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T18:13:15.719Z] $ docker top a2267a4e52c80ca4388f29690c0aa8cc131d7f948239b5b3710494c9fcbca8ba -eo pid,comm [2023-03-08T18:13:15.771Z] 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-08T18:13:15.771Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T18:13:15.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T18:13:15.810Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T18:13:15.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T18:13:15.920Z] $ docker exec a2267a4e52c80ca4388f29690c0aa8cc131d7f948239b5b3710494c9fcbca8ba ssh-agent [2023-03-08T18:13:16.034Z] SSH_AUTH_SOCK=/tmp/ssh-dsKmpgLDnfDu/agent.33 [2023-03-08T18:13:16.034Z] SSH_AGENT_PID=39 [2023-03-08T18:13:16.039Z] Running ssh-add (command line suppressed) [2023-03-08T18:13:16.139Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_14430157596046630990.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_14430157596046630990.key) [2023-03-08T18:13:16.151Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T18:13:16.436Z] + git semver bump pre [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,703 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,703 [bump_version] DEBUG bumping version:2.3.1-dev.1 on axis:pre with prefix:dev [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,703 [bump_version] DEBUG bumped version:2.3.1-dev.2 [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,703 [write_version] DEBUG write version:2.3.1-dev.2 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:True [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,703 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,703 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,705 [execute] INFO git cat-file --batch-check [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,705 [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-08T18:13:17.002Z] 2023-03-08 18:13:16,711 [execute] INFO git cat-file --batch [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T18:13:17.002Z] 2023-03-08 18:13:16,716 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T18:13:17.002Z] 2.3.1-dev.2 [Pipeline] } [2023-03-08T18:13:17.012Z] $ docker exec --env ******** --env ******** a2267a4e52c80ca4388f29690c0aa8cc131d7f948239b5b3710494c9fcbca8ba ssh-agent -k [2023-03-08T18:13:17.104Z] unset SSH_AUTH_SOCK; [2023-03-08T18:13:17.104Z] unset SSH_AGENT_PID; [2023-03-08T18:13:17.104Z] echo Agent pid 39 killed; [2023-03-08T18:13:17.114Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T18:13:17.414Z] + git semver [Pipeline] } [2023-03-08T18:13:17.688Z] $ docker stop --time=1 a2267a4e52c80ca4388f29690c0aa8cc131d7f948239b5b3710494c9fcbca8ba [2023-03-08T18:13:18.959Z] $ docker rm -f --volumes a2267a4e52c80ca4388f29690c0aa8cc131d7f948239b5b3710494c9fcbca8ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T18:13:19.302Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T18:13:19.302Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:13:19.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T18:13:19.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:13:19.664Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:13:19.697Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T18:13:20.031Z] $ docker top 53b603f3af07317c7c6ab56d644108123a0e3834a6b1f7d8595d4d7357b28125 -eo pid,comm [2023-03-08T18:13:20.074Z] 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-08T18:13:20.074Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T18:13:20.105Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T18:13:20.105Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T18:13:20.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T18:13:20.211Z] $ docker exec 53b603f3af07317c7c6ab56d644108123a0e3834a6b1f7d8595d4d7357b28125 ssh-agent [2023-03-08T18:13:20.342Z] SSH_AUTH_SOCK=/tmp/ssh-me7AOm5Dj8fU/agent.33 [2023-03-08T18:13:20.342Z] SSH_AGENT_PID=39 [2023-03-08T18:13:20.348Z] Running ssh-add (command line suppressed) [2023-03-08T18:13:20.455Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_214541753400039073.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_214541753400039073.key) [2023-03-08T18:13:20.466Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T18:13:20.752Z] + git semver push [2023-03-08T18:13:21.011Z] 2023-03-08 18:13:20,926 [run_push] DEBUG push [2023-03-08T18:13:21.011Z] 2023-03-08 18:13:20,927 [execute] INFO git cat-file --batch-check [2023-03-08T18:13:21.011Z] 2023-03-08 18:13:20,927 [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-08T18:13:21.011Z] 2023-03-08 18:13:20,931 [execute] INFO git rev-list 30e9629a96d818de0314d950fc774505d7db8589 -- [2023-03-08T18:13:21.011Z] 2023-03-08 18:13:20,931 [execute] DEBUG Popen(['git', 'rev-list', '30e9629a96d818de0314d950fc774505d7db8589', '--'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-08T18:13:21.011Z] 2023-03-08 18:13:20,943 [execute] INFO git fetch -v origin [2023-03-08T18:13:21.011Z] 2023-03-08 18:13:20,943 [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-08T18:13:21.580Z] 2023-03-08 18:13:21,410 [run_push] DEBUG no remote changes detected [2023-03-08T18:13:21.580Z] 2023-03-08 18:13:21,410 [execute] INFO git push origin semver [2023-03-08T18:13:21.580Z] 2023-03-08 18:13:21,411 [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-08T18:13:22.518Z] 2023-03-08 18:13:22,255 [run_push] DEBUG push all version tags [2023-03-08T18:13:22.518Z] 2023-03-08 18:13:22,256 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-08T18:13:22.518Z] 2023-03-08 18:13:22,256 [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-08T18:13:23.453Z] 2023-03-08 18:13:23,189 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski [2023-03-08T18:13:23.453Z] 2.3.1-dev.2 [Pipeline] } [2023-03-08T18:13:23.463Z] $ docker exec --env ******** --env ******** 53b603f3af07317c7c6ab56d644108123a0e3834a6b1f7d8595d4d7357b28125 ssh-agent -k [2023-03-08T18:13:23.556Z] unset SSH_AUTH_SOCK; [2023-03-08T18:13:23.556Z] unset SSH_AGENT_PID; [2023-03-08T18:13:23.556Z] echo Agent pid 39 killed; [2023-03-08T18:13:23.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T18:13:23.861Z] + git semver [Pipeline] } [2023-03-08T18:13:24.131Z] $ docker stop --time=1 53b603f3af07317c7c6ab56d644108123a0e3834a6b1f7d8595d4d7357b28125 [2023-03-08T18:13:25.366Z] $ docker rm -f --volumes 53b603f3af07317c7c6ab56d644108123a0e3834a6b1f7d8595d4d7357b28125 [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-08T18:13:25.952Z] + [ -d /w/workspace/dgexfoundry_device-sdk-go_levski/archives ] [2023-03-08T18:13:25.952Z] + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives [2023-03-08T18:13:25.952Z] total 16 [2023-03-08T18:13:25.952Z] drwxr-xr-x 3 root root 4096 Mar 8 18:02 . [2023-03-08T18:13:25.952Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 18:13 .. [2023-03-08T18:13:25.952Z] drwxr-xr-x 2 root root 4096 Mar 8 18:02 cost [2023-03-08T18:13:25.952Z] -rw-r--r-- 1 root root 85 Mar 8 18:02 cost.csv [2023-03-08T18:13:25.952Z] + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_device-sdk-go_levski/archives [2023-03-08T18:13:25.952Z] + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives [2023-03-08T18:13:25.952Z] total 16 [2023-03-08T18:13:25.952Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 18:02 . [2023-03-08T18:13:25.952Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 18:13 .. [2023-03-08T18:13:25.952Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 18:02 cost [2023-03-08T18:13:25.952Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 8 18:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:26.241Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:27.101Z] ---> package-listing.sh [2023-03-08T18:13:27.101Z] ++ facter osfamily [2023-03-08T18:13:27.101Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T18:13:27.359Z] + OS_FAMILY=debian [2023-03-08T18:13:27.359Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_levski [2023-03-08T18:13:27.359Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T18:13:27.359Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T18:13:27.359Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T18:13:27.359Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T18:13:27.359Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' [2023-03-08T18:13:27.359Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T18:13:27.359Z] + case "${OS_FAMILY}" in [2023-03-08T18:13:27.359Z] + dpkg -l [2023-03-08T18:13:27.359Z] + grep '^ii' [2023-03-08T18:13:27.359Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T18:13:27.359Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T18:13:27.359Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T18:13:27.359Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' [2023-03-08T18:13:27.359Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ [2023-03-08T18:13:27.359Z] + 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-08T18:13:27.369Z] 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-08T18:13:27.642Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:13:28.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T18:13:28.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:13:28.266Z] prd-ubuntu20.04-docker-8c-8g-8840 does not seem to be running inside a container [2023-03-08T18:13:28.297Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T18:13:28.760Z] $ docker top c96422ba4d59c29d9d79c19afcd987b83454902f01c612b070d0dfec1aeba170 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:13:29.100Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T18:13:29.385Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T18:13:29.671Z] + ls /var/log/sa-host [2023-03-08T18:13:29.672Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T18:13:29.854Z] provisioning config files... [2023-03-08T18:13:29.863Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config4662384027040007905tmp [Pipeline] { [Pipeline] echo [2023-03-08T18:13:29.878Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:30.157Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T18:13:30.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:30.571Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T18:13:30.585Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:30.890Z] ---> sudo-logs.sh [2023-03-08T18:13:30.890Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T18:13:30.923Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:31.219Z] ---> job-cost.sh [2023-03-08T18:13:31.219Z] lf-activate-venv: SKIPPING [2023-03-08T18:13:31.219Z] DEBUG: total: 0.2199999988079071 [2023-03-08T18:13:31.219Z] INFO: Retrieving Stack Cost... [2023-03-08T18:13:31.786Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T18:13:32.045Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T18:13:32.056Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:13:32.338Z] ---> logs-deploy.sh [2023-03-08T18:13:32.338Z] lf-activate-venv: SKIPPING [2023-03-08T18:13:32.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/levski/4 [2023-03-08T18:13:32.338Z] INFO: archiving workspace using pattern(s): [2023-03-08T18:13:33.275Z] Archives upload complete. [2023-03-08T18:13:33.275Z] INFO: archiving logs to Nexus