Pull request #1379 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1f36d7443d5ac14e073d42fad89cbb4306dbc673+92ae96e570b0e90887048770798fafa65e025b58 (65b59836ad96b1fd6335febc58927768527a8006) 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-ssh10429386885817806798.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5387330370039239583.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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/PR-1379/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/PR-1379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14442794056231638059.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh9613932750738415950.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/PR-1379/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/PR-1379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13701878478583626388.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-5116’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5118 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [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/gexfoundry_device-sdk-go_PR-1379 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit 1f36d7443d5ac14e073d42fad89cbb4306dbc673 Merge succeeded, producing 1f36d7443d5ac14e073d42fad89cbb4306dbc673 Checking out Revision 1f36d7443d5ac14e073d42fad89cbb4306dbc673 (PR-1379) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f36d7443d5ac14e073d42fad89cbb4306dbc673 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f36d7443d5ac14e073d42fad89cbb4306dbc673 # timeout=10 Commit message: "feat: enable regex for executing GET command" First time build. Skipping changelog. > git rev-list --no-walk 39900c86f6a3830286734405649ec7a633f0c638 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T04:54:17.391Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T04:54:17.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T04:54:17.457Z] ========================================================= [2023-03-22T04:54:17.457Z] EdgeX Global Pipelines Version Info [2023-03-22T04:54:17.457Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:54:18.172Z] ------------------- [2023-03-22T04:54:18.172Z] stable info: [2023-03-22T04:54:18.172Z] ------------------- [2023-03-22T04:54:18.172Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T04:54:18.172Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T04:54:18.172Z] Message: update stable to v1.0.245 [2023-03-22T04:54:18.741Z] ------------------- [2023-03-22T04:54:18.741Z] experimental info: [2023-03-22T04:54:18.741Z] ------------------- [2023-03-22T04:54:18.742Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T04:54:18.742Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-22T04:54:18.742Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T04:54:18.928Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-22T04:54:18.943Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-22T04:54:18.951Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T04:54:18.959Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T04:54:18.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T04:54:18.976Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T04:54:18.985Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T04:54:18.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-22T04:54:19.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T04:54:19.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T04:54:19.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T04:54:19.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-22T04:54:19.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T04:54:19.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T04:54:19.052Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T04:54:19.062Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T04:54:19.078Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T04:54:19.088Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T04:54:19.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T04:54:19.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T04:54:19.127Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T04:54:19.142Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-22T04:54:19.154Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T04:54:19.168Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T04:54:19.182Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T04:54:19.196Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T04:54:19.206Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T04:54:19.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1379 [Pipeline] echo [2023-03-22T04:54:19.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1379 [Pipeline] echo [2023-03-22T04:54:19.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1379 [Pipeline] echo [2023-03-22T04:54:19.269Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f36d7443d5ac14e073d42fad89cbb4306dbc673 [Pipeline] echo [2023-03-22T04:54:19.289Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f36d74 [Pipeline] echo [2023-03-22T04:54:19.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T04:54:19.349Z] provisioning config files... [2023-03-22T04:54:19.366Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config11414025371774601286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:54:19.671Z] ---> docker-login.sh [2023-03-22T04:54:19.672Z] nexus3.edgexfoundry.org:10001 [2023-03-22T04:54:19.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:19.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:19.935Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:19.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:19.935Z] [2023-03-22T04:54:19.935Z] Login Succeeded [2023-03-22T04:54:19.935Z] nexus3.edgexfoundry.org:10002 [2023-03-22T04:54:19.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:20.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:20.198Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:20.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:20.198Z] [2023-03-22T04:54:20.198Z] Login Succeeded [2023-03-22T04:54:20.198Z] nexus3.edgexfoundry.org:10003 [2023-03-22T04:54:20.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:20.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:20.198Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:20.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:20.199Z] [2023-03-22T04:54:20.199Z] Login Succeeded [2023-03-22T04:54:20.199Z] nexus3.edgexfoundry.org:10004 [2023-03-22T04:54:20.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:20.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:20.459Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:20.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:20.459Z] [2023-03-22T04:54:20.459Z] Login Succeeded [2023-03-22T04:54:20.459Z] docker.io [2023-03-22T04:54:20.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:20.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:20.720Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:20.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:20.720Z] [2023-03-22T04:54:20.720Z] Login Succeeded [2023-03-22T04:54:20.720Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T04:54:20.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T04:54:21.090Z] + git rev-list -1 --merges 1f36d7443d5ac14e073d42fad89cbb4306dbc673~1..1f36d7443d5ac14e073d42fad89cbb4306dbc673 [Pipeline] echo [2023-03-22T04:54:21.146Z] -----------> git rev-list -1 --merges 1f36d7443d5ac14e073d42fad89cbb4306dbc673~1..1f36d7443d5ac14e073d42fad89cbb4306dbc673 1f36d7443d5ac14e073d42fad89cbb4306dbc673 [false] [Pipeline] sh [2023-03-22T04:54:21.437Z] + git log --format=format:%s -1 1f36d7443d5ac14e073d42fad89cbb4306dbc673 [Pipeline] echo [2023-03-22T04:54:21.451Z] ========================================================= [2023-03-22T04:54:21.451Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T04:54:21.451Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T04:54:21.766Z] + git log --format=format:%s -1 1f36d7443d5ac14e073d42fad89cbb4306dbc673 [Pipeline] echo [2023-03-22T04:54:21.778Z] [semverPrep] GIT_COMMIT: 1f36d7443d5ac14e073d42fad89cbb4306dbc673, Commit Message: feat: enable regex for executing GET command [Pipeline] echo [2023-03-22T04:54:21.787Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T04:54:22.138Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T04:54:22.138Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T04:54:22.138Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T04:54:22.138Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T04:54:22.138Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T04:54:22.138Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T04:54:22.138Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:54:22.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T04:54:22.580Z] [2023-03-22T04:54:22.580Z] 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-22T04:54:22.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T04:54:22.879Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T04:54:22.879Z] b85a868b505f: Pulling fs layer [2023-03-22T04:54:22.879Z] e2be974225ed: Pulling fs layer [2023-03-22T04:54:22.879Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T04:54:22.879Z] 988bab9f4d93: Pulling fs layer [2023-03-22T04:54:22.879Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T04:54:22.879Z] eaf3925da568: Pulling fs layer [2023-03-22T04:54:22.879Z] bab4dde63d76: Pulling fs layer [2023-03-22T04:54:22.879Z] bde34c3a00c8: Pulling fs layer [2023-03-22T04:54:22.879Z] b352a97aabf1: Pulling fs layer [2023-03-22T04:54:22.879Z] 4872d77fe225: Pulling fs layer [2023-03-22T04:54:22.879Z] 5851b861e8e6: Pulling fs layer [2023-03-22T04:54:22.879Z] 1469e6f7b9e6: Waiting [2023-03-22T04:54:22.879Z] eaf3925da568: Waiting [2023-03-22T04:54:22.879Z] 988bab9f4d93: Waiting [2023-03-22T04:54:22.879Z] bab4dde63d76: Waiting [2023-03-22T04:54:22.879Z] 4872d77fe225: Waiting [2023-03-22T04:54:22.879Z] b352a97aabf1: Waiting [2023-03-22T04:54:22.879Z] 5851b861e8e6: Waiting [2023-03-22T04:54:22.879Z] bde34c3a00c8: Waiting [2023-03-22T04:54:22.879Z] e2be974225ed: Verifying Checksum [2023-03-22T04:54:22.879Z] e2be974225ed: Download complete [2023-03-22T04:54:22.879Z] 988bab9f4d93: Verifying Checksum [2023-03-22T04:54:22.879Z] 988bab9f4d93: Download complete [2023-03-22T04:54:23.141Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T04:54:23.141Z] 1469e6f7b9e6: Download complete [2023-03-22T04:54:23.141Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T04:54:23.141Z] 339a4e72a1f5: Download complete [2023-03-22T04:54:23.141Z] eaf3925da568: Verifying Checksum [2023-03-22T04:54:23.141Z] eaf3925da568: Download complete [2023-03-22T04:54:23.141Z] bde34c3a00c8: Verifying Checksum [2023-03-22T04:54:23.141Z] bde34c3a00c8: Download complete [2023-03-22T04:54:23.141Z] b352a97aabf1: Download complete [2023-03-22T04:54:23.141Z] 4872d77fe225: Download complete [2023-03-22T04:54:23.141Z] 5851b861e8e6: Download complete [2023-03-22T04:54:23.141Z] b85a868b505f: Download complete [2023-03-22T04:54:23.400Z] bab4dde63d76: Download complete [2023-03-22T04:54:24.335Z] b85a868b505f: Pull complete [2023-03-22T04:54:24.595Z] e2be974225ed: Pull complete [2023-03-22T04:54:24.854Z] 339a4e72a1f5: Pull complete [2023-03-22T04:54:24.854Z] 988bab9f4d93: Pull complete [2023-03-22T04:54:25.114Z] 1469e6f7b9e6: Pull complete [2023-03-22T04:54:25.374Z] eaf3925da568: Pull complete [2023-03-22T04:54:27.284Z] bab4dde63d76: Pull complete [2023-03-22T04:54:27.284Z] bde34c3a00c8: Pull complete [2023-03-22T04:54:27.284Z] b352a97aabf1: Pull complete [2023-03-22T04:54:27.284Z] 4872d77fe225: Pull complete [2023-03-22T04:54:27.284Z] 5851b861e8e6: Pull complete [2023-03-22T04:54:27.284Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T04:54:27.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T04:54:27.284Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:54:27.369Z] prd-ubuntu20.04-docker-8c-8g-5118 does not seem to be running inside a container [2023-03-22T04:54:27.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T04:54:28.627Z] $ docker top 54f306fd8b3677f825d9bd730b86d2d4a0fa885ceb97916b31e7750d9b463c87 -eo pid,comm [2023-03-22T04:54:28.700Z] 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-22T04:54:28.700Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T04:54:28.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T04:54:28.731Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T04:54:28.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T04:54:28.830Z] $ docker exec 54f306fd8b3677f825d9bd730b86d2d4a0fa885ceb97916b31e7750d9b463c87 ssh-agent [2023-03-22T04:54:28.955Z] SSH_AUTH_SOCK=/tmp/ssh-1gcHKDiEW4tb/agent.31 [2023-03-22T04:54:28.955Z] SSH_AGENT_PID=37 [2023-03-22T04:54:28.962Z] Running ssh-add (command line suppressed) [2023-03-22T04:54:29.037Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_9840354080006741985.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_9840354080006741985.key) [2023-03-22T04:54:29.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T04:54:29.352Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T04:54:29.345Z] $ docker exec --env ******** --env ******** 54f306fd8b3677f825d9bd730b86d2d4a0fa885ceb97916b31e7750d9b463c87 ssh-agent -k [2023-03-22T04:54:29.436Z] unset SSH_AUTH_SOCK; [2023-03-22T04:54:29.437Z] unset SSH_AGENT_PID; [2023-03-22T04:54:29.437Z] echo Agent pid 37 killed; [2023-03-22T04:54:29.464Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T04:54:29.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T04:54:29.490Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T04:54:29.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T04:54:29.583Z] $ docker exec 54f306fd8b3677f825d9bd730b86d2d4a0fa885ceb97916b31e7750d9b463c87 ssh-agent [2023-03-22T04:54:29.713Z] SSH_AUTH_SOCK=/tmp/ssh-txbdPicd3Ta6/agent.69 [2023-03-22T04:54:29.713Z] SSH_AGENT_PID=75 [2023-03-22T04:54:29.717Z] Running ssh-add (command line suppressed) [2023-03-22T04:54:29.803Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_12107904835265514842.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_12107904835265514842.key) [2023-03-22T04:54:29.833Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T04:54:30.116Z] + git semver init [2023-03-22T04:54:30.375Z] 2023-03-22 04:54:30,289 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T04:54:30.375Z] 2023-03-22 04:54:30,290 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver [2023-03-22T04:54:30.375Z] 2023-03-22 04:54:30,290 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver [2023-03-22T04:54:30.375Z] 2023-03-22 04:54:30,290 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379, universal_newlines=False, shell=None, istream=None) [2023-03-22T04:54:31.313Z] 2023-03-22 04:54:31,140 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.git/info/exclude [2023-03-22T04:54:31.313Z] 2023-03-22 04:54:31,140 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 with force:False [2023-03-22T04:54:31.313Z] 2023-03-22 04:54:31,140 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-22T04:54:31.313Z] 2023-03-22 04:54:31,144 [execute] INFO git cat-file --batch-check [2023-03-22T04:54:31.313Z] 2023-03-22 04:54:31,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T04:54:31.313Z] 2023-03-22 04:54:31,152 [execute] INFO git cat-file --batch [2023-03-22T04:54:31.313Z] 2023-03-22 04:54:31,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T04:54:31.313Z] 2023-03-22 04:54:31,157 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-22T04:54:31.313Z] 0.0.0 [Pipeline] } [2023-03-22T04:54:31.310Z] $ docker exec --env ******** --env ******** 54f306fd8b3677f825d9bd730b86d2d4a0fa885ceb97916b31e7750d9b463c87 ssh-agent -k [2023-03-22T04:54:31.427Z] unset SSH_AUTH_SOCK; [2023-03-22T04:54:31.427Z] unset SSH_AGENT_PID; [2023-03-22T04:54:31.428Z] echo Agent pid 75 killed; [2023-03-22T04:54:31.454Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T04:54:31.751Z] + git semver [Pipeline] } [2023-03-22T04:54:32.011Z] $ docker stop --time=1 54f306fd8b3677f825d9bd730b86d2d4a0fa885ceb97916b31e7750d9b463c87 [2023-03-22T04:54:33.336Z] $ docker rm -f --volumes 54f306fd8b3677f825d9bd730b86d2d4a0fa885ceb97916b31e7750d9b463c87 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T04:54:33.680Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T04:54:33.886Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T04:54:33.889Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T04:54:34.018Z] provisioning config files... [2023-03-22T04:54:34.028Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config3798021553938532547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:54:34.322Z] ---> docker-login.sh [2023-03-22T04:54:34.322Z] nexus3.edgexfoundry.org:10001 [2023-03-22T04:54:34.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:34.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:34.322Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:34.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:34.322Z] [2023-03-22T04:54:34.322Z] Login Succeeded [2023-03-22T04:54:34.322Z] nexus3.edgexfoundry.org:10002 [2023-03-22T04:54:34.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:34.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:34.322Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:34.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:34.322Z] [2023-03-22T04:54:34.322Z] Login Succeeded [2023-03-22T04:54:34.322Z] nexus3.edgexfoundry.org:10003 [2023-03-22T04:54:34.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:34.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:34.581Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:34.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:34.581Z] [2023-03-22T04:54:34.581Z] Login Succeeded [2023-03-22T04:54:34.581Z] nexus3.edgexfoundry.org:10004 [2023-03-22T04:54:34.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:34.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:34.581Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:34.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:34.581Z] [2023-03-22T04:54:34.581Z] Login Succeeded [2023-03-22T04:54:34.581Z] docker.io [2023-03-22T04:54:34.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:54:34.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:54:34.840Z] Configure a credential helper to remove this warning. See [2023-03-22T04:54:34.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:54:34.840Z] [2023-03-22T04:54:34.840Z] Login Succeeded [2023-03-22T04:54:34.840Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T04:54:34.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T04:54:34.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T04:54:34.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T04:54:34.932Z] ========================================================= [2023-03-22T04:54:34.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T04:54:34.932Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:54:35.233Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T04:54:35.233Z] Sending build context to Docker daemon 10.88MB [2023-03-22T04:54:35.233Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T04:54:35.233Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T04:54:35.233Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T04:54:35.233Z] 63b65145d645: Pulling fs layer [2023-03-22T04:54:35.233Z] a2d21d5440eb: Pulling fs layer [2023-03-22T04:54:35.233Z] 935e6c44a52c: Pulling fs layer [2023-03-22T04:54:35.233Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T04:54:35.233Z] 30dea6a524f1: Pulling fs layer [2023-03-22T04:54:35.233Z] a2aff8979fd8: Pulling fs layer [2023-03-22T04:54:35.233Z] 6808be2612f2: Pulling fs layer [2023-03-22T04:54:35.233Z] f25807f1079a: Pulling fs layer [2023-03-22T04:54:35.233Z] a2aff8979fd8: Waiting [2023-03-22T04:54:35.233Z] 6808be2612f2: Waiting [2023-03-22T04:54:35.233Z] 94cc34f8dd06: Waiting [2023-03-22T04:54:35.233Z] f25807f1079a: Waiting [2023-03-22T04:54:35.233Z] 30dea6a524f1: Waiting [2023-03-22T04:54:35.495Z] a2d21d5440eb: Verifying Checksum [2023-03-22T04:54:35.495Z] a2d21d5440eb: Download complete [2023-03-22T04:54:35.495Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T04:54:35.495Z] 94cc34f8dd06: Download complete [2023-03-22T04:54:35.495Z] 30dea6a524f1: Download complete [2023-03-22T04:54:35.495Z] 63b65145d645: Verifying Checksum [2023-03-22T04:54:35.495Z] 63b65145d645: Download complete [2023-03-22T04:54:35.495Z] a2aff8979fd8: Verifying Checksum [2023-03-22T04:54:35.495Z] a2aff8979fd8: Download complete [2023-03-22T04:54:35.495Z] 63b65145d645: Pull complete [2023-03-22T04:54:35.761Z] a2d21d5440eb: Pull complete [2023-03-22T04:54:36.021Z] f25807f1079a: Verifying Checksum [2023-03-22T04:54:36.021Z] f25807f1079a: Download complete [2023-03-22T04:54:36.021Z] 935e6c44a52c: Verifying Checksum [2023-03-22T04:54:36.021Z] 935e6c44a52c: Download complete [2023-03-22T04:54:36.279Z] 6808be2612f2: Verifying Checksum [2023-03-22T04:54:36.279Z] 6808be2612f2: Download complete [2023-03-22T04:54:39.561Z] 935e6c44a52c: Pull complete [2023-03-22T04:54:39.562Z] 94cc34f8dd06: Pull complete [2023-03-22T04:54:39.562Z] 30dea6a524f1: Pull complete [2023-03-22T04:54:39.562Z] a2aff8979fd8: Pull complete [2023-03-22T04:54:41.460Z] 6808be2612f2: Pull complete [2023-03-22T04:54:42.395Z] f25807f1079a: Pull complete [2023-03-22T04:54:42.395Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T04:54:42.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T04:54:42.395Z] ---> 3b553350e43f [2023-03-22T04:54:42.395Z] Step 3/10 : ARG MAKE=make build [2023-03-22T04:54:43.772Z] ---> Running in c7fb7cb27b2c [2023-03-22T04:54:43.772Z] Removing intermediate container c7fb7cb27b2c [2023-03-22T04:54:43.772Z] ---> 64940b4feb5e [2023-03-22T04:54:43.772Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T04:54:43.772Z] ---> Running in de5886675608 [2023-03-22T04:54:44.030Z] Removing intermediate container de5886675608 [2023-03-22T04:54:44.030Z] ---> 5274e20e8a6c [2023-03-22T04:54:44.030Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T04:54:44.030Z] ---> Running in 175da30d0d14 [2023-03-22T04:54:44.030Z] Removing intermediate container 175da30d0d14 [2023-03-22T04:54:44.030Z] ---> ef107acf0a28 [2023-03-22T04:54:44.030Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T04:54:44.289Z] ---> Running in 502eed8dcaa1 [2023-03-22T04:54:44.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T04:54:44.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T04:54:44.833Z] OK: 265 MiB in 53 packages [2023-03-22T04:54:45.092Z] Removing intermediate container 502eed8dcaa1 [2023-03-22T04:54:45.092Z] ---> f1f58a5dd70b [2023-03-22T04:54:45.092Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T04:54:45.092Z] ---> 7f217be0ae14 [2023-03-22T04:54:45.092Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T04:54:45.353Z] ---> Running in c3c1296c798e [2023-03-22T04:54:48.982Z] Still waiting to schedule task [2023-03-22T04:54:48.982Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5117’ is offline [2023-03-22T04:55:11.902Z] Removing intermediate container c3c1296c798e [2023-03-22T04:55:11.902Z] ---> 3d5d27592e61 [2023-03-22T04:55:11.902Z] Step 9/10 : COPY . . [2023-03-22T04:55:11.902Z] ---> 655751b17514 [2023-03-22T04:55:11.902Z] Step 10/10 : RUN ${MAKE} [2023-03-22T04:55:11.902Z] ---> Running in 9dc3b9da9f01 [2023-03-22T04:55:11.902Z] noop [2023-03-22T04:55:11.902Z] Removing intermediate container 9dc3b9da9f01 [2023-03-22T04:55:11.902Z] ---> 1238b82b1402 [2023-03-22T04:55:11.902Z] Successfully built 1238b82b1402 [2023-03-22T04:55:11.902Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:55:12.217Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T04:55:12.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:55:12.289Z] prd-ubuntu20.04-docker-8c-8g-5118 does not seem to be running inside a container [2023-03-22T04:55:12.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T04:55:12.681Z] $ docker top 0167036b7db1cb5de11f85300ae73cf48d8c54b75573e04fd39c02743d5418f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T04:55:13.020Z] + go version [2023-03-22T04:55:13.020Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T04:55:13.033Z] $ docker stop --time=1 0167036b7db1cb5de11f85300ae73cf48d8c54b75573e04fd39c02743d5418f5 [2023-03-22T04:55:14.305Z] $ docker rm -f --volumes 0167036b7db1cb5de11f85300ae73cf48d8c54b75573e04fd39c02743d5418f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:55:14.678Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T04:55:14.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:55:14.750Z] prd-ubuntu20.04-docker-8c-8g-5118 does not seem to be running inside a container [2023-03-22T04:55:14.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T04:55:15.102Z] $ docker top 1301636aa3c2df1ad848521f0191e88ee726917a0fd928f415392bbf10ae3748 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T04:55:15.434Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] fileExists [Pipeline] sh [2023-03-22T04:55:15.733Z] + make test [2023-03-22T04:55:15.733Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T04:55:22.291Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T04:55:34.487Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T04:55:34.487Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T04:55:34.487Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T04:55:34.487Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T04:55:34.487Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T04:55:35.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.087s coverage: 27.6% of statements [2023-03-22T04:55:35.053Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T04:55:35.053Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T04:55:35.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.067s coverage: 79.9% of statements [2023-03-22T04:55:35.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.076s coverage: 86.0% of statements [2023-03-22T04:55:35.620Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T04:55:35.620Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.090s coverage: 75.7% of statements [2023-03-22T04:55:36.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T04:55:36.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T04:55:36.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T04:55:36.750Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T04:55:39.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.061s coverage: 14.9% of statements [2023-03-22T04:55:39.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-03-22T04:55:39.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.110s coverage: 89.2% of statements [2023-03-22T04:55:39.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-03-22T04:55:57.362Z] GO111MODULE=on go vet ./... [2023-03-22T04:56:00.644Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T04:56:00.902Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T04:56:00.902Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T04:56:00.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T04:56:00.936Z] $ docker stop --time=1 1301636aa3c2df1ad848521f0191e88ee726917a0fd928f415392bbf10ae3748 [2023-03-22T04:56:02.863Z] $ docker rm -f --volumes 1301636aa3c2df1ad848521f0191e88ee726917a0fd928f415392bbf10ae3748 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T04:56:03.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T04:56:03.434Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T04:56:03.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T04:56:04.254Z] + ls -al . [2023-03-22T04:56:04.254Z] total 276 [2023-03-22T04:56:04.254Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 04:55 . [2023-03-22T04:56:04.254Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:54 .. [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 04:54 .dockerignore [2023-03-22T04:56:04.254Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 04:54 .git [2023-03-22T04:56:04.254Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:54 .github [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 04:54 .gitignore [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 04:54 .golangci.yml [2023-03-22T04:56:04.254Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 04:54 .semver [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 04:54 CHANGELOG.md [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 04:54 GOVERNANCE.md [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 04:54 Jenkinsfile [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 04:54 LICENSE [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 04:54 Makefile [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 04:54 OWNERS.md [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 04:54 README.md [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 04:54 VERSION [2023-03-22T04:56:04.254Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:54 bin [2023-03-22T04:56:04.254Z] -rw-r--r-- 1 jenkins jenkins 106556 Mar 22 04:55 coverage.out [2023-03-22T04:56:04.254Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 04:54 example [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 04:54 go.mod [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 30779 Mar 22 04:54 go.sum [2023-03-22T04:56:04.254Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:54 internal [2023-03-22T04:56:04.254Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 04:54 openapi [2023-03-22T04:56:04.254Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 04:54 pkg [2023-03-22T04:56:04.254Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:54 snap [2023-03-22T04:56:04.254Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 04:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:56:04.564Z] + 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=1f36d7443d5ac14e073d42fad89cbb4306dbc673 --label arch=amd64 --label version=0.0.0 . [2023-03-22T04:56:04.565Z] Sending build context to Docker daemon 10.98MB [2023-03-22T04:56:04.565Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T04:56:04.565Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T04:56:04.565Z] ---> 1238b82b1402 [2023-03-22T04:56:04.565Z] Step 3/23 : ARG MAKE=make build [2023-03-22T04:56:04.824Z] ---> Running in 8a43f21fe91f [2023-03-22T04:56:04.824Z] Removing intermediate container 8a43f21fe91f [2023-03-22T04:56:04.824Z] ---> 35ec214cfa1f [2023-03-22T04:56:04.824Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T04:56:04.824Z] ---> Running in 3fdf10dd300c [2023-03-22T04:56:04.824Z] Removing intermediate container 3fdf10dd300c [2023-03-22T04:56:04.824Z] ---> 08198640b686 [2023-03-22T04:56:04.824Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T04:56:05.084Z] ---> Running in aeadf8c3765b [2023-03-22T04:56:05.084Z] Removing intermediate container aeadf8c3765b [2023-03-22T04:56:05.084Z] ---> 345879c24a0e [2023-03-22T04:56:05.084Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T04:56:05.084Z] ---> Running in d45f10c77c58 [2023-03-22T04:56:05.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T04:56:05.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T04:56:05.602Z] OK: 265 MiB in 53 packages [2023-03-22T04:56:05.861Z] Removing intermediate container d45f10c77c58 [2023-03-22T04:56:05.861Z] ---> 7cd7fe716ca9 [2023-03-22T04:56:05.861Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T04:56:06.121Z] ---> 7cb1c1830ed9 [2023-03-22T04:56:06.121Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T04:56:06.121Z] ---> Running in 4746f7104554 [2023-03-22T04:56:07.056Z] Removing intermediate container 4746f7104554 [2023-03-22T04:56:07.056Z] ---> c32fe0d87d27 [2023-03-22T04:56:07.056Z] Step 9/23 : COPY . . [2023-03-22T04:56:07.314Z] ---> 2a77044cb15b [2023-03-22T04:56:07.314Z] Step 10/23 : RUN ${MAKE} [2023-03-22T04:56:07.314Z] ---> Running in aa11178d114c [2023-03-22T04:56:07.883Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-22T04:56:15.943Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5119 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] { [Pipeline] ws [2023-03-22T04:56:15.954Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2023-03-22T04:56:15.989Z] The recommended git tool is: git [2023-03-22T04:56:21.318Z] using credential edgex-jenkins-ssh [2023-03-22T04:56:21.339Z] Cloning the remote Git repository [2023-03-22T04:56:21.383Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T04:56:21.487Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2023-03-22T04:56:21.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T04:56:21.648Z] > git --version # timeout=10 [2023-03-22T04:56:21.669Z] > git --version # 'git version 2.25.1' [2023-03-22T04:56:21.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T04:56:21.816Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T04:56:23.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T04:56:23.412Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T04:56:24.314Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T04:56:24.355Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T04:56:24.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T04:56:24.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T04:56:25.051Z] Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit 1f36d7443d5ac14e073d42fad89cbb4306dbc673 [2023-03-22T04:56:25.353Z] Merge succeeded, producing 1f36d7443d5ac14e073d42fad89cbb4306dbc673 [2023-03-22T04:56:25.353Z] Checking out Revision 1f36d7443d5ac14e073d42fad89cbb4306dbc673 (PR-1379) [2023-03-22T04:56:25.959Z] Removing intermediate container aa11178d114c [2023-03-22T04:56:25.959Z] ---> aa690925a1d7 [2023-03-22T04:56:25.959Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T04:56:25.959Z] 3.17: Pulling from library/alpine [2023-03-22T04:56:25.959Z] 63b65145d645: Already exists [2023-03-22T04:56:25.959Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T04:56:25.959Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T04:56:25.959Z] ---> b2aa39c304c2 [2023-03-22T04:56:25.959Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T04:56:25.959Z] ---> Running in f005a856a165 [2023-03-22T04:56:25.959Z] Removing intermediate container f005a856a165 [2023-03-22T04:56:25.959Z] ---> 62f0f2689f45 [2023-03-22T04:56:25.959Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T04:56:25.959Z] ---> Running in aa56d6ea0596 [2023-03-22T04:56:25.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T04:56:25.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T04:56:25.959Z] OK: 7 MiB in 15 packages [2023-03-22T04:56:25.959Z] Removing intermediate container aa56d6ea0596 [2023-03-22T04:56:25.959Z] ---> 5633254b58c9 [2023-03-22T04:56:25.959Z] Step 14/23 : WORKDIR / [2023-03-22T04:56:25.959Z] ---> Running in 4e3d7d73beb1 [2023-03-22T04:56:25.959Z] Removing intermediate container 4e3d7d73beb1 [2023-03-22T04:56:25.959Z] ---> 81d4caea9c8b [2023-03-22T04:56:25.959Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T04:56:25.959Z] ---> d176e257d511 [2023-03-22T04:56:25.959Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T04:56:25.959Z] ---> 8e986c2983ca [2023-03-22T04:56:25.959Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T04:56:25.959Z] ---> aed01ccdcd61 [2023-03-22T04:56:25.959Z] Step 18/23 : EXPOSE 59999 [2023-03-22T04:56:25.959Z] ---> Running in 6d3138fdcc78 [2023-03-22T04:56:25.071Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T04:56:25.138Z] > git checkout -f 1f36d7443d5ac14e073d42fad89cbb4306dbc673 # timeout=10 [2023-03-22T04:56:25.252Z] > git remote # timeout=10 [2023-03-22T04:56:25.273Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T04:56:25.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T04:56:25.302Z] > git merge 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 [2023-03-22T04:56:25.328Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T04:56:25.360Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T04:56:25.379Z] > git checkout -f 1f36d7443d5ac14e073d42fad89cbb4306dbc673 # timeout=10 [2023-03-22T04:56:26.218Z] Removing intermediate container 6d3138fdcc78 [2023-03-22T04:56:26.218Z] ---> 47e1d565214c [2023-03-22T04:56:26.218Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T04:56:26.218Z] ---> Running in 09ab4ff58244 [2023-03-22T04:56:26.218Z] Removing intermediate container 09ab4ff58244 [2023-03-22T04:56:26.218Z] ---> 19092e255cbc [2023-03-22T04:56:26.218Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T04:56:26.218Z] ---> Running in af9213e8e4b1 [2023-03-22T04:56:26.218Z] Removing intermediate container af9213e8e4b1 [2023-03-22T04:56:26.218Z] ---> f9e6a93ed3d3 [2023-03-22T04:56:26.218Z] Step 21/23 : LABEL arch=amd64 [2023-03-22T04:56:26.477Z] ---> Running in b93e2a5051ad [2023-03-22T04:56:26.477Z] Removing intermediate container b93e2a5051ad [2023-03-22T04:56:26.477Z] ---> 3428bd7d7a91 [2023-03-22T04:56:26.477Z] Step 22/23 : LABEL git_sha=1f36d7443d5ac14e073d42fad89cbb4306dbc673 [2023-03-22T04:56:26.477Z] ---> Running in a01ab1fbe91c [2023-03-22T04:56:26.477Z] Removing intermediate container a01ab1fbe91c [2023-03-22T04:56:26.477Z] ---> 7dea79adb4c4 [2023-03-22T04:56:26.477Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T04:56:26.477Z] ---> Running in 77610159f78c [2023-03-22T04:56:26.736Z] Removing intermediate container 77610159f78c [2023-03-22T04:56:26.736Z] ---> 8a09de8928af [2023-03-22T04:56:26.736Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T04:56:26.736Z] Successfully built 8a09de8928af [2023-03-22T04:56:26.736Z] 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-22T04:56:27.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T04:56:27.171Z] [2023-03-22T04:56:27.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:56:27.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T04:56:27.468Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T04:56:27.468Z] 5eb5b503b376: Pulling fs layer [2023-03-22T04:56:27.468Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T04:56:27.468Z] ec43610c2a17: Pulling fs layer [2023-03-22T04:56:27.468Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T04:56:27.468Z] 33b1e0a273af: Pulling fs layer [2023-03-22T04:56:27.468Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T04:56:27.468Z] 2f39f015ded8: Pulling fs layer [2023-03-22T04:56:27.468Z] 33b1e0a273af: Waiting [2023-03-22T04:56:27.468Z] 5d3b04190fa2: Waiting [2023-03-22T04:56:27.468Z] 2f39f015ded8: Waiting [2023-03-22T04:56:27.468Z] 3a2ae6a8a46f: Waiting [2023-03-22T04:56:27.468Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T04:56:27.468Z] 5c69ac0246d0: Download complete [2023-03-22T04:56:27.468Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T04:56:27.468Z] 3a2ae6a8a46f: Download complete [2023-03-22T04:56:27.468Z] 33b1e0a273af: Verifying Checksum [2023-03-22T04:56:27.468Z] 33b1e0a273af: Download complete [2023-03-22T04:56:27.727Z] 5d3b04190fa2: Verifying Checksum [2023-03-22T04:56:27.727Z] 5d3b04190fa2: Download complete [2023-03-22T04:56:27.727Z] ec43610c2a17: Verifying Checksum [2023-03-22T04:56:27.727Z] ec43610c2a17: Download complete [2023-03-22T04:56:27.727Z] 5eb5b503b376: Verifying Checksum [2023-03-22T04:56:27.727Z] 5eb5b503b376: Download complete [2023-03-22T04:56:28.292Z] 2f39f015ded8: Verifying Checksum [2023-03-22T04:56:28.292Z] 2f39f015ded8: Download complete [2023-03-22T04:56:28.857Z] 5eb5b503b376: Pull complete [2023-03-22T04:56:28.857Z] 5c69ac0246d0: Pull complete [2023-03-22T04:56:28.896Z] Commit message: "feat: enable regex for executing GET command" [2023-03-22T04:56:29.284Z] [2023-03-22T04:56:29.284Z] GitHub has been notified of this commit’s build result [2023-03-22T04:56:29.284Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T04:56:29.423Z] ec43610c2a17: Pull complete [2023-03-22T04:56:29.423Z] 3a2ae6a8a46f: Pull complete [2023-03-22T04:56:29.681Z] 33b1e0a273af: Pull complete [2023-03-22T04:56:29.681Z] 5d3b04190fa2: Pull complete [2023-03-22T04:56:29.793Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T04:56:29.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T04:56:29.793Z] Dload Upload Total Spent Left Speed [2023-03-22T04:56:29.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-03-22T04:56:30.497Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T04:56:30.824Z] + sudo tee /etc/docker/daemon.new [2023-03-22T04:56:30.824Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T04:56:30.824Z] { [2023-03-22T04:56:30.824Z] "registry-mirrors": [ [2023-03-22T04:56:30.824Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T04:56:30.824Z] ], [2023-03-22T04:56:30.825Z] "bip": "10.250.0.254/24", [2023-03-22T04:56:30.825Z] "hosts": [ [2023-03-22T04:56:30.825Z] "tcp://0.0.0.0:5555", [2023-03-22T04:56:30.825Z] "unix:///var/run/docker.sock" [2023-03-22T04:56:30.825Z] ], [2023-03-22T04:56:30.825Z] "mtu": 1458, [2023-03-22T04:56:30.825Z] "selinux-enabled": true, [2023-03-22T04:56:30.825Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T04:56:30.825Z] } [Pipeline] sh [2023-03-22T04:56:31.153Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T04:56:31.479Z] + sudo service docker restart [2023-03-22T04:56:33.863Z] 2f39f015ded8: Pull complete [2023-03-22T04:56:33.863Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T04:56:33.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T04:56:33.863Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:56:33.944Z] prd-ubuntu20.04-docker-8c-8g-5118 does not seem to be running inside a container [2023-03-22T04:56:33.979Z] $ 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/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T04:56:35.456Z] $ docker top dc67b05ec029c847662234bca65287fff2398cc17a14e4c7edf7dfc6cd7eb590 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:56:35.855Z] ---> job-cost.sh [2023-03-22T04:56:35.855Z] lf-activate-venv: SKIPPING [2023-03-22T04:56:35.855Z] INFO: No Stack... [2023-03-22T04:56:36.114Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T04:56:36.373Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T04:56:36.660Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/cost.csv [2023-03-22T04:56:36.660Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T04:56:36.673Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-9-stack-cost] [2023-03-22T04:56:36.679Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-9-stack-cost] did not exist. Created. [2023-03-22T04:56:36.679Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T04:56:36.983Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T04:56:37.015Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T04:56:37.021Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T04:56:37.043Z] $ docker stop --time=1 dc67b05ec029c847662234bca65287fff2398cc17a14e4c7edf7dfc6cd7eb590 [2023-03-22T04:56:38.194Z] $ docker rm -f --volumes dc67b05ec029c847662234bca65287fff2398cc17a14e4c7edf7dfc6cd7eb590 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T04:56:49.749Z] provisioning config files... [2023-03-22T04:56:49.776Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config671559715822534371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T04:56:50.125Z] ---> docker-login.sh [2023-03-22T04:56:50.125Z] nexus3.edgexfoundry.org:10001 [2023-03-22T04:56:50.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:56:50.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:56:50.715Z] Configure a credential helper to remove this warning. See [2023-03-22T04:56:50.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:56:50.715Z] [2023-03-22T04:56:50.715Z] Login Succeeded [2023-03-22T04:56:50.715Z] nexus3.edgexfoundry.org:10002 [2023-03-22T04:56:50.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:56:50.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:56:50.986Z] Configure a credential helper to remove this warning. See [2023-03-22T04:56:50.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:56:50.986Z] [2023-03-22T04:56:50.986Z] Login Succeeded [2023-03-22T04:56:51.256Z] nexus3.edgexfoundry.org:10003 [2023-03-22T04:56:51.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:56:51.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:56:51.531Z] Configure a credential helper to remove this warning. See [2023-03-22T04:56:51.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:56:51.531Z] [2023-03-22T04:56:51.531Z] Login Succeeded [2023-03-22T04:56:51.531Z] nexus3.edgexfoundry.org:10004 [2023-03-22T04:56:51.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:56:51.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:56:51.800Z] Configure a credential helper to remove this warning. See [2023-03-22T04:56:51.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:56:51.800Z] [2023-03-22T04:56:51.800Z] Login Succeeded [2023-03-22T04:56:51.800Z] docker.io [2023-03-22T04:56:52.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T04:56:52.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T04:56:52.339Z] Configure a credential helper to remove this warning. See [2023-03-22T04:56:52.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T04:56:52.339Z] [2023-03-22T04:56:52.339Z] Login Succeeded [2023-03-22T04:56:52.339Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T04:56:52.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T04:56:52.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T04:56:52.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T04:56:52.650Z] ========================================================= [2023-03-22T04:56:52.650Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T04:56:52.650Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:56:53.000Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T04:56:53.275Z] Sending build context to Docker daemon 5.881MB [2023-03-22T04:56:53.553Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T04:56:53.553Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T04:56:53.553Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T04:56:53.553Z] af6eaf76a39c: Pulling fs layer [2023-03-22T04:56:53.553Z] 55522c791124: Pulling fs layer [2023-03-22T04:56:53.553Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T04:56:53.553Z] 169dfbe0d373: Pulling fs layer [2023-03-22T04:56:53.553Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T04:56:53.553Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T04:56:53.553Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T04:56:53.553Z] 169dfbe0d373: Waiting [2023-03-22T04:56:53.553Z] e1ff8fa3b103: Waiting [2023-03-22T04:56:53.553Z] 5abe8eddf0d5: Waiting [2023-03-22T04:56:53.553Z] 52ebb69f0ebf: Waiting [2023-03-22T04:56:53.553Z] 55522c791124: Verifying Checksum [2023-03-22T04:56:53.553Z] 55522c791124: Download complete [2023-03-22T04:56:53.823Z] 169dfbe0d373: Verifying Checksum [2023-03-22T04:56:53.823Z] 169dfbe0d373: Download complete [2023-03-22T04:56:53.823Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T04:56:53.823Z] e1ff8fa3b103: Download complete [2023-03-22T04:56:53.823Z] af6eaf76a39c: Download complete [2023-03-22T04:56:54.798Z] af6eaf76a39c: Pull complete [2023-03-22T04:56:54.798Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T04:56:54.798Z] 5abe8eddf0d5: Download complete [2023-03-22T04:56:55.406Z] 55522c791124: Pull complete [2023-03-22T04:56:56.376Z] ce5c4a1c91eb: Download complete [2023-03-22T04:56:56.376Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T04:56:56.376Z] 52ebb69f0ebf: Download complete [2023-03-22T04:57:06.486Z] ce5c4a1c91eb: Pull complete [2023-03-22T04:57:06.752Z] 169dfbe0d373: Pull complete [2023-03-22T04:57:06.752Z] e1ff8fa3b103: Pull complete [2023-03-22T04:57:13.411Z] 52ebb69f0ebf: Pull complete [2023-03-22T04:57:15.361Z] 5abe8eddf0d5: Pull complete [2023-03-22T04:57:15.361Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T04:57:15.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T04:57:15.361Z] ---> 6cb57ee374ae [2023-03-22T04:57:15.361Z] Step 3/10 : ARG MAKE=make build [2023-03-22T04:57:17.308Z] ---> Running in 3f32aac4c3ad [2023-03-22T04:57:17.308Z] Removing intermediate container 3f32aac4c3ad [2023-03-22T04:57:17.308Z] ---> 42c511db0d1c [2023-03-22T04:57:17.308Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T04:57:17.576Z] ---> Running in 45262fd2af72 [2023-03-22T04:57:17.845Z] Removing intermediate container 45262fd2af72 [2023-03-22T04:57:17.845Z] ---> 628b3322c3bb [2023-03-22T04:57:17.845Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T04:57:17.845Z] ---> Running in fc3670384811 [2023-03-22T04:57:18.115Z] Removing intermediate container fc3670384811 [2023-03-22T04:57:18.115Z] ---> a2d17c2b042e [2023-03-22T04:57:18.115Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T04:57:18.115Z] ---> Running in 38ae79f8adb2 [2023-03-22T04:57:19.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T04:57:19.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T04:57:20.748Z] OK: 263 MiB in 53 packages [2023-03-22T04:57:21.706Z] Removing intermediate container 38ae79f8adb2 [2023-03-22T04:57:21.706Z] ---> 52ca0e4b9544 [2023-03-22T04:57:21.706Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T04:57:21.972Z] ---> d341a68598fd [2023-03-22T04:57:21.972Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T04:57:22.238Z] ---> Running in 8fa334c40a2f [2023-03-22T04:58:30.103Z] Removing intermediate container 8fa334c40a2f [2023-03-22T04:58:30.103Z] ---> af33baed6191 [2023-03-22T04:58:30.103Z] Step 9/10 : COPY . . [2023-03-22T04:58:30.103Z] ---> 3cf86df6ed23 [2023-03-22T04:58:30.103Z] Step 10/10 : RUN ${MAKE} [2023-03-22T04:58:30.103Z] ---> Running in 51dcaf9735ed [2023-03-22T04:58:30.103Z] noop [2023-03-22T04:58:30.103Z] Removing intermediate container 51dcaf9735ed [2023-03-22T04:58:30.103Z] ---> 9516a7be8dd6 [2023-03-22T04:58:30.103Z] Successfully built 9516a7be8dd6 [2023-03-22T04:58:30.103Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:58:30.440Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T04:58:30.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:58:30.627Z] prd-ubuntu20.04-docker-arm64-4c-16g-5119 does not seem to be running inside a container [2023-03-22T04:58:30.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T04:58:31.794Z] $ docker top ee091f8240e5d38b7f4eb880c1f6906d6dc87311ccd4492a2cdf9bb2087680d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T04:58:32.592Z] + go version [2023-03-22T04:58:32.592Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T04:58:32.617Z] $ docker stop --time=1 ee091f8240e5d38b7f4eb880c1f6906d6dc87311ccd4492a2cdf9bb2087680d2 [2023-03-22T04:58:34.195Z] $ docker rm -f --volumes ee091f8240e5d38b7f4eb880c1f6906d6dc87311ccd4492a2cdf9bb2087680d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T04:58:34.727Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T04:58:34.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T04:58:34.891Z] prd-ubuntu20.04-docker-arm64-4c-16g-5119 does not seem to be running inside a container [2023-03-22T04:58:34.954Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T04:58:36.041Z] $ docker top d2924f1edd1510df43fdedf461b4fb55cf2f510ddb5983696a61474ba4f4f554 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T04:58:36.520Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/9 [Pipeline] fileExists [Pipeline] sh [2023-03-22T04:58:36.845Z] + make test [2023-03-22T04:58:36.845Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T04:59:15.702Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T05:01:22.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T05:01:22.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T05:01:22.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T05:01:22.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T05:01:22.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T05:01:22.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.197s coverage: 27.6% of statements [2023-03-22T05:01:22.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.260s coverage: 79.9% of statements [2023-03-22T05:01:32.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T05:01:32.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T05:01:32.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.430s coverage: 86.0% of statements [2023-03-22T05:01:37.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T05:01:37.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T05:01:38.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.675s coverage: 75.7% of statements [2023-03-22T05:01:41.760Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.398s coverage: 14.9% of statements [2023-03-22T05:01:43.744Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T05:01:43.744Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T05:01:44.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.556s coverage: 68.5% of statements [2023-03-22T05:01:46.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.514s coverage: 89.2% of statements [2023-03-22T05:01:48.874Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T05:01:49.142Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.251s coverage: 5.5% of statements [2023-03-22T05:01:49.820Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-22T05:01:49.820Z] GO111MODULE=on go vet ./... [2023-03-22T05:04:26.743Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T05:04:26.743Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T05:04:26.743Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T05:04:26.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T05:04:26.778Z] $ docker stop --time=1 d2924f1edd1510df43fdedf461b4fb55cf2f510ddb5983696a61474ba4f4f554 [2023-03-22T05:04:28.644Z] $ docker rm -f --volumes d2924f1edd1510df43fdedf461b4fb55cf2f510ddb5983696a61474ba4f4f554 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T05:04:30.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T05:04:30.319Z] Warning: overwriting stash ‘coverage-report’ [2023-03-22T05:04:30.984Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T05:04:31.349Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T05:04:31.669Z] + ls -al . [2023-03-22T05:04:31.669Z] total 272 [2023-03-22T05:04:31.669Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 04:58 . [2023-03-22T05:04:31.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:56 .. [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 04:56 .dockerignore [2023-03-22T05:04:31.669Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 04:56 .git [2023-03-22T05:04:31.669Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:56 .github [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 04:56 .gitignore [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 04:56 .golangci.yml [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 04:56 CHANGELOG.md [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 04:56 GOVERNANCE.md [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 04:56 Jenkinsfile [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 04:56 LICENSE [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 04:56 Makefile [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 04:56 OWNERS.md [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 04:56 README.md [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 04:54 VERSION [2023-03-22T05:04:31.669Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 04:56 bin [2023-03-22T05:04:31.669Z] -rw-r--r-- 1 jenkins jenkins 106554 Mar 22 05:01 coverage.out [2023-03-22T05:04:31.669Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 04:56 example [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 22 04:56 go.mod [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 30779 Mar 22 04:56 go.sum [2023-03-22T05:04:31.669Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:56 internal [2023-03-22T05:04:31.669Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 04:56 openapi [2023-03-22T05:04:31.669Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 04:56 pkg [2023-03-22T05:04:31.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 04:56 snap [2023-03-22T05:04:31.669Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 04:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T05:04:32.021Z] + 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=1f36d7443d5ac14e073d42fad89cbb4306dbc673 --label arch=arm64 --label version=0.0.0 . [2023-03-22T05:04:32.604Z] Sending build context to Docker daemon 5.988MB [2023-03-22T05:04:32.604Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T05:04:32.604Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T05:04:32.604Z] ---> 9516a7be8dd6 [2023-03-22T05:04:32.604Z] Step 3/23 : ARG MAKE=make build [2023-03-22T05:04:34.280Z] ---> Running in 66b172d9664d [2023-03-22T05:04:34.280Z] Removing intermediate container 66b172d9664d [2023-03-22T05:04:34.280Z] ---> 2ebc1f3cb6fb [2023-03-22T05:04:34.280Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T05:04:34.563Z] ---> Running in 03be6ac181ba [2023-03-22T05:04:34.830Z] Removing intermediate container 03be6ac181ba [2023-03-22T05:04:34.830Z] ---> 7b15713e4e91 [2023-03-22T05:04:34.830Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T05:04:34.830Z] ---> Running in d13251a2b593 [2023-03-22T05:04:35.097Z] Removing intermediate container d13251a2b593 [2023-03-22T05:04:35.097Z] ---> 9a9c79bf7f19 [2023-03-22T05:04:35.097Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T05:04:35.366Z] ---> Running in f19f1105705d [2023-03-22T05:04:36.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T05:04:36.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T05:04:38.325Z] OK: 263 MiB in 53 packages [2023-03-22T05:04:38.910Z] Removing intermediate container f19f1105705d [2023-03-22T05:04:38.910Z] ---> a74572f3096d [2023-03-22T05:04:38.910Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T05:04:39.511Z] ---> 8665996486c9 [2023-03-22T05:04:39.511Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T05:04:39.511Z] ---> Running in d4767e1566e0 [2023-03-22T05:04:42.089Z] Removing intermediate container d4767e1566e0 [2023-03-22T05:04:42.089Z] ---> faa2a4a74620 [2023-03-22T05:04:42.089Z] Step 9/23 : COPY . . [2023-03-22T05:04:43.499Z] ---> de4b1774a4ca [2023-03-22T05:04:43.499Z] Step 10/23 : RUN ${MAKE} [2023-03-22T05:04:43.499Z] ---> Running in 85b23e20a7f2 [2023-03-22T05:04:44.465Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-22T05:07:06.153Z] Removing intermediate container 85b23e20a7f2 [2023-03-22T05:07:06.153Z] ---> 56239b6a764f [2023-03-22T05:07:06.153Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T05:07:06.153Z] 3.17: Pulling from library/alpine [2023-03-22T05:07:06.422Z] af6eaf76a39c: Already exists [2023-03-22T05:07:06.422Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T05:07:06.422Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T05:07:06.422Z] ---> d74e625d9115 [2023-03-22T05:07:06.422Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T05:07:06.422Z] ---> Running in c3a6d89cf390 [2023-03-22T05:07:07.013Z] Removing intermediate container c3a6d89cf390 [2023-03-22T05:07:07.013Z] ---> 751d0e74e4be [2023-03-22T05:07:07.013Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T05:07:07.013Z] ---> Running in d04db8b8e144 [2023-03-22T05:07:07.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T05:07:08.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T05:07:09.512Z] OK: 7 MiB in 15 packages [2023-03-22T05:07:10.473Z] Removing intermediate container d04db8b8e144 [2023-03-22T05:07:10.473Z] ---> f2b5531210eb [2023-03-22T05:07:10.473Z] Step 14/23 : WORKDIR / [2023-03-22T05:07:10.473Z] ---> Running in b8ce5cd97c7c [2023-03-22T05:07:10.741Z] Removing intermediate container b8ce5cd97c7c [2023-03-22T05:07:10.741Z] ---> c12b79e8472a [2023-03-22T05:07:10.741Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T05:07:11.324Z] ---> 0476bfabc38f [2023-03-22T05:07:11.324Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T05:07:12.731Z] ---> 92e616310dc6 [2023-03-22T05:07:12.731Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T05:07:12.998Z] ---> 8d458da8c6ef [2023-03-22T05:07:12.998Z] Step 18/23 : EXPOSE 59999 [2023-03-22T05:07:13.270Z] ---> Running in 255645c04db3 [2023-03-22T05:07:13.537Z] Removing intermediate container 255645c04db3 [2023-03-22T05:07:13.537Z] ---> cb9e0705022b [2023-03-22T05:07:13.537Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T05:07:13.537Z] ---> Running in effb2cc2a4bf [2023-03-22T05:07:13.805Z] Removing intermediate container effb2cc2a4bf [2023-03-22T05:07:13.805Z] ---> e50d7c124d30 [2023-03-22T05:07:13.805Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T05:07:13.805Z] ---> Running in 39d9f5d3a3b7 [2023-03-22T05:07:14.071Z] Removing intermediate container 39d9f5d3a3b7 [2023-03-22T05:07:14.071Z] ---> d58e574cf01b [2023-03-22T05:07:14.071Z] Step 21/23 : LABEL arch=arm64 [2023-03-22T05:07:14.071Z] ---> Running in 3e222f093b2d [2023-03-22T05:07:14.655Z] Removing intermediate container 3e222f093b2d [2023-03-22T05:07:14.655Z] ---> 466c73946499 [2023-03-22T05:07:14.655Z] Step 22/23 : LABEL git_sha=1f36d7443d5ac14e073d42fad89cbb4306dbc673 [2023-03-22T05:07:14.655Z] ---> Running in bada32b50bb0 [2023-03-22T05:07:14.923Z] Removing intermediate container bada32b50bb0 [2023-03-22T05:07:14.923Z] ---> 919d355fd00a [2023-03-22T05:07:14.923Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T05:07:14.923Z] ---> Running in d8f0960f5dcf [2023-03-22T05:07:15.190Z] Removing intermediate container d8f0960f5dcf [2023-03-22T05:07:15.190Z] ---> bd9d82fc3930 [2023-03-22T05:07:15.190Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T05:07:15.190Z] Successfully built bd9d82fc3930 [2023-03-22T05:07:15.190Z] 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-22T05:07:15.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T05:07:15.605Z] [2023-03-22T05:07:15.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T05:07:15.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T05:07:15.933Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T05:07:15.933Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T05:07:15.933Z] 04944245beec: Pulling fs layer [2023-03-22T05:07:15.933Z] 699f458cf7ca: Pulling fs layer [2023-03-22T05:07:15.933Z] 765212b225bb: Pulling fs layer [2023-03-22T05:07:15.933Z] f23df028b6ca: Pulling fs layer [2023-03-22T05:07:15.933Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T05:07:15.933Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T05:07:15.933Z] 765212b225bb: Waiting [2023-03-22T05:07:15.933Z] f23df028b6ca: Waiting [2023-03-22T05:07:15.933Z] d65c8cfc05b1: Waiting [2023-03-22T05:07:15.933Z] 2437ff75d9bd: Waiting [2023-03-22T05:07:16.203Z] 04944245beec: Verifying Checksum [2023-03-22T05:07:16.203Z] 04944245beec: Download complete [2023-03-22T05:07:16.203Z] 765212b225bb: Verifying Checksum [2023-03-22T05:07:16.203Z] 765212b225bb: Download complete [2023-03-22T05:07:16.203Z] f23df028b6ca: Download complete [2023-03-22T05:07:16.203Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T05:07:16.203Z] d65c8cfc05b1: Download complete [2023-03-22T05:07:16.476Z] 699f458cf7ca: Verifying Checksum [2023-03-22T05:07:16.476Z] 699f458cf7ca: Download complete [2023-03-22T05:07:16.743Z] 8998bd30e6a1: Download complete [2023-03-22T05:07:18.695Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T05:07:18.695Z] 2437ff75d9bd: Download complete [2023-03-22T05:07:22.052Z] 8998bd30e6a1: Pull complete [2023-03-22T05:07:22.632Z] 04944245beec: Pull complete [2023-03-22T05:07:23.587Z] 699f458cf7ca: Pull complete [2023-03-22T05:07:23.853Z] 765212b225bb: Pull complete [2023-03-22T05:07:24.434Z] f23df028b6ca: Pull complete [2023-03-22T05:07:24.703Z] d65c8cfc05b1: Pull complete [2023-03-22T05:07:37.013Z] 2437ff75d9bd: Pull complete [2023-03-22T05:07:37.013Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T05:07:37.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T05:07:37.013Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T05:07:37.204Z] prd-ubuntu20.04-docker-arm64-4c-16g-5119 does not seem to be running inside a container [2023-03-22T05:07:37.272Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T05:07:40.043Z] $ docker top 77774b3664cca78020d1e17e7890dd3bfa99341a085af5a4f36db0f4aa8d8382 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T05:07:40.883Z] ---> job-cost.sh [2023-03-22T05:07:40.883Z] lf-activate-venv: SKIPPING [2023-03-22T05:07:40.883Z] INFO: No Stack... [2023-03-22T05:07:41.468Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T05:07:42.052Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T05:07:42.694Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [2023-03-22T05:07:42.694Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T05:07:42.766Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-9-stack-cost] [2023-03-22T05:07:42.773Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-9-stack-cost] did not exist. Created. [2023-03-22T05:07:42.773Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T05:07:43.436Z] /w/workspace/device-sdk-go/9@tmp/durable-e7ecfa01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T05:07:44.087Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T05:07:44.110Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T05:07:44.180Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T05:07:44.186Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T05:07:44.206Z] $ docker stop --time=1 77774b3664cca78020d1e17e7890dd3bfa99341a085af5a4f36db0f4aa8d8382 [2023-03-22T05:07:45.750Z] $ docker rm -f --volumes 77774b3664cca78020d1e17e7890dd3bfa99341a085af5a4f36db0f4aa8d8382 [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-22T05:07:46.189Z] provisioning config files... [2023-03-22T05:07:46.196Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config11654153396398322291tmp [Pipeline] { [Pipeline] sh [2023-03-22T05:07:46.487Z] + set +x [2023-03-22T05:07:46.488Z] + curl -s https://codecov.io/bash [2023-03-22T05:07:46.488Z] + bash -s -- [2023-03-22T05:07:46.488Z] [2023-03-22T05:07:46.488Z] _____ _ [2023-03-22T05:07:46.488Z] / ____| | | [2023-03-22T05:07:46.488Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T05:07:46.488Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T05:07:46.488Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T05:07:46.488Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T05:07:46.488Z] Bash-1.0.6 [2023-03-22T05:07:46.488Z] [2023-03-22T05:07:46.488Z] [2023-03-22T05:07:46.488Z] ==> git version 2.25.1 found [2023-03-22T05:07:46.488Z] ==> 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-22T05:07:46.488Z] Release-Date: 2020-01-08 [2023-03-22T05:07:46.488Z] 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-22T05:07:46.488Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T05:07:46.488Z] ==> Jenkins CI detected. [2023-03-22T05:07:46.488Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-22T05:07:46.488Z] project root: . [2023-03-22T05:07:46.488Z] --> token set from env [2023-03-22T05:07:46.488Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T05:07:46.488Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T05:07:46.488Z] ==> Python coveragepy not found [2023-03-22T05:07:46.488Z] ==> Searching for coverage reports in: [2023-03-22T05:07:46.488Z] + . [2023-03-22T05:07:46.488Z] -> Found 1 reports [2023-03-22T05:07:46.488Z] ==> Detecting git/mercurial file structure [2023-03-22T05:07:46.488Z] ==> Reading reports [2023-03-22T05:07:46.488Z] + ./coverage.out bytes=106554 [2023-03-22T05:07:46.488Z] ==> Appending adjustments [2023-03-22T05:07:46.488Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T05:07:46.748Z] + Found adjustments [2023-03-22T05:07:46.748Z] ==> Gzipping contents [2023-03-22T05:07:47.007Z] 16K /tmp/codecov.5mRgvV.gz [2023-03-22T05:07:47.007Z] ==> Uploading reports [2023-03-22T05:07:47.007Z] url: https://codecov.io [2023-03-22T05:07:47.007Z] query: branch=PR-1379&commit=1f36d7443d5ac14e073d42fad89cbb4306dbc673&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-22T05:07:47.007Z] -> Pinging Codecov [2023-03-22T05:07:47.007Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1379&commit=1f36d7443d5ac14e073d42fad89cbb4306dbc673&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-22T05:07:47.007Z] -> Uploading to [2023-03-22T05:07:47.007Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/7E55EF52A471D76F132DFD9A03CDDE97/1f36d7443d5ac14e073d42fad89cbb4306dbc673/226f600c-60c5-4d86-9934-337cd1e0c6a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T050746Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcbfeb478678709807aa57ca9079044a90ad59f664b30e927ab15bdb58dc92e9 [2023-03-22T05:07:47.007Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T05:07:47.007Z] Dload Upload Total Spent Left Speed [2023-03-22T05:07:47.267Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15057 0 0 100 15057 0 52831 --:--:-- --:--:-- --:--:-- 52831 [2023-03-22T05:07:47.267Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1f36d7443d5ac14e073d42fad89cbb4306dbc673 [Pipeline] } [2023-03-22T05:07:47.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-22T05:07:48.009Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives ] [2023-03-22T05:07:48.009Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-22T05:07:48.009Z] total 16 [2023-03-22T05:07:48.009Z] drwxr-xr-x 3 root root 4096 Mar 22 04:56 . [2023-03-22T05:07:48.009Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:56 .. [2023-03-22T05:07:48.009Z] drwxr-xr-x 2 root root 4096 Mar 22 04:56 cost [2023-03-22T05:07:48.009Z] -rw-r--r-- 1 root root 86 Mar 22 04:56 cost.csv [2023-03-22T05:07:48.009Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-22T05:07:48.009Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-22T05:07:48.009Z] total 16 [2023-03-22T05:07:48.009Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 04:56 . [2023-03-22T05:07:48.009Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 04:56 .. [2023-03-22T05:07:48.009Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 04:56 cost [2023-03-22T05:07:48.009Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 22 04:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T05:07:48.298Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T05:07:49.157Z] ---> package-listing.sh [2023-03-22T05:07:49.157Z] ++ facter osfamily [2023-03-22T05:07:49.157Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T05:07:49.417Z] + OS_FAMILY=debian [2023-03-22T05:07:49.417Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-22T05:07:49.417Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T05:07:49.417Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T05:07:49.417Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T05:07:49.417Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T05:07:49.417Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-22T05:07:49.417Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T05:07:49.417Z] + case "${OS_FAMILY}" in [2023-03-22T05:07:49.417Z] + dpkg -l [2023-03-22T05:07:49.417Z] + grep '^ii' [2023-03-22T05:07:49.417Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T05:07:49.417Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T05:07:49.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T05:07:49.417Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-22T05:07:49.417Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [2023-03-22T05:07:49.417Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [Pipeline] echo [2023-03-22T05:07:49.426Z] 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/gexfoundry_device-sdk-go_PR-1379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T05:07:49.701Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T05:07:50.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T05:07:50.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T05:07:50.322Z] prd-ubuntu20.04-docker-8c-8g-5118 does not seem to be running inside a container [2023-03-22T05:07:50.366Z] $ 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/gexfoundry_device-sdk-go_PR-1379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T05:07:50.576Z] $ docker top c162a4e58f0f8dc1e9cd9e6e8889a693749585bd334c678899b2e765f5fdc827 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T05:07:50.902Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T05:07:51.187Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T05:07:51.476Z] + ls /var/log/sa-host [2023-03-22T05:07:51.476Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T05:07:51.614Z] provisioning config files... [2023-03-22T05:07:51.622Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config14101530274785460179tmp [Pipeline] { [Pipeline] echo [2023-03-22T05:07:51.631Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T05:07:51.917Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T05:07:51.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T05:07:52.255Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T05:07:52.263Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T05:07:52.544Z] ---> sudo-logs.sh [2023-03-22T05:07:52.544Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T05:07:52.569Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T05:07:52.849Z] ---> job-cost.sh [2023-03-22T05:07:52.849Z] lf-activate-venv: SKIPPING [2023-03-22T05:07:52.849Z] DEBUG: total: 0.2199999988079071 [2023-03-22T05:07:52.849Z] INFO: Retrieving Stack Cost... [2023-03-22T05:07:53.107Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T05:07:53.673Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T05:07:53.685Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T05:07:53.965Z] ---> logs-deploy.sh [2023-03-22T05:07:53.965Z] lf-activate-venv: SKIPPING [2023-03-22T05:07:53.965Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1379/9 [2023-03-22T05:07:53.965Z] INFO: archiving workspace using pattern(s): [2023-03-22T05:07:54.902Z] Archives upload complete. [2023-03-22T05:07:54.902Z] INFO: archiving logs to Nexus