Pull request #1316 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b+8b9fd5bc22bc5ff949621087fe72c38333f95112 (448eca13ee330145d11f0a2ca0bc42ac089d13dc) 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-ssh15378283826797850122.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5951573793561951491.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1316/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-1316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6217399252226954737.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh559966979722579449.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-1316/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-1316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5086582500265016524.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-5959 in /w/workspace/gexfoundry_device-sdk-go_PR-1316 [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-1316 # 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/1316/head:refs/remotes/origin/PR-1316 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b Merge succeeded, producing 116581a180d73e9ae321683633e2f7a0c75abc4a Checking out Revision 116581a180d73e9ae321683633e2f7a0c75abc4a (PR-1316) > git config core.sparsecheckout # timeout=10 > git checkout -f 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b # 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 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 116581a180d73e9ae321683633e2f7a0c75abc4a # timeout=10 Commit message: "Merge commit '8b9fd5bc22bc5ff949621087fe72c38333f95112' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 37bf1e7e08efb39422701b33128d6f5f07de5967 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T00:54:29.625Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T00:54:29.686Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T00:54:29.700Z] ========================================================= [2023-02-15T00:54:29.700Z] EdgeX Global Pipelines Version Info [2023-02-15T00:54:29.700Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:30.415Z] ------------------- [2023-02-15T00:54:30.415Z] stable info: [2023-02-15T00:54:30.415Z] ------------------- [2023-02-15T00:54:30.415Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T00:54:30.415Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:54:30.415Z] Message: update stable to v1.0.244 [2023-02-15T00:54:30.986Z] ------------------- [2023-02-15T00:54:30.986Z] experimental info: [2023-02-15T00:54:30.986Z] ------------------- [2023-02-15T00:54:30.986Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T00:54:30.986Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T00:54:30.986Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T00:54:31.153Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-15T00:54:31.163Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-15T00:54:31.178Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T00:54:31.194Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T00:54:31.204Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T00:54:31.216Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T00:54:31.227Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T00:54:31.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-15T00:54:31.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T00:54:31.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T00:54:31.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T00:54:31.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-15T00:54:31.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T00:54:31.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T00:54:31.329Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T00:54:31.341Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:54:31.354Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:54:31.366Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T00:54:31.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T00:54:31.389Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T00:54:31.401Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-15T00:54:31.413Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-15T00:54:31.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T00:54:31.436Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T00:54:31.449Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T00:54:31.462Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T00:54:31.477Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T00:54:31.489Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1316 [Pipeline] echo [2023-02-15T00:54:31.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1316 [Pipeline] echo [2023-02-15T00:54:31.520Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1316 [Pipeline] echo [2023-02-15T00:54:31.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] echo [2023-02-15T00:54:31.554Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 116581a [Pipeline] echo [2023-02-15T00:54:31.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:54:31.611Z] provisioning config files... [2023-02-15T00:54:31.626Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config3361184395489996948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:31.932Z] ---> docker-login.sh [2023-02-15T00:54:31.933Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:54:32.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:32.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:32.192Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:32.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:32.192Z] [2023-02-15T00:54:32.192Z] Login Succeeded [2023-02-15T00:54:32.192Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:54:32.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:32.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:32.192Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:32.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:32.192Z] [2023-02-15T00:54:32.192Z] Login Succeeded [2023-02-15T00:54:32.192Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:54:32.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:32.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:32.451Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:32.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:32.451Z] [2023-02-15T00:54:32.451Z] Login Succeeded [2023-02-15T00:54:32.451Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:54:32.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:32.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:32.451Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:32.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:32.451Z] [2023-02-15T00:54:32.451Z] Login Succeeded [2023-02-15T00:54:32.451Z] docker.io [2023-02-15T00:54:32.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:32.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:32.970Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:32.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:32.970Z] [2023-02-15T00:54:32.970Z] Login Succeeded [2023-02-15T00:54:32.970Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:54:32.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T00:54:33.344Z] + git rev-list -1 --merges 116581a180d73e9ae321683633e2f7a0c75abc4a~1..116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] echo [2023-02-15T00:54:33.388Z] -----------> git rev-list -1 --merges 116581a180d73e9ae321683633e2f7a0c75abc4a~1..116581a180d73e9ae321683633e2f7a0c75abc4a 116581a180d73e9ae321683633e2f7a0c75abc4a [2023-02-15T00:54:33.388Z] 116581a180d73e9ae321683633e2f7a0c75abc4a [false] [Pipeline] sh [2023-02-15T00:54:33.673Z] + git log --format=format:%s -1 116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] echo [2023-02-15T00:54:33.689Z] ========================================================= [2023-02-15T00:54:33.689Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T00:54:33.689Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:54:34.018Z] + git log --format=format:%s -1 116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] echo [2023-02-15T00:54:34.032Z] [semverPrep] GIT_COMMIT: 116581a180d73e9ae321683633e2f7a0c75abc4a, Commit Message: Merge commit '8b9fd5bc22bc5ff949621087fe72c38333f95112' into HEAD [Pipeline] echo [2023-02-15T00:54:34.040Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T00:54:34.408Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T00:54:34.408Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T00:54:34.408Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T00:54:34.408Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T00:54:34.408Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T00:54:34.408Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T00:54:34.408Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:34.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:54:34.759Z] [2023-02-15T00:54:34.759Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:35.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:54:35.073Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T00:54:35.073Z] b85a868b505f: Pulling fs layer [2023-02-15T00:54:35.073Z] e2be974225ed: Pulling fs layer [2023-02-15T00:54:35.073Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T00:54:35.073Z] 988bab9f4d93: Pulling fs layer [2023-02-15T00:54:35.073Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T00:54:35.073Z] eaf3925da568: Pulling fs layer [2023-02-15T00:54:35.073Z] bab4dde63d76: Pulling fs layer [2023-02-15T00:54:35.073Z] bde34c3a00c8: Pulling fs layer [2023-02-15T00:54:35.073Z] b352a97aabf1: Pulling fs layer [2023-02-15T00:54:35.073Z] 4872d77fe225: Pulling fs layer [2023-02-15T00:54:35.073Z] 5851b861e8e6: Pulling fs layer [2023-02-15T00:54:35.073Z] 5851b861e8e6: Waiting [2023-02-15T00:54:35.073Z] bab4dde63d76: Waiting [2023-02-15T00:54:35.073Z] 988bab9f4d93: Waiting [2023-02-15T00:54:35.073Z] b352a97aabf1: Waiting [2023-02-15T00:54:35.073Z] 4872d77fe225: Waiting [2023-02-15T00:54:35.073Z] eaf3925da568: Waiting [2023-02-15T00:54:35.073Z] bde34c3a00c8: Waiting [2023-02-15T00:54:35.338Z] e2be974225ed: Verifying Checksum [2023-02-15T00:54:35.338Z] e2be974225ed: Download complete [2023-02-15T00:54:35.338Z] 988bab9f4d93: Verifying Checksum [2023-02-15T00:54:35.338Z] 988bab9f4d93: Download complete [2023-02-15T00:54:35.602Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T00:54:35.602Z] 1469e6f7b9e6: Download complete [2023-02-15T00:54:35.866Z] eaf3925da568: Verifying Checksum [2023-02-15T00:54:35.866Z] eaf3925da568: Download complete [2023-02-15T00:54:35.866Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T00:54:35.866Z] 339a4e72a1f5: Download complete [2023-02-15T00:54:35.866Z] b352a97aabf1: Download complete [2023-02-15T00:54:35.866Z] 4872d77fe225: Verifying Checksum [2023-02-15T00:54:35.866Z] 4872d77fe225: Download complete [2023-02-15T00:54:36.130Z] 5851b861e8e6: Verifying Checksum [2023-02-15T00:54:36.130Z] 5851b861e8e6: Download complete [2023-02-15T00:54:36.130Z] b85a868b505f: Verifying Checksum [2023-02-15T00:54:36.130Z] b85a868b505f: Download complete [2023-02-15T00:54:36.721Z] bab4dde63d76: Verifying Checksum [2023-02-15T00:54:36.721Z] bab4dde63d76: Download complete [2023-02-15T00:54:37.659Z] b85a868b505f: Pull complete [2023-02-15T00:54:37.659Z] e2be974225ed: Pull complete [2023-02-15T00:54:38.282Z] 339a4e72a1f5: Pull complete [2023-02-15T00:54:38.282Z] 988bab9f4d93: Pull complete [2023-02-15T00:54:38.540Z] 1469e6f7b9e6: Pull complete [2023-02-15T00:54:38.540Z] eaf3925da568: Pull complete [2023-02-15T00:54:40.444Z] bab4dde63d76: Pull complete [2023-02-15T00:54:40.444Z] bde34c3a00c8: Pull complete [2023-02-15T00:54:40.444Z] b352a97aabf1: Pull complete [2023-02-15T00:54:40.703Z] 4872d77fe225: Pull complete [2023-02-15T00:54:40.703Z] 5851b861e8e6: Pull complete [2023-02-15T00:54:40.703Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T00:54:40.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T00:54:40.703Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:54:40.802Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2023-02-15T00:54:40.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T00:54:42.699Z] $ docker top e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b -eo pid,comm [2023-02-15T00:54:42.753Z] 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-02-15T00:54:42.753Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T00:54:42.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:54:42.786Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:54:42.900Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:54:42.904Z] $ docker exec e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b ssh-agent [2023-02-15T00:54:43.016Z] SSH_AUTH_SOCK=/tmp/ssh-lmRtWEjCd7Qn/agent.33 [2023-02-15T00:54:43.016Z] SSH_AGENT_PID=39 [2023-02-15T00:54:43.022Z] Running ssh-add (command line suppressed) [2023-02-15T00:54:43.142Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_1021252191974318785.key (/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_1021252191974318785.key) [2023-02-15T00:54:43.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:54:43.440Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T00:54:43.458Z] $ docker exec --env ******** --env ******** e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b ssh-agent -k [2023-02-15T00:54:43.573Z] unset SSH_AUTH_SOCK; [2023-02-15T00:54:43.574Z] unset SSH_AGENT_PID; [2023-02-15T00:54:43.574Z] echo Agent pid 39 killed; [2023-02-15T00:54:43.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T00:54:43.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T00:54:43.606Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T00:54:43.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T00:54:43.721Z] $ docker exec e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b ssh-agent [2023-02-15T00:54:43.833Z] SSH_AUTH_SOCK=/tmp/ssh-DUkUR9rFjmAP/agent.71 [2023-02-15T00:54:43.833Z] SSH_AGENT_PID=77 [2023-02-15T00:54:43.837Z] Running ssh-add (command line suppressed) [2023-02-15T00:54:43.941Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_9796570208428191620.key (/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_9796570208428191620.key) [2023-02-15T00:54:43.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T00:54:44.238Z] + git semver init [2023-02-15T00:54:44.496Z] 2023-02-15 00:54:44,411 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T00:54:44.496Z] 2023-02-15 00:54:44,412 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver [2023-02-15T00:54:44.496Z] 2023-02-15 00:54:44,412 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver [2023-02-15T00:54:44.496Z] 2023-02-15 00:54:44,412 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316, universal_newlines=False, shell=None, istream=None) [2023-02-15T00:54:45.433Z] 2023-02-15 00:54:45,416 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.git/info/exclude [2023-02-15T00:54:45.433Z] 2023-02-15 00:54:45,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 with force:False [2023-02-15T00:54:45.433Z] 2023-02-15 00:54:45,417 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 [2023-02-15T00:54:45.433Z] 2023-02-15 00:54:45,422 [execute] INFO git cat-file --batch-check [2023-02-15T00:54:45.433Z] 2023-02-15 00:54:45,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:54:45.433Z] 2023-02-15 00:54:45,429 [execute] INFO git cat-file --batch [2023-02-15T00:54:45.433Z] 2023-02-15 00:54:45,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T00:54:45.692Z] 2023-02-15 00:54:45,435 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 [2023-02-15T00:54:45.692Z] 0.0.0 [Pipeline] } [2023-02-15T00:54:45.703Z] $ docker exec --env ******** --env ******** e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b ssh-agent -k [2023-02-15T00:54:45.806Z] unset SSH_AUTH_SOCK; [2023-02-15T00:54:45.807Z] unset SSH_AGENT_PID; [2023-02-15T00:54:45.807Z] echo Agent pid 77 killed; [2023-02-15T00:54:45.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T00:54:46.110Z] + git semver [Pipeline] } [2023-02-15T00:54:46.380Z] $ docker stop --time=1 e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b [2023-02-15T00:54:47.699Z] $ docker rm -f --volumes e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:54:48.033Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T00:54:48.308Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T00:54:48.311Z] [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-02-15T00:54:48.466Z] provisioning config files... [2023-02-15T00:54:48.473Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config17460581098214882106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:54:48.765Z] ---> docker-login.sh [2023-02-15T00:54:48.765Z] nexus3.edgexfoundry.org:10001 [2023-02-15T00:54:48.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:48.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:48.765Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:48.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:48.765Z] [2023-02-15T00:54:48.766Z] Login Succeeded [2023-02-15T00:54:48.766Z] nexus3.edgexfoundry.org:10002 [2023-02-15T00:54:48.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:48.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:48.766Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:48.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:48.766Z] [2023-02-15T00:54:48.766Z] Login Succeeded [2023-02-15T00:54:48.766Z] nexus3.edgexfoundry.org:10003 [2023-02-15T00:54:49.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:49.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:49.023Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:49.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:49.023Z] [2023-02-15T00:54:49.023Z] Login Succeeded [2023-02-15T00:54:49.023Z] nexus3.edgexfoundry.org:10004 [2023-02-15T00:54:49.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:49.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:49.023Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:49.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:49.023Z] [2023-02-15T00:54:49.023Z] Login Succeeded [2023-02-15T00:54:49.023Z] docker.io [2023-02-15T00:54:49.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T00:54:49.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T00:54:49.539Z] Configure a credential helper to remove this warning. See [2023-02-15T00:54:49.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T00:54:49.539Z] [2023-02-15T00:54:49.539Z] Login Succeeded [2023-02-15T00:54:49.539Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T00:54:49.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T00:54:49.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:54:49.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T00:54:49.640Z] ========================================================= [2023-02-15T00:54:49.640Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T00:54:49.640Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:54:49.948Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T00:54:49.949Z] Sending build context to Docker daemon 10.5MB [2023-02-15T00:54:49.949Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:54:49.949Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T00:54:50.215Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T00:54:50.215Z] 213ec9aee27d: Pulling fs layer [2023-02-15T00:54:50.215Z] 4583459ba037: Pulling fs layer [2023-02-15T00:54:50.215Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T00:54:50.215Z] 53926ce57604: Pulling fs layer [2023-02-15T00:54:50.215Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T00:54:50.215Z] 22ff95d597cd: Pulling fs layer [2023-02-15T00:54:50.215Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T00:54:50.215Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T00:54:50.215Z] a7acece74701: Pulling fs layer [2023-02-15T00:54:50.215Z] 53926ce57604: Waiting [2023-02-15T00:54:50.215Z] 22ff95d597cd: Waiting [2023-02-15T00:54:50.215Z] 21b2b0c7a3f4: Waiting [2023-02-15T00:54:50.215Z] 12d6caf4c0d1: Waiting [2023-02-15T00:54:50.215Z] 96b7cbca73a9: Waiting [2023-02-15T00:54:50.215Z] a7acece74701: Waiting [2023-02-15T00:54:50.215Z] 93c1e223e6f2: Download complete [2023-02-15T00:54:50.215Z] 4583459ba037: Download complete [2023-02-15T00:54:50.215Z] 21b2b0c7a3f4: Download complete [2023-02-15T00:54:50.215Z] 22ff95d597cd: Verifying Checksum [2023-02-15T00:54:50.215Z] 22ff95d597cd: Download complete [2023-02-15T00:54:50.215Z] 213ec9aee27d: Verifying Checksum [2023-02-15T00:54:50.215Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T00:54:50.215Z] 12d6caf4c0d1: Download complete [2023-02-15T00:54:50.481Z] 213ec9aee27d: Pull complete [2023-02-15T00:54:50.481Z] 4583459ba037: Pull complete [2023-02-15T00:54:50.752Z] 93c1e223e6f2: Pull complete [2023-02-15T00:54:51.842Z] a7acece74701: Verifying Checksum [2023-02-15T00:54:51.842Z] a7acece74701: Download complete [2023-02-15T00:54:52.110Z] 53926ce57604: Verifying Checksum [2023-02-15T00:54:52.110Z] 53926ce57604: Download complete [2023-02-15T00:54:52.110Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T00:54:52.110Z] 96b7cbca73a9: Download complete [2023-02-15T00:54:56.304Z] 53926ce57604: Pull complete [2023-02-15T00:54:56.304Z] 21b2b0c7a3f4: Pull complete [2023-02-15T00:54:56.304Z] 22ff95d597cd: Pull complete [2023-02-15T00:54:56.304Z] 12d6caf4c0d1: Pull complete [2023-02-15T00:54:58.209Z] 96b7cbca73a9: Pull complete [2023-02-15T00:54:58.775Z] a7acece74701: Pull complete [2023-02-15T00:54:58.775Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T00:54:58.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T00:54:58.775Z] ---> db6d94c90886 [2023-02-15T00:54:58.775Z] Step 3/10 : ARG MAKE=make build [2023-02-15T00:55:01.307Z] ---> Running in 7585eb132d0a [2023-02-15T00:55:01.307Z] Removing intermediate container 7585eb132d0a [2023-02-15T00:55:01.307Z] ---> 46d0f33a3f49 [2023-02-15T00:55:01.307Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T00:55:01.307Z] ---> Running in 23456f648545 [2023-02-15T00:55:01.307Z] Removing intermediate container 23456f648545 [2023-02-15T00:55:01.307Z] ---> 245155f35fa6 [2023-02-15T00:55:01.307Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T00:55:01.307Z] ---> Running in 29e7c8e4ad12 [2023-02-15T00:55:01.565Z] Removing intermediate container 29e7c8e4ad12 [2023-02-15T00:55:01.565Z] ---> 41b84602caec [2023-02-15T00:55:01.565Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T00:55:01.565Z] ---> Running in d22c7d003e03 [2023-02-15T00:55:01.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:55:02.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:55:02.339Z] OK: 211 MiB in 51 packages [2023-02-15T00:55:02.596Z] Removing intermediate container d22c7d003e03 [2023-02-15T00:55:02.596Z] ---> b4e380ece229 [2023-02-15T00:55:02.596Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T00:55:02.596Z] ---> 6cf761033332 [2023-02-15T00:55:02.596Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:55:02.854Z] ---> Running in a97da49a95aa [2023-02-15T00:55:03.428Z] Still waiting to schedule task [2023-02-15T00:55:03.428Z] ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:55:03.428Z] ‘prd-ubuntu20.04-docker-8c-8g-5946’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:55:03.428Z] ‘prd-ubuntu20.04-docker-8c-8g-5949’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:55:03.428Z] ‘prd-ubuntu20.04-docker-8c-8g-5950’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:55:03.428Z] ‘prd-ubuntu20.04-docker-8c-8g-5960’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T00:55:03.428Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5944’ is offline [2023-02-15T00:55:03.429Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5954’ is offline [2023-02-15T00:55:03.429Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5961’ is offline [2023-02-15T00:55:03.429Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5993’ is offline [2023-02-15T00:55:34.948Z] Removing intermediate container a97da49a95aa [2023-02-15T00:55:34.948Z] ---> ff01d990528f [2023-02-15T00:55:34.948Z] Step 9/10 : COPY . . [2023-02-15T00:55:34.948Z] ---> a725610b97eb [2023-02-15T00:55:34.948Z] Step 10/10 : RUN ${MAKE} [2023-02-15T00:55:34.948Z] ---> Running in 5e96e6a7816a [2023-02-15T00:55:35.207Z] noop [2023-02-15T00:55:35.466Z] Removing intermediate container 5e96e6a7816a [2023-02-15T00:55:35.466Z] ---> fb52c40ff3ef [2023-02-15T00:55:35.466Z] Successfully built fb52c40ff3ef [2023-02-15T00:55:35.466Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:55:35.787Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:55:35.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:55:35.864Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2023-02-15T00:55:35.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@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 ******** ci-base-image-x86_64 cat [2023-02-15T00:55:36.263Z] $ docker top e8a301ee5bcdd8ccda35334735353a923442a2ae8b369b39cb6d4e8a50584ede -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:55:36.609Z] + go version [2023-02-15T00:55:36.609Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T00:55:36.623Z] $ docker stop --time=1 e8a301ee5bcdd8ccda35334735353a923442a2ae8b369b39cb6d4e8a50584ede [2023-02-15T00:55:37.916Z] $ docker rm -f --volumes e8a301ee5bcdd8ccda35334735353a923442a2ae8b369b39cb6d4e8a50584ede [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:55:38.333Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T00:55:38.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:55:38.420Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2023-02-15T00:55:38.480Z] $ 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-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@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 ******** ci-base-image-x86_64 cat [2023-02-15T00:55:38.883Z] $ docker top 8b9055e22ea53d25c954c17d14373ddc33eb2b3448ee5f77be595540a791dbf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:55:39.334Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1316 [Pipeline] fileExists [Pipeline] sh [2023-02-15T00:55:39.757Z] + make test [2023-02-15T00:55:39.758Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T00:55:46.316Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T00:55:58.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-02-15T00:55:58.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.090s coverage: 78.9% of statements [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T00:55:58.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.110s coverage: 77.8% of statements [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T00:55:58.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 77.0% of statements [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T00:55:58.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 65.2% of statements [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T00:55:58.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.759s coverage: 89.2% of statements [2023-02-15T00:55:58.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T00:55:58.780Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-15T00:55:58.780Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T00:56:13.643Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T00:56:13.643Z] GO111MODULE=on go vet ./... [2023-02-15T00:56:15.541Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:56:15.541Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:56:15.541Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T00:56:15.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:56:15.563Z] $ docker stop --time=1 8b9055e22ea53d25c954c17d14373ddc33eb2b3448ee5f77be595540a791dbf2 [2023-02-15T00:56:18.992Z] $ docker rm -f --volumes 8b9055e22ea53d25c954c17d14373ddc33eb2b3448ee5f77be595540a791dbf2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:56:19.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:56:19.508Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T00:56:19.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:56:20.252Z] + ls -al . [2023-02-15T00:56:20.252Z] total 272 [2023-02-15T00:56:20.252Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:55 . [2023-02-15T00:56:20.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:54 .. [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 00:54 .dockerignore [2023-02-15T00:56:20.252Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:55 .git [2023-02-15T00:56:20.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:54 .github [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 00:54 .gitignore [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 00:54 .golangci.yml [2023-02-15T00:56:20.252Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:54 .semver [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 00:54 CHANGELOG.md [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:54 GOVERNANCE.md [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 00:54 Jenkinsfile [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 00:54 LICENSE [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 00:54 Makefile [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 00:54 OWNERS.md [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 00:54 README.md [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:54 VERSION [2023-02-15T00:56:20.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:54 bin [2023-02-15T00:56:20.252Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 00:55 coverage.out [2023-02-15T00:56:20.252Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 00:54 example [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 00:54 go.mod [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 00:54 go.sum [2023-02-15T00:56:20.252Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 00:54 internal [2023-02-15T00:56:20.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:54 openapi [2023-02-15T00:56:20.252Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 00:54 pkg [2023-02-15T00:56:20.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:54 snap [2023-02-15T00:56:20.252Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:56:20.571Z] + 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=116581a180d73e9ae321683633e2f7a0c75abc4a --label arch=amd64 --label version=0.0.0 . [2023-02-15T00:56:20.571Z] Sending build context to Docker daemon 10.6MB [2023-02-15T00:56:20.571Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:56:20.571Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T00:56:20.571Z] ---> fb52c40ff3ef [2023-02-15T00:56:20.571Z] Step 3/23 : ARG MAKE=make build [2023-02-15T00:56:20.830Z] ---> Running in 62aefb3a3ada [2023-02-15T00:56:20.830Z] Removing intermediate container 62aefb3a3ada [2023-02-15T00:56:20.830Z] ---> 5ee4b4c1c9f1 [2023-02-15T00:56:20.830Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T00:56:20.830Z] ---> Running in a214ed9c96ee [2023-02-15T00:56:20.830Z] Removing intermediate container a214ed9c96ee [2023-02-15T00:56:20.830Z] ---> af6a59cbc6a0 [2023-02-15T00:56:20.830Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T00:56:20.830Z] ---> Running in f79f8296d383 [2023-02-15T00:56:21.089Z] Removing intermediate container f79f8296d383 [2023-02-15T00:56:21.089Z] ---> 8efc97809bfe [2023-02-15T00:56:21.089Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T00:56:21.089Z] ---> Running in dcc2a780c1cc [2023-02-15T00:56:21.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:56:21.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:56:21.605Z] OK: 211 MiB in 51 packages [2023-02-15T00:56:21.863Z] Removing intermediate container dcc2a780c1cc [2023-02-15T00:56:21.863Z] ---> fcc2be43f656 [2023-02-15T00:56:21.863Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T00:56:22.122Z] ---> 389c1c236a50 [2023-02-15T00:56:22.122Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:56:22.122Z] ---> Running in ff319aee30d7 [2023-02-15T00:56:23.065Z] Removing intermediate container ff319aee30d7 [2023-02-15T00:56:23.065Z] ---> 724921d11503 [2023-02-15T00:56:23.065Z] Step 9/23 : COPY . . [2023-02-15T00:56:23.325Z] ---> 819396b4cc97 [2023-02-15T00:56:23.325Z] Step 10/23 : RUN ${MAKE} [2023-02-15T00:56:23.325Z] ---> Running in a0a7212cf357 [2023-02-15T00:56:23.582Z] 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-02-15T00:56:45.508Z] Removing intermediate container a0a7212cf357 [2023-02-15T00:56:45.509Z] ---> 48f451849af1 [2023-02-15T00:56:45.509Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T00:56:45.509Z] 3.16: Pulling from library/alpine [2023-02-15T00:56:45.509Z] ef5531b6e74e: Pulling fs layer [2023-02-15T00:56:45.509Z] ef5531b6e74e: Download complete [2023-02-15T00:56:45.509Z] ef5531b6e74e: Pull complete [2023-02-15T00:56:45.509Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T00:56:45.509Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T00:56:45.509Z] ---> dfd21b5a31f5 [2023-02-15T00:56:45.509Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T00:56:45.509Z] ---> Running in 2def6b12806c [2023-02-15T00:56:45.509Z] Removing intermediate container 2def6b12806c [2023-02-15T00:56:45.509Z] ---> c105fb337235 [2023-02-15T00:56:45.509Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T00:56:45.509Z] ---> Running in c2d273d1485f [2023-02-15T00:56:45.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T00:56:46.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T00:56:46.283Z] OK: 6 MiB in 14 packages [2023-02-15T00:56:46.540Z] Removing intermediate container c2d273d1485f [2023-02-15T00:56:46.540Z] ---> 755b101d8ac4 [2023-02-15T00:56:46.540Z] Step 14/23 : WORKDIR / [2023-02-15T00:56:46.540Z] ---> Running in d0f44facd129 [2023-02-15T00:56:46.798Z] Removing intermediate container d0f44facd129 [2023-02-15T00:56:46.798Z] ---> 13724512b34c [2023-02-15T00:56:46.798Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T00:56:46.798Z] ---> 941ab3a44bf0 [2023-02-15T00:56:46.798Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T00:56:47.365Z] ---> fdc5c69a2e8c [2023-02-15T00:56:47.365Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T00:56:47.624Z] ---> 45ee9df567a9 [2023-02-15T00:56:47.624Z] Step 18/23 : EXPOSE 59999 [2023-02-15T00:56:47.624Z] ---> Running in 583df4f01830 [2023-02-15T00:56:47.624Z] Removing intermediate container 583df4f01830 [2023-02-15T00:56:47.624Z] ---> 58d28b2a18a6 [2023-02-15T00:56:47.624Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T00:56:47.881Z] ---> Running in 0bd10a5bb7ea [2023-02-15T00:56:47.881Z] Removing intermediate container 0bd10a5bb7ea [2023-02-15T00:56:47.881Z] ---> 16c643e54aa2 [2023-02-15T00:56:47.881Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T00:56:47.881Z] ---> Running in 088d80485b9b [2023-02-15T00:56:47.881Z] Removing intermediate container 088d80485b9b [2023-02-15T00:56:47.881Z] ---> 0d226f795100 [2023-02-15T00:56:47.881Z] Step 21/23 : LABEL arch=amd64 [2023-02-15T00:56:47.881Z] ---> Running in f128258d0030 [2023-02-15T00:56:48.144Z] Removing intermediate container f128258d0030 [2023-02-15T00:56:48.144Z] ---> b527e207bf1c [2023-02-15T00:56:48.144Z] Step 22/23 : LABEL git_sha=116581a180d73e9ae321683633e2f7a0c75abc4a [2023-02-15T00:56:48.144Z] ---> Running in 4e8fb163a219 [2023-02-15T00:56:48.144Z] Removing intermediate container 4e8fb163a219 [2023-02-15T00:56:48.144Z] ---> cba4b6b7dd13 [2023-02-15T00:56:48.144Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T00:56:48.144Z] ---> Running in 9a0110e35c55 [2023-02-15T00:56:48.144Z] Removing intermediate container 9a0110e35c55 [2023-02-15T00:56:48.144Z] ---> f36d9aae786d [2023-02-15T00:56:48.144Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:56:48.404Z] Successfully built f36d9aae786d [2023-02-15T00:56:48.404Z] 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-02-15T00:56:48.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:56:48.835Z] [2023-02-15T00:56:48.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:56:49.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:56:49.142Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T00:56:49.142Z] 5eb5b503b376: Pulling fs layer [2023-02-15T00:56:49.142Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T00:56:49.142Z] ec43610c2a17: Pulling fs layer [2023-02-15T00:56:49.142Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T00:56:49.142Z] 33b1e0a273af: Pulling fs layer [2023-02-15T00:56:49.142Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T00:56:49.142Z] 2f39f015ded8: Pulling fs layer [2023-02-15T00:56:49.142Z] 3a2ae6a8a46f: Waiting [2023-02-15T00:56:49.142Z] 33b1e0a273af: Waiting [2023-02-15T00:56:49.142Z] 2f39f015ded8: Waiting [2023-02-15T00:56:49.142Z] 5d3b04190fa2: Waiting [2023-02-15T00:56:49.142Z] 5c69ac0246d0: Download complete [2023-02-15T00:56:49.142Z] 3a2ae6a8a46f: Download complete [2023-02-15T00:56:49.406Z] 33b1e0a273af: Verifying Checksum [2023-02-15T00:56:49.406Z] 33b1e0a273af: Download complete [2023-02-15T00:56:49.406Z] 5d3b04190fa2: Download complete [2023-02-15T00:56:49.406Z] ec43610c2a17: Verifying Checksum [2023-02-15T00:56:49.406Z] ec43610c2a17: Download complete [2023-02-15T00:56:49.664Z] 5eb5b503b376: Verifying Checksum [2023-02-15T00:56:49.665Z] 5eb5b503b376: Download complete [2023-02-15T00:56:50.229Z] 2f39f015ded8: Download complete [2023-02-15T00:56:50.796Z] 5eb5b503b376: Pull complete [2023-02-15T00:56:51.056Z] 5c69ac0246d0: Pull complete [2023-02-15T00:56:51.624Z] ec43610c2a17: Pull complete [2023-02-15T00:56:51.624Z] 3a2ae6a8a46f: Pull complete [2023-02-15T00:56:51.882Z] 33b1e0a273af: Pull complete [2023-02-15T00:56:51.882Z] 5d3b04190fa2: Pull complete [2023-02-15T00:56:57.270Z] 2f39f015ded8: Pull complete [2023-02-15T00:56:57.270Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T00:56:57.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:56:57.270Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:56:57.349Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2023-02-15T00:56:57.455Z] $ 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-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@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-02-15T00:57:00.339Z] $ docker top c9725078037639f41c63da25e63349fb4f819e00f6dc143b62c6b66dae087ec5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:57:00.845Z] ---> job-cost.sh [2023-02-15T00:57:00.845Z] lf-activate-venv: SKIPPING [2023-02-15T00:57:00.845Z] INFO: No Stack... [2023-02-15T00:57:01.411Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:57:01.669Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:57:01.957Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/cost.csv [2023-02-15T00:57:01.957Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:57:01.970Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [2023-02-15T00:57:01.975Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] did not exist. Created. [2023-02-15T00:57:01.975Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:57:02.278Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T00:57:02.312Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:57:02.318Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:57:02.332Z] $ docker stop --time=1 c9725078037639f41c63da25e63349fb4f819e00f6dc143b62c6b66dae087ec5 [2023-02-15T00:57:03.840Z] $ docker rm -f --volumes c9725078037639f41c63da25e63349fb4f819e00f6dc143b62c6b66dae087ec5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T01:03:32.722Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6022 in /w/workspace/gexfoundry_device-sdk-go_PR-1316 [Pipeline] { [Pipeline] ws [2023-02-15T01:03:32.734Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2023-02-15T01:03:32.762Z] The recommended git tool is: git [2023-02-15T01:03:37.893Z] using credential edgex-jenkins-ssh [2023-02-15T01:03:37.908Z] Cloning the remote Git repository [2023-02-15T01:03:37.957Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T01:03:38.036Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2023-02-15T01:03:38.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T01:03:38.179Z] > git --version # timeout=10 [2023-02-15T01:03:38.198Z] > git --version # 'git version 2.25.1' [2023-02-15T01:03:38.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T01:03:38.256Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T01:03:39.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T01:03:39.818Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T01:03:41.362Z] Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b [2023-02-15T01:03:40.602Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T01:03:40.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T01:03:40.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T01:03:40.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1316/head:refs/remotes/origin/PR-1316 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T01:03:41.383Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T01:03:41.410Z] > git checkout -f 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b # timeout=10 [2023-02-15T01:03:41.709Z] Merge succeeded, producing 973f95a1cfc82b87552ec904742da85478eb6c3a [2023-02-15T01:03:41.710Z] Checking out Revision 973f95a1cfc82b87552ec904742da85478eb6c3a (PR-1316) [2023-02-15T01:03:41.535Z] > git remote # timeout=10 [2023-02-15T01:03:41.552Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T01:03:41.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T01:03:41.591Z] > git merge 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 [2023-02-15T01:03:41.685Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T01:03:41.719Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T01:03:41.737Z] > git checkout -f 973f95a1cfc82b87552ec904742da85478eb6c3a # timeout=10 [2023-02-15T01:03:45.258Z] Commit message: "Merge commit '8b9fd5bc22bc5ff949621087fe72c38333f95112' into HEAD" [2023-02-15T01:03:45.287Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T01:03:45.268Z] > git rev-list --no-walk 37bf1e7e08efb39422701b33128d6f5f07de5967 # timeout=10 [2023-02-15T01:03:46.328Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T01:03:46.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T01:03:46.328Z] Dload Upload Total Spent Left Speed [2023-02-15T01:03:46.328Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74567 [Pipeline] sh [2023-02-15T01:03:47.063Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T01:03:47.405Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-02-15T01:03:47.405Z] [2023-02-15T01:03:47.405Z] { [2023-02-15T01:03:47.405Z] "registry-mirrors": [ [2023-02-15T01:03:47.405Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T01:03:47.405Z] ], [2023-02-15T01:03:47.405Z] "bip": "10.250.0.254/24", [2023-02-15T01:03:47.405Z] "hosts": [ [2023-02-15T01:03:47.405Z] "tcp://0.0.0.0:5555", [2023-02-15T01:03:47.405Z] "unix:///var/run/docker.sock" [2023-02-15T01:03:47.405Z] ], [2023-02-15T01:03:47.405Z] "mtu": 1458, [2023-02-15T01:03:47.405Z] "selinux-enabled": true, [2023-02-15T01:03:47.405Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T01:03:47.405Z] } [Pipeline] sh [2023-02-15T01:03:47.734Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T01:03:48.075Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T01:04:06.352Z] provisioning config files... [2023-02-15T01:04:06.379Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config14722226452114124773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:04:06.730Z] ---> docker-login.sh [2023-02-15T01:04:06.730Z] nexus3.edgexfoundry.org:10001 [2023-02-15T01:04:07.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T01:04:07.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T01:04:07.584Z] Configure a credential helper to remove this warning. See [2023-02-15T01:04:07.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T01:04:07.584Z] [2023-02-15T01:04:07.584Z] Login Succeeded [2023-02-15T01:04:07.584Z] nexus3.edgexfoundry.org:10002 [2023-02-15T01:04:07.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T01:04:07.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T01:04:07.853Z] Configure a credential helper to remove this warning. See [2023-02-15T01:04:07.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T01:04:07.853Z] [2023-02-15T01:04:07.853Z] Login Succeeded [2023-02-15T01:04:07.853Z] nexus3.edgexfoundry.org:10003 [2023-02-15T01:04:08.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T01:04:08.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T01:04:08.121Z] Configure a credential helper to remove this warning. See [2023-02-15T01:04:08.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T01:04:08.121Z] [2023-02-15T01:04:08.121Z] Login Succeeded [2023-02-15T01:04:08.121Z] nexus3.edgexfoundry.org:10004 [2023-02-15T01:04:08.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T01:04:08.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T01:04:08.669Z] Configure a credential helper to remove this warning. See [2023-02-15T01:04:08.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T01:04:08.669Z] [2023-02-15T01:04:08.669Z] Login Succeeded [2023-02-15T01:04:08.669Z] docker.io [2023-02-15T01:04:08.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T01:04:09.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T01:04:09.208Z] Configure a credential helper to remove this warning. See [2023-02-15T01:04:09.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T01:04:09.208Z] [2023-02-15T01:04:09.208Z] Login Succeeded [2023-02-15T01:04:09.208Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T01:04:09.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T01:04:09.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T01:04:09.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T01:04:09.519Z] ========================================================= [2023-02-15T01:04:09.519Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T01:04:09.519Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T01:04:09.864Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T01:04:10.141Z] Sending build context to Docker daemon 5.665MB [2023-02-15T01:04:10.420Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T01:04:10.420Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T01:04:10.420Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T01:04:10.420Z] 9b18e9b68314: Pulling fs layer [2023-02-15T01:04:10.420Z] 35d82f9e3411: Pulling fs layer [2023-02-15T01:04:10.420Z] e16973657156: Pulling fs layer [2023-02-15T01:04:10.420Z] fc693d55d65f: Pulling fs layer [2023-02-15T01:04:10.420Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T01:04:10.420Z] dda99020689f: Pulling fs layer [2023-02-15T01:04:10.420Z] db1c61fa0a46: Pulling fs layer [2023-02-15T01:04:10.420Z] 891c053d2c06: Pulling fs layer [2023-02-15T01:04:10.420Z] dda99020689f: Waiting [2023-02-15T01:04:10.420Z] fc693d55d65f: Waiting [2023-02-15T01:04:10.420Z] 7e9fc2657dce: Waiting [2023-02-15T01:04:10.420Z] db1c61fa0a46: Waiting [2023-02-15T01:04:10.420Z] 891c053d2c06: Waiting [2023-02-15T01:04:10.420Z] e16973657156: Download complete [2023-02-15T01:04:10.693Z] 35d82f9e3411: Download complete [2023-02-15T01:04:10.693Z] 7e9fc2657dce: Download complete [2023-02-15T01:04:10.693Z] dda99020689f: Verifying Checksum [2023-02-15T01:04:10.693Z] dda99020689f: Download complete [2023-02-15T01:04:10.693Z] 9b18e9b68314: Verifying Checksum [2023-02-15T01:04:10.693Z] 9b18e9b68314: Download complete [2023-02-15T01:04:11.677Z] 9b18e9b68314: Pull complete [2023-02-15T01:04:11.948Z] 891c053d2c06: Verifying Checksum [2023-02-15T01:04:11.949Z] 891c053d2c06: Download complete [2023-02-15T01:04:12.223Z] 35d82f9e3411: Pull complete [2023-02-15T01:04:12.510Z] e16973657156: Pull complete [2023-02-15T01:04:13.103Z] db1c61fa0a46: Verifying Checksum [2023-02-15T01:04:13.103Z] db1c61fa0a46: Download complete [2023-02-15T01:04:13.693Z] fc693d55d65f: Verifying Checksum [2023-02-15T01:04:13.693Z] fc693d55d65f: Download complete [2023-02-15T01:04:26.062Z] fc693d55d65f: Pull complete [2023-02-15T01:04:26.062Z] 7e9fc2657dce: Pull complete [2023-02-15T01:04:26.329Z] dda99020689f: Pull complete [2023-02-15T01:04:32.988Z] db1c61fa0a46: Pull complete [2023-02-15T01:04:34.403Z] 891c053d2c06: Pull complete [2023-02-15T01:04:34.403Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T01:04:34.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T01:04:34.672Z] ---> f96f9c87975a [2023-02-15T01:04:34.672Z] Step 3/10 : ARG MAKE=make build [2023-02-15T01:04:35.257Z] ---> Running in 075b1ce42ebb [2023-02-15T01:04:35.844Z] Removing intermediate container 075b1ce42ebb [2023-02-15T01:04:35.844Z] ---> c7c21d360b81 [2023-02-15T01:04:35.844Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T01:04:35.844Z] ---> Running in 5e3d38c36509 [2023-02-15T01:04:36.112Z] Removing intermediate container 5e3d38c36509 [2023-02-15T01:04:36.112Z] ---> a1aa7b38cca5 [2023-02-15T01:04:36.112Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T01:04:36.112Z] ---> Running in 1640aa6eb7b1 [2023-02-15T01:04:36.378Z] Removing intermediate container 1640aa6eb7b1 [2023-02-15T01:04:36.378Z] ---> 218196561dc1 [2023-02-15T01:04:36.378Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T01:04:36.646Z] ---> Running in 799329674e98 [2023-02-15T01:04:37.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T01:04:38.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T01:04:39.163Z] OK: 221 MiB in 51 packages [2023-02-15T01:04:41.113Z] Removing intermediate container 799329674e98 [2023-02-15T01:04:41.113Z] ---> 53e3aedac74c [2023-02-15T01:04:41.113Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T01:04:41.113Z] ---> e97600099078 [2023-02-15T01:04:41.113Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T01:04:41.394Z] ---> Running in 0780c0d0b30d [2023-02-15T01:06:03.042Z] Removing intermediate container 0780c0d0b30d [2023-02-15T01:06:03.042Z] ---> 09c578c70d4f [2023-02-15T01:06:03.042Z] Step 9/10 : COPY . . [2023-02-15T01:06:03.042Z] ---> f331d75a21ac [2023-02-15T01:06:03.042Z] Step 10/10 : RUN ${MAKE} [2023-02-15T01:06:03.042Z] ---> Running in 0c3920252d97 [2023-02-15T01:06:03.042Z] noop [2023-02-15T01:06:03.042Z] Removing intermediate container 0c3920252d97 [2023-02-15T01:06:03.042Z] ---> 596a9fcfcb90 [2023-02-15T01:06:03.042Z] Successfully built 596a9fcfcb90 [2023-02-15T01:06:03.042Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T01:06:03.403Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T01:06:03.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T01:06:03.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-6022 does not seem to be running inside a container [2023-02-15T01:06:03.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-arm64 cat [2023-02-15T01:06:04.993Z] $ docker top 6a8a2e06d74c801d77869978115448ff975f8acf81bfee106522a5f45c7ba683 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T01:06:05.845Z] + go version [2023-02-15T01:06:05.845Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T01:06:05.866Z] $ docker stop --time=1 6a8a2e06d74c801d77869978115448ff975f8acf81bfee106522a5f45c7ba683 [2023-02-15T01:06:07.591Z] $ docker rm -f --volumes 6a8a2e06d74c801d77869978115448ff975f8acf81bfee106522a5f45c7ba683 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T01:06:08.210Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T01:06:08.210Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T01:06:08.452Z] prd-ubuntu20.04-docker-arm64-4c-16g-6022 does not seem to be running inside a container [2023-02-15T01:06:08.528Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-arm64 cat [2023-02-15T01:06:09.846Z] $ docker top 312330d462c89eea960a4817a2163702c517a582d9a7e95683cbfa4673009084 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T01:06:10.724Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh [2023-02-15T01:06:11.393Z] + make test [2023-02-15T01:06:11.393Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T01:06:50.299Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T01:09:12.000Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T01:09:12.000Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T01:09:12.000Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T01:09:12.000Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T01:09:12.000Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T01:09:12.000Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.378s coverage: 27.6% of statements [2023-02-15T01:09:12.000Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.374s coverage: 78.9% of statements [2023-02-15T01:09:12.000Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T01:09:15.353Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.553s coverage: 77.8% of statements [2023-02-15T01:09:15.353Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T01:09:15.353Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T01:09:16.801Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.599s coverage: 77.0% of statements [2023-02-15T01:09:16.801Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T01:09:16.801Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T01:09:16.801Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T01:09:17.770Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.439s coverage: 65.2% of statements [2023-02-15T01:09:17.770Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T01:09:17.770Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T01:09:17.770Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.960s coverage: 89.2% of statements [2023-02-15T01:09:17.770Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T01:09:20.355Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.275s coverage: 4.7% of statements [2023-02-15T01:09:20.355Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T01:09:20.636Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T01:09:20.636Z] GO111MODULE=on go vet ./... [2023-02-15T01:11:12.313Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T01:11:12.313Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T01:11:12.313Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T01:11:12.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T01:11:12.348Z] $ docker stop --time=1 312330d462c89eea960a4817a2163702c517a582d9a7e95683cbfa4673009084 [2023-02-15T01:11:14.270Z] $ docker rm -f --volumes 312330d462c89eea960a4817a2163702c517a582d9a7e95683cbfa4673009084 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T01:11:15.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T01:11:15.776Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T01:11:16.573Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T01:11:16.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T01:11:17.330Z] + ls -al . [2023-02-15T01:11:17.330Z] total 268 [2023-02-15T01:11:17.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 01:06 . [2023-02-15T01:11:17.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 01:03 .. [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 01:03 .dockerignore [2023-02-15T01:11:17.330Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 01:03 .git [2023-02-15T01:11:17.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 01:03 .github [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 01:03 .gitignore [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 01:03 .golangci.yml [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 01:03 CHANGELOG.md [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 01:03 GOVERNANCE.md [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 01:03 Jenkinsfile [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 01:03 LICENSE [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 01:03 Makefile [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 01:03 OWNERS.md [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 01:03 README.md [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:54 VERSION [2023-02-15T01:11:17.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 01:03 bin [2023-02-15T01:11:17.330Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 01:09 coverage.out [2023-02-15T01:11:17.330Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 01:03 example [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 01:03 go.mod [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 01:03 go.sum [2023-02-15T01:11:17.330Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 01:03 internal [2023-02-15T01:11:17.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 01:03 openapi [2023-02-15T01:11:17.330Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 01:03 pkg [2023-02-15T01:11:17.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 01:03 snap [2023-02-15T01:11:17.330Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T01:11:17.700Z] + 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=973f95a1cfc82b87552ec904742da85478eb6c3a --label arch=arm64 --label version=0.0.0 . [2023-02-15T01:11:18.326Z] Sending build context to Docker daemon 5.765MB [2023-02-15T01:11:18.326Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T01:11:18.326Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T01:11:18.326Z] ---> 596a9fcfcb90 [2023-02-15T01:11:18.326Z] Step 3/23 : ARG MAKE=make build [2023-02-15T01:11:18.326Z] ---> Running in 0be3a8407f4f [2023-02-15T01:11:18.611Z] Removing intermediate container 0be3a8407f4f [2023-02-15T01:11:18.611Z] ---> 71097fcce24a [2023-02-15T01:11:18.611Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T01:11:18.890Z] ---> Running in 0fc2bf9377cf [2023-02-15T01:11:19.160Z] Removing intermediate container 0fc2bf9377cf [2023-02-15T01:11:19.160Z] ---> 77b2f805cfc5 [2023-02-15T01:11:19.160Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T01:11:19.160Z] ---> Running in 1efd69dfc75d [2023-02-15T01:11:19.748Z] Removing intermediate container 1efd69dfc75d [2023-02-15T01:11:19.748Z] ---> 1df4077f7698 [2023-02-15T01:11:19.748Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T01:11:19.748Z] ---> Running in 6e84ad0ce703 [2023-02-15T01:11:20.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T01:11:21.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T01:11:22.506Z] OK: 221 MiB in 51 packages [2023-02-15T01:11:23.472Z] Removing intermediate container 6e84ad0ce703 [2023-02-15T01:11:23.472Z] ---> d390e3d21d88 [2023-02-15T01:11:23.472Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T01:11:24.060Z] ---> fb6a81a212a4 [2023-02-15T01:11:24.060Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T01:11:24.060Z] ---> Running in 7e2191ecad27 [2023-02-15T01:11:27.418Z] Removing intermediate container 7e2191ecad27 [2023-02-15T01:11:27.418Z] ---> a64aa3b1ccc9 [2023-02-15T01:11:27.418Z] Step 9/23 : COPY . . [2023-02-15T01:11:28.385Z] ---> 436a0bc2850c [2023-02-15T01:11:28.385Z] Step 10/23 : RUN ${MAKE} [2023-02-15T01:11:28.667Z] ---> Running in 3b8a69afc32e [2023-02-15T01:11:29.631Z] 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-02-15T01:13:51.362Z] Removing intermediate container 3b8a69afc32e [2023-02-15T01:13:51.362Z] ---> 4c17e0d40812 [2023-02-15T01:13:51.362Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T01:13:51.362Z] 3.16: Pulling from library/alpine [2023-02-15T01:13:51.362Z] 3760b48202b3: Pulling fs layer [2023-02-15T01:13:51.362Z] 3760b48202b3: Verifying Checksum [2023-02-15T01:13:51.362Z] 3760b48202b3: Download complete [2023-02-15T01:13:51.362Z] 3760b48202b3: Pull complete [2023-02-15T01:13:51.362Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T01:13:51.362Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T01:13:51.362Z] ---> 4c81e5bf8899 [2023-02-15T01:13:51.362Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T01:13:51.362Z] ---> Running in a8992f2e1a4a [2023-02-15T01:13:51.362Z] Removing intermediate container a8992f2e1a4a [2023-02-15T01:13:51.362Z] ---> 107ba536c907 [2023-02-15T01:13:51.362Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T01:13:51.362Z] ---> Running in a2797146bb47 [2023-02-15T01:13:51.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T01:13:51.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T01:13:51.362Z] OK: 5 MiB in 14 packages [2023-02-15T01:13:51.362Z] Removing intermediate container a2797146bb47 [2023-02-15T01:13:51.362Z] ---> 8778cb3bc953 [2023-02-15T01:13:51.362Z] Step 14/23 : WORKDIR / [2023-02-15T01:13:51.362Z] ---> Running in 5564b3edbb7a [2023-02-15T01:13:51.362Z] Removing intermediate container 5564b3edbb7a [2023-02-15T01:13:51.362Z] ---> 6fe7f3e243cd [2023-02-15T01:13:51.362Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T01:13:51.362Z] ---> 2140462e6179 [2023-02-15T01:13:51.362Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T01:13:52.338Z] ---> 7ebfcbfa1ad6 [2023-02-15T01:13:52.338Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T01:13:52.925Z] ---> d760f6c5a14a [2023-02-15T01:13:52.925Z] Step 18/23 : EXPOSE 59999 [2023-02-15T01:13:52.925Z] ---> Running in dcf03c0570d9 [2023-02-15T01:13:53.196Z] Removing intermediate container dcf03c0570d9 [2023-02-15T01:13:53.196Z] ---> 997c6c7befa7 [2023-02-15T01:13:53.196Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T01:13:53.465Z] ---> Running in f2b1c88f736d [2023-02-15T01:13:53.736Z] Removing intermediate container f2b1c88f736d [2023-02-15T01:13:53.736Z] ---> cdd6a87c8b5c [2023-02-15T01:13:53.736Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T01:13:53.736Z] ---> Running in 252550c1a82e [2023-02-15T01:13:54.020Z] Removing intermediate container 252550c1a82e [2023-02-15T01:13:54.020Z] ---> 9982d84e8480 [2023-02-15T01:13:54.020Z] Step 21/23 : LABEL arch=arm64 [2023-02-15T01:13:54.292Z] ---> Running in 72e4f0630000 [2023-02-15T01:13:54.560Z] Removing intermediate container 72e4f0630000 [2023-02-15T01:13:54.560Z] ---> 8c0deaad36c8 [2023-02-15T01:13:54.560Z] Step 22/23 : LABEL git_sha=973f95a1cfc82b87552ec904742da85478eb6c3a [2023-02-15T01:13:54.560Z] ---> Running in 1062ab89fc78 [2023-02-15T01:13:54.830Z] Removing intermediate container 1062ab89fc78 [2023-02-15T01:13:54.830Z] ---> 3ce705bb04e3 [2023-02-15T01:13:54.830Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T01:13:55.099Z] ---> Running in 3ca109508278 [2023-02-15T01:13:55.367Z] Removing intermediate container 3ca109508278 [2023-02-15T01:13:55.367Z] ---> 3d556945fece [2023-02-15T01:13:55.367Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T01:13:55.367Z] Successfully built 3d556945fece [2023-02-15T01:13:55.367Z] 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-02-15T01:13:55.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T01:13:55.790Z] [2023-02-15T01:13:55.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T01:13:56.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T01:13:56.410Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T01:13:56.410Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T01:13:56.410Z] 04944245beec: Pulling fs layer [2023-02-15T01:13:56.410Z] 699f458cf7ca: Pulling fs layer [2023-02-15T01:13:56.410Z] 765212b225bb: Pulling fs layer [2023-02-15T01:13:56.410Z] f23df028b6ca: Pulling fs layer [2023-02-15T01:13:56.410Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T01:13:56.410Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T01:13:56.410Z] f23df028b6ca: Waiting [2023-02-15T01:13:56.410Z] 765212b225bb: Waiting [2023-02-15T01:13:56.410Z] d65c8cfc05b1: Waiting [2023-02-15T01:13:56.410Z] 2437ff75d9bd: Waiting [2023-02-15T01:13:56.410Z] 04944245beec: Verifying Checksum [2023-02-15T01:13:56.410Z] 04944245beec: Download complete [2023-02-15T01:13:56.410Z] 765212b225bb: Verifying Checksum [2023-02-15T01:13:56.410Z] 765212b225bb: Download complete [2023-02-15T01:13:56.684Z] f23df028b6ca: Download complete [2023-02-15T01:13:56.685Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T01:13:56.685Z] d65c8cfc05b1: Download complete [2023-02-15T01:13:56.685Z] 699f458cf7ca: Verifying Checksum [2023-02-15T01:13:56.685Z] 699f458cf7ca: Download complete [2023-02-15T01:13:57.279Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T01:13:57.279Z] 8998bd30e6a1: Download complete [2023-02-15T01:13:59.881Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T01:13:59.881Z] 2437ff75d9bd: Download complete [2023-02-15T01:14:01.832Z] 8998bd30e6a1: Pull complete [2023-02-15T01:14:02.102Z] 04944245beec: Pull complete [2023-02-15T01:14:04.048Z] 699f458cf7ca: Pull complete [2023-02-15T01:14:04.048Z] 765212b225bb: Pull complete [2023-02-15T01:14:04.632Z] f23df028b6ca: Pull complete [2023-02-15T01:14:04.903Z] d65c8cfc05b1: Pull complete [2023-02-15T01:14:23.125Z] 2437ff75d9bd: Pull complete [2023-02-15T01:14:23.125Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T01:14:23.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T01:14:23.125Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T01:14:23.343Z] prd-ubuntu20.04-docker-arm64-4c-16g-6022 does not seem to be running inside a container [2023-02-15T01:14:23.417Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:arm64 cat [2023-02-15T01:14:26.633Z] $ docker top 75e04ec4248672af70c7dc927fd9b84ec38a379b9dfd7f3b5965dbfde1053892 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:14:27.550Z] ---> job-cost.sh [2023-02-15T01:14:27.551Z] lf-activate-venv: SKIPPING [2023-02-15T01:14:27.551Z] INFO: No Stack... [2023-02-15T01:14:28.136Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T01:14:29.101Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T01:14:29.752Z] + + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2023-02-15T01:14:29.752Z] cut -d, -f6 [Pipeline] lock [2023-02-15T01:14:29.835Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [2023-02-15T01:14:29.840Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] did not exist. Created. [2023-02-15T01:14:29.840Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T01:14:30.524Z] /w/workspace/device-sdk-go/7@tmp/durable-6de50e25/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T01:14:31.195Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T01:14:31.220Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T01:14:31.303Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T01:14:31.308Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T01:14:31.323Z] $ docker stop --time=1 75e04ec4248672af70c7dc927fd9b84ec38a379b9dfd7f3b5965dbfde1053892 [2023-02-15T01:14:32.881Z] $ docker rm -f --volumes 75e04ec4248672af70c7dc927fd9b84ec38a379b9dfd7f3b5965dbfde1053892 [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-02-15T01:14:34.017Z] provisioning config files... [2023-02-15T01:14:34.023Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config17198840461888371471tmp [Pipeline] { [Pipeline] sh [2023-02-15T01:14:34.311Z] + set +x [2023-02-15T01:14:34.311Z] + curl -s https://codecov.io/bash [2023-02-15T01:14:34.311Z] + bash -s -- [2023-02-15T01:14:34.311Z] [2023-02-15T01:14:34.311Z] _____ _ [2023-02-15T01:14:34.311Z] / ____| | | [2023-02-15T01:14:34.311Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T01:14:34.311Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T01:14:34.311Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T01:14:34.311Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T01:14:34.311Z] Bash-1.0.6 [2023-02-15T01:14:34.311Z] [2023-02-15T01:14:34.311Z] [2023-02-15T01:14:34.311Z] ==> git version 2.25.1 found [2023-02-15T01:14:34.311Z] ==> 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-02-15T01:14:34.311Z] Release-Date: 2020-01-08 [2023-02-15T01:14:34.311Z] 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-02-15T01:14:34.311Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T01:14:34.311Z] ==> Jenkins CI detected. [2023-02-15T01:14:34.311Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1316 [2023-02-15T01:14:34.311Z] project root: . [2023-02-15T01:14:34.311Z] --> token set from env [2023-02-15T01:14:34.311Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T01:14:34.311Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T01:14:34.311Z] ==> Python coveragepy not found [2023-02-15T01:14:34.311Z] ==> Searching for coverage reports in: [2023-02-15T01:14:34.311Z] + . [2023-02-15T01:14:34.311Z] -> Found 1 reports [2023-02-15T01:14:34.311Z] ==> Detecting git/mercurial file structure [2023-02-15T01:14:34.571Z] ==> Reading reports [2023-02-15T01:14:34.571Z] + ./coverage.out bytes=98700 [2023-02-15T01:14:34.571Z] ==> Appending adjustments [2023-02-15T01:14:34.571Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T01:14:34.829Z] + Found adjustments [2023-02-15T01:14:34.829Z] ==> Gzipping contents [2023-02-15T01:14:34.829Z] 16K /tmp/codecov.CV1y5G.gz [2023-02-15T01:14:34.829Z] ==> Uploading reports [2023-02-15T01:14:34.829Z] url: https://codecov.io [2023-02-15T01:14:34.829Z] query: branch=PR-1316&commit=116581a180d73e9ae321683633e2f7a0c75abc4a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1316%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1316&job=&cmd_args= [2023-02-15T01:14:34.829Z] -> Pinging Codecov [2023-02-15T01:14:34.829Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1316&commit=116581a180d73e9ae321683633e2f7a0c75abc4a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1316%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1316&job=&cmd_args= [2023-02-15T01:14:34.829Z] -> Uploading to [2023-02-15T01:14:34.829Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/116581a180d73e9ae321683633e2f7a0c75abc4a/326dcf88-b621-45f3-9a82-5be38595ae97.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T011434Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9ddfa189e4b77de1e4c70a286a78c5ff65ac825d5ffee5eb05bdccc4d74603bc [2023-02-15T01:14:34.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T01:14:34.829Z] Dload Upload Total Spent Left Speed [2023-02-15T01:14:35.089Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14414 0 0 100 14414 0 55868 --:--:-- --:--:-- --:--:-- 56085 [2023-02-15T01:14:35.095Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] } [2023-02-15T01:14:35.096Z] 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-02-15T01:14:35.784Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives ] [2023-02-15T01:14:35.785Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives [2023-02-15T01:14:35.785Z] total 16 [2023-02-15T01:14:35.785Z] drwxr-xr-x 3 root root 4096 Feb 15 00:57 . [2023-02-15T01:14:35.785Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 00:57 .. [2023-02-15T01:14:35.785Z] drwxr-xr-x 2 root root 4096 Feb 15 00:57 cost [2023-02-15T01:14:35.785Z] -rw-r--r-- 1 root root 86 Feb 15 00:57 cost.csv [2023-02-15T01:14:35.785Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives [2023-02-15T01:14:35.785Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives [2023-02-15T01:14:35.785Z] total 16 [2023-02-15T01:14:35.785Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:57 . [2023-02-15T01:14:35.785Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 00:57 .. [2023-02-15T01:14:35.785Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:57 cost [2023-02-15T01:14:35.785Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:14:36.074Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:14:36.935Z] ---> package-listing.sh [2023-02-15T01:14:36.935Z] ++ facter osfamily [2023-02-15T01:14:36.935Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T01:14:37.194Z] + OS_FAMILY=debian [2023-02-15T01:14:37.194Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1316 [2023-02-15T01:14:37.194Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T01:14:37.194Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T01:14:37.194Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T01:14:37.194Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T01:14:37.194Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1316 ']' [2023-02-15T01:14:37.194Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T01:14:37.194Z] + case "${OS_FAMILY}" in [2023-02-15T01:14:37.194Z] + dpkg -l [2023-02-15T01:14:37.194Z] + grep '^ii' [2023-02-15T01:14:37.194Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T01:14:37.194Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T01:14:37.194Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T01:14:37.194Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1316 ']' [2023-02-15T01:14:37.194Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/ [2023-02-15T01:14:37.194Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/ [Pipeline] echo [2023-02-15T01:14:37.207Z] 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-1316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T01:14:37.482Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T01:14:38.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T01:14:38.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T01:14:38.107Z] prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container [2023-02-15T01:14:38.150Z] $ 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-1316/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-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T01:14:38.362Z] $ docker top 0662daaa43ede6633418882e5b5d5caa5b815b8681069cfafbdaac9b061e0396 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T01:14:38.695Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T01:14:38.980Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T01:14:39.264Z] + ls /var/log/sa-host [2023-02-15T01:14:39.264Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T01:14:39.414Z] provisioning config files... [2023-02-15T01:14:39.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config15832491995725472775tmp [Pipeline] { [Pipeline] echo [2023-02-15T01:14:39.438Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:14:39.721Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T01:14:39.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:14:40.058Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T01:14:40.067Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:14:40.348Z] ---> sudo-logs.sh [2023-02-15T01:14:40.348Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T01:14:40.377Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:14:40.657Z] ---> job-cost.sh [2023-02-15T01:14:40.657Z] lf-activate-venv: SKIPPING [2023-02-15T01:14:40.657Z] DEBUG: total: 0.2199999988079071 [2023-02-15T01:14:40.657Z] INFO: Retrieving Stack Cost... [2023-02-15T01:14:43.189Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T01:14:43.757Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T01:14:43.769Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:14:44.053Z] ---> logs-deploy.sh [2023-02-15T01:14:44.053Z] lf-activate-venv: SKIPPING [2023-02-15T01:14:44.053Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1316/7 [2023-02-15T01:14:44.053Z] INFO: archiving workspace using pattern(s): [2023-02-15T01:14:44.987Z] Archives upload complete. [2023-02-15T01:14:44.987Z] INFO: archiving logs to Nexus