Pull request #1335 updated Pull request #1335 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 64ca9b081847739b4160c0dc87966f6c81a47c16 rather than 0eeb548b3995e0aea6d95448de44b2075fc60440 Obtained Jenkinsfile from 64ca9b081847739b4160c0dc87966f6c81a47c16 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-ssh18185113821445680220.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-ssh16699419767255485864.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-1335/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-1335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11938941052191591780.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-ssh1999611398237946350.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-1335/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-1335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17082399530203805367.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-6683 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [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-1335 # 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 Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit 0eeb548b3995e0aea6d95448de44b2075fc60440 Merge succeeded, producing 0eeb548b3995e0aea6d95448de44b2075fc60440 Checking out Revision 0eeb548b3995e0aea6d95448de44b2075fc60440 (PR-1335) > 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/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0eeb548b3995e0aea6d95448de44b2075fc60440 # 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 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0eeb548b3995e0aea6d95448de44b2075fc60440 # timeout=10 Commit message: "feat: Accept URL escape for device command name and resource name" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-20T03:56:02.910Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-20T03:56:02.977Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-20T03:56:02.994Z] ========================================================= [2023-02-20T03:56:02.994Z] EdgeX Global Pipelines Version Info [2023-02-20T03:56:02.994Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk af86b6a11590e52e8658a5f10d1c084aafce6158 # timeout=10 [2023-02-20T03:56:03.725Z] ------------------- [2023-02-20T03:56:03.725Z] stable info: [2023-02-20T03:56:03.725Z] ------------------- [2023-02-20T03:56:03.725Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-20T03:56:03.725Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T03:56:03.725Z] Message: update stable to v1.0.244 [2023-02-20T03:56:04.296Z] ------------------- [2023-02-20T03:56:04.296Z] experimental info: [2023-02-20T03:56:04.296Z] ------------------- [2023-02-20T03:56:04.296Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-20T03:56:04.296Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T03:56:04.296Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-20T03:56:04.464Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-20T03:56:04.479Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-20T03:56:04.497Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-20T03:56:04.514Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-20T03:56:04.527Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-20T03:56:04.539Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-20T03:56:04.551Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-20T03:56:04.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-20T03:56:04.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-20T03:56:04.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-20T03:56:04.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-20T03:56:04.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-20T03:56:04.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-20T03:56:04.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-20T03:56:04.654Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T03:56:04.671Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T03:56:04.682Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T03:56:04.697Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T03:56:04.707Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-20T03:56:04.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-20T03:56:04.737Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-20T03:56:04.748Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-20T03:56:04.760Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-20T03:56:04.772Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-20T03:56:04.785Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-20T03:56:04.799Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-20T03:56:04.812Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-20T03:56:04.824Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1335 [Pipeline] echo [2023-02-20T03:56:04.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1335 [Pipeline] echo [2023-02-20T03:56:04.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1335 [Pipeline] echo [2023-02-20T03:56:04.865Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0eeb548b3995e0aea6d95448de44b2075fc60440 [Pipeline] echo [2023-02-20T03:56:04.877Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0eeb548 [Pipeline] echo [2023-02-20T03:56:04.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T03:56:04.934Z] provisioning config files... [2023-02-20T03:56:04.947Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config5271394591872721680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T03:56:05.256Z] ---> docker-login.sh [2023-02-20T03:56:05.257Z] nexus3.edgexfoundry.org:10001 [2023-02-20T03:56:05.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:05.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:05.517Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:05.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:05.517Z] [2023-02-20T03:56:05.517Z] Login Succeeded [2023-02-20T03:56:05.517Z] nexus3.edgexfoundry.org:10002 [2023-02-20T03:56:05.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:05.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:05.777Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:05.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:05.777Z] [2023-02-20T03:56:05.777Z] Login Succeeded [2023-02-20T03:56:05.777Z] nexus3.edgexfoundry.org:10003 [2023-02-20T03:56:05.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:05.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:05.777Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:05.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:05.777Z] [2023-02-20T03:56:05.777Z] Login Succeeded [2023-02-20T03:56:05.777Z] nexus3.edgexfoundry.org:10004 [2023-02-20T03:56:05.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:05.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:05.777Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:05.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:05.777Z] [2023-02-20T03:56:05.777Z] Login Succeeded [2023-02-20T03:56:05.777Z] docker.io [2023-02-20T03:56:06.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:06.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:06.295Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:06.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:06.295Z] [2023-02-20T03:56:06.295Z] Login Succeeded [2023-02-20T03:56:06.295Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T03:56:06.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-20T03:56:06.651Z] + git rev-list -1 --merges 0eeb548b3995e0aea6d95448de44b2075fc60440~1..0eeb548b3995e0aea6d95448de44b2075fc60440 [Pipeline] echo [2023-02-20T03:56:06.673Z] -----------> git rev-list -1 --merges 0eeb548b3995e0aea6d95448de44b2075fc60440~1..0eeb548b3995e0aea6d95448de44b2075fc60440 0eeb548b3995e0aea6d95448de44b2075fc60440 [false] [Pipeline] sh [2023-02-20T03:56:06.961Z] + git log --format=format:%s -1 0eeb548b3995e0aea6d95448de44b2075fc60440 [Pipeline] echo [2023-02-20T03:56:06.983Z] ========================================================= [2023-02-20T03:56:06.983Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-20T03:56:06.983Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T03:56:07.317Z] + git log --format=format:%s -1 0eeb548b3995e0aea6d95448de44b2075fc60440 [Pipeline] echo [2023-02-20T03:56:07.328Z] [semverPrep] GIT_COMMIT: 0eeb548b3995e0aea6d95448de44b2075fc60440, Commit Message: feat: Accept URL escape for device command name and resource name [Pipeline] echo [2023-02-20T03:56:07.340Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-20T03:56:07.682Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T03:56:07.682Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-20T03:56:07.682Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-20T03:56:07.682Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-20T03:56:07.682Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-20T03:56:07.682Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-20T03:56:07.682Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T03:56:08.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T03:56:08.011Z] [2023-02-20T03:56:08.011Z] 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-20T03:56:08.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T03:56:08.307Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-20T03:56:08.307Z] b85a868b505f: Pulling fs layer [2023-02-20T03:56:08.307Z] e2be974225ed: Pulling fs layer [2023-02-20T03:56:08.307Z] 339a4e72a1f5: Pulling fs layer [2023-02-20T03:56:08.307Z] 988bab9f4d93: Pulling fs layer [2023-02-20T03:56:08.307Z] 1469e6f7b9e6: Pulling fs layer [2023-02-20T03:56:08.307Z] eaf3925da568: Pulling fs layer [2023-02-20T03:56:08.307Z] bab4dde63d76: Pulling fs layer [2023-02-20T03:56:08.307Z] bde34c3a00c8: Pulling fs layer [2023-02-20T03:56:08.307Z] b352a97aabf1: Pulling fs layer [2023-02-20T03:56:08.307Z] 4872d77fe225: Pulling fs layer [2023-02-20T03:56:08.307Z] 5851b861e8e6: Pulling fs layer [2023-02-20T03:56:08.307Z] 988bab9f4d93: Waiting [2023-02-20T03:56:08.307Z] 1469e6f7b9e6: Waiting [2023-02-20T03:56:08.307Z] eaf3925da568: Waiting [2023-02-20T03:56:08.307Z] bde34c3a00c8: Waiting [2023-02-20T03:56:08.307Z] b352a97aabf1: Waiting [2023-02-20T03:56:08.307Z] 4872d77fe225: Waiting [2023-02-20T03:56:08.307Z] 5851b861e8e6: Waiting [2023-02-20T03:56:08.307Z] bab4dde63d76: Waiting [2023-02-20T03:56:08.307Z] e2be974225ed: Verifying Checksum [2023-02-20T03:56:08.307Z] e2be974225ed: Download complete [2023-02-20T03:56:08.307Z] 988bab9f4d93: Download complete [2023-02-20T03:56:08.566Z] 1469e6f7b9e6: Verifying Checksum [2023-02-20T03:56:08.566Z] 1469e6f7b9e6: Download complete [2023-02-20T03:56:08.566Z] eaf3925da568: Verifying Checksum [2023-02-20T03:56:08.566Z] eaf3925da568: Download complete [2023-02-20T03:56:08.566Z] 339a4e72a1f5: Verifying Checksum [2023-02-20T03:56:08.566Z] 339a4e72a1f5: Download complete [2023-02-20T03:56:08.566Z] bde34c3a00c8: Verifying Checksum [2023-02-20T03:56:08.566Z] bde34c3a00c8: Download complete [2023-02-20T03:56:08.566Z] b352a97aabf1: Download complete [2023-02-20T03:56:08.566Z] 4872d77fe225: Verifying Checksum [2023-02-20T03:56:08.566Z] 4872d77fe225: Download complete [2023-02-20T03:56:08.566Z] 5851b861e8e6: Download complete [2023-02-20T03:56:08.566Z] b85a868b505f: Verifying Checksum [2023-02-20T03:56:08.566Z] b85a868b505f: Download complete [2023-02-20T03:56:08.824Z] bab4dde63d76: Verifying Checksum [2023-02-20T03:56:08.824Z] bab4dde63d76: Download complete [2023-02-20T03:56:09.757Z] b85a868b505f: Pull complete [2023-02-20T03:56:09.757Z] e2be974225ed: Pull complete [2023-02-20T03:56:10.324Z] 339a4e72a1f5: Pull complete [2023-02-20T03:56:10.324Z] 988bab9f4d93: Pull complete [2023-02-20T03:56:10.581Z] 1469e6f7b9e6: Pull complete [2023-02-20T03:56:10.581Z] eaf3925da568: Pull complete [2023-02-20T03:56:12.481Z] bab4dde63d76: Pull complete [2023-02-20T03:56:12.481Z] bde34c3a00c8: Pull complete [2023-02-20T03:56:12.481Z] b352a97aabf1: Pull complete [2023-02-20T03:56:12.481Z] 4872d77fe225: Pull complete [2023-02-20T03:56:12.481Z] 5851b861e8e6: Pull complete [2023-02-20T03:56:12.481Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-20T03:56:12.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T03:56:12.481Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T03:56:12.558Z] prd-ubuntu20.04-docker-8c-8g-6683 does not seem to be running inside a container [2023-02-20T03:56:12.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-20T03:56:13.722Z] $ docker top 920b550081b841d0d9ecb1b25ca3be2f48c247fd63917601c4fe2aac597e1213 -eo pid,comm [2023-02-20T03:56:13.782Z] 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-20T03:56:13.782Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T03:56:13.819Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T03:56:13.819Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T03:56:13.924Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T03:56:13.917Z] $ docker exec 920b550081b841d0d9ecb1b25ca3be2f48c247fd63917601c4fe2aac597e1213 ssh-agent [2023-02-20T03:56:14.043Z] SSH_AUTH_SOCK=/tmp/ssh-LKX6SgJ3GWwE/agent.32 [2023-02-20T03:56:14.043Z] SSH_AGENT_PID=38 [2023-02-20T03:56:14.048Z] Running ssh-add (command line suppressed) [2023-02-20T03:56:14.135Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_3632318765361027689.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_3632318765361027689.key) [2023-02-20T03:56:14.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T03:56:14.444Z] + git tag --points-at HEAD [Pipeline] } [2023-02-20T03:56:14.445Z] $ docker exec --env ******** --env ******** 920b550081b841d0d9ecb1b25ca3be2f48c247fd63917601c4fe2aac597e1213 ssh-agent -k [2023-02-20T03:56:14.533Z] unset SSH_AUTH_SOCK; [2023-02-20T03:56:14.533Z] unset SSH_AGENT_PID; [2023-02-20T03:56:14.533Z] echo Agent pid 38 killed; [2023-02-20T03:56:14.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-20T03:56:14.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T03:56:14.579Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T03:56:14.690Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T03:56:14.683Z] $ docker exec 920b550081b841d0d9ecb1b25ca3be2f48c247fd63917601c4fe2aac597e1213 ssh-agent [2023-02-20T03:56:14.794Z] SSH_AUTH_SOCK=/tmp/ssh-jfEymwQd7vNB/agent.70 [2023-02-20T03:56:14.794Z] SSH_AGENT_PID=76 [2023-02-20T03:56:14.799Z] Running ssh-add (command line suppressed) [2023-02-20T03:56:14.889Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_5341364733653529808.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_5341364733653529808.key) [2023-02-20T03:56:14.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T03:56:15.202Z] + git semver init [2023-02-20T03:56:15.461Z] 2023-02-20 03:56:15,371 [run_init] DEBUG init version:0.0.0 force:False [2023-02-20T03:56:15.461Z] 2023-02-20 03:56:15,372 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver [2023-02-20T03:56:15.461Z] 2023-02-20 03:56:15,372 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver [2023-02-20T03:56:15.461Z] 2023-02-20 03:56:15,373 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335, universal_newlines=False, shell=None, istream=None) [2023-02-20T03:56:16.398Z] 2023-02-20 03:56:16,303 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.git/info/exclude [2023-02-20T03:56:16.399Z] 2023-02-20 03:56:16,303 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 with force:False [2023-02-20T03:56:16.399Z] 2023-02-20 03:56:16,303 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 [2023-02-20T03:56:16.399Z] 2023-02-20 03:56:16,307 [execute] INFO git cat-file --batch-check [2023-02-20T03:56:16.399Z] 2023-02-20 03:56:16,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T03:56:16.399Z] 2023-02-20 03:56:16,314 [execute] INFO git cat-file --batch [2023-02-20T03:56:16.399Z] 2023-02-20 03:56:16,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T03:56:16.399Z] 2023-02-20 03:56:16,318 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 [2023-02-20T03:56:16.399Z] 0.0.0 [Pipeline] } [2023-02-20T03:56:16.398Z] $ docker exec --env ******** --env ******** 920b550081b841d0d9ecb1b25ca3be2f48c247fd63917601c4fe2aac597e1213 ssh-agent -k [2023-02-20T03:56:16.486Z] unset SSH_AUTH_SOCK; [2023-02-20T03:56:16.486Z] unset SSH_AGENT_PID; [2023-02-20T03:56:16.486Z] echo Agent pid 76 killed; [2023-02-20T03:56:16.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T03:56:16.801Z] + git semver [Pipeline] } [2023-02-20T03:56:17.064Z] $ docker stop --time=1 920b550081b841d0d9ecb1b25ca3be2f48c247fd63917601c4fe2aac597e1213 [2023-02-20T03:56:18.349Z] $ docker rm -f --volumes 920b550081b841d0d9ecb1b25ca3be2f48c247fd63917601c4fe2aac597e1213 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T03:56:18.685Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-20T03:56:18.873Z] Stashed 1 file(s) [Pipeline] echo [2023-02-20T03:56:18.877Z] [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-20T03:56:19.037Z] provisioning config files... [2023-02-20T03:56:19.045Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config6530144839091571310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T03:56:19.342Z] ---> docker-login.sh [2023-02-20T03:56:19.343Z] nexus3.edgexfoundry.org:10001 [2023-02-20T03:56:19.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:19.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:19.343Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:19.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:19.343Z] [2023-02-20T03:56:19.343Z] Login Succeeded [2023-02-20T03:56:19.343Z] nexus3.edgexfoundry.org:10002 [2023-02-20T03:56:19.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:19.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:19.343Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:19.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:19.343Z] [2023-02-20T03:56:19.343Z] Login Succeeded [2023-02-20T03:56:19.343Z] nexus3.edgexfoundry.org:10003 [2023-02-20T03:56:19.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:19.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:19.602Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:19.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:19.602Z] [2023-02-20T03:56:19.602Z] Login Succeeded [2023-02-20T03:56:19.602Z] nexus3.edgexfoundry.org:10004 [2023-02-20T03:56:19.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:19.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:19.602Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:19.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:19.602Z] [2023-02-20T03:56:19.602Z] Login Succeeded [2023-02-20T03:56:19.602Z] docker.io [2023-02-20T03:56:19.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:56:19.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:56:19.861Z] Configure a credential helper to remove this warning. See [2023-02-20T03:56:19.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:56:19.861Z] [2023-02-20T03:56:19.861Z] Login Succeeded [2023-02-20T03:56:19.861Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T03:56:19.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T03:56:19.931Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T03:56:19.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T03:56:19.948Z] ========================================================= [2023-02-20T03:56:19.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-20T03:56:19.948Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T03:56:20.255Z] + 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-20T03:56:20.255Z] Sending build context to Docker daemon 10.56MB [2023-02-20T03:56:20.255Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T03:56:20.255Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-20T03:56:20.255Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-20T03:56:20.255Z] 213ec9aee27d: Pulling fs layer [2023-02-20T03:56:20.255Z] 4583459ba037: Pulling fs layer [2023-02-20T03:56:20.255Z] 93c1e223e6f2: Pulling fs layer [2023-02-20T03:56:20.255Z] 53926ce57604: Pulling fs layer [2023-02-20T03:56:20.255Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-20T03:56:20.255Z] 22ff95d597cd: Pulling fs layer [2023-02-20T03:56:20.255Z] 12d6caf4c0d1: Pulling fs layer [2023-02-20T03:56:20.255Z] 96b7cbca73a9: Pulling fs layer [2023-02-20T03:56:20.255Z] a7acece74701: Pulling fs layer [2023-02-20T03:56:20.255Z] 22ff95d597cd: Waiting [2023-02-20T03:56:20.255Z] 12d6caf4c0d1: Waiting [2023-02-20T03:56:20.255Z] 96b7cbca73a9: Waiting [2023-02-20T03:56:20.255Z] 21b2b0c7a3f4: Waiting [2023-02-20T03:56:20.255Z] a7acece74701: Waiting [2023-02-20T03:56:20.255Z] 93c1e223e6f2: Download complete [2023-02-20T03:56:20.255Z] 4583459ba037: Verifying Checksum [2023-02-20T03:56:20.255Z] 4583459ba037: Download complete [2023-02-20T03:56:20.255Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-20T03:56:20.255Z] 21b2b0c7a3f4: Download complete [2023-02-20T03:56:20.518Z] 22ff95d597cd: Verifying Checksum [2023-02-20T03:56:20.518Z] 22ff95d597cd: Download complete [2023-02-20T03:56:20.518Z] 213ec9aee27d: Download complete [2023-02-20T03:56:20.518Z] 12d6caf4c0d1: Verifying Checksum [2023-02-20T03:56:20.518Z] 12d6caf4c0d1: Download complete [2023-02-20T03:56:20.518Z] 213ec9aee27d: Pull complete [2023-02-20T03:56:20.781Z] 4583459ba037: Pull complete [2023-02-20T03:56:20.781Z] 93c1e223e6f2: Pull complete [2023-02-20T03:56:21.042Z] a7acece74701: Verifying Checksum [2023-02-20T03:56:21.042Z] a7acece74701: Download complete [2023-02-20T03:56:21.042Z] 96b7cbca73a9: Verifying Checksum [2023-02-20T03:56:21.042Z] 96b7cbca73a9: Download complete [2023-02-20T03:56:21.299Z] 53926ce57604: Verifying Checksum [2023-02-20T03:56:21.299Z] 53926ce57604: Download complete [2023-02-20T03:56:24.582Z] 53926ce57604: Pull complete [2023-02-20T03:56:24.582Z] 21b2b0c7a3f4: Pull complete [2023-02-20T03:56:24.582Z] 22ff95d597cd: Pull complete [2023-02-20T03:56:24.840Z] 12d6caf4c0d1: Pull complete [2023-02-20T03:56:26.738Z] 96b7cbca73a9: Pull complete [2023-02-20T03:56:27.306Z] a7acece74701: Pull complete [2023-02-20T03:56:27.306Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-20T03:56:27.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-20T03:56:27.306Z] ---> db6d94c90886 [2023-02-20T03:56:27.306Z] Step 3/10 : ARG MAKE=make build [2023-02-20T03:56:28.681Z] ---> Running in 6a702e517524 [2023-02-20T03:56:28.681Z] Removing intermediate container 6a702e517524 [2023-02-20T03:56:28.681Z] ---> 0a1d70b3f653 [2023-02-20T03:56:28.681Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-20T03:56:28.681Z] ---> Running in 9954a23c198a [2023-02-20T03:56:28.681Z] Removing intermediate container 9954a23c198a [2023-02-20T03:56:28.681Z] ---> a3a608ecb49e [2023-02-20T03:56:28.681Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-20T03:56:28.681Z] ---> Running in 3bdae35168d9 [2023-02-20T03:56:28.681Z] Removing intermediate container 3bdae35168d9 [2023-02-20T03:56:28.681Z] ---> 30eb8b2545a5 [2023-02-20T03:56:28.681Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-20T03:56:28.681Z] ---> Running in 3cc6e5a52111 [2023-02-20T03:56:28.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T03:56:29.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T03:56:29.458Z] OK: 211 MiB in 51 packages [2023-02-20T03:56:29.717Z] Removing intermediate container 3cc6e5a52111 [2023-02-20T03:56:29.717Z] ---> 5e2d71ef5186 [2023-02-20T03:56:29.717Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-20T03:56:29.975Z] ---> 6c8a1e3ef978 [2023-02-20T03:56:29.975Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T03:56:29.975Z] ---> Running in 60934b7db0ef [2023-02-20T03:56:33.998Z] Still waiting to schedule task [2023-02-20T03:56:33.998Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6689’ is offline [2023-02-20T03:56:56.520Z] Removing intermediate container 60934b7db0ef [2023-02-20T03:56:56.520Z] ---> 92b95e4d224c [2023-02-20T03:56:56.520Z] Step 9/10 : COPY . . [2023-02-20T03:56:56.520Z] ---> 0e0b67eb7c16 [2023-02-20T03:56:56.520Z] Step 10/10 : RUN ${MAKE} [2023-02-20T03:56:56.520Z] ---> Running in 918ee185ab62 [2023-02-20T03:56:56.520Z] noop [2023-02-20T03:56:56.520Z] Removing intermediate container 918ee185ab62 [2023-02-20T03:56:56.520Z] ---> 8f4e33b4f2f1 [2023-02-20T03:56:56.520Z] Successfully built 8f4e33b4f2f1 [2023-02-20T03:56:56.520Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T03:56:56.834Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T03:56:56.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T03:56:56.902Z] prd-ubuntu20.04-docker-8c-8g-6683 does not seem to be running inside a container [2023-02-20T03:56:56.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-20T03:56:57.239Z] $ docker top 00a0da319aea09290ce5ffe8a1696b0d3393faec36927631547bd570ee03063d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T03:56:57.590Z] + go version [2023-02-20T03:56:57.590Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-20T03:56:57.590Z] $ docker stop --time=1 00a0da319aea09290ce5ffe8a1696b0d3393faec36927631547bd570ee03063d [2023-02-20T03:56:58.854Z] $ docker rm -f --volumes 00a0da319aea09290ce5ffe8a1696b0d3393faec36927631547bd570ee03063d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T03:56:59.256Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T03:56:59.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T03:56:59.325Z] prd-ubuntu20.04-docker-8c-8g-6683 does not seem to be running inside a container [2023-02-20T03:56:59.340Z] $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-20T03:56:59.657Z] $ docker top 1b6fcaf9f1cb47a7ec5945b00f2231af01ebafa137adba92a1c67aec061de563 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T03:56:59.997Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] fileExists [Pipeline] sh [2023-02-20T03:57:00.287Z] + make test [2023-02-20T03:57:00.287Z] go test -race -coverprofile=coverage.out ./... [2023-02-20T03:57:05.546Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-20T03:57:20.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2023-02-20T03:57:20.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-20T03:57:20.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.112s coverage: 86.0% of statements [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-20T03:57:20.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.112s coverage: 77.3% of statements [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-20T03:57:20.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.092s coverage: 65.2% of statements [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-20T03:57:20.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.732s coverage: 89.2% of statements [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-20T03:57:20.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 4.7% of statements [2023-02-20T03:57:20.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-20T03:57:32.617Z] 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-20T03:57:32.617Z] GO111MODULE=on go vet ./... [2023-02-20T03:57:35.900Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T03:57:35.900Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T03:57:35.900Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-20T03:57:35.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T03:57:35.914Z] $ docker stop --time=1 1b6fcaf9f1cb47a7ec5945b00f2231af01ebafa137adba92a1c67aec061de563 [2023-02-20T03:57:39.382Z] $ docker rm -f --volumes 1b6fcaf9f1cb47a7ec5945b00f2231af01ebafa137adba92a1c67aec061de563 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T03:57:39.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T03:57:39.944Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-20T03:57:40.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T03:57:40.656Z] + ls -al . [2023-02-20T03:57:40.657Z] total 272 [2023-02-20T03:57:40.657Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 03:57 . [2023-02-20T03:57:40.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 03:55 .. [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 03:55 .dockerignore [2023-02-20T03:57:40.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 03:57 .git [2023-02-20T03:57:40.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 03:55 .github [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 20 03:55 .gitignore [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 20 03:55 .golangci.yml [2023-02-20T03:57:40.657Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 03:56 .semver [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 20 03:55 CHANGELOG.md [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 03:55 GOVERNANCE.md [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 20 03:55 Jenkinsfile [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 20 03:55 LICENSE [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 20 03:55 Makefile [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 20 03:55 OWNERS.md [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 20 03:55 README.md [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 03:56 VERSION [2023-02-20T03:57:40.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 03:55 bin [2023-02-20T03:57:40.657Z] -rw-r--r-- 1 jenkins jenkins 98531 Feb 20 03:57 coverage.out [2023-02-20T03:57:40.657Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 20 03:55 example [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 20 03:55 go.mod [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 20 03:55 go.sum [2023-02-20T03:57:40.657Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 20 03:55 internal [2023-02-20T03:57:40.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 03:55 openapi [2023-02-20T03:57:40.657Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 20 03:55 pkg [2023-02-20T03:57:40.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 03:55 snap [2023-02-20T03:57:40.657Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 20 03:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T03:57:40.958Z] + 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=0eeb548b3995e0aea6d95448de44b2075fc60440 --label arch=amd64 --label version=0.0.0 . [2023-02-20T03:57:40.959Z] Sending build context to Docker daemon 10.66MB [2023-02-20T03:57:40.959Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T03:57:40.959Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-20T03:57:40.959Z] ---> 8f4e33b4f2f1 [2023-02-20T03:57:40.959Z] Step 3/23 : ARG MAKE=make build [2023-02-20T03:57:40.959Z] ---> Running in b9e77b3afabf [2023-02-20T03:57:41.217Z] Removing intermediate container b9e77b3afabf [2023-02-20T03:57:41.217Z] ---> 93d2436bfafb [2023-02-20T03:57:41.217Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-20T03:57:41.217Z] ---> Running in cd99ecfd5121 [2023-02-20T03:57:41.217Z] Removing intermediate container cd99ecfd5121 [2023-02-20T03:57:41.217Z] ---> 96c682d4a6d5 [2023-02-20T03:57:41.217Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-20T03:57:41.217Z] ---> Running in 7ca03ae4b2d7 [2023-02-20T03:57:41.217Z] Removing intermediate container 7ca03ae4b2d7 [2023-02-20T03:57:41.217Z] ---> 2314db28de55 [2023-02-20T03:57:41.217Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-20T03:57:41.217Z] ---> Running in 3054f5d6d205 [2023-02-20T03:57:41.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T03:57:41.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T03:57:41.993Z] OK: 211 MiB in 51 packages [2023-02-20T03:57:42.252Z] Removing intermediate container 3054f5d6d205 [2023-02-20T03:57:42.252Z] ---> 365a471824ea [2023-02-20T03:57:42.252Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-20T03:57:42.510Z] ---> 47c315bbb7b1 [2023-02-20T03:57:42.510Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T03:57:42.510Z] ---> Running in 3df59b4df323 [2023-02-20T03:57:43.447Z] Removing intermediate container 3df59b4df323 [2023-02-20T03:57:43.447Z] ---> 9401394594fb [2023-02-20T03:57:43.447Z] Step 9/23 : COPY . . [2023-02-20T03:57:44.119Z] ---> d005dbdf20f6 [2023-02-20T03:57:44.119Z] Step 10/23 : RUN ${MAKE} [2023-02-20T03:57:44.119Z] ---> Running in f39c639972e5 [2023-02-20T03:57:44.378Z] 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-20T03:58:02.454Z] Removing intermediate container f39c639972e5 [2023-02-20T03:58:02.454Z] ---> f8804e648352 [2023-02-20T03:58:02.454Z] Step 11/23 : FROM alpine:3.16 [2023-02-20T03:58:02.454Z] 3.16: Pulling from library/alpine [2023-02-20T03:58:02.454Z] ef5531b6e74e: Pulling fs layer [2023-02-20T03:58:02.454Z] ef5531b6e74e: Verifying Checksum [2023-02-20T03:58:02.454Z] ef5531b6e74e: Download complete [2023-02-20T03:58:02.711Z] ef5531b6e74e: Pull complete [2023-02-20T03:58:02.711Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T03:58:02.711Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T03:58:02.711Z] ---> dfd21b5a31f5 [2023-02-20T03:58:02.711Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-20T03:58:02.711Z] ---> Running in dee03c10c1b8 [2023-02-20T03:58:02.711Z] Removing intermediate container dee03c10c1b8 [2023-02-20T03:58:02.711Z] ---> 7223b2622a90 [2023-02-20T03:58:02.711Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-20T03:58:02.711Z] ---> Running in 89c6b760ad2e [2023-02-20T03:58:02.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T03:58:03.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T03:58:03.486Z] OK: 6 MiB in 14 packages [2023-02-20T03:58:03.745Z] Removing intermediate container 89c6b760ad2e [2023-02-20T03:58:03.745Z] ---> 0ff396ff0f91 [2023-02-20T03:58:03.745Z] Step 14/23 : WORKDIR / [2023-02-20T03:58:03.745Z] ---> Running in 0f95447559f2 [2023-02-20T03:58:03.745Z] Removing intermediate container 0f95447559f2 [2023-02-20T03:58:03.745Z] ---> c1f25df5c949 [2023-02-20T03:58:03.745Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-20T03:58:04.004Z] ---> 9a385920404e [2023-02-20T03:58:04.004Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-20T03:58:04.571Z] ---> 2dd3494b4341 [2023-02-20T03:58:04.571Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-20T03:58:04.830Z] ---> e03e6180dcc5 [2023-02-20T03:58:04.830Z] Step 18/23 : EXPOSE 59999 [2023-02-20T03:58:04.830Z] ---> Running in a7d7782d4ce3 [2023-02-20T03:58:04.830Z] Removing intermediate container a7d7782d4ce3 [2023-02-20T03:58:04.830Z] ---> a897971c97b3 [2023-02-20T03:58:04.830Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-20T03:58:04.830Z] ---> Running in 85e1d1157b6f [2023-02-20T03:58:05.089Z] Removing intermediate container 85e1d1157b6f [2023-02-20T03:58:05.089Z] ---> d681286ebdbc [2023-02-20T03:58:05.089Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-20T03:58:05.089Z] ---> Running in 91d6afb96593 [2023-02-20T03:58:05.089Z] Removing intermediate container 91d6afb96593 [2023-02-20T03:58:05.089Z] ---> 470c6ed7ce06 [2023-02-20T03:58:05.089Z] Step 21/23 : LABEL arch=amd64 [2023-02-20T03:58:05.089Z] ---> Running in 2d81fcc19f8f [2023-02-20T03:58:05.089Z] Removing intermediate container 2d81fcc19f8f [2023-02-20T03:58:05.089Z] ---> 96b70d7f815a [2023-02-20T03:58:05.089Z] Step 22/23 : LABEL git_sha=0eeb548b3995e0aea6d95448de44b2075fc60440 [2023-02-20T03:58:05.089Z] ---> Running in 8c716fd5b854 [2023-02-20T03:58:05.347Z] Removing intermediate container 8c716fd5b854 [2023-02-20T03:58:05.347Z] ---> d495d928ff3a [2023-02-20T03:58:05.347Z] Step 23/23 : LABEL version=0.0.0 [2023-02-20T03:58:05.347Z] ---> Running in 266f64eb3030 [2023-02-20T03:58:05.347Z] Removing intermediate container 266f64eb3030 [2023-02-20T03:58:05.347Z] ---> 6d7a8f643b3e [2023-02-20T03:58:05.347Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T03:58:05.347Z] Successfully built 6d7a8f643b3e [2023-02-20T03:58:05.347Z] 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-20T03:58:05.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T03:58:05.796Z] [2023-02-20T03:58:05.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T03:58:06.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T03:58:06.098Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-20T03:58:06.098Z] 5eb5b503b376: Pulling fs layer [2023-02-20T03:58:06.098Z] 5c69ac0246d0: Pulling fs layer [2023-02-20T03:58:06.098Z] ec43610c2a17: Pulling fs layer [2023-02-20T03:58:06.098Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-20T03:58:06.098Z] 33b1e0a273af: Pulling fs layer [2023-02-20T03:58:06.098Z] 5d3b04190fa2: Pulling fs layer [2023-02-20T03:58:06.098Z] 2f39f015ded8: Pulling fs layer [2023-02-20T03:58:06.098Z] 3a2ae6a8a46f: Waiting [2023-02-20T03:58:06.098Z] 33b1e0a273af: Waiting [2023-02-20T03:58:06.098Z] 5d3b04190fa2: Waiting [2023-02-20T03:58:06.098Z] 2f39f015ded8: Waiting [2023-02-20T03:58:06.098Z] 5c69ac0246d0: Verifying Checksum [2023-02-20T03:58:06.098Z] 5c69ac0246d0: Download complete [2023-02-20T03:58:06.098Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-20T03:58:06.098Z] 3a2ae6a8a46f: Download complete [2023-02-20T03:58:06.357Z] ec43610c2a17: Verifying Checksum [2023-02-20T03:58:06.357Z] ec43610c2a17: Download complete [2023-02-20T03:58:06.357Z] 33b1e0a273af: Verifying Checksum [2023-02-20T03:58:06.357Z] 33b1e0a273af: Download complete [2023-02-20T03:58:06.357Z] 5d3b04190fa2: Verifying Checksum [2023-02-20T03:58:06.357Z] 5d3b04190fa2: Download complete [2023-02-20T03:58:06.357Z] 5eb5b503b376: Verifying Checksum [2023-02-20T03:58:06.357Z] 5eb5b503b376: Download complete [2023-02-20T03:58:06.925Z] 2f39f015ded8: Download complete [2023-02-20T03:58:07.043Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6692 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] { [Pipeline] ws [2023-02-20T03:58:07.059Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-20T03:58:07.095Z] The recommended git tool is: git [2023-02-20T03:58:07.493Z] 5eb5b503b376: Pull complete [2023-02-20T03:58:07.751Z] 5c69ac0246d0: Pull complete [2023-02-20T03:58:08.009Z] ec43610c2a17: Pull complete [2023-02-20T03:58:08.009Z] 3a2ae6a8a46f: Pull complete [2023-02-20T03:58:08.273Z] 33b1e0a273af: Pull complete [2023-02-20T03:58:08.531Z] 5d3b04190fa2: Pull complete [2023-02-20T03:58:11.805Z] using credential edgex-jenkins-ssh [2023-02-20T03:58:11.822Z] Cloning the remote Git repository [2023-02-20T03:58:11.863Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-20T03:58:11.930Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-20T03:58:12.715Z] 2f39f015ded8: Pull complete [2023-02-20T03:58:12.715Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-20T03:58:12.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T03:58:12.715Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T03:58:12.801Z] prd-ubuntu20.04-docker-8c-8g-6683 does not seem to be running inside a container [2023-02-20T03:58:12.818Z] $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-20T03:58:12.095Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-20T03:58:12.096Z] > git --version # timeout=10 [2023-02-20T03:58:12.115Z] > git --version # 'git version 2.25.1' [2023-02-20T03:58:12.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T03:58:12.169Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T03:58:13.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-20T03:58:13.790Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T03:58:15.363Z] Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit 0eeb548b3995e0aea6d95448de44b2075fc60440 [2023-02-20T03:58:15.587Z] Merge succeeded, producing 0eeb548b3995e0aea6d95448de44b2075fc60440 [2023-02-20T03:58:15.588Z] Checking out Revision 0eeb548b3995e0aea6d95448de44b2075fc60440 (PR-1335) [2023-02-20T03:58:14.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-20T03:58:14.628Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-20T03:58:14.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T03:58:14.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-20T03:58:15.385Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T03:58:15.408Z] > git checkout -f 0eeb548b3995e0aea6d95448de44b2075fc60440 # timeout=10 [2023-02-20T03:58:15.509Z] > git remote # timeout=10 [2023-02-20T03:58:15.523Z] > git config --get remote.origin.url # timeout=10 [2023-02-20T03:58:15.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T03:58:15.555Z] > git merge 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 [2023-02-20T03:58:15.576Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-20T03:58:15.596Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T03:58:15.609Z] > git checkout -f 0eeb548b3995e0aea6d95448de44b2075fc60440 # timeout=10 [2023-02-20T03:58:15.982Z] $ docker top 4c65bbb5637bcbb204a5ad3141912397c0eae7af71ca8f381e724ff9a9bcb022 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T03:58:16.367Z] ---> job-cost.sh [2023-02-20T03:58:16.367Z] lf-activate-venv: SKIPPING [2023-02-20T03:58:16.367Z] INFO: No Stack... [2023-02-20T03:58:16.933Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T03:58:17.192Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T03:58:17.480Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/cost.csv [2023-02-20T03:58:17.480Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T03:58:17.495Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1335-2-stack-cost] [2023-02-20T03:58:17.502Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-2-stack-cost] did not exist. Created. [2023-02-20T03:58:17.502Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1335-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T03:58:17.804Z] + echo total: 0.4399999976158142 [Pipeline] stash [2023-02-20T03:58:17.836Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T03:58:17.842Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T03:58:17.850Z] $ docker stop --time=1 4c65bbb5637bcbb204a5ad3141912397c0eae7af71ca8f381e724ff9a9bcb022 [2023-02-20T03:58:18.995Z] $ docker rm -f --volumes 4c65bbb5637bcbb204a5ad3141912397c0eae7af71ca8f381e724ff9a9bcb022 [Pipeline] // withDockerContainer [2023-02-20T03:58:19.059Z] Commit message: "feat: Accept URL escape for device command name and resource name" [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T03:58:20.096Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-20T03:58:20.096Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T03:58:20.096Z] Dload Upload Total Spent Left Speed [2023-02-20T03:58:20.096Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-02-20T03:58:20.829Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-20T03:58:21.172Z] + sudo tee /etc/docker/daemon.new [2023-02-20T03:58:21.172Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-20T03:58:21.172Z] { [2023-02-20T03:58:21.172Z] "registry-mirrors": [ [2023-02-20T03:58:21.172Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-20T03:58:21.172Z] ], [2023-02-20T03:58:21.172Z] "bip": "10.250.0.254/24", [2023-02-20T03:58:21.172Z] "hosts": [ [2023-02-20T03:58:21.172Z] "tcp://0.0.0.0:5555", [2023-02-20T03:58:21.172Z] "unix:///var/run/docker.sock" [2023-02-20T03:58:21.172Z] ], [2023-02-20T03:58:21.172Z] "mtu": 1458, [2023-02-20T03:58:21.172Z] "selinux-enabled": true, [2023-02-20T03:58:21.172Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-20T03:58:21.172Z] } [Pipeline] sh [2023-02-20T03:58:21.495Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-20T03:58:21.829Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T03:58:40.090Z] provisioning config files... [2023-02-20T03:58:40.114Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9366993082069020340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T03:58:40.455Z] ---> docker-login.sh [2023-02-20T03:58:40.455Z] nexus3.edgexfoundry.org:10001 [2023-02-20T03:58:40.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:58:40.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:58:40.994Z] Configure a credential helper to remove this warning. See [2023-02-20T03:58:40.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:58:40.994Z] [2023-02-20T03:58:40.994Z] Login Succeeded [2023-02-20T03:58:40.994Z] nexus3.edgexfoundry.org:10002 [2023-02-20T03:58:41.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:58:41.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:58:41.544Z] Configure a credential helper to remove this warning. See [2023-02-20T03:58:41.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:58:41.544Z] [2023-02-20T03:58:41.544Z] Login Succeeded [2023-02-20T03:58:41.544Z] nexus3.edgexfoundry.org:10003 [2023-02-20T03:58:41.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:58:41.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:58:41.819Z] Configure a credential helper to remove this warning. See [2023-02-20T03:58:41.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:58:41.819Z] [2023-02-20T03:58:41.819Z] Login Succeeded [2023-02-20T03:58:41.819Z] nexus3.edgexfoundry.org:10004 [2023-02-20T03:58:42.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:58:42.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:58:42.088Z] Configure a credential helper to remove this warning. See [2023-02-20T03:58:42.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:58:42.088Z] [2023-02-20T03:58:42.088Z] Login Succeeded [2023-02-20T03:58:42.088Z] docker.io [2023-02-20T03:58:42.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T03:58:42.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T03:58:42.631Z] Configure a credential helper to remove this warning. See [2023-02-20T03:58:42.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T03:58:42.631Z] [2023-02-20T03:58:42.631Z] Login Succeeded [2023-02-20T03:58:42.631Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T03:58:42.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T03:58:42.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T03:58:42.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T03:58:42.911Z] ========================================================= [2023-02-20T03:58:42.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-20T03:58:42.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T03:58:43.242Z] + 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-20T03:58:43.509Z] Sending build context to Docker daemon 5.677MB [2023-02-20T03:58:43.509Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T03:58:43.509Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-20T03:58:43.784Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-20T03:58:43.784Z] 9b18e9b68314: Pulling fs layer [2023-02-20T03:58:43.784Z] 35d82f9e3411: Pulling fs layer [2023-02-20T03:58:43.784Z] e16973657156: Pulling fs layer [2023-02-20T03:58:43.784Z] fc693d55d65f: Pulling fs layer [2023-02-20T03:58:43.784Z] 7e9fc2657dce: Pulling fs layer [2023-02-20T03:58:43.784Z] dda99020689f: Pulling fs layer [2023-02-20T03:58:43.784Z] db1c61fa0a46: Pulling fs layer [2023-02-20T03:58:43.784Z] 891c053d2c06: Pulling fs layer [2023-02-20T03:58:43.784Z] 7e9fc2657dce: Waiting [2023-02-20T03:58:43.784Z] dda99020689f: Waiting [2023-02-20T03:58:43.784Z] db1c61fa0a46: Waiting [2023-02-20T03:58:43.784Z] 891c053d2c06: Waiting [2023-02-20T03:58:43.784Z] fc693d55d65f: Waiting [2023-02-20T03:58:43.784Z] e16973657156: Verifying Checksum [2023-02-20T03:58:43.784Z] e16973657156: Download complete [2023-02-20T03:58:43.784Z] 35d82f9e3411: Verifying Checksum [2023-02-20T03:58:43.784Z] 35d82f9e3411: Download complete [2023-02-20T03:58:43.784Z] 7e9fc2657dce: Verifying Checksum [2023-02-20T03:58:43.784Z] 7e9fc2657dce: Download complete [2023-02-20T03:58:43.784Z] dda99020689f: Verifying Checksum [2023-02-20T03:58:43.784Z] dda99020689f: Download complete [2023-02-20T03:58:43.784Z] 9b18e9b68314: Verifying Checksum [2023-02-20T03:58:43.784Z] 9b18e9b68314: Download complete [2023-02-20T03:58:44.752Z] 9b18e9b68314: Pull complete [2023-02-20T03:58:45.028Z] 891c053d2c06: Verifying Checksum [2023-02-20T03:58:45.028Z] 891c053d2c06: Download complete [2023-02-20T03:58:45.299Z] 35d82f9e3411: Pull complete [2023-02-20T03:58:45.568Z] e16973657156: Pull complete [2023-02-20T03:58:46.154Z] db1c61fa0a46: Verifying Checksum [2023-02-20T03:58:46.154Z] db1c61fa0a46: Download complete [2023-02-20T03:58:46.737Z] fc693d55d65f: Verifying Checksum [2023-02-20T03:58:46.737Z] fc693d55d65f: Download complete [2023-02-20T03:58:56.815Z] fc693d55d65f: Pull complete [2023-02-20T03:58:57.083Z] 7e9fc2657dce: Pull complete [2023-02-20T03:58:57.351Z] dda99020689f: Pull complete [2023-02-20T03:59:04.032Z] db1c61fa0a46: Pull complete [2023-02-20T03:59:04.998Z] 891c053d2c06: Pull complete [2023-02-20T03:59:04.998Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-20T03:59:05.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-20T03:59:05.266Z] ---> f96f9c87975a [2023-02-20T03:59:05.266Z] Step 3/10 : ARG MAKE=make build [2023-02-20T03:59:07.220Z] ---> Running in e2479900e3e0 [2023-02-20T03:59:07.220Z] Removing intermediate container e2479900e3e0 [2023-02-20T03:59:07.220Z] ---> c4712bec9c67 [2023-02-20T03:59:07.220Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-20T03:59:07.485Z] ---> Running in e4c3bc853ab3 [2023-02-20T03:59:07.750Z] Removing intermediate container e4c3bc853ab3 [2023-02-20T03:59:07.750Z] ---> 4187d9cad699 [2023-02-20T03:59:07.750Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-20T03:59:07.750Z] ---> Running in 25d03c77b2fc [2023-02-20T03:59:08.026Z] Removing intermediate container 25d03c77b2fc [2023-02-20T03:59:08.026Z] ---> 05924c466c7a [2023-02-20T03:59:08.026Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-20T03:59:08.026Z] ---> Running in e1c336451faf [2023-02-20T03:59:09.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T03:59:09.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T03:59:10.390Z] OK: 221 MiB in 51 packages [2023-02-20T03:59:10.970Z] Removing intermediate container e1c336451faf [2023-02-20T03:59:10.970Z] ---> 9410ce1730a0 [2023-02-20T03:59:10.970Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-20T03:59:11.554Z] ---> df20b987a61d [2023-02-20T03:59:11.554Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T03:59:11.554Z] ---> Running in 7e018bdf280c [2023-02-20T04:00:19.437Z] Removing intermediate container 7e018bdf280c [2023-02-20T04:00:19.437Z] ---> 538ae475a19f [2023-02-20T04:00:19.437Z] Step 9/10 : COPY . . [2023-02-20T04:00:19.437Z] ---> 425e44dfb490 [2023-02-20T04:00:19.437Z] Step 10/10 : RUN ${MAKE} [2023-02-20T04:00:19.437Z] ---> Running in 9f62cc33746b [2023-02-20T04:00:19.437Z] noop [2023-02-20T04:00:19.437Z] Removing intermediate container 9f62cc33746b [2023-02-20T04:00:19.437Z] ---> c4838ab60200 [2023-02-20T04:00:19.437Z] Successfully built c4838ab60200 [2023-02-20T04:00:19.437Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T04:00:19.793Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T04:00:19.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T04:00:19.977Z] prd-ubuntu20.04-docker-arm64-4c-16g-6692 does not seem to be running inside a container [2023-02-20T04:00:20.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-20T04:00:21.183Z] $ docker top 65ad60da8cb1014b083df600ec51fd3fa051cf9d04bf28a625b2cb6ce16d75d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T04:00:21.992Z] + go version [2023-02-20T04:00:21.992Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-20T04:00:22.012Z] $ docker stop --time=1 65ad60da8cb1014b083df600ec51fd3fa051cf9d04bf28a625b2cb6ce16d75d5 [2023-02-20T04:00:25.400Z] $ docker rm -f --volumes 65ad60da8cb1014b083df600ec51fd3fa051cf9d04bf28a625b2cb6ce16d75d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T04:00:25.957Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T04:00:25.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T04:00:26.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-6692 does not seem to be running inside a container [2023-02-20T04:00:26.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-20T04:00:27.395Z] $ docker top 1e99f2f4f7b56def4197de3b51b9b221bbcd7632b1e85474cd599dc0511e9b3a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T04:00:27.919Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-20T04:00:28.581Z] + make test [2023-02-20T04:00:28.581Z] go test -race -coverprofile=coverage.out ./... [2023-02-20T04:01:00.972Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-20T04:02:37.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-20T04:02:37.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-20T04:02:37.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-20T04:02:37.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-20T04:02:37.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-20T04:02:50.287Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.571s coverage: 27.6% of statements [2023-02-20T04:02:52.250Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.657s coverage: 78.9% of statements [2023-02-20T04:02:52.250Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-20T04:02:58.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.664s coverage: 86.0% of statements [2023-02-20T04:02:58.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-20T04:02:58.892Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-20T04:03:00.838Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.520s coverage: 77.3% of statements [2023-02-20T04:03:00.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-20T04:03:00.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-20T04:03:00.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-20T04:03:01.440Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.404s coverage: 65.2% of statements [2023-02-20T04:03:01.440Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-20T04:03:01.440Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-20T04:03:01.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.692s coverage: 89.2% of statements [2023-02-20T04:03:01.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-20T04:03:01.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.335s coverage: 4.7% of statements [2023-02-20T04:03:01.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-20T04:03:02.291Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-20T04:03:02.560Z] GO111MODULE=on go vet ./... [2023-02-20T04:04:39.266Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T04:04:39.266Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T04:04:39.266Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-20T04:04:39.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T04:04:39.295Z] $ docker stop --time=1 1e99f2f4f7b56def4197de3b51b9b221bbcd7632b1e85474cd599dc0511e9b3a [2023-02-20T04:04:41.894Z] $ docker rm -f --volumes 1e99f2f4f7b56def4197de3b51b9b221bbcd7632b1e85474cd599dc0511e9b3a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T04:04:43.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T04:04:43.213Z] Warning: overwriting stash ‘coverage-report’ [2023-02-20T04:04:43.711Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T04:04:44.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T04:04:44.405Z] + ls -al . [2023-02-20T04:04:44.405Z] total 268 [2023-02-20T04:04:44.405Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 04:00 . [2023-02-20T04:04:44.405Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 03:58 .. [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 03:58 .dockerignore [2023-02-20T04:04:44.405Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 03:58 .git [2023-02-20T04:04:44.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 03:58 .github [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 20 03:58 .gitignore [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 20 03:58 .golangci.yml [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 20 03:58 CHANGELOG.md [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 03:58 GOVERNANCE.md [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 20 03:58 Jenkinsfile [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 20 03:58 LICENSE [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 20 03:58 Makefile [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 20 03:58 OWNERS.md [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 20 03:58 README.md [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 03:56 VERSION [2023-02-20T04:04:44.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 03:58 bin [2023-02-20T04:04:44.405Z] -rw-r--r-- 1 jenkins jenkins 98531 Feb 20 04:03 coverage.out [2023-02-20T04:04:44.405Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 20 03:58 example [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 20 03:58 go.mod [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 20 03:58 go.sum [2023-02-20T04:04:44.405Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 20 03:58 internal [2023-02-20T04:04:44.405Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 03:58 openapi [2023-02-20T04:04:44.405Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 20 03:58 pkg [2023-02-20T04:04:44.405Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 03:58 snap [2023-02-20T04:04:44.405Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 20 03:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T04:04:44.735Z] + 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=0eeb548b3995e0aea6d95448de44b2075fc60440 --label arch=arm64 --label version=0.0.0 . [2023-02-20T04:04:45.002Z] Sending build context to Docker daemon 5.776MB [2023-02-20T04:04:45.269Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T04:04:45.269Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-20T04:04:45.269Z] ---> c4838ab60200 [2023-02-20T04:04:45.269Z] Step 3/23 : ARG MAKE=make build [2023-02-20T04:04:45.269Z] ---> Running in 9f4efe6b888e [2023-02-20T04:04:45.539Z] Removing intermediate container 9f4efe6b888e [2023-02-20T04:04:45.539Z] ---> a0f2ee8078ef [2023-02-20T04:04:45.539Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-20T04:04:45.539Z] ---> Running in 99f692c07d58 [2023-02-20T04:04:46.121Z] Removing intermediate container 99f692c07d58 [2023-02-20T04:04:46.121Z] ---> 5ed271d8d98d [2023-02-20T04:04:46.121Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-20T04:04:46.121Z] ---> Running in 64ceef100ec1 [2023-02-20T04:04:46.393Z] Removing intermediate container 64ceef100ec1 [2023-02-20T04:04:46.393Z] ---> 45ad91f8dfcd [2023-02-20T04:04:46.393Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-20T04:04:46.393Z] ---> Running in 646aeec7006c [2023-02-20T04:04:48.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T04:04:48.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T04:04:49.579Z] OK: 221 MiB in 51 packages [2023-02-20T04:04:50.539Z] Removing intermediate container 646aeec7006c [2023-02-20T04:04:50.540Z] ---> d354314cc0f4 [2023-02-20T04:04:50.540Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-20T04:04:50.812Z] ---> 0c4956d5f003 [2023-02-20T04:04:50.812Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T04:04:51.080Z] ---> Running in b9dd30d5f75b [2023-02-20T04:04:56.445Z] Removing intermediate container b9dd30d5f75b [2023-02-20T04:04:56.445Z] ---> a52d79a30621 [2023-02-20T04:04:56.445Z] Step 9/23 : COPY . . [2023-02-20T04:04:57.028Z] ---> 3cebf94d4d01 [2023-02-20T04:04:57.028Z] Step 10/23 : RUN ${MAKE} [2023-02-20T04:04:57.028Z] ---> Running in 46168b0aa37d [2023-02-20T04:04:57.991Z] 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-20T04:06:51.961Z] Removing intermediate container 46168b0aa37d [2023-02-20T04:06:51.961Z] ---> 9b76df64221e [2023-02-20T04:06:51.961Z] Step 11/23 : FROM alpine:3.16 [2023-02-20T04:06:51.961Z] 3.16: Pulling from library/alpine [2023-02-20T04:06:51.961Z] 3760b48202b3: Pulling fs layer [2023-02-20T04:06:51.961Z] 3760b48202b3: Verifying Checksum [2023-02-20T04:06:51.961Z] 3760b48202b3: Download complete [2023-02-20T04:06:52.228Z] 3760b48202b3: Pull complete [2023-02-20T04:06:52.228Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T04:06:52.228Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T04:06:52.228Z] ---> 4c81e5bf8899 [2023-02-20T04:06:52.228Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-20T04:06:52.501Z] ---> Running in 8738c76cda47 [2023-02-20T04:06:52.769Z] Removing intermediate container 8738c76cda47 [2023-02-20T04:06:52.769Z] ---> be239dfa626e [2023-02-20T04:06:52.769Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-20T04:06:52.769Z] ---> Running in 0813ddd4376f [2023-02-20T04:06:53.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T04:06:54.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T04:06:54.969Z] OK: 5 MiB in 14 packages [2023-02-20T04:06:55.555Z] Removing intermediate container 0813ddd4376f [2023-02-20T04:06:55.555Z] ---> a7b0b891edcd [2023-02-20T04:06:55.555Z] Step 14/23 : WORKDIR / [2023-02-20T04:06:55.823Z] ---> Running in d546fa8465bd [2023-02-20T04:06:55.824Z] Removing intermediate container d546fa8465bd [2023-02-20T04:06:55.824Z] ---> 6f2d54a228e5 [2023-02-20T04:06:55.824Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-20T04:06:56.407Z] ---> 10d4d4506ad8 [2023-02-20T04:06:56.407Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-20T04:06:57.815Z] ---> e0a421a04366 [2023-02-20T04:06:57.815Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-20T04:06:58.399Z] ---> 864ebd8e0427 [2023-02-20T04:06:58.399Z] Step 18/23 : EXPOSE 59999 [2023-02-20T04:06:58.399Z] ---> Running in e15a97bd4740 [2023-02-20T04:06:58.665Z] Removing intermediate container e15a97bd4740 [2023-02-20T04:06:58.665Z] ---> d09e5cc55c17 [2023-02-20T04:06:58.665Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-20T04:06:58.665Z] ---> Running in a80daa036427 [2023-02-20T04:06:58.930Z] Removing intermediate container a80daa036427 [2023-02-20T04:06:58.930Z] ---> 5867e24adfc2 [2023-02-20T04:06:58.930Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-20T04:06:58.930Z] ---> Running in 11ce1f85ab4b [2023-02-20T04:06:59.197Z] Removing intermediate container 11ce1f85ab4b [2023-02-20T04:06:59.197Z] ---> fbdd288dd129 [2023-02-20T04:06:59.197Z] Step 21/23 : LABEL arch=arm64 [2023-02-20T04:06:59.464Z] ---> Running in d6ef5dbe96b5 [2023-02-20T04:06:59.732Z] Removing intermediate container d6ef5dbe96b5 [2023-02-20T04:06:59.732Z] ---> d7d9221ca134 [2023-02-20T04:06:59.732Z] Step 22/23 : LABEL git_sha=0eeb548b3995e0aea6d95448de44b2075fc60440 [2023-02-20T04:06:59.732Z] ---> Running in b9e6c845d904 [2023-02-20T04:07:00.001Z] Removing intermediate container b9e6c845d904 [2023-02-20T04:07:00.001Z] ---> 7c5bfedacf57 [2023-02-20T04:07:00.001Z] Step 23/23 : LABEL version=0.0.0 [2023-02-20T04:07:00.001Z] ---> Running in 69a43110d751 [2023-02-20T04:07:00.266Z] Removing intermediate container 69a43110d751 [2023-02-20T04:07:00.266Z] ---> 44df0bcd7162 [2023-02-20T04:07:00.266Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T04:07:00.266Z] Successfully built 44df0bcd7162 [2023-02-20T04:07:00.266Z] 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-20T04:07:00.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T04:07:00.698Z] [2023-02-20T04:07:00.698Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T04:07:01.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T04:07:01.027Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-20T04:07:01.027Z] 8998bd30e6a1: Pulling fs layer [2023-02-20T04:07:01.027Z] 04944245beec: Pulling fs layer [2023-02-20T04:07:01.027Z] 699f458cf7ca: Pulling fs layer [2023-02-20T04:07:01.027Z] 765212b225bb: Pulling fs layer [2023-02-20T04:07:01.027Z] f23df028b6ca: Pulling fs layer [2023-02-20T04:07:01.027Z] d65c8cfc05b1: Pulling fs layer [2023-02-20T04:07:01.027Z] 2437ff75d9bd: Pulling fs layer [2023-02-20T04:07:01.027Z] 765212b225bb: Waiting [2023-02-20T04:07:01.027Z] f23df028b6ca: Waiting [2023-02-20T04:07:01.027Z] d65c8cfc05b1: Waiting [2023-02-20T04:07:01.027Z] 2437ff75d9bd: Waiting [2023-02-20T04:07:01.297Z] 04944245beec: Verifying Checksum [2023-02-20T04:07:01.297Z] 04944245beec: Download complete [2023-02-20T04:07:01.297Z] 765212b225bb: Verifying Checksum [2023-02-20T04:07:01.297Z] 765212b225bb: Download complete [2023-02-20T04:07:01.297Z] f23df028b6ca: Verifying Checksum [2023-02-20T04:07:01.297Z] f23df028b6ca: Download complete [2023-02-20T04:07:01.297Z] d65c8cfc05b1: Download complete [2023-02-20T04:07:01.297Z] 699f458cf7ca: Verifying Checksum [2023-02-20T04:07:01.297Z] 699f458cf7ca: Download complete [2023-02-20T04:07:01.880Z] 8998bd30e6a1: Verifying Checksum [2023-02-20T04:07:01.880Z] 8998bd30e6a1: Download complete [2023-02-20T04:07:03.821Z] 2437ff75d9bd: Verifying Checksum [2023-02-20T04:07:03.821Z] 2437ff75d9bd: Download complete [2023-02-20T04:07:05.760Z] 8998bd30e6a1: Pull complete [2023-02-20T04:07:06.026Z] 04944245beec: Pull complete [2023-02-20T04:07:07.433Z] 699f458cf7ca: Pull complete [2023-02-20T04:07:07.699Z] 765212b225bb: Pull complete [2023-02-20T04:07:08.289Z] f23df028b6ca: Pull complete [2023-02-20T04:07:08.555Z] d65c8cfc05b1: Pull complete [2023-02-20T04:07:23.545Z] 2437ff75d9bd: Pull complete [2023-02-20T04:07:23.545Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-20T04:07:23.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T04:07:23.545Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T04:07:23.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-6692 does not seem to be running inside a container [2023-02-20T04:07:23.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-20T04:07:26.376Z] $ docker top 1544bf9985b87f6b53a2afb66e97251ac7245db51327450c418e847647ee4c5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T04:07:27.223Z] ---> job-cost.sh [2023-02-20T04:07:27.223Z] lf-activate-venv: SKIPPING [2023-02-20T04:07:27.223Z] INFO: No Stack... [2023-02-20T04:07:27.807Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-20T04:07:28.390Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T04:07:29.033Z] + + cat /w/workspace/device-sdk-go/2/archives/cost.csvcut [2023-02-20T04:07:29.033Z] -d, -f6 [Pipeline] lock [2023-02-20T04:07:29.072Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1335-2-stack-cost] [2023-02-20T04:07:29.078Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-2-stack-cost] did not exist. Created. [2023-02-20T04:07:29.078Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1335-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T04:07:29.735Z] /w/workspace/device-sdk-go/2@tmp/durable-a63af3f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-20T04:07:30.378Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-20T04:07:30.400Z] Warning: overwriting stash ‘stack-cost’ [2023-02-20T04:07:30.461Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T04:07:30.468Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T04:07:30.487Z] $ docker stop --time=1 1544bf9985b87f6b53a2afb66e97251ac7245db51327450c418e847647ee4c5d [2023-02-20T04:07:32.002Z] $ docker rm -f --volumes 1544bf9985b87f6b53a2afb66e97251ac7245db51327450c418e847647ee4c5d [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-20T04:07:32.398Z] provisioning config files... [2023-02-20T04:07:32.406Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config8376354740686606844tmp [Pipeline] { [Pipeline] sh [2023-02-20T04:07:32.706Z] + set +x [2023-02-20T04:07:32.706Z] + curl -s https://codecov.io/bash [2023-02-20T04:07:32.706Z] + bash -s -- [2023-02-20T04:07:32.706Z] [2023-02-20T04:07:32.706Z] _____ _ [2023-02-20T04:07:32.706Z] / ____| | | [2023-02-20T04:07:32.706Z] | | ___ __| | ___ ___ _____ __ [2023-02-20T04:07:32.706Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-20T04:07:32.706Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-20T04:07:32.706Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-20T04:07:32.706Z] Bash-1.0.6 [2023-02-20T04:07:32.706Z] [2023-02-20T04:07:32.706Z] [2023-02-20T04:07:32.706Z] ==> git version 2.25.1 found [2023-02-20T04:07:32.706Z] ==> 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-20T04:07:32.706Z] Release-Date: 2020-01-08 [2023-02-20T04:07:32.706Z] 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-20T04:07:32.706Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-20T04:07:32.706Z] ==> Jenkins CI detected. [2023-02-20T04:07:32.706Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1335 [2023-02-20T04:07:32.706Z] project root: . [2023-02-20T04:07:32.706Z] --> token set from env [2023-02-20T04:07:32.706Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-20T04:07:32.965Z] ==> Running gcov in . (disable via -X gcov) [2023-02-20T04:07:32.965Z] ==> Python coveragepy not found [2023-02-20T04:07:32.965Z] ==> Searching for coverage reports in: [2023-02-20T04:07:32.965Z] + . [2023-02-20T04:07:32.965Z] -> Found 1 reports [2023-02-20T04:07:32.965Z] ==> Detecting git/mercurial file structure [2023-02-20T04:07:32.965Z] ==> Reading reports [2023-02-20T04:07:32.965Z] + ./coverage.out bytes=98531 [2023-02-20T04:07:32.965Z] ==> Appending adjustments [2023-02-20T04:07:32.965Z] https://docs.codecov.io/docs/fixing-reports [2023-02-20T04:07:33.224Z] + Found adjustments [2023-02-20T04:07:33.224Z] ==> Gzipping contents [2023-02-20T04:07:33.224Z] 16K /tmp/codecov.3XJR7m.gz [2023-02-20T04:07:33.224Z] ==> Uploading reports [2023-02-20T04:07:33.224Z] url: https://codecov.io [2023-02-20T04:07:33.224Z] query: branch=PR-1335&commit=0eeb548b3995e0aea6d95448de44b2075fc60440&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1335%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1335&job=&cmd_args= [2023-02-20T04:07:33.224Z] -> Pinging Codecov [2023-02-20T04:07:33.224Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1335&commit=0eeb548b3995e0aea6d95448de44b2075fc60440&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1335%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1335&job=&cmd_args= [2023-02-20T04:07:33.482Z] -> Uploading to [2023-02-20T04:07:33.482Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-20/7E55EF52A471D76F132DFD9A03CDDE97/0eeb548b3995e0aea6d95448de44b2075fc60440/ccf890e8-2083-471a-b572-f95592ad3d44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230220T040733Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0bbe5865d8dd0978d9230a49bf0b5a78a49754696de395b1b924fefb61cb520c [2023-02-20T04:07:33.482Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T04:07:33.482Z] Dload Upload Total Spent Left Speed [2023-02-20T04:07:33.740Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14367 0 0 100 14367 0 45900 --:--:-- --:--:-- --:--:-- 45754 100 14367 0 0 100 14367 0 45900 --:--:-- --:--:-- --:--:-- 45754 [2023-02-20T04:07:33.740Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0eeb548b3995e0aea6d95448de44b2075fc60440 [Pipeline] } [2023-02-20T04:07:33.746Z] 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-20T04:07:34.409Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives ] [2023-02-20T04:07:34.410Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-20T04:07:34.410Z] total 16 [2023-02-20T04:07:34.410Z] drwxr-xr-x 3 root root 4096 Feb 20 03:58 . [2023-02-20T04:07:34.410Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 20 03:58 .. [2023-02-20T04:07:34.410Z] drwxr-xr-x 2 root root 4096 Feb 20 03:58 cost [2023-02-20T04:07:34.410Z] -rw-r--r-- 1 root root 87 Feb 20 03:58 cost.csv [2023-02-20T04:07:34.410Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-20T04:07:34.410Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-20T04:07:34.410Z] total 16 [2023-02-20T04:07:34.410Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 03:58 . [2023-02-20T04:07:34.410Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 20 03:58 .. [2023-02-20T04:07:34.410Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 03:58 cost [2023-02-20T04:07:34.410Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 20 03:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-20T04:07:34.696Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T04:07:35.550Z] ---> package-listing.sh [2023-02-20T04:07:35.550Z] ++ facter osfamily [2023-02-20T04:07:35.550Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-20T04:07:35.808Z] + OS_FAMILY=debian [2023-02-20T04:07:35.808Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1335 [2023-02-20T04:07:35.808Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-20T04:07:35.808Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-20T04:07:35.808Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-20T04:07:35.808Z] + PACKAGES=/tmp/packages_start.txt [2023-02-20T04:07:35.808Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' [2023-02-20T04:07:35.808Z] + PACKAGES=/tmp/packages_end.txt [2023-02-20T04:07:35.808Z] + case "${OS_FAMILY}" in [2023-02-20T04:07:35.808Z] + dpkg -l [2023-02-20T04:07:35.808Z] + grep '^ii' [2023-02-20T04:07:35.808Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-20T04:07:35.808Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-20T04:07:35.808Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-20T04:07:35.808Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' [2023-02-20T04:07:35.808Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ [2023-02-20T04:07:35.808Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ [Pipeline] echo [2023-02-20T04:07:35.818Z] 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-1335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-20T04:07:36.097Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T04:07:36.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T04:07:36.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T04:07:36.717Z] prd-ubuntu20.04-docker-8c-8g-6683 does not seem to be running inside a container [2023-02-20T04:07:36.743Z] $ 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-1335/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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-20T04:07:36.974Z] $ docker top 62e1d1eaee1a1eaab23f08e13cb3fe12dcdc0ceeb5d1b867f5cd9f5a20bd54d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T04:07:37.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-20T04:07:37.615Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-20T04:07:37.912Z] + ls /var/log/sa-host [2023-02-20T04:07:37.912Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T04:07:37.982Z] provisioning config files... [2023-02-20T04:07:37.990Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config6262119646364808601tmp [Pipeline] { [Pipeline] echo [2023-02-20T04:07:38.005Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T04:07:38.290Z] ---> create-netrc.sh [Pipeline] } [2023-02-20T04:07:38.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-20T04:07:38.618Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-20T04:07:38.628Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T04:07:38.986Z] ---> sudo-logs.sh [2023-02-20T04:07:38.986Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-20T04:07:39.051Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T04:07:39.373Z] ---> job-cost.sh [2023-02-20T04:07:39.373Z] lf-activate-venv: SKIPPING [2023-02-20T04:07:39.373Z] DEBUG: total: 0.4399999976158142 [2023-02-20T04:07:39.373Z] INFO: Retrieving Stack Cost... [2023-02-20T04:07:39.650Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T04:07:40.219Z] INFO: Archiving Costs [Pipeline] echo [2023-02-20T04:07:40.232Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T04:07:40.513Z] ---> logs-deploy.sh [2023-02-20T04:07:40.513Z] lf-activate-venv: SKIPPING [2023-02-20T04:07:40.513Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1335/2 [2023-02-20T04:07:40.513Z] INFO: archiving workspace using pattern(s): [2023-02-20T04:07:41.447Z] Archives upload complete. [2023-02-20T04:07:41.447Z] INFO: archiving logs to Nexus