Pull request #1315 opened 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at ec40eb7b3630c03e357b8f00e941d9d3aac805d2 rather than 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 Obtained Jenkinsfile from ec40eb7b3630c03e357b8f00e941d9d3aac805d2 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-ssh5996100408579199209.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-ssh11100542619067559797.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7096785934629205837.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15083646676695144649.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16505759783938553263.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1315/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1315/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9481732337672452070.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5528’ Running on prd-ubuntu20.04-docker-8c-8g-5530 in /w/workspace/gexfoundry_device-sdk-go_PR-1315 [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-1315 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1315/head:refs/remotes/origin/PR-1315 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ec40eb7b3630c03e357b8f00e941d9d3aac805d2 into PR head commit 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 Merge succeeded, producing 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 Checking out Revision 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 (PR-1315) > git config core.sparsecheckout # timeout=10 > git checkout -f 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 # 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 ec40eb7b3630c03e357b8f00e941d9d3aac805d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 # timeout=10 Commit message: "feat!: replace REST provision watcher callbacks with System Events" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T10:28:40.759Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T10:28:40.942Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T10:28:41.052Z] ========================================================= [2023-02-13T10:28:41.052Z] EdgeX Global Pipelines Version Info [2023-02-13T10:28:41.052Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:28:41.799Z] ------------------- [2023-02-13T10:28:41.799Z] stable info: [2023-02-13T10:28:41.799Z] ------------------- [2023-02-13T10:28:41.799Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T10:28:41.799Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T10:28:41.799Z] Message: update stable to v1.0.244 [2023-02-13T10:28:42.371Z] ------------------- [2023-02-13T10:28:42.371Z] experimental info: [2023-02-13T10:28:42.371Z] ------------------- [2023-02-13T10:28:42.371Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T10:28:42.371Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T10:28:42.371Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T10:28:42.657Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-13T10:28:42.705Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-13T10:28:42.747Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T10:28:42.790Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T10:28:42.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T10:28:42.880Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T10:28:42.923Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T10:28:42.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-13T10:28:43.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T10:28:43.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T10:28:43.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T10:28:43.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-13T10:28:43.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T10:28:43.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T10:28:43.255Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T10:28:43.299Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T10:28:43.345Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T10:28:43.390Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T10:28:43.438Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T10:28:43.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T10:28:43.528Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-13T10:28:43.573Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-13T10:28:43.617Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T10:28:43.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T10:28:43.709Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T10:28:43.753Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T10:28:43.792Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T10:28:43.898Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1315 [Pipeline] echo [2023-02-13T10:28:43.934Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1315 [Pipeline] echo [2023-02-13T10:28:43.971Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1315 [Pipeline] echo [2023-02-13T10:28:44.009Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [Pipeline] echo [2023-02-13T10:28:44.047Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24aa776 [Pipeline] echo [2023-02-13T10:28:44.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T10:28:44.198Z] provisioning config files... [2023-02-13T10:28:44.213Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp/config15870606114810066697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:28:44.559Z] ---> docker-login.sh [2023-02-13T10:28:44.560Z] nexus3.edgexfoundry.org:10001 [2023-02-13T10:28:44.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:28:44.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:28:44.820Z] Configure a credential helper to remove this warning. See [2023-02-13T10:28:44.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:28:44.820Z] [2023-02-13T10:28:44.820Z] Login Succeeded [2023-02-13T10:28:44.820Z] nexus3.edgexfoundry.org:10002 [2023-02-13T10:28:44.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:28:45.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:28:45.081Z] Configure a credential helper to remove this warning. See [2023-02-13T10:28:45.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:28:45.081Z] [2023-02-13T10:28:45.081Z] Login Succeeded [2023-02-13T10:28:45.081Z] nexus3.edgexfoundry.org:10003 [2023-02-13T10:28:45.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:28:45.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:28:45.081Z] Configure a credential helper to remove this warning. See [2023-02-13T10:28:45.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:28:45.081Z] [2023-02-13T10:28:45.081Z] Login Succeeded [2023-02-13T10:28:45.081Z] nexus3.edgexfoundry.org:10004 [2023-02-13T10:28:45.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:28:45.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:28:45.342Z] Configure a credential helper to remove this warning. See [2023-02-13T10:28:45.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:28:45.342Z] [2023-02-13T10:28:45.342Z] Login Succeeded [2023-02-13T10:28:45.342Z] docker.io [2023-02-13T10:28:45.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:28:45.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:28:45.604Z] Configure a credential helper to remove this warning. See [2023-02-13T10:28:45.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:28:45.604Z] [2023-02-13T10:28:45.604Z] Login Succeeded [2023-02-13T10:28:45.604Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T10:28:45.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T10:28:46.227Z] + git rev-list -1 --merges 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6~1..24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [Pipeline] echo [2023-02-13T10:28:46.291Z] -----------> git rev-list -1 --merges 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6~1..24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [false] [Pipeline] sh [2023-02-13T10:28:46.605Z] + git log --format=format:%s -1 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [Pipeline] echo [2023-02-13T10:28:46.640Z] ========================================================= [2023-02-13T10:28:46.640Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T10:28:46.640Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T10:28:47.079Z] + git log --format=format:%s -1 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [Pipeline] echo [2023-02-13T10:28:47.114Z] [semverPrep] GIT_COMMIT: 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6, Commit Message: feat!: replace REST provision watcher callbacks with System Events [Pipeline] echo [2023-02-13T10:28:47.143Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T10:28:47.519Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T10:28:47.519Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T10:28:47.519Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T10:28:47.519Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T10:28:47.519Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T10:28:47.519Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T10:28:47.519Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:28:47.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T10:28:47.949Z] [2023-02-13T10:28:47.949Z] 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-13T10:28:48.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T10:28:48.328Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T10:28:48.328Z] b85a868b505f: Pulling fs layer [2023-02-13T10:28:48.328Z] e2be974225ed: Pulling fs layer [2023-02-13T10:28:48.328Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T10:28:48.328Z] 988bab9f4d93: Pulling fs layer [2023-02-13T10:28:48.328Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T10:28:48.328Z] eaf3925da568: Pulling fs layer [2023-02-13T10:28:48.328Z] bab4dde63d76: Pulling fs layer [2023-02-13T10:28:48.328Z] bde34c3a00c8: Pulling fs layer [2023-02-13T10:28:48.328Z] b352a97aabf1: Pulling fs layer [2023-02-13T10:28:48.328Z] 4872d77fe225: Pulling fs layer [2023-02-13T10:28:48.328Z] 5851b861e8e6: Pulling fs layer [2023-02-13T10:28:48.328Z] eaf3925da568: Waiting [2023-02-13T10:28:48.328Z] bab4dde63d76: Waiting [2023-02-13T10:28:48.328Z] bde34c3a00c8: Waiting [2023-02-13T10:28:48.328Z] b352a97aabf1: Waiting [2023-02-13T10:28:48.328Z] 4872d77fe225: Waiting [2023-02-13T10:28:48.328Z] 5851b861e8e6: Waiting [2023-02-13T10:28:48.328Z] 988bab9f4d93: Waiting [2023-02-13T10:28:48.328Z] 1469e6f7b9e6: Waiting [2023-02-13T10:28:48.328Z] e2be974225ed: Verifying Checksum [2023-02-13T10:28:48.328Z] e2be974225ed: Download complete [2023-02-13T10:28:48.328Z] 988bab9f4d93: Download complete [2023-02-13T10:28:48.593Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T10:28:48.593Z] 1469e6f7b9e6: Download complete [2023-02-13T10:28:48.593Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T10:28:48.593Z] 339a4e72a1f5: Download complete [2023-02-13T10:28:48.593Z] eaf3925da568: Download complete [2023-02-13T10:28:48.593Z] bde34c3a00c8: Verifying Checksum [2023-02-13T10:28:48.593Z] bde34c3a00c8: Download complete [2023-02-13T10:28:48.855Z] b352a97aabf1: Verifying Checksum [2023-02-13T10:28:48.855Z] b352a97aabf1: Download complete [2023-02-13T10:28:48.855Z] 4872d77fe225: Verifying Checksum [2023-02-13T10:28:48.855Z] 4872d77fe225: Download complete [2023-02-13T10:28:48.855Z] 5851b861e8e6: Verifying Checksum [2023-02-13T10:28:48.855Z] 5851b861e8e6: Download complete [2023-02-13T10:28:48.855Z] b85a868b505f: Download complete [2023-02-13T10:28:49.113Z] bab4dde63d76: Verifying Checksum [2023-02-13T10:28:49.113Z] bab4dde63d76: Download complete [2023-02-13T10:28:50.051Z] b85a868b505f: Pull complete [2023-02-13T10:28:50.051Z] e2be974225ed: Pull complete [2023-02-13T10:28:50.311Z] 339a4e72a1f5: Pull complete [2023-02-13T10:28:50.572Z] 988bab9f4d93: Pull complete [2023-02-13T10:28:50.831Z] 1469e6f7b9e6: Pull complete [2023-02-13T10:28:50.831Z] eaf3925da568: Pull complete [2023-02-13T10:28:52.737Z] bab4dde63d76: Pull complete [2023-02-13T10:28:52.737Z] bde34c3a00c8: Pull complete [2023-02-13T10:28:52.737Z] b352a97aabf1: Pull complete [2023-02-13T10:28:52.737Z] 4872d77fe225: Pull complete [2023-02-13T10:28:52.737Z] 5851b861e8e6: Pull complete [2023-02-13T10:28:52.737Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T10:28:52.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T10:28:52.737Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T10:28:52.948Z] prd-ubuntu20.04-docker-8c-8g-5530 does not seem to be running inside a container [2023-02-13T10:28:52.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1315 -v /w/workspace/gexfoundry_device-sdk-go_PR-1315:/w/workspace/gexfoundry_device-sdk-go_PR-1315:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1315@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T10:28:54.323Z] $ docker top 80c47434a794a2b76a4bb37356f41c28a805401630d0afc9431dd34d6a2a12cb -eo pid,comm [2023-02-13T10:28:54.375Z] 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-13T10:28:54.375Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T10:28:54.508Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T10:28:54.508Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T10:28:54.634Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T10:28:54.639Z] $ docker exec 80c47434a794a2b76a4bb37356f41c28a805401630d0afc9431dd34d6a2a12cb ssh-agent [2023-02-13T10:28:54.749Z] SSH_AUTH_SOCK=/tmp/ssh-vPHjdgrVcapc/agent.33 [2023-02-13T10:28:54.749Z] SSH_AGENT_PID=39 [2023-02-13T10:28:54.755Z] Running ssh-add (command line suppressed) [2023-02-13T10:28:54.844Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp/private_key_17907790013546606441.key (/w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp/private_key_17907790013546606441.key) [2023-02-13T10:28:54.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T10:28:55.186Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T10:28:55.215Z] $ docker exec --env ******** --env ******** 80c47434a794a2b76a4bb37356f41c28a805401630d0afc9431dd34d6a2a12cb ssh-agent -k [2023-02-13T10:28:55.329Z] unset SSH_AUTH_SOCK; [2023-02-13T10:28:55.330Z] unset SSH_AGENT_PID; [2023-02-13T10:28:55.330Z] echo Agent pid 39 killed; [2023-02-13T10:28:55.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T10:28:55.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T10:28:55.429Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T10:28:55.527Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T10:28:55.531Z] $ docker exec 80c47434a794a2b76a4bb37356f41c28a805401630d0afc9431dd34d6a2a12cb ssh-agent [2023-02-13T10:28:55.629Z] SSH_AUTH_SOCK=/tmp/ssh-AWDgBHO1mj3D/agent.70 [2023-02-13T10:28:55.629Z] SSH_AGENT_PID=76 [2023-02-13T10:28:55.635Z] Running ssh-add (command line suppressed) [2023-02-13T10:28:55.748Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp/private_key_9164940207080524875.key (/w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp/private_key_9164940207080524875.key) [2023-02-13T10:28:55.764Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T10:28:56.103Z] + git semver init [2023-02-13T10:28:56.365Z] 2023-02-13 10:28:56,330 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T10:28:56.365Z] 2023-02-13 10:28:56,332 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1315/.semver [2023-02-13T10:28:56.365Z] 2023-02-13 10:28:56,332 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1315/.semver [2023-02-13T10:28:56.365Z] 2023-02-13 10:28:56,333 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1315/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1315, universal_newlines=False, shell=None, istream=None) [2023-02-13T10:28:57.303Z] 2023-02-13 10:28:57,297 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1315/.git/info/exclude [2023-02-13T10:28:57.303Z] 2023-02-13 10:28:57,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1315/.semver/PR-1315 with force:False [2023-02-13T10:28:57.303Z] 2023-02-13 10:28:57,298 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1315/.semver/PR-1315 [2023-02-13T10:28:57.303Z] 2023-02-13 10:28:57,300 [execute] INFO git cat-file --batch-check [2023-02-13T10:28:57.303Z] 2023-02-13 10:28:57,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1315/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T10:28:57.564Z] 2023-02-13 10:28:57,307 [execute] INFO git cat-file --batch [2023-02-13T10:28:57.564Z] 2023-02-13 10:28:57,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1315/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T10:28:57.564Z] 2023-02-13 10:28:57,313 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1315/.semver/PR-1315 [2023-02-13T10:28:57.564Z] 0.0.0 [Pipeline] } [2023-02-13T10:28:57.592Z] $ docker exec --env ******** --env ******** 80c47434a794a2b76a4bb37356f41c28a805401630d0afc9431dd34d6a2a12cb ssh-agent -k [2023-02-13T10:28:57.690Z] unset SSH_AUTH_SOCK; [2023-02-13T10:28:57.691Z] unset SSH_AGENT_PID; [2023-02-13T10:28:57.691Z] echo Agent pid 76 killed; [2023-02-13T10:28:57.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T10:28:58.123Z] + git semver [Pipeline] } [2023-02-13T10:28:58.414Z] $ docker stop --time=1 80c47434a794a2b76a4bb37356f41c28a805401630d0afc9431dd34d6a2a12cb [2023-02-13T10:28:59.748Z] $ docker rm -f --volumes 80c47434a794a2b76a4bb37356f41c28a805401630d0afc9431dd34d6a2a12cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T10:29:00.147Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T10:29:00.406Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T10:29:00.427Z] [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-13T10:29:01.018Z] provisioning config files... [2023-02-13T10:29:01.028Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp/config15391273017647534239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:29:01.369Z] ---> docker-login.sh [2023-02-13T10:29:01.369Z] nexus3.edgexfoundry.org:10001 [2023-02-13T10:29:01.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:29:01.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:29:01.369Z] Configure a credential helper to remove this warning. See [2023-02-13T10:29:01.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:29:01.369Z] [2023-02-13T10:29:01.369Z] Login Succeeded [2023-02-13T10:29:01.369Z] nexus3.edgexfoundry.org:10002 [2023-02-13T10:29:01.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:29:01.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:29:01.369Z] Configure a credential helper to remove this warning. See [2023-02-13T10:29:01.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:29:01.369Z] [2023-02-13T10:29:01.369Z] Login Succeeded [2023-02-13T10:29:01.369Z] nexus3.edgexfoundry.org:10003 [2023-02-13T10:29:01.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:29:01.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:29:01.629Z] Configure a credential helper to remove this warning. See [2023-02-13T10:29:01.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:29:01.629Z] [2023-02-13T10:29:01.629Z] Login Succeeded [2023-02-13T10:29:01.629Z] nexus3.edgexfoundry.org:10004 [2023-02-13T10:29:01.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:29:01.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:29:01.629Z] Configure a credential helper to remove this warning. See [2023-02-13T10:29:01.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:29:01.629Z] [2023-02-13T10:29:01.629Z] Login Succeeded [2023-02-13T10:29:01.629Z] docker.io [2023-02-13T10:29:01.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:29:01.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:29:01.887Z] Configure a credential helper to remove this warning. See [2023-02-13T10:29:01.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:29:01.887Z] [2023-02-13T10:29:01.887Z] Login Succeeded [2023-02-13T10:29:01.887Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T10:29:01.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T10:29:02.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T10:29:02.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T10:29:02.181Z] ========================================================= [2023-02-13T10:29:02.181Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T10:29:02.181Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:29:02.648Z] + 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-13T10:29:02.649Z] Sending build context to Docker daemon 10.39MB [2023-02-13T10:29:02.649Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T10:29:02.649Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T10:29:04.028Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T10:29:04.029Z] 213ec9aee27d: Pulling fs layer [2023-02-13T10:29:04.029Z] 4583459ba037: Pulling fs layer [2023-02-13T10:29:04.029Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T10:29:04.029Z] 53926ce57604: Pulling fs layer [2023-02-13T10:29:04.029Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T10:29:04.029Z] 22ff95d597cd: Pulling fs layer [2023-02-13T10:29:04.029Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T10:29:04.029Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T10:29:04.029Z] 21b2b0c7a3f4: Waiting [2023-02-13T10:29:04.029Z] 22ff95d597cd: Waiting [2023-02-13T10:29:04.029Z] 12d6caf4c0d1: Waiting [2023-02-13T10:29:04.029Z] 53926ce57604: Waiting [2023-02-13T10:29:04.029Z] 96b7cbca73a9: Waiting [2023-02-13T10:29:04.029Z] a7acece74701: Pulling fs layer [2023-02-13T10:29:04.029Z] a7acece74701: Waiting [2023-02-13T10:29:04.029Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T10:29:04.029Z] 93c1e223e6f2: Download complete [2023-02-13T10:29:04.029Z] 4583459ba037: Verifying Checksum [2023-02-13T10:29:04.029Z] 4583459ba037: Download complete [2023-02-13T10:29:04.029Z] 21b2b0c7a3f4: Download complete [2023-02-13T10:29:04.029Z] 22ff95d597cd: Verifying Checksum [2023-02-13T10:29:04.029Z] 22ff95d597cd: Download complete [2023-02-13T10:29:04.029Z] 213ec9aee27d: Verifying Checksum [2023-02-13T10:29:04.029Z] 213ec9aee27d: Download complete [2023-02-13T10:29:04.029Z] 12d6caf4c0d1: Download complete [2023-02-13T10:29:04.029Z] 213ec9aee27d: Pull complete [2023-02-13T10:29:04.029Z] 4583459ba037: Pull complete [2023-02-13T10:29:04.353Z] 93c1e223e6f2: Pull complete [2023-02-13T10:29:05.374Z] a7acece74701: Verifying Checksum [2023-02-13T10:29:05.374Z] a7acece74701: Download complete [2023-02-13T10:29:05.636Z] 53926ce57604: Verifying Checksum [2023-02-13T10:29:05.636Z] 53926ce57604: Download complete [2023-02-13T10:29:05.894Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T10:29:10.086Z] 53926ce57604: Pull complete [2023-02-13T10:29:10.086Z] 21b2b0c7a3f4: Pull complete [2023-02-13T10:29:10.086Z] 22ff95d597cd: Pull complete [2023-02-13T10:29:10.086Z] 12d6caf4c0d1: Pull complete [2023-02-13T10:29:11.986Z] 96b7cbca73a9: Pull complete [2023-02-13T10:29:12.921Z] a7acece74701: Pull complete [2023-02-13T10:29:12.922Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T10:29:12.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T10:29:12.922Z] ---> db6d94c90886 [2023-02-13T10:29:12.922Z] Step 3/10 : ARG MAKE=make build [2023-02-13T10:29:14.300Z] ---> Running in 251975cfbc62 [2023-02-13T10:29:14.300Z] Removing intermediate container 251975cfbc62 [2023-02-13T10:29:14.300Z] ---> ffb154297fdc [2023-02-13T10:29:14.300Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T10:29:14.300Z] ---> Running in ff0d4fbbdc9b [2023-02-13T10:29:14.558Z] Removing intermediate container ff0d4fbbdc9b [2023-02-13T10:29:14.558Z] ---> 0690aaa35208 [2023-02-13T10:29:14.558Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T10:29:14.558Z] ---> Running in 16992303b16a [2023-02-13T10:29:14.558Z] Removing intermediate container 16992303b16a [2023-02-13T10:29:14.558Z] ---> bbf838f5da0b [2023-02-13T10:29:14.558Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T10:29:14.558Z] ---> Running in ebffe607b5e3 [2023-02-13T10:29:14.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T10:29:15.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T10:29:15.334Z] OK: 211 MiB in 51 packages [2023-02-13T10:29:15.592Z] Removing intermediate container ebffe607b5e3 [2023-02-13T10:29:15.592Z] ---> eb8ca295f0e3 [2023-02-13T10:29:15.592Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T10:29:15.846Z] Still waiting to schedule task [2023-02-13T10:29:15.846Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5529’ [2023-02-13T10:29:15.850Z] ---> 767234220297 [2023-02-13T10:29:15.850Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T10:29:15.850Z] ---> Running in 56553e1e4f8b [2023-02-13T10:30:12.087Z] Removing intermediate container 56553e1e4f8b [2023-02-13T10:30:12.087Z] ---> d34c915fd3d2 [2023-02-13T10:30:12.087Z] Step 9/10 : COPY . . [2023-02-13T10:30:12.087Z] ---> 34bcc4292fa5 [2023-02-13T10:30:12.087Z] Step 10/10 : RUN ${MAKE} [2023-02-13T10:30:12.087Z] ---> Running in 20bb4209271e [2023-02-13T10:30:12.087Z] noop [2023-02-13T10:30:12.087Z] Removing intermediate container 20bb4209271e [2023-02-13T10:30:12.087Z] ---> 9b2e5afd8539 [2023-02-13T10:30:12.087Z] Successfully built 9b2e5afd8539 [2023-02-13T10:30:12.087Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:30:12.531Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T10:30:12.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T10:30:12.682Z] prd-ubuntu20.04-docker-8c-8g-5530 does not seem to be running inside a container [2023-02-13T10:30:12.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1315 -v /w/workspace/gexfoundry_device-sdk-go_PR-1315:/w/workspace/gexfoundry_device-sdk-go_PR-1315:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1315@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 ******** ci-base-image-x86_64 cat [2023-02-13T10:30:13.087Z] $ docker top bb1d30e3d8903247006744112a86b808533f0a7e42fdfb9902590cb4e1e43259 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T10:30:13.478Z] + go version [2023-02-13T10:30:13.478Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T10:30:13.512Z] $ docker stop --time=1 bb1d30e3d8903247006744112a86b808533f0a7e42fdfb9902590cb4e1e43259 [2023-02-13T10:30:14.807Z] $ docker rm -f --volumes bb1d30e3d8903247006744112a86b808533f0a7e42fdfb9902590cb4e1e43259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:30:15.521Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T10:30:15.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T10:30:15.670Z] prd-ubuntu20.04-docker-8c-8g-5530 does not seem to be running inside a container [2023-02-13T10:30:15.700Z] $ 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-1315 -v /w/workspace/gexfoundry_device-sdk-go_PR-1315:/w/workspace/gexfoundry_device-sdk-go_PR-1315:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1315@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 ******** ci-base-image-x86_64 cat [2023-02-13T10:30:16.091Z] $ docker top de90d1a1db31c3604a3202e78196ec9d2aa1876f204990f4cc1d3f265c868de6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T10:30:16.482Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1315 [Pipeline] fileExists [Pipeline] sh [2023-02-13T10:30:16.846Z] + make test [2023-02-13T10:30:16.846Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T10:30:23.410Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T10:30:38.282Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.075s coverage: 27.6% of statements [2023-02-13T10:30:38.282Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.053s coverage: 78.9% of statements [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T10:30:38.282Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.113s coverage: 77.8% of statements [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T10:30:38.282Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 72.4% of statements [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T10:30:38.282Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.096s coverage: 65.2% of statements [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T10:30:38.282Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.772s coverage: 89.2% of statements [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T10:30:38.282Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 4.7% of statements [2023-02-13T10:30:38.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T10:30:56.371Z] 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-13T10:30:56.371Z] GO111MODULE=on go vet ./... [2023-02-13T10:30:57.305Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T10:30:57.305Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T10:30:57.305Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T10:30:57.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T10:30:57.620Z] $ docker stop --time=1 de90d1a1db31c3604a3202e78196ec9d2aa1876f204990f4cc1d3f265c868de6 [2023-02-13T10:30:59.622Z] $ docker rm -f --volumes de90d1a1db31c3604a3202e78196ec9d2aa1876f204990f4cc1d3f265c868de6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T10:31:00.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T10:31:00.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T10:31:00.911Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T10:31:01.219Z] + ls -al . [2023-02-13T10:31:01.219Z] total 272 [2023-02-13T10:31:01.219Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 10:30 . [2023-02-13T10:31:01.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 10:28 .. [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 10:28 .dockerignore [2023-02-13T10:31:01.219Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 10:30 .git [2023-02-13T10:31:01.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 10:28 .github [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 10:28 .gitignore [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 10:28 .golangci.yml [2023-02-13T10:31:01.219Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 10:28 .semver [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 10:28 CHANGELOG.md [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 10:28 GOVERNANCE.md [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 10:28 Jenkinsfile [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 10:28 LICENSE [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 10:28 Makefile [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 10:28 OWNERS.md [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 10:28 README.md [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 10:29 VERSION [2023-02-13T10:31:01.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 10:28 bin [2023-02-13T10:31:01.219Z] -rw-r--r-- 1 jenkins jenkins 99163 Feb 13 10:30 coverage.out [2023-02-13T10:31:01.219Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 10:28 example [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 10:28 go.mod [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 10:28 go.sum [2023-02-13T10:31:01.219Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 10:28 internal [2023-02-13T10:31:01.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 10:28 openapi [2023-02-13T10:31:01.219Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 10:28 pkg [2023-02-13T10:31:01.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 10:28 snap [2023-02-13T10:31:01.219Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 10:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:31:01.615Z] + 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=24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 --label arch=amd64 --label version=0.0.0 . [2023-02-13T10:31:01.616Z] Sending build context to Docker daemon 10.49MB [2023-02-13T10:31:01.616Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T10:31:01.616Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T10:31:01.616Z] ---> 9b2e5afd8539 [2023-02-13T10:31:01.616Z] Step 3/23 : ARG MAKE=make build [2023-02-13T10:31:01.616Z] ---> Running in 87beef71b9d3 [2023-02-13T10:31:01.877Z] Removing intermediate container 87beef71b9d3 [2023-02-13T10:31:01.877Z] ---> 421ed6d7ddd5 [2023-02-13T10:31:01.877Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T10:31:01.877Z] ---> Running in 0352aa2a8f5f [2023-02-13T10:31:01.877Z] Removing intermediate container 0352aa2a8f5f [2023-02-13T10:31:01.877Z] ---> 5ae74ca16332 [2023-02-13T10:31:01.877Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T10:31:01.877Z] ---> Running in 7beba7258f4b [2023-02-13T10:31:02.136Z] Removing intermediate container 7beba7258f4b [2023-02-13T10:31:02.136Z] ---> 90a4f436f117 [2023-02-13T10:31:02.136Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T10:31:02.136Z] ---> Running in 428028af18c1 [2023-02-13T10:31:02.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T10:31:02.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T10:31:02.913Z] OK: 211 MiB in 51 packages [2023-02-13T10:31:03.173Z] Removing intermediate container 428028af18c1 [2023-02-13T10:31:03.173Z] ---> a46fe00d9973 [2023-02-13T10:31:03.173Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T10:31:03.173Z] ---> bb69f32159a6 [2023-02-13T10:31:03.173Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T10:31:03.173Z] ---> Running in a33cf04dcde2 [2023-02-13T10:31:04.107Z] Removing intermediate container a33cf04dcde2 [2023-02-13T10:31:04.107Z] ---> 0778fa887c2e [2023-02-13T10:31:04.107Z] Step 9/23 : COPY . . [2023-02-13T10:31:04.672Z] ---> 31b0d09fb369 [2023-02-13T10:31:04.672Z] Step 10/23 : RUN ${MAKE} [2023-02-13T10:31:04.672Z] ---> Running in 74a2eb60cf99 [2023-02-13T10:31:04.930Z] 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-13T10:31:26.855Z] Removing intermediate container 74a2eb60cf99 [2023-02-13T10:31:26.855Z] ---> b1392f14c58f [2023-02-13T10:31:26.855Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T10:31:26.855Z] 3.16: Pulling from library/alpine [2023-02-13T10:31:26.855Z] ef5531b6e74e: Pulling fs layer [2023-02-13T10:31:26.855Z] ef5531b6e74e: Verifying Checksum [2023-02-13T10:31:26.855Z] ef5531b6e74e: Download complete [2023-02-13T10:31:26.855Z] ef5531b6e74e: Pull complete [2023-02-13T10:31:26.855Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T10:31:26.855Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T10:31:26.855Z] ---> dfd21b5a31f5 [2023-02-13T10:31:26.855Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T10:31:26.855Z] ---> Running in 8e3716546d48 [2023-02-13T10:31:26.855Z] Removing intermediate container 8e3716546d48 [2023-02-13T10:31:26.855Z] ---> eb0c96b9348e [2023-02-13T10:31:26.855Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T10:31:26.855Z] ---> Running in 98f0d6380bc5 [2023-02-13T10:31:26.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T10:31:26.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T10:31:26.855Z] OK: 6 MiB in 14 packages [2023-02-13T10:31:26.855Z] Removing intermediate container 98f0d6380bc5 [2023-02-13T10:31:26.855Z] ---> 43706ffb5f6b [2023-02-13T10:31:26.855Z] Step 14/23 : WORKDIR / [2023-02-13T10:31:26.855Z] ---> Running in 77c0a07f6ca0 [2023-02-13T10:31:26.855Z] Removing intermediate container 77c0a07f6ca0 [2023-02-13T10:31:26.855Z] ---> 8f8d28cf9bab [2023-02-13T10:31:26.855Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T10:31:26.855Z] ---> 4cce97fdc755 [2023-02-13T10:31:26.855Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T10:31:26.855Z] ---> d46e601ce7fb [2023-02-13T10:31:26.855Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T10:31:26.855Z] ---> 32ec860e3d5e [2023-02-13T10:31:26.855Z] Step 18/23 : EXPOSE 59999 [2023-02-13T10:31:26.855Z] ---> Running in 22f4c5290e21 [2023-02-13T10:31:26.855Z] Removing intermediate container 22f4c5290e21 [2023-02-13T10:31:26.855Z] ---> 8298b715d640 [2023-02-13T10:31:26.855Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T10:31:26.855Z] ---> Running in 9b7667542cb9 [2023-02-13T10:31:26.855Z] Removing intermediate container 9b7667542cb9 [2023-02-13T10:31:26.855Z] ---> d3e5f2cdacd7 [2023-02-13T10:31:26.855Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T10:31:26.855Z] ---> Running in 758d8378e0b7 [2023-02-13T10:31:26.855Z] Removing intermediate container 758d8378e0b7 [2023-02-13T10:31:26.855Z] ---> f13c6c464257 [2023-02-13T10:31:26.855Z] Step 21/23 : LABEL arch=amd64 [2023-02-13T10:31:26.855Z] ---> Running in fbb5857dd011 [2023-02-13T10:31:26.855Z] Removing intermediate container fbb5857dd011 [2023-02-13T10:31:26.855Z] ---> 3a6e50231a0c [2023-02-13T10:31:26.855Z] Step 22/23 : LABEL git_sha=24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [2023-02-13T10:31:27.114Z] ---> Running in 31bbb0cb6662 [2023-02-13T10:31:27.114Z] Removing intermediate container 31bbb0cb6662 [2023-02-13T10:31:27.114Z] ---> 3f3100c5403f [2023-02-13T10:31:27.114Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T10:31:27.114Z] ---> Running in 90a5c3a77397 [2023-02-13T10:31:27.114Z] Removing intermediate container 90a5c3a77397 [2023-02-13T10:31:27.114Z] ---> 1db9b4dd03f1 [2023-02-13T10:31:27.114Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T10:31:27.114Z] Successfully built 1db9b4dd03f1 [2023-02-13T10:31:27.114Z] 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-13T10:31:27.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T10:31:27.956Z] [2023-02-13T10:31:27.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:31:28.334Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T10:31:28.334Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T10:31:28.334Z] 5eb5b503b376: Pulling fs layer [2023-02-13T10:31:28.334Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T10:31:28.334Z] ec43610c2a17: Pulling fs layer [2023-02-13T10:31:28.334Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T10:31:28.334Z] 33b1e0a273af: Pulling fs layer [2023-02-13T10:31:28.334Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T10:31:28.334Z] 2f39f015ded8: Pulling fs layer [2023-02-13T10:31:28.334Z] 33b1e0a273af: Waiting [2023-02-13T10:31:28.334Z] 5d3b04190fa2: Waiting [2023-02-13T10:31:28.334Z] 2f39f015ded8: Waiting [2023-02-13T10:31:28.334Z] 3a2ae6a8a46f: Waiting [2023-02-13T10:31:28.334Z] 5c69ac0246d0: Download complete [2023-02-13T10:31:28.334Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T10:31:28.334Z] 3a2ae6a8a46f: Download complete [2023-02-13T10:31:28.598Z] 33b1e0a273af: Verifying Checksum [2023-02-13T10:31:28.598Z] 33b1e0a273af: Download complete [2023-02-13T10:31:28.598Z] 5d3b04190fa2: Download complete [2023-02-13T10:31:28.598Z] ec43610c2a17: Verifying Checksum [2023-02-13T10:31:28.598Z] ec43610c2a17: Download complete [2023-02-13T10:31:28.857Z] 5eb5b503b376: Verifying Checksum [2023-02-13T10:31:28.857Z] 5eb5b503b376: Download complete [2023-02-13T10:31:29.424Z] 2f39f015ded8: Download complete [2023-02-13T10:31:29.990Z] 5eb5b503b376: Pull complete [2023-02-13T10:31:29.990Z] 5c69ac0246d0: Pull complete [2023-02-13T10:31:30.556Z] ec43610c2a17: Pull complete [2023-02-13T10:31:30.556Z] 3a2ae6a8a46f: Pull complete [2023-02-13T10:31:30.814Z] 33b1e0a273af: Pull complete [2023-02-13T10:31:30.814Z] 5d3b04190fa2: Pull complete [2023-02-13T10:31:35.002Z] 2f39f015ded8: Pull complete [2023-02-13T10:31:35.002Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T10:31:35.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T10:31:35.002Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T10:31:35.213Z] prd-ubuntu20.04-docker-8c-8g-5530 does not seem to be running inside a container [2023-02-13T10:31:35.245Z] $ 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-1315 -v /w/workspace/gexfoundry_device-sdk-go_PR-1315:/w/workspace/gexfoundry_device-sdk-go_PR-1315:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T10:31:37.253Z] $ docker top a7cb91c9fa5985cac55a29e0b09174da35cea1a9c4f008b3c0b9d007985c943a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:31:37.719Z] ---> job-cost.sh [2023-02-13T10:31:37.719Z] lf-activate-venv: SKIPPING [2023-02-13T10:31:37.719Z] INFO: No Stack... [2023-02-13T10:31:37.977Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T10:31:38.547Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T10:31:38.864Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1315/archives/cost.csv [2023-02-13T10:31:38.864Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T10:31:38.901Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1315-1-stack-cost] [2023-02-13T10:31:38.906Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1315-1-stack-cost] did not exist. Created. [2023-02-13T10:31:38.906Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T10:31:39.304Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T10:31:39.363Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T10:31:39.394Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1315-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T10:31:39.478Z] $ docker stop --time=1 a7cb91c9fa5985cac55a29e0b09174da35cea1a9c4f008b3c0b9d007985c943a [2023-02-13T10:31:40.633Z] $ docker rm -f --volumes a7cb91c9fa5985cac55a29e0b09174da35cea1a9c4f008b3c0b9d007985c943a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T10:32:48.196Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5531 in /w/workspace/gexfoundry_device-sdk-go_PR-1315 [Pipeline] { [Pipeline] ws [2023-02-13T10:32:48.258Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-13T10:32:48.330Z] The recommended git tool is: git [2023-02-13T10:32:53.412Z] using credential edgex-jenkins-ssh [2023-02-13T10:32:53.433Z] Cloning the remote Git repository [2023-02-13T10:32:53.482Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T10:32:53.561Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-13T10:32:53.723Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T10:32:53.724Z] > git --version # timeout=10 [2023-02-13T10:32:53.745Z] > git --version # 'git version 2.25.1' [2023-02-13T10:32:53.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T10:32:53.803Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T10:32:55.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T10:32:55.420Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T10:32:56.289Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T10:32:56.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T10:32:56.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T10:32:56.357Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1315/head:refs/remotes/origin/PR-1315 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T10:32:57.063Z] Merging remotes/origin/main commit ec40eb7b3630c03e357b8f00e941d9d3aac805d2 into PR head commit 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [2023-02-13T10:32:57.339Z] Merge succeeded, producing 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [2023-02-13T10:32:57.340Z] Checking out Revision 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 (PR-1315) [2023-02-13T10:32:57.083Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T10:32:57.106Z] > git checkout -f 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 # timeout=10 [2023-02-13T10:32:57.229Z] > git remote # timeout=10 [2023-02-13T10:32:57.255Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T10:32:57.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T10:32:57.292Z] > git merge ec40eb7b3630c03e357b8f00e941d9d3aac805d2 # timeout=10 [2023-02-13T10:32:57.319Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T10:32:57.347Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T10:32:57.361Z] > git checkout -f 24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 # timeout=10 [2023-02-13T10:33:00.896Z] Commit message: "feat!: replace REST provision watcher callbacks with System Events" [2023-02-13T10:33:00.952Z] > git --version # timeout=10 [2023-02-13T10:33:00.964Z] > git --version # 'git version 2.25.1' [2023-02-13T10:33:00.981Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T10:33:02.185Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T10:33:02.185Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T10:33:02.185Z] Dload Upload Total Spent Left Speed [2023-02-13T10:33:02.185Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-02-13T10:33:02.953Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T10:33:03.306Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T10:33:03.306Z] + sudo tee /etc/docker/daemon.new [2023-02-13T10:33:03.306Z] { [2023-02-13T10:33:03.306Z] "registry-mirrors": [ [2023-02-13T10:33:03.306Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T10:33:03.306Z] ], [2023-02-13T10:33:03.306Z] "bip": "10.250.0.254/24", [2023-02-13T10:33:03.306Z] "hosts": [ [2023-02-13T10:33:03.306Z] "tcp://0.0.0.0:5555", [2023-02-13T10:33:03.306Z] "unix:///var/run/docker.sock" [2023-02-13T10:33:03.306Z] ], [2023-02-13T10:33:03.306Z] "mtu": 1458, [2023-02-13T10:33:03.306Z] "selinux-enabled": true, [2023-02-13T10:33:03.306Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T10:33:03.306Z] } [Pipeline] sh [2023-02-13T10:33:03.664Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T10:33:04.024Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T10:33:22.374Z] provisioning config files... [2023-02-13T10:33:22.406Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14385945920603509219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:33:22.803Z] ---> docker-login.sh [2023-02-13T10:33:22.803Z] nexus3.edgexfoundry.org:10001 [2023-02-13T10:33:23.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:33:23.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:33:23.389Z] Configure a credential helper to remove this warning. See [2023-02-13T10:33:23.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:33:23.389Z] [2023-02-13T10:33:23.389Z] Login Succeeded [2023-02-13T10:33:23.389Z] nexus3.edgexfoundry.org:10002 [2023-02-13T10:33:23.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:33:23.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:33:23.926Z] Configure a credential helper to remove this warning. See [2023-02-13T10:33:23.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:33:23.926Z] [2023-02-13T10:33:23.926Z] Login Succeeded [2023-02-13T10:33:23.926Z] nexus3.edgexfoundry.org:10003 [2023-02-13T10:33:23.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:33:24.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:33:24.195Z] Configure a credential helper to remove this warning. See [2023-02-13T10:33:24.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:33:24.195Z] [2023-02-13T10:33:24.195Z] Login Succeeded [2023-02-13T10:33:24.195Z] nexus3.edgexfoundry.org:10004 [2023-02-13T10:33:24.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:33:24.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:33:24.471Z] Configure a credential helper to remove this warning. See [2023-02-13T10:33:24.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:33:24.471Z] [2023-02-13T10:33:24.471Z] Login Succeeded [2023-02-13T10:33:24.471Z] docker.io [2023-02-13T10:33:24.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T10:33:25.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T10:33:25.004Z] Configure a credential helper to remove this warning. See [2023-02-13T10:33:25.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T10:33:25.004Z] [2023-02-13T10:33:25.004Z] Login Succeeded [2023-02-13T10:33:25.004Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T10:33:25.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T10:33:25.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T10:33:25.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T10:33:25.524Z] ========================================================= [2023-02-13T10:33:25.524Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T10:33:25.524Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:33:26.020Z] + 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-13T10:33:26.291Z] Sending build context to Docker daemon 5.591MB [2023-02-13T10:33:26.291Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T10:33:26.562Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T10:33:26.562Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T10:33:26.562Z] 9b18e9b68314: Pulling fs layer [2023-02-13T10:33:26.562Z] 35d82f9e3411: Pulling fs layer [2023-02-13T10:33:26.562Z] e16973657156: Pulling fs layer [2023-02-13T10:33:26.562Z] fc693d55d65f: Pulling fs layer [2023-02-13T10:33:26.562Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T10:33:26.562Z] dda99020689f: Pulling fs layer [2023-02-13T10:33:26.562Z] db1c61fa0a46: Pulling fs layer [2023-02-13T10:33:26.562Z] 891c053d2c06: Pulling fs layer [2023-02-13T10:33:26.562Z] fc693d55d65f: Waiting [2023-02-13T10:33:26.562Z] dda99020689f: Waiting [2023-02-13T10:33:26.562Z] 7e9fc2657dce: Waiting [2023-02-13T10:33:26.562Z] db1c61fa0a46: Waiting [2023-02-13T10:33:26.562Z] 891c053d2c06: Waiting [2023-02-13T10:33:26.562Z] e16973657156: Download complete [2023-02-13T10:33:26.562Z] 35d82f9e3411: Verifying Checksum [2023-02-13T10:33:26.562Z] 35d82f9e3411: Download complete [2023-02-13T10:33:26.562Z] 7e9fc2657dce: Download complete [2023-02-13T10:33:26.562Z] dda99020689f: Verifying Checksum [2023-02-13T10:33:26.562Z] dda99020689f: Download complete [2023-02-13T10:33:26.832Z] 9b18e9b68314: Verifying Checksum [2023-02-13T10:33:26.832Z] 9b18e9b68314: Download complete [2023-02-13T10:33:27.430Z] 9b18e9b68314: Pull complete [2023-02-13T10:33:27.709Z] 891c053d2c06: Verifying Checksum [2023-02-13T10:33:27.709Z] 891c053d2c06: Download complete [2023-02-13T10:33:27.978Z] 35d82f9e3411: Pull complete [2023-02-13T10:33:28.247Z] e16973657156: Pull complete [2023-02-13T10:33:28.835Z] db1c61fa0a46: Verifying Checksum [2023-02-13T10:33:28.835Z] db1c61fa0a46: Download complete [2023-02-13T10:33:29.419Z] fc693d55d65f: Verifying Checksum [2023-02-13T10:33:29.419Z] fc693d55d65f: Download complete [2023-02-13T10:33:41.742Z] fc693d55d65f: Pull complete [2023-02-13T10:33:41.742Z] 7e9fc2657dce: Pull complete [2023-02-13T10:33:41.742Z] dda99020689f: Pull complete [2023-02-13T10:33:45.994Z] db1c61fa0a46: Pull complete [2023-02-13T10:33:46.967Z] 891c053d2c06: Pull complete [2023-02-13T10:33:46.967Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T10:33:46.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T10:33:46.967Z] ---> f96f9c87975a [2023-02-13T10:33:46.967Z] Step 3/10 : ARG MAKE=make build [2023-02-13T10:33:48.933Z] ---> Running in 16c3c04327e6 [2023-02-13T10:33:49.202Z] Removing intermediate container 16c3c04327e6 [2023-02-13T10:33:49.202Z] ---> 883c9daa1681 [2023-02-13T10:33:49.202Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T10:33:49.202Z] ---> Running in bebce8903c89 [2023-02-13T10:33:49.476Z] Removing intermediate container bebce8903c89 [2023-02-13T10:33:49.476Z] ---> b03169c3e59f [2023-02-13T10:33:49.476Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T10:33:49.744Z] ---> Running in 842e47cac9cb [2023-02-13T10:33:50.016Z] Removing intermediate container 842e47cac9cb [2023-02-13T10:33:50.016Z] ---> 35750b3bf1d8 [2023-02-13T10:33:50.016Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T10:33:50.016Z] ---> Running in 99d2c74190ee [2023-02-13T10:33:51.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T10:33:51.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T10:33:52.668Z] OK: 221 MiB in 51 packages [2023-02-13T10:33:53.643Z] Removing intermediate container 99d2c74190ee [2023-02-13T10:33:53.643Z] ---> 6a0481bbfb7f [2023-02-13T10:33:53.643Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T10:33:55.060Z] ---> 9bd66a98480f [2023-02-13T10:33:55.060Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T10:33:55.060Z] ---> Running in 3be17c3ccfc9 [2023-02-13T10:34:51.458Z] Removing intermediate container 3be17c3ccfc9 [2023-02-13T10:34:51.458Z] ---> e62c7ed22aa7 [2023-02-13T10:34:51.458Z] Step 9/10 : COPY . . [2023-02-13T10:34:52.417Z] ---> e0bb9dbb4919 [2023-02-13T10:34:52.418Z] Step 10/10 : RUN ${MAKE} [2023-02-13T10:34:52.418Z] ---> Running in c6fd5b81625e [2023-02-13T10:34:53.390Z] noop [2023-02-13T10:34:53.990Z] Removing intermediate container c6fd5b81625e [2023-02-13T10:34:53.990Z] ---> 0cdccdb2190e [2023-02-13T10:34:53.990Z] Successfully built 0cdccdb2190e [2023-02-13T10:34:53.990Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:34:54.471Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T10:34:54.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T10:34:54.758Z] prd-ubuntu20.04-docker-arm64-4c-16g-5531 does not seem to be running inside a container [2023-02-13T10:34:54.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-02-13T10:34:56.067Z] $ docker top e619a4a94865bcc8fe4b229b19b7790321607e1e2b534d633698204ae8271543 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T10:34:56.988Z] + go version [2023-02-13T10:34:56.988Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T10:34:57.024Z] $ docker stop --time=1 e619a4a94865bcc8fe4b229b19b7790321607e1e2b534d633698204ae8271543 [2023-02-13T10:35:00.375Z] $ docker rm -f --volumes e619a4a94865bcc8fe4b229b19b7790321607e1e2b534d633698204ae8271543 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:35:01.312Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T10:35:01.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T10:35:01.577Z] prd-ubuntu20.04-docker-arm64-4c-16g-5531 does not seem to be running inside a container [2023-02-13T10:35:01.646Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-02-13T10:35:02.954Z] $ docker top fc6a06e6f5561b5c28c2b2786ba22c50b49ddeb3e89269811b797a31a7ff8b36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T10:35:03.847Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T10:35:04.560Z] + make test [2023-02-13T10:35:04.560Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T10:35:43.457Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T10:37:50.167Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T10:37:50.167Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T10:37:50.167Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T10:37:50.167Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T10:37:50.167Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T10:37:50.167Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.485s coverage: 27.6% of statements [2023-02-13T10:37:51.136Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.581s coverage: 78.9% of statements [2023-02-13T10:37:51.136Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T10:37:59.356Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.956s coverage: 77.8% of statements [2023-02-13T10:37:59.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T10:37:59.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T10:38:00.768Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.533s coverage: 72.4% of statements [2023-02-13T10:38:00.768Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T10:38:00.768Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T10:38:00.768Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T10:38:02.178Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.615s coverage: 65.2% of statements [2023-02-13T10:38:02.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T10:38:02.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T10:38:02.178Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.583s coverage: 89.2% of statements [2023-02-13T10:38:02.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T10:38:02.448Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 4.7% of statements [2023-02-13T10:38:02.448Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T10:38:03.413Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T10:38:03.413Z] GO111MODULE=on go vet ./... [2023-02-13T10:39:40.137Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T10:39:40.407Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T10:39:40.678Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T10:39:40.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T10:39:41.008Z] $ docker stop --time=1 fc6a06e6f5561b5c28c2b2786ba22c50b49ddeb3e89269811b797a31a7ff8b36 [2023-02-13T10:39:42.921Z] $ docker rm -f --volumes fc6a06e6f5561b5c28c2b2786ba22c50b49ddeb3e89269811b797a31a7ff8b36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T10:39:44.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T10:39:44.461Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T10:39:45.087Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T10:39:45.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T10:39:46.024Z] + ls -al . [2023-02-13T10:39:46.024Z] total 268 [2023-02-13T10:39:46.024Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 10:35 . [2023-02-13T10:39:46.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 10:32 .. [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 10:32 .dockerignore [2023-02-13T10:39:46.024Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 10:32 .git [2023-02-13T10:39:46.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 10:32 .github [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 10:32 .gitignore [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 10:32 .golangci.yml [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 10:32 CHANGELOG.md [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 10:32 GOVERNANCE.md [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 10:32 Jenkinsfile [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 10:32 LICENSE [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 10:32 Makefile [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 10:32 OWNERS.md [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 10:32 README.md [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 10:29 VERSION [2023-02-13T10:39:46.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 10:32 bin [2023-02-13T10:39:46.024Z] -rw-r--r-- 1 jenkins jenkins 99163 Feb 13 10:38 coverage.out [2023-02-13T10:39:46.024Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 10:32 example [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 10:32 go.mod [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 10:32 go.sum [2023-02-13T10:39:46.024Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 10:32 internal [2023-02-13T10:39:46.024Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 10:32 openapi [2023-02-13T10:39:46.024Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 10:32 pkg [2023-02-13T10:39:46.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 10:32 snap [2023-02-13T10:39:46.024Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 10:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:39:46.540Z] + 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=24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 --label arch=arm64 --label version=0.0.0 . [2023-02-13T10:39:47.158Z] Sending build context to Docker daemon 5.691MB [2023-02-13T10:39:47.158Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T10:39:47.158Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T10:39:47.158Z] ---> 0cdccdb2190e [2023-02-13T10:39:47.158Z] Step 3/23 : ARG MAKE=make build [2023-02-13T10:39:47.158Z] ---> Running in b46f55cbd078 [2023-02-13T10:39:47.440Z] Removing intermediate container b46f55cbd078 [2023-02-13T10:39:47.440Z] ---> e4a5203eee5d [2023-02-13T10:39:47.440Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T10:39:47.729Z] ---> Running in 97b2bc0025a1 [2023-02-13T10:39:48.002Z] Removing intermediate container 97b2bc0025a1 [2023-02-13T10:39:48.002Z] ---> 69cf77fcba87 [2023-02-13T10:39:48.002Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T10:39:48.002Z] ---> Running in 9a54f403e0f9 [2023-02-13T10:39:48.286Z] Removing intermediate container 9a54f403e0f9 [2023-02-13T10:39:48.286Z] ---> f3e196f14e8c [2023-02-13T10:39:48.286Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T10:39:48.563Z] ---> Running in 36d6437dd81f [2023-02-13T10:39:49.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T10:39:49.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T10:39:51.227Z] OK: 221 MiB in 51 packages [2023-02-13T10:39:52.641Z] Removing intermediate container 36d6437dd81f [2023-02-13T10:39:52.641Z] ---> c740a362bef0 [2023-02-13T10:39:52.641Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T10:39:53.232Z] ---> ab23906b95ef [2023-02-13T10:39:53.232Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T10:39:53.232Z] ---> Running in bd2b6adaab51 [2023-02-13T10:39:55.828Z] Removing intermediate container bd2b6adaab51 [2023-02-13T10:39:55.828Z] ---> ebb3e4a1bab5 [2023-02-13T10:39:55.828Z] Step 9/23 : COPY . . [2023-02-13T10:39:57.247Z] ---> e5eee015166b [2023-02-13T10:39:57.247Z] Step 10/23 : RUN ${MAKE} [2023-02-13T10:39:57.247Z] ---> Running in fc4d0b0b7b2f [2023-02-13T10:39:58.208Z] 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-13T10:42:07.885Z] Removing intermediate container fc4d0b0b7b2f [2023-02-13T10:42:07.885Z] ---> 7090c92e026b [2023-02-13T10:42:07.885Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T10:42:07.885Z] 3.16: Pulling from library/alpine [2023-02-13T10:42:07.885Z] 3760b48202b3: Pulling fs layer [2023-02-13T10:42:07.885Z] 3760b48202b3: Verifying Checksum [2023-02-13T10:42:07.885Z] 3760b48202b3: Download complete [2023-02-13T10:42:07.885Z] 3760b48202b3: Pull complete [2023-02-13T10:42:07.885Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T10:42:07.885Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T10:42:07.885Z] ---> 4c81e5bf8899 [2023-02-13T10:42:07.885Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T10:42:07.885Z] ---> Running in 185f0fda7c60 [2023-02-13T10:42:07.885Z] Removing intermediate container 185f0fda7c60 [2023-02-13T10:42:07.885Z] ---> 57b97984a860 [2023-02-13T10:42:07.885Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T10:42:07.885Z] ---> Running in ef52c8775ead [2023-02-13T10:42:08.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T10:42:09.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T10:42:10.079Z] OK: 5 MiB in 14 packages [2023-02-13T10:42:12.032Z] Removing intermediate container ef52c8775ead [2023-02-13T10:42:12.032Z] ---> 524c6d3fb65d [2023-02-13T10:42:12.032Z] Step 14/23 : WORKDIR / [2023-02-13T10:42:12.032Z] ---> Running in 619a367f2cf4 [2023-02-13T10:42:12.032Z] Removing intermediate container 619a367f2cf4 [2023-02-13T10:42:12.032Z] ---> a308fb795660 [2023-02-13T10:42:12.032Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T10:42:12.623Z] ---> e2c217bf1c93 [2023-02-13T10:42:12.623Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T10:42:14.031Z] ---> 5ac465d69ceb [2023-02-13T10:42:14.031Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T10:42:14.617Z] ---> 6f3ae1ca285a [2023-02-13T10:42:14.617Z] Step 18/23 : EXPOSE 59999 [2023-02-13T10:42:14.617Z] ---> Running in 2cb0a4c4ec1b [2023-02-13T10:42:14.885Z] Removing intermediate container 2cb0a4c4ec1b [2023-02-13T10:42:14.885Z] ---> 39d3aec239c1 [2023-02-13T10:42:14.885Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T10:42:15.155Z] ---> Running in d796ee09fa4a [2023-02-13T10:42:15.422Z] Removing intermediate container d796ee09fa4a [2023-02-13T10:42:15.422Z] ---> b59199aab4dc [2023-02-13T10:42:15.422Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T10:42:15.422Z] ---> Running in 32437488e72a [2023-02-13T10:42:15.702Z] Removing intermediate container 32437488e72a [2023-02-13T10:42:15.702Z] ---> 183ab6378b8f [2023-02-13T10:42:15.702Z] Step 21/23 : LABEL arch=arm64 [2023-02-13T10:42:15.702Z] ---> Running in 4734d8f05057 [2023-02-13T10:42:15.976Z] Removing intermediate container 4734d8f05057 [2023-02-13T10:42:15.976Z] ---> e043c6532279 [2023-02-13T10:42:15.976Z] Step 22/23 : LABEL git_sha=24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [2023-02-13T10:42:16.244Z] ---> Running in e0db8ad671b5 [2023-02-13T10:42:16.512Z] Removing intermediate container e0db8ad671b5 [2023-02-13T10:42:16.512Z] ---> 2b53d8aad497 [2023-02-13T10:42:16.512Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T10:42:16.512Z] ---> Running in 0100d1c412a2 [2023-02-13T10:42:16.781Z] Removing intermediate container 0100d1c412a2 [2023-02-13T10:42:16.781Z] ---> 00d7fab39dab [2023-02-13T10:42:16.781Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T10:42:16.781Z] Successfully built 00d7fab39dab [2023-02-13T10:42:17.050Z] 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-13T10:42:17.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T10:42:17.830Z] [2023-02-13T10:42:17.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:42:18.253Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T10:42:18.253Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T10:42:18.253Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T10:42:18.253Z] 04944245beec: Pulling fs layer [2023-02-13T10:42:18.253Z] 699f458cf7ca: Pulling fs layer [2023-02-13T10:42:18.253Z] 765212b225bb: Pulling fs layer [2023-02-13T10:42:18.253Z] f23df028b6ca: Pulling fs layer [2023-02-13T10:42:18.253Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T10:42:18.253Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T10:42:18.253Z] 765212b225bb: Waiting [2023-02-13T10:42:18.253Z] f23df028b6ca: Waiting [2023-02-13T10:42:18.253Z] d65c8cfc05b1: Waiting [2023-02-13T10:42:18.253Z] 2437ff75d9bd: Waiting [2023-02-13T10:42:18.524Z] 04944245beec: Verifying Checksum [2023-02-13T10:42:18.524Z] 04944245beec: Download complete [2023-02-13T10:42:18.524Z] 765212b225bb: Verifying Checksum [2023-02-13T10:42:18.524Z] 765212b225bb: Download complete [2023-02-13T10:42:18.524Z] f23df028b6ca: Download complete [2023-02-13T10:42:18.524Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T10:42:18.524Z] d65c8cfc05b1: Download complete [2023-02-13T10:42:18.796Z] 699f458cf7ca: Verifying Checksum [2023-02-13T10:42:18.796Z] 699f458cf7ca: Download complete [2023-02-13T10:42:19.065Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T10:42:19.065Z] 8998bd30e6a1: Download complete [2023-02-13T10:42:21.656Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T10:42:21.656Z] 2437ff75d9bd: Download complete [2023-02-13T10:42:23.603Z] 8998bd30e6a1: Pull complete [2023-02-13T10:42:23.871Z] 04944245beec: Pull complete [2023-02-13T10:42:25.280Z] 699f458cf7ca: Pull complete [2023-02-13T10:42:25.548Z] 765212b225bb: Pull complete [2023-02-13T10:42:26.132Z] f23df028b6ca: Pull complete [2023-02-13T10:42:26.399Z] d65c8cfc05b1: Pull complete [2023-02-13T10:42:41.407Z] 2437ff75d9bd: Pull complete [2023-02-13T10:42:41.407Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T10:42:41.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T10:42:41.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T10:42:41.723Z] prd-ubuntu20.04-docker-arm64-4c-16g-5531 does not seem to be running inside a container [2023-02-13T10:42:41.791Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T10:42:44.462Z] $ docker top 24a3347d51aee7c0f59fec7c20f5f268b37d92c348caaf1315f47ecb7dec713d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:42:45.026Z] ---> job-cost.sh [2023-02-13T10:42:45.295Z] lf-activate-venv: SKIPPING [2023-02-13T10:42:45.295Z] INFO: No Stack... [2023-02-13T10:42:45.875Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T10:42:46.838Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T10:42:47.508Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-13T10:42:47.508Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T10:42:47.594Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1315-1-stack-cost] [2023-02-13T10:42:47.599Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1315-1-stack-cost] did not exist. Created. [2023-02-13T10:42:47.599Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T10:42:48.338Z] /w/workspace/device-sdk-go/1@tmp/durable-a0413dcb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T10:42:49.016Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T10:42:49.053Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T10:42:49.122Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T10:42:49.137Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1315-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T10:42:49.217Z] $ docker stop --time=1 24a3347d51aee7c0f59fec7c20f5f268b37d92c348caaf1315f47ecb7dec713d [2023-02-13T10:42:50.743Z] $ docker rm -f --volumes 24a3347d51aee7c0f59fec7c20f5f268b37d92c348caaf1315f47ecb7dec713d [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-13T10:42:51.785Z] provisioning config files... [2023-02-13T10:42:51.791Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp/config17424805931652656620tmp [Pipeline] { [Pipeline] sh [2023-02-13T10:42:52.121Z] + set +x [2023-02-13T10:42:52.121Z] + + curl -s https://codecov.io/bash [2023-02-13T10:42:52.121Z] bash -s -- [2023-02-13T10:42:52.121Z] [2023-02-13T10:42:52.121Z] _____ _ [2023-02-13T10:42:52.121Z] / ____| | | [2023-02-13T10:42:52.121Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T10:42:52.121Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T10:42:52.121Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T10:42:52.121Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T10:42:52.121Z] Bash-1.0.6 [2023-02-13T10:42:52.121Z] [2023-02-13T10:42:52.121Z] [2023-02-13T10:42:52.121Z] ==> git version 2.25.1 found [2023-02-13T10:42:52.121Z] ==> 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-13T10:42:52.121Z] Release-Date: 2020-01-08 [2023-02-13T10:42:52.121Z] 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-13T10:42:52.121Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T10:42:52.121Z] ==> Jenkins CI detected. [2023-02-13T10:42:52.121Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1315 [2023-02-13T10:42:52.121Z] project root: . [2023-02-13T10:42:52.121Z] --> token set from env [2023-02-13T10:42:52.121Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T10:42:52.121Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T10:42:52.121Z] ==> Python coveragepy not found [2023-02-13T10:42:52.121Z] ==> Searching for coverage reports in: [2023-02-13T10:42:52.121Z] + . [2023-02-13T10:42:52.121Z] -> Found 1 reports [2023-02-13T10:42:52.121Z] ==> Detecting git/mercurial file structure [2023-02-13T10:42:52.121Z] ==> Reading reports [2023-02-13T10:42:52.121Z] + ./coverage.out bytes=99163 [2023-02-13T10:42:52.121Z] ==> Appending adjustments [2023-02-13T10:42:52.121Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T10:42:52.689Z] + Found adjustments [2023-02-13T10:42:52.689Z] ==> Gzipping contents [2023-02-13T10:42:52.689Z] 16K /tmp/codecov.TTDKc3.gz [2023-02-13T10:42:52.689Z] ==> Uploading reports [2023-02-13T10:42:52.689Z] url: https://codecov.io [2023-02-13T10:42:52.689Z] query: branch=PR-1315&commit=24aa7768e5e60b077b6fe69648ef6afc6b24cfe6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1315&job=&cmd_args= [2023-02-13T10:42:52.689Z] -> Pinging Codecov [2023-02-13T10:42:52.689Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1315&commit=24aa7768e5e60b077b6fe69648ef6afc6b24cfe6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1315&job=&cmd_args= [2023-02-13T10:42:52.949Z] -> Uploading to [2023-02-13T10:42:52.949Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/7E55EF52A471D76F132DFD9A03CDDE97/24aa7768e5e60b077b6fe69648ef6afc6b24cfe6/66307282-925a-43c6-93f7-220f6070186b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T104252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6058dba568f7b0f82666fd10ed2e3bb21f5bf1cc2be4aa5e4d55a941e4081d71 [2023-02-13T10:42:52.949Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T10:42:52.949Z] Dload Upload Total Spent Left Speed [2023-02-13T10:42:53.209Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14470 0 0 100 14470 0 65475 --:--:-- --:--:-- --:--:-- 65180 100 14470 0 0 100 14470 0 46527 --:--:-- --:--:-- --:--:-- 46378 [2023-02-13T10:42:53.209Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/24aa7768e5e60b077b6fe69648ef6afc6b24cfe6 [Pipeline] } [2023-02-13T10:42:53.238Z] 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-13T10:42:55.032Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1315/archives ] [2023-02-13T10:42:55.032Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1315/archives [2023-02-13T10:42:55.032Z] total 16 [2023-02-13T10:42:55.032Z] drwxr-xr-x 3 root root 4096 Feb 13 10:31 . [2023-02-13T10:42:55.032Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 10:31 .. [2023-02-13T10:42:55.032Z] drwxr-xr-x 2 root root 4096 Feb 13 10:31 cost [2023-02-13T10:42:55.032Z] -rw-r--r-- 1 root root 86 Feb 13 10:31 cost.csv [2023-02-13T10:42:55.032Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1315/archives [2023-02-13T10:42:55.032Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1315/archives [2023-02-13T10:42:55.032Z] total 16 [2023-02-13T10:42:55.032Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 10:31 . [2023-02-13T10:42:55.032Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 10:31 .. [2023-02-13T10:42:55.032Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 10:31 cost [2023-02-13T10:42:55.032Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 13 10:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:42:55.357Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:42:56.238Z] ---> package-listing.sh [2023-02-13T10:42:56.238Z] ++ facter osfamily [2023-02-13T10:42:56.238Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T10:42:56.497Z] + OS_FAMILY=debian [2023-02-13T10:42:56.497Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1315 [2023-02-13T10:42:56.497Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T10:42:56.497Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T10:42:56.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T10:42:56.497Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T10:42:56.497Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1315 ']' [2023-02-13T10:42:56.497Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T10:42:56.497Z] + case "${OS_FAMILY}" in [2023-02-13T10:42:56.497Z] + dpkg -l [2023-02-13T10:42:56.497Z] + grep '^ii' [2023-02-13T10:42:56.497Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T10:42:56.497Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T10:42:56.497Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T10:42:56.497Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1315 ']' [2023-02-13T10:42:56.497Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1315/archives/ [2023-02-13T10:42:56.497Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1315/archives/ [Pipeline] echo [2023-02-13T10:42:56.532Z] 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-1315/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T10:42:56.820Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T10:42:57.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T10:42:57.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T10:42:57.569Z] prd-ubuntu20.04-docker-8c-8g-5530 does not seem to be running inside a container [2023-02-13T10:42:57.595Z] $ 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-1315/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-1315 -v /w/workspace/gexfoundry_device-sdk-go_PR-1315:/w/workspace/gexfoundry_device-sdk-go_PR-1315:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1315@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-lftools-log-publisher:latest cat [2023-02-13T10:42:57.784Z] $ docker top dd84fd0623a5aab0c0fb8dbc52bc80cd4c40a2012d83c250d0f771c3e5601f42 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T10:42:58.186Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T10:42:58.492Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T10:42:58.803Z] + ls /var/log/sa-host [2023-02-13T10:42:58.803Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T10:42:59.019Z] provisioning config files... [2023-02-13T10:42:59.027Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1315@tmp/config1303568993006400521tmp [Pipeline] { [Pipeline] echo [2023-02-13T10:42:59.083Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:42:59.392Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T10:42:59.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:42:59.825Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T10:42:59.860Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:43:00.168Z] ---> sudo-logs.sh [2023-02-13T10:43:00.168Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T10:43:00.257Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:43:00.565Z] ---> job-cost.sh [2023-02-13T10:43:00.565Z] lf-activate-venv: SKIPPING [2023-02-13T10:43:00.565Z] DEBUG: total: 0.2199999988079071 [2023-02-13T10:43:00.565Z] INFO: Retrieving Stack Cost... [2023-02-13T10:43:03.857Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T10:43:03.857Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T10:43:03.891Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T10:43:04.201Z] ---> logs-deploy.sh [2023-02-13T10:43:04.201Z] lf-activate-venv: SKIPPING [2023-02-13T10:43:04.201Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1315/1 [2023-02-13T10:43:04.201Z] INFO: archiving workspace using pattern(s): [2023-02-13T10:43:05.140Z] Archives upload complete. [2023-02-13T10:43:05.399Z] INFO: archiving logs to Nexus