Pull request #1323 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a+44494171fcaded074de32712625f564a2da22111 (71fa315fd4ce9c432c4e985f7951203f88467e87) 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-ssh5659662191322816874.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-ssh11338309593526722823.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5340436030960555718.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9892001727566025761.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13138159665781197687.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-6374 in /w/workspace/gexfoundry_device-sdk-go_PR-1323 [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-1323 # 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/1323/head:refs/remotes/origin/PR-1323 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44494171fcaded074de32712625f564a2da22111 into PR head commit ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a Merge succeeded, producing ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a Checking out Revision ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a (PR-1323) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T05:35:21.246Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T05:35:21.310Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T05:35:21.328Z] ========================================================= [2023-02-17T05:35:21.329Z] EdgeX Global Pipelines Version Info [2023-02-17T05:35:21.329Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a # 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 44494171fcaded074de32712625f564a2da22111 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a # timeout=10 > git rev-list --no-walk 321284e9d55c61ffd0b880cc261f98f121af409e # timeout=10 [2023-02-17T05:35:22.024Z] ------------------- [2023-02-17T05:35:22.024Z] stable info: [2023-02-17T05:35:22.024Z] ------------------- [2023-02-17T05:35:22.024Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T05:35:22.024Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T05:35:22.024Z] Message: update stable to v1.0.244 [2023-02-17T05:35:22.594Z] ------------------- [2023-02-17T05:35:22.594Z] experimental info: [2023-02-17T05:35:22.594Z] ------------------- [2023-02-17T05:35:22.594Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T05:35:22.594Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T05:35:22.594Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T05:35:22.752Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-17T05:35:22.766Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-17T05:35:22.776Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T05:35:22.787Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T05:35:22.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T05:35:22.812Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T05:35:22.822Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T05:35:22.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-17T05:35:22.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T05:35:22.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T05:35:22.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T05:35:22.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-17T05:35:22.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T05:35:22.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T05:35:22.895Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T05:35:22.908Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T05:35:22.918Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T05:35:22.930Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T05:35:22.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T05:35:22.955Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T05:35:22.970Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-17T05:35:22.996Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-17T05:35:23.012Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T05:35:23.021Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T05:35:23.029Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T05:35:23.037Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T05:35:23.046Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T05:35:23.064Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1323 [Pipeline] echo [2023-02-17T05:35:23.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1323 [Pipeline] echo [2023-02-17T05:35:23.092Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1323 [Pipeline] echo [2023-02-17T05:35:23.106Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [Pipeline] echo [2023-02-17T05:35:23.118Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ebd5672 [Pipeline] echo [2023-02-17T05:35:23.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T05:35:23.178Z] provisioning config files... [2023-02-17T05:35:23.191Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config9982031078445137091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:35:23.493Z] ---> docker-login.sh [2023-02-17T05:35:23.493Z] nexus3.edgexfoundry.org:10001 [2023-02-17T05:35:23.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:23.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:23.752Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:23.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:23.752Z] [2023-02-17T05:35:23.752Z] Login Succeeded [2023-02-17T05:35:23.752Z] nexus3.edgexfoundry.org:10002 [2023-02-17T05:35:23.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:23.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:23.752Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:23.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:23.752Z] [2023-02-17T05:35:23.752Z] Login Succeeded [2023-02-17T05:35:23.752Z] nexus3.edgexfoundry.org:10003 [2023-02-17T05:35:24.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:24.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:24.010Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:24.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:24.010Z] [2023-02-17T05:35:24.010Z] Login Succeeded [2023-02-17T05:35:24.010Z] nexus3.edgexfoundry.org:10004 [2023-02-17T05:35:24.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:24.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:24.010Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:24.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:24.010Z] [2023-02-17T05:35:24.010Z] Login Succeeded [2023-02-17T05:35:24.010Z] docker.io [2023-02-17T05:35:24.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:24.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:24.270Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:24.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:24.270Z] [2023-02-17T05:35:24.529Z] Login Succeeded [2023-02-17T05:35:24.529Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T05:35:24.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T05:35:24.912Z] + git rev-list -1 --merges ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a~1..ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [Pipeline] echo [2023-02-17T05:35:24.989Z] -----------> git rev-list -1 --merges ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a~1..ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [false] [Pipeline] sh [2023-02-17T05:35:25.274Z] + git log --format=format:%s -1 ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [Pipeline] echo [2023-02-17T05:35:25.286Z] ========================================================= [2023-02-17T05:35:25.286Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T05:35:25.286Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T05:35:25.606Z] + git log --format=format:%s -1 ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [Pipeline] echo [2023-02-17T05:35:25.617Z] [semverPrep] GIT_COMMIT: ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-17T05:35:25.625Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T05:35:25.977Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T05:35:25.977Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T05:35:25.977Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T05:35:25.977Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T05:35:25.977Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-02-17T05:35:25.978Z] tee -a /etc/ssh/ssh_known_hosts [2023-02-17T05:35:25.978Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:35:26.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T05:35:26.313Z] [2023-02-17T05:35:26.313Z] 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-17T05:35:26.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T05:35:26.615Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T05:35:26.615Z] b85a868b505f: Pulling fs layer [2023-02-17T05:35:26.615Z] e2be974225ed: Pulling fs layer [2023-02-17T05:35:26.615Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T05:35:26.615Z] 988bab9f4d93: Pulling fs layer [2023-02-17T05:35:26.615Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T05:35:26.615Z] eaf3925da568: Pulling fs layer [2023-02-17T05:35:26.615Z] bab4dde63d76: Pulling fs layer [2023-02-17T05:35:26.615Z] bde34c3a00c8: Pulling fs layer [2023-02-17T05:35:26.615Z] b352a97aabf1: Pulling fs layer [2023-02-17T05:35:26.615Z] 4872d77fe225: Pulling fs layer [2023-02-17T05:35:26.615Z] 5851b861e8e6: Pulling fs layer [2023-02-17T05:35:26.615Z] bab4dde63d76: Waiting [2023-02-17T05:35:26.615Z] 4872d77fe225: Waiting [2023-02-17T05:35:26.615Z] bde34c3a00c8: Waiting [2023-02-17T05:35:26.615Z] b352a97aabf1: Waiting [2023-02-17T05:35:26.615Z] 5851b861e8e6: Waiting [2023-02-17T05:35:26.615Z] 1469e6f7b9e6: Waiting [2023-02-17T05:35:26.615Z] eaf3925da568: Waiting [2023-02-17T05:35:26.615Z] 988bab9f4d93: Waiting [2023-02-17T05:35:26.615Z] e2be974225ed: Verifying Checksum [2023-02-17T05:35:26.615Z] e2be974225ed: Download complete [2023-02-17T05:35:26.615Z] 988bab9f4d93: Verifying Checksum [2023-02-17T05:35:26.615Z] 988bab9f4d93: Download complete [2023-02-17T05:35:26.879Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T05:35:26.879Z] 1469e6f7b9e6: Download complete [2023-02-17T05:35:26.879Z] eaf3925da568: Download complete [2023-02-17T05:35:26.879Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T05:35:26.879Z] 339a4e72a1f5: Download complete [2023-02-17T05:35:26.879Z] bde34c3a00c8: Verifying Checksum [2023-02-17T05:35:26.879Z] bde34c3a00c8: Download complete [2023-02-17T05:35:26.879Z] b352a97aabf1: Verifying Checksum [2023-02-17T05:35:26.879Z] b352a97aabf1: Download complete [2023-02-17T05:35:26.879Z] 4872d77fe225: Verifying Checksum [2023-02-17T05:35:26.879Z] 4872d77fe225: Download complete [2023-02-17T05:35:26.879Z] 5851b861e8e6: Verifying Checksum [2023-02-17T05:35:26.879Z] 5851b861e8e6: Download complete [2023-02-17T05:35:27.141Z] b85a868b505f: Verifying Checksum [2023-02-17T05:35:27.141Z] b85a868b505f: Download complete [2023-02-17T05:35:27.401Z] bab4dde63d76: Verifying Checksum [2023-02-17T05:35:27.401Z] bab4dde63d76: Download complete [2023-02-17T05:35:28.339Z] b85a868b505f: Pull complete [2023-02-17T05:35:28.339Z] e2be974225ed: Pull complete [2023-02-17T05:35:28.907Z] 339a4e72a1f5: Pull complete [2023-02-17T05:35:28.907Z] 988bab9f4d93: Pull complete [2023-02-17T05:35:29.166Z] 1469e6f7b9e6: Pull complete [2023-02-17T05:35:29.426Z] eaf3925da568: Pull complete [2023-02-17T05:35:31.330Z] bab4dde63d76: Pull complete [2023-02-17T05:35:31.330Z] bde34c3a00c8: Pull complete [2023-02-17T05:35:31.330Z] b352a97aabf1: Pull complete [2023-02-17T05:35:31.330Z] 4872d77fe225: Pull complete [2023-02-17T05:35:31.330Z] 5851b861e8e6: Pull complete [2023-02-17T05:35:31.330Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T05:35:31.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T05:35:31.330Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:35:31.410Z] prd-ubuntu20.04-docker-8c-8g-6374 does not seem to be running inside a container [2023-02-17T05:35:31.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@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-17T05:35:33.968Z] $ docker top 79edf90e3733a8dd14baac30cd6eb339dae5e6f08cf5f3e3836f182df90bcf3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T05:35:34.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T05:35:34.058Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T05:35:34.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T05:35:34.170Z] $ docker exec 79edf90e3733a8dd14baac30cd6eb339dae5e6f08cf5f3e3836f182df90bcf3d ssh-agent [2023-02-17T05:35:34.265Z] SSH_AUTH_SOCK=/tmp/ssh-bBY3qpCibnni/agent.32 [2023-02-17T05:35:34.265Z] SSH_AGENT_PID=38 [2023-02-17T05:35:34.271Z] Running ssh-add (command line suppressed) [2023-02-17T05:35:34.369Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_16635748159444598764.key (/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_16635748159444598764.key) [2023-02-17T05:35:34.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T05:35:34.666Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T05:35:34.677Z] $ docker exec --env ******** --env ******** 79edf90e3733a8dd14baac30cd6eb339dae5e6f08cf5f3e3836f182df90bcf3d ssh-agent -k [2023-02-17T05:35:34.775Z] unset SSH_AUTH_SOCK; [2023-02-17T05:35:34.775Z] unset SSH_AGENT_PID; [2023-02-17T05:35:34.776Z] echo Agent pid 38 killed; [2023-02-17T05:35:34.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T05:35:34.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T05:35:34.810Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T05:35:34.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T05:35:34.914Z] $ docker exec 79edf90e3733a8dd14baac30cd6eb339dae5e6f08cf5f3e3836f182df90bcf3d ssh-agent [2023-02-17T05:35:35.006Z] SSH_AUTH_SOCK=/tmp/ssh-hl8O7tZA18gD/agent.70 [2023-02-17T05:35:35.006Z] SSH_AGENT_PID=76 [2023-02-17T05:35:35.010Z] Running ssh-add (command line suppressed) [2023-02-17T05:35:35.115Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_11477146197230798449.key (/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_11477146197230798449.key) [2023-02-17T05:35:35.128Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T05:35:35.421Z] + git semver init [2023-02-17T05:35:35.679Z] 2023-02-17 05:35:35,597 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T05:35:35.679Z] 2023-02-17 05:35:35,598 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver [2023-02-17T05:35:35.679Z] 2023-02-17 05:35:35,599 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver [2023-02-17T05:35:35.679Z] 2023-02-17 05:35:35,599 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1323, universal_newlines=False, shell=None, istream=None) [2023-02-17T05:35:37.058Z] 2023-02-17 05:35:36,757 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.git/info/exclude [2023-02-17T05:35:37.058Z] 2023-02-17 05:35:36,757 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver/PR-1323 with force:False [2023-02-17T05:35:37.058Z] 2023-02-17 05:35:36,758 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver/PR-1323 [2023-02-17T05:35:37.058Z] 2023-02-17 05:35:36,762 [execute] INFO git cat-file --batch-check [2023-02-17T05:35:37.058Z] 2023-02-17 05:35:36,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T05:35:37.058Z] 2023-02-17 05:35:36,767 [execute] INFO git cat-file --batch [2023-02-17T05:35:37.058Z] 2023-02-17 05:35:36,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T05:35:37.058Z] 2023-02-17 05:35:36,773 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver/PR-1323 [2023-02-17T05:35:37.058Z] 0.0.0 [Pipeline] } [2023-02-17T05:35:37.070Z] $ docker exec --env ******** --env ******** 79edf90e3733a8dd14baac30cd6eb339dae5e6f08cf5f3e3836f182df90bcf3d ssh-agent -k [2023-02-17T05:35:37.164Z] unset SSH_AUTH_SOCK; [2023-02-17T05:35:37.165Z] unset SSH_AGENT_PID; [2023-02-17T05:35:37.165Z] echo Agent pid 76 killed; [2023-02-17T05:35:37.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T05:35:37.468Z] + git semver [Pipeline] } [2023-02-17T05:35:37.740Z] $ docker stop --time=1 79edf90e3733a8dd14baac30cd6eb339dae5e6f08cf5f3e3836f182df90bcf3d [2023-02-17T05:35:39.013Z] $ docker rm -f --volumes 79edf90e3733a8dd14baac30cd6eb339dae5e6f08cf5f3e3836f182df90bcf3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T05:35:39.343Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T05:35:39.539Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T05:35:39.543Z] [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-17T05:35:39.709Z] provisioning config files... [2023-02-17T05:35:39.719Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config12871419730834065049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:35:40.016Z] ---> docker-login.sh [2023-02-17T05:35:40.016Z] nexus3.edgexfoundry.org:10001 [2023-02-17T05:35:40.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:40.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:40.016Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:40.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:40.016Z] [2023-02-17T05:35:40.016Z] Login Succeeded [2023-02-17T05:35:40.016Z] nexus3.edgexfoundry.org:10002 [2023-02-17T05:35:40.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:40.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:40.016Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:40.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:40.016Z] [2023-02-17T05:35:40.016Z] Login Succeeded [2023-02-17T05:35:40.016Z] nexus3.edgexfoundry.org:10003 [2023-02-17T05:35:40.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:40.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:40.276Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:40.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:40.276Z] [2023-02-17T05:35:40.276Z] Login Succeeded [2023-02-17T05:35:40.276Z] nexus3.edgexfoundry.org:10004 [2023-02-17T05:35:40.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:40.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:40.276Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:40.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:40.276Z] [2023-02-17T05:35:40.276Z] Login Succeeded [2023-02-17T05:35:40.276Z] docker.io [2023-02-17T05:35:40.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:35:40.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:35:40.536Z] Configure a credential helper to remove this warning. See [2023-02-17T05:35:40.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:35:40.536Z] [2023-02-17T05:35:40.536Z] Login Succeeded [2023-02-17T05:35:40.536Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T05:35:40.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T05:35:40.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:35:40.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:35:40.617Z] ========================================================= [2023-02-17T05:35:40.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T05:35:40.617Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:35:40.917Z] + 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-17T05:35:40.917Z] Sending build context to Docker daemon 10.5MB [2023-02-17T05:35:40.917Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:35:40.917Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T05:35:41.176Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T05:35:41.176Z] 213ec9aee27d: Pulling fs layer [2023-02-17T05:35:41.176Z] 4583459ba037: Pulling fs layer [2023-02-17T05:35:41.176Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T05:35:41.176Z] 53926ce57604: Pulling fs layer [2023-02-17T05:35:41.176Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T05:35:41.176Z] 22ff95d597cd: Pulling fs layer [2023-02-17T05:35:41.176Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T05:35:41.176Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T05:35:41.176Z] a7acece74701: Pulling fs layer [2023-02-17T05:35:41.176Z] 22ff95d597cd: Waiting [2023-02-17T05:35:41.176Z] 53926ce57604: Waiting [2023-02-17T05:35:41.176Z] 12d6caf4c0d1: Waiting [2023-02-17T05:35:41.176Z] 96b7cbca73a9: Waiting [2023-02-17T05:35:41.176Z] a7acece74701: Waiting [2023-02-17T05:35:41.176Z] 21b2b0c7a3f4: Waiting [2023-02-17T05:35:41.176Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T05:35:41.176Z] 93c1e223e6f2: Download complete [2023-02-17T05:35:41.176Z] 4583459ba037: Download complete [2023-02-17T05:35:41.176Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T05:35:41.176Z] 21b2b0c7a3f4: Download complete [2023-02-17T05:35:41.176Z] 22ff95d597cd: Download complete [2023-02-17T05:35:41.176Z] 213ec9aee27d: Verifying Checksum [2023-02-17T05:35:41.176Z] 213ec9aee27d: Download complete [2023-02-17T05:35:41.176Z] 12d6caf4c0d1: Verifying Checksum [2023-02-17T05:35:41.176Z] 12d6caf4c0d1: Download complete [2023-02-17T05:35:41.436Z] 213ec9aee27d: Pull complete [2023-02-17T05:35:41.436Z] 4583459ba037: Pull complete [2023-02-17T05:35:41.436Z] 93c1e223e6f2: Pull complete [2023-02-17T05:35:42.022Z] a7acece74701: Verifying Checksum [2023-02-17T05:35:42.280Z] 53926ce57604: Verifying Checksum [2023-02-17T05:35:42.280Z] 53926ce57604: Download complete [2023-02-17T05:35:42.539Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T05:35:42.539Z] 96b7cbca73a9: Download complete [2023-02-17T05:35:45.816Z] 53926ce57604: Pull complete [2023-02-17T05:35:46.075Z] 21b2b0c7a3f4: Pull complete [2023-02-17T05:35:46.075Z] 22ff95d597cd: Pull complete [2023-02-17T05:35:46.075Z] 12d6caf4c0d1: Pull complete [2023-02-17T05:35:48.604Z] 96b7cbca73a9: Pull complete [2023-02-17T05:35:48.862Z] a7acece74701: Pull complete [2023-02-17T05:35:48.862Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T05:35:48.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T05:35:48.862Z] ---> db6d94c90886 [2023-02-17T05:35:48.862Z] Step 3/10 : ARG MAKE=make build [2023-02-17T05:35:54.126Z] ---> Running in 032369dc6fe9 [2023-02-17T05:35:54.126Z] Removing intermediate container 032369dc6fe9 [2023-02-17T05:35:54.126Z] ---> 580aeafaddda [2023-02-17T05:35:54.126Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T05:35:54.126Z] ---> Running in 23afc14b3f5b [2023-02-17T05:35:54.126Z] Removing intermediate container 23afc14b3f5b [2023-02-17T05:35:54.126Z] ---> dfd416e5af31 [2023-02-17T05:35:54.126Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T05:35:54.126Z] ---> Running in 25c43b5f1688 [2023-02-17T05:35:54.126Z] Removing intermediate container 25c43b5f1688 [2023-02-17T05:35:54.126Z] ---> 260997ae9e45 [2023-02-17T05:35:54.126Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T05:35:54.126Z] ---> Running in 5bd3e390b3e3 [2023-02-17T05:35:54.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T05:35:54.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T05:35:54.643Z] OK: 211 MiB in 51 packages [2023-02-17T05:35:54.673Z] Still waiting to schedule task [2023-02-17T05:35:54.673Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-17T05:35:54.901Z] Removing intermediate container 5bd3e390b3e3 [2023-02-17T05:35:54.901Z] ---> cc1be8a27a8d [2023-02-17T05:35:54.901Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T05:35:55.158Z] ---> c237d1197572 [2023-02-17T05:35:55.158Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:35:55.158Z] ---> Running in c85c11653177 [2023-02-17T05:36:27.421Z] Removing intermediate container c85c11653177 [2023-02-17T05:36:27.421Z] ---> 48d89fe6b7c5 [2023-02-17T05:36:27.421Z] Step 9/10 : COPY . . [2023-02-17T05:36:27.421Z] ---> b33ba19e4f03 [2023-02-17T05:36:27.421Z] Step 10/10 : RUN ${MAKE} [2023-02-17T05:36:27.421Z] ---> Running in 7baa3508aa21 [2023-02-17T05:36:27.421Z] noop [2023-02-17T05:36:27.421Z] Removing intermediate container 7baa3508aa21 [2023-02-17T05:36:27.421Z] ---> 062601383a8a [2023-02-17T05:36:27.421Z] Successfully built 062601383a8a [2023-02-17T05:36:27.421Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:36:27.741Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T05:36:27.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:36:27.812Z] prd-ubuntu20.04-docker-8c-8g-6374 does not seem to be running inside a container [2023-02-17T05:36:27.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@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-17T05:36:28.267Z] $ docker top 99131fc801ad5e598a5d66b53bc5862a61a2129e580ad068c9ecb8b535896897 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:36:28.619Z] + go version [2023-02-17T05:36:28.619Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T05:36:28.632Z] $ docker stop --time=1 99131fc801ad5e598a5d66b53bc5862a61a2129e580ad068c9ecb8b535896897 [2023-02-17T05:36:29.911Z] $ docker rm -f --volumes 99131fc801ad5e598a5d66b53bc5862a61a2129e580ad068c9ecb8b535896897 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:36:30.298Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T05:36:30.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:36:30.366Z] prd-ubuntu20.04-docker-8c-8g-6374 does not seem to be running inside a container [2023-02-17T05:36:30.399Z] $ 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-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@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-17T05:36:30.762Z] $ docker top 44ab54d760f61948b61117f342b39e263faf359d52bb61473e65a97e6ef70403 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:36:31.106Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1323 [Pipeline] fileExists [Pipeline] sh [2023-02-17T05:36:31.398Z] + make test [2023-02-17T05:36:31.398Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T05:36:37.993Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T05:36:50.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T05:36:50.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T05:36:50.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T05:36:50.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T05:36:50.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T05:36:50.219Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.070s coverage: 27.6% of statements [2023-02-17T05:36:50.219Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements [2023-02-17T05:36:50.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T05:36:50.219Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.110s coverage: 77.8% of statements [2023-02-17T05:36:50.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T05:36:50.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T05:36:50.476Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 77.0% of statements [2023-02-17T05:36:50.476Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T05:36:50.476Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-17T05:36:50.476Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T05:36:50.476Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.102s coverage: 65.2% of statements [2023-02-17T05:36:50.476Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T05:36:50.476Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T05:36:50.476Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.747s coverage: 89.2% of statements [2023-02-17T05:36:50.476Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T05:36:50.734Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.7% of statements [2023-02-17T05:36:50.734Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T05:37:08.809Z] 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-17T05:37:08.809Z] GO111MODULE=on go vet ./... [2023-02-17T05:37:09.744Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T05:37:09.744Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T05:37:09.744Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T05:37:09.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T05:37:09.770Z] $ docker stop --time=1 44ab54d760f61948b61117f342b39e263faf359d52bb61473e65a97e6ef70403 [2023-02-17T05:37:13.098Z] $ docker rm -f --volumes 44ab54d760f61948b61117f342b39e263faf359d52bb61473e65a97e6ef70403 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T05:37:13.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T05:37:13.657Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T05:37:14.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T05:37:14.366Z] + ls -al . [2023-02-17T05:37:14.366Z] total 272 [2023-02-17T05:37:14.366Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 05:36 . [2023-02-17T05:37:14.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:35 .. [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 05:35 .dockerignore [2023-02-17T05:37:14.366Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 05:36 .git [2023-02-17T05:37:14.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:35 .github [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 05:35 .gitignore [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 05:35 .golangci.yml [2023-02-17T05:37:14.366Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 05:35 .semver [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 05:35 CHANGELOG.md [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 05:35 GOVERNANCE.md [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 05:35 Jenkinsfile [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 05:35 LICENSE [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 05:35 Makefile [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 05:35 OWNERS.md [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 05:35 README.md [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 05:35 VERSION [2023-02-17T05:37:14.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:35 bin [2023-02-17T05:37:14.366Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 05:36 coverage.out [2023-02-17T05:37:14.366Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 05:35 example [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 05:35 go.mod [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 05:35 go.sum [2023-02-17T05:37:14.366Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 05:35 internal [2023-02-17T05:37:14.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 05:35 openapi [2023-02-17T05:37:14.366Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 05:35 pkg [2023-02-17T05:37:14.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:35 snap [2023-02-17T05:37:14.366Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 05:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:37:14.737Z] + 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=ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a --label arch=amd64 --label version=0.0.0 . [2023-02-17T05:37:14.737Z] Sending build context to Docker daemon 10.6MB [2023-02-17T05:37:14.737Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:37:14.737Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T05:37:14.737Z] ---> 062601383a8a [2023-02-17T05:37:14.737Z] Step 3/23 : ARG MAKE=make build [2023-02-17T05:37:14.996Z] ---> Running in 980ebf88ecd7 [2023-02-17T05:37:14.996Z] Removing intermediate container 980ebf88ecd7 [2023-02-17T05:37:14.996Z] ---> a124182aebea [2023-02-17T05:37:14.996Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T05:37:14.996Z] ---> Running in af4207f84884 [2023-02-17T05:37:14.996Z] Removing intermediate container af4207f84884 [2023-02-17T05:37:14.996Z] ---> 001de12b4c45 [2023-02-17T05:37:14.996Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T05:37:14.996Z] ---> Running in 53f29b956f8a [2023-02-17T05:37:15.254Z] Removing intermediate container 53f29b956f8a [2023-02-17T05:37:15.254Z] ---> 503f4e5e1448 [2023-02-17T05:37:15.254Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T05:37:15.254Z] ---> Running in 73429da14d84 [2023-02-17T05:37:15.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T05:37:15.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T05:37:15.771Z] OK: 211 MiB in 51 packages [2023-02-17T05:37:16.336Z] Removing intermediate container 73429da14d84 [2023-02-17T05:37:16.336Z] ---> 12ad99ea7227 [2023-02-17T05:37:16.336Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T05:37:16.336Z] ---> 6bfa5523769b [2023-02-17T05:37:16.336Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:37:16.336Z] ---> Running in 4fcfd662f438 [2023-02-17T05:37:17.273Z] Removing intermediate container 4fcfd662f438 [2023-02-17T05:37:17.273Z] ---> 63b2924c1727 [2023-02-17T05:37:17.273Z] Step 9/23 : COPY . . [2023-02-17T05:37:17.532Z] ---> 2dd6de2c1c40 [2023-02-17T05:37:17.532Z] Step 10/23 : RUN ${MAKE} [2023-02-17T05:37:17.532Z] ---> Running in 03af07b05f0c [2023-02-17T05:37:17.790Z] 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-17T05:37:35.864Z] Removing intermediate container 03af07b05f0c [2023-02-17T05:37:35.864Z] ---> 9572919a6832 [2023-02-17T05:37:35.864Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T05:37:36.433Z] 3.16: Pulling from library/alpine [2023-02-17T05:37:36.433Z] ef5531b6e74e: Pulling fs layer [2023-02-17T05:37:36.799Z] ef5531b6e74e: Verifying Checksum [2023-02-17T05:37:36.799Z] ef5531b6e74e: Download complete [2023-02-17T05:37:36.799Z] ef5531b6e74e: Pull complete [2023-02-17T05:37:36.799Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T05:37:36.799Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T05:37:36.799Z] ---> dfd21b5a31f5 [2023-02-17T05:37:36.799Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T05:37:37.059Z] ---> Running in ab386fc9840f [2023-02-17T05:37:37.059Z] Removing intermediate container ab386fc9840f [2023-02-17T05:37:37.059Z] ---> 8a9ff21a8b78 [2023-02-17T05:37:37.059Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T05:37:37.059Z] ---> Running in 669f64927849 [2023-02-17T05:37:37.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T05:37:37.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T05:37:37.837Z] OK: 6 MiB in 14 packages [2023-02-17T05:37:38.095Z] Removing intermediate container 669f64927849 [2023-02-17T05:37:38.095Z] ---> 213b60674869 [2023-02-17T05:37:38.095Z] Step 14/23 : WORKDIR / [2023-02-17T05:37:38.095Z] ---> Running in eab43ea43bfe [2023-02-17T05:37:38.095Z] Removing intermediate container eab43ea43bfe [2023-02-17T05:37:38.095Z] ---> fb817885a423 [2023-02-17T05:37:38.095Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T05:37:38.353Z] ---> 1b75389db749 [2023-02-17T05:37:38.353Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T05:37:38.920Z] ---> 887fc28568b7 [2023-02-17T05:37:38.920Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T05:37:39.180Z] ---> f9d5722767be [2023-02-17T05:37:39.180Z] Step 18/23 : EXPOSE 59999 [2023-02-17T05:37:39.180Z] ---> Running in 1b9e1bd45dcf [2023-02-17T05:37:39.180Z] Removing intermediate container 1b9e1bd45dcf [2023-02-17T05:37:39.180Z] ---> 1648a7f92bb7 [2023-02-17T05:37:39.180Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T05:37:39.180Z] ---> Running in dfb2912a1b39 [2023-02-17T05:37:39.180Z] Removing intermediate container dfb2912a1b39 [2023-02-17T05:37:39.180Z] ---> 95160e571cdb [2023-02-17T05:37:39.180Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T05:37:39.438Z] ---> Running in ba67a2a4e97b [2023-02-17T05:37:39.438Z] Removing intermediate container ba67a2a4e97b [2023-02-17T05:37:39.438Z] ---> 8bb7bbfa3ef0 [2023-02-17T05:37:39.438Z] Step 21/23 : LABEL arch=amd64 [2023-02-17T05:37:39.438Z] ---> Running in 2e73bffa552b [2023-02-17T05:37:39.438Z] Removing intermediate container 2e73bffa552b [2023-02-17T05:37:39.438Z] ---> dc1cf296fb20 [2023-02-17T05:37:39.438Z] Step 22/23 : LABEL git_sha=ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [2023-02-17T05:37:39.438Z] ---> Running in 7df19e2a7337 [2023-02-17T05:37:39.696Z] Removing intermediate container 7df19e2a7337 [2023-02-17T05:37:39.696Z] ---> db4eb89dbf37 [2023-02-17T05:37:39.696Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T05:37:39.696Z] ---> Running in a320f32a58d3 [2023-02-17T05:37:39.955Z] Removing intermediate container a320f32a58d3 [2023-02-17T05:37:39.955Z] ---> 7b300f1c6a52 [2023-02-17T05:37:39.955Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T05:37:39.955Z] Successfully built 7b300f1c6a52 [2023-02-17T05:37:39.955Z] 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-17T05:37:40.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:37:40.369Z] [2023-02-17T05:37:40.369Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:37:40.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:37:40.666Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T05:37:40.666Z] 5eb5b503b376: Pulling fs layer [2023-02-17T05:37:40.666Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T05:37:40.666Z] ec43610c2a17: Pulling fs layer [2023-02-17T05:37:40.666Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T05:37:40.666Z] 33b1e0a273af: Pulling fs layer [2023-02-17T05:37:40.666Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T05:37:40.666Z] 2f39f015ded8: Pulling fs layer [2023-02-17T05:37:40.666Z] 33b1e0a273af: Waiting [2023-02-17T05:37:40.666Z] 5d3b04190fa2: Waiting [2023-02-17T05:37:40.666Z] 3a2ae6a8a46f: Waiting [2023-02-17T05:37:40.666Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T05:37:40.666Z] 5c69ac0246d0: Download complete [2023-02-17T05:37:40.666Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T05:37:40.666Z] 3a2ae6a8a46f: Download complete [2023-02-17T05:37:40.926Z] 33b1e0a273af: Verifying Checksum [2023-02-17T05:37:40.926Z] 33b1e0a273af: Download complete [2023-02-17T05:37:40.926Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T05:37:40.926Z] 5d3b04190fa2: Download complete [2023-02-17T05:37:40.926Z] ec43610c2a17: Verifying Checksum [2023-02-17T05:37:40.926Z] ec43610c2a17: Download complete [2023-02-17T05:37:41.186Z] 5eb5b503b376: Verifying Checksum [2023-02-17T05:37:41.186Z] 5eb5b503b376: Download complete [2023-02-17T05:37:41.754Z] 2f39f015ded8: Download complete [2023-02-17T05:37:42.321Z] 5eb5b503b376: Pull complete [2023-02-17T05:37:42.580Z] 5c69ac0246d0: Pull complete [2023-02-17T05:37:43.155Z] ec43610c2a17: Pull complete [2023-02-17T05:37:43.155Z] 3a2ae6a8a46f: Pull complete [2023-02-17T05:37:43.414Z] 33b1e0a273af: Pull complete [2023-02-17T05:37:43.414Z] 5d3b04190fa2: Pull complete [2023-02-17T05:37:47.598Z] 2f39f015ded8: Pull complete [2023-02-17T05:37:47.598Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T05:37:47.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:37:47.598Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:37:47.673Z] prd-ubuntu20.04-docker-8c-8g-6374 does not seem to be running inside a container [2023-02-17T05:37:47.702Z] $ 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-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@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-17T05:37:50.940Z] $ docker top edd42cff0d735d3a52b6e315b831ccf02015a96413447b4aa9f2215cc65f69ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:37:51.332Z] ---> job-cost.sh [2023-02-17T05:37:51.332Z] lf-activate-venv: SKIPPING [2023-02-17T05:37:51.332Z] INFO: No Stack... [2023-02-17T05:37:51.591Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T05:37:52.159Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T05:37:52.453Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives/cost.csv [2023-02-17T05:37:52.453Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T05:37:52.467Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1323-3-stack-cost] [2023-02-17T05:37:52.475Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-3-stack-cost] did not exist. Created. [2023-02-17T05:37:52.475Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1323-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T05:37:52.772Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T05:37:52.798Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T05:37:52.804Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T05:37:52.826Z] $ docker stop --time=1 edd42cff0d735d3a52b6e315b831ccf02015a96413447b4aa9f2215cc65f69ce [2023-02-17T05:37:53.978Z] $ docker rm -f --volumes edd42cff0d735d3a52b6e315b831ccf02015a96413447b4aa9f2215cc65f69ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T05:41:05.511Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6383 in /w/workspace/gexfoundry_device-sdk-go_PR-1323 [Pipeline] { [Pipeline] ws [2023-02-17T05:41:05.524Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-02-17T05:41:05.576Z] The recommended git tool is: git [2023-02-17T05:41:16.800Z] using credential edgex-jenkins-ssh [2023-02-17T05:41:16.821Z] Cloning the remote Git repository [2023-02-17T05:41:16.903Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T05:41:17.088Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-02-17T05:41:17.397Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T05:41:17.399Z] > git --version # timeout=10 [2023-02-17T05:41:17.431Z] > git --version # 'git version 2.25.1' [2023-02-17T05:41:17.434Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T05:41:17.553Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T05:41:19.681Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T05:41:19.739Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T05:41:21.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T05:41:21.070Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T05:41:21.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T05:41:21.093Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1323/head:refs/remotes/origin/PR-1323 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T05:41:21.754Z] Merging remotes/origin/main commit 44494171fcaded074de32712625f564a2da22111 into PR head commit ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [2023-02-17T05:41:22.066Z] Merge succeeded, producing ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [2023-02-17T05:41:22.067Z] Checking out Revision ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a (PR-1323) [2023-02-17T05:41:22.648Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T05:41:21.774Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T05:41:21.804Z] > git checkout -f ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a # timeout=10 [2023-02-17T05:41:21.932Z] > git remote # timeout=10 [2023-02-17T05:41:21.959Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T05:41:21.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T05:41:22.009Z] > git merge 44494171fcaded074de32712625f564a2da22111 # timeout=10 [2023-02-17T05:41:22.039Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T05:41:22.071Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T05:41:22.087Z] > git checkout -f ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a # timeout=10 [2023-02-17T05:41:23.503Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T05:41:23.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T05:41:23.503Z] Dload Upload Total Spent Left Speed [2023-02-17T05:41:23.503Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-02-17T05:41:24.191Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T05:41:24.550Z] + sudo tee /etc/docker/daemon.new [2023-02-17T05:41:24.550Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T05:41:24.550Z] { [2023-02-17T05:41:24.550Z] "registry-mirrors": [ [2023-02-17T05:41:24.550Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T05:41:24.550Z] ], [2023-02-17T05:41:24.550Z] "bip": "10.250.0.254/24", [2023-02-17T05:41:24.550Z] "hosts": [ [2023-02-17T05:41:24.550Z] "tcp://0.0.0.0:5555", [2023-02-17T05:41:24.550Z] "unix:///var/run/docker.sock" [2023-02-17T05:41:24.550Z] ], [2023-02-17T05:41:24.550Z] "mtu": 1458, [2023-02-17T05:41:24.550Z] "selinux-enabled": true, [2023-02-17T05:41:24.550Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T05:41:24.550Z] } [Pipeline] sh [2023-02-17T05:41:24.895Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T05:41:25.252Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T05:41:43.550Z] provisioning config files... [2023-02-17T05:41:43.579Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4211247380030031211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:41:43.936Z] ---> docker-login.sh [2023-02-17T05:41:43.936Z] nexus3.edgexfoundry.org:10001 [2023-02-17T05:41:44.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:41:44.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:41:44.529Z] Configure a credential helper to remove this warning. See [2023-02-17T05:41:44.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:41:44.529Z] [2023-02-17T05:41:44.529Z] Login Succeeded [2023-02-17T05:41:44.529Z] nexus3.edgexfoundry.org:10002 [2023-02-17T05:41:44.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:41:44.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:41:44.797Z] Configure a credential helper to remove this warning. See [2023-02-17T05:41:44.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:41:44.798Z] [2023-02-17T05:41:44.798Z] Login Succeeded [2023-02-17T05:41:44.798Z] nexus3.edgexfoundry.org:10003 [2023-02-17T05:41:45.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:41:45.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:41:45.341Z] Configure a credential helper to remove this warning. See [2023-02-17T05:41:45.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:41:45.341Z] [2023-02-17T05:41:45.341Z] Login Succeeded [2023-02-17T05:41:45.341Z] nexus3.edgexfoundry.org:10004 [2023-02-17T05:41:45.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:41:45.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:41:45.610Z] Configure a credential helper to remove this warning. See [2023-02-17T05:41:45.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:41:45.610Z] [2023-02-17T05:41:45.610Z] Login Succeeded [2023-02-17T05:41:45.610Z] docker.io [2023-02-17T05:41:45.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T05:41:46.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T05:41:46.151Z] Configure a credential helper to remove this warning. See [2023-02-17T05:41:46.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T05:41:46.151Z] [2023-02-17T05:41:46.151Z] Login Succeeded [2023-02-17T05:41:46.151Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T05:41:46.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T05:41:46.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:41:46.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T05:41:46.444Z] ========================================================= [2023-02-17T05:41:46.444Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T05:41:46.444Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:41:46.785Z] + 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-17T05:41:47.052Z] Sending build context to Docker daemon 5.639MB [2023-02-17T05:41:47.052Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:41:47.052Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T05:41:47.322Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T05:41:47.322Z] 9b18e9b68314: Pulling fs layer [2023-02-17T05:41:47.322Z] 35d82f9e3411: Pulling fs layer [2023-02-17T05:41:47.322Z] e16973657156: Pulling fs layer [2023-02-17T05:41:47.322Z] fc693d55d65f: Pulling fs layer [2023-02-17T05:41:47.322Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T05:41:47.322Z] dda99020689f: Pulling fs layer [2023-02-17T05:41:47.322Z] db1c61fa0a46: Pulling fs layer [2023-02-17T05:41:47.322Z] 891c053d2c06: Pulling fs layer [2023-02-17T05:41:47.322Z] fc693d55d65f: Waiting [2023-02-17T05:41:47.322Z] dda99020689f: Waiting [2023-02-17T05:41:47.322Z] 7e9fc2657dce: Waiting [2023-02-17T05:41:47.322Z] db1c61fa0a46: Waiting [2023-02-17T05:41:47.322Z] 891c053d2c06: Waiting [2023-02-17T05:41:47.322Z] e16973657156: Verifying Checksum [2023-02-17T05:41:47.322Z] e16973657156: Download complete [2023-02-17T05:41:47.322Z] 35d82f9e3411: Verifying Checksum [2023-02-17T05:41:47.323Z] 35d82f9e3411: Download complete [2023-02-17T05:41:47.323Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T05:41:47.323Z] 7e9fc2657dce: Download complete [2023-02-17T05:41:47.601Z] dda99020689f: Verifying Checksum [2023-02-17T05:41:47.601Z] dda99020689f: Download complete [2023-02-17T05:41:47.601Z] 9b18e9b68314: Verifying Checksum [2023-02-17T05:41:47.601Z] 9b18e9b68314: Download complete [2023-02-17T05:41:48.590Z] 9b18e9b68314: Pull complete [2023-02-17T05:41:48.590Z] 891c053d2c06: Verifying Checksum [2023-02-17T05:41:48.590Z] 891c053d2c06: Download complete [2023-02-17T05:41:48.860Z] 35d82f9e3411: Pull complete [2023-02-17T05:41:49.457Z] e16973657156: Pull complete [2023-02-17T05:41:49.728Z] db1c61fa0a46: Verifying Checksum [2023-02-17T05:41:49.728Z] db1c61fa0a46: Download complete [2023-02-17T05:41:50.315Z] fc693d55d65f: Verifying Checksum [2023-02-17T05:41:50.315Z] fc693d55d65f: Download complete [2023-02-17T05:42:02.639Z] fc693d55d65f: Pull complete [2023-02-17T05:42:02.639Z] 7e9fc2657dce: Pull complete [2023-02-17T05:42:02.639Z] dda99020689f: Pull complete [2023-02-17T05:42:07.994Z] db1c61fa0a46: Pull complete [2023-02-17T05:42:09.408Z] 891c053d2c06: Pull complete [2023-02-17T05:42:09.408Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T05:42:09.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T05:42:09.408Z] ---> f96f9c87975a [2023-02-17T05:42:09.408Z] Step 3/10 : ARG MAKE=make build [2023-02-17T05:42:11.455Z] ---> Running in 2205e5e84ff1 [2023-02-17T05:42:11.727Z] Removing intermediate container 2205e5e84ff1 [2023-02-17T05:42:11.727Z] ---> 5791ede1e26f [2023-02-17T05:42:11.727Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T05:42:12.002Z] ---> Running in f3cfe02b8a14 [2023-02-17T05:42:12.277Z] Removing intermediate container f3cfe02b8a14 [2023-02-17T05:42:12.277Z] ---> c4aa8c1a5589 [2023-02-17T05:42:12.277Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T05:42:12.277Z] ---> Running in c7b85ec57152 [2023-02-17T05:42:12.544Z] Removing intermediate container c7b85ec57152 [2023-02-17T05:42:12.544Z] ---> 7bdb4f5fe04b [2023-02-17T05:42:12.544Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T05:42:12.816Z] ---> Running in 3a5d743ea334 [2023-02-17T05:42:13.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T05:42:14.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T05:42:15.327Z] OK: 221 MiB in 51 packages [2023-02-17T05:42:16.299Z] Removing intermediate container 3a5d743ea334 [2023-02-17T05:42:16.299Z] ---> 7f943413a85c [2023-02-17T05:42:16.299Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T05:42:18.884Z] ---> aac36f8a4122 [2023-02-17T05:42:18.884Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:42:18.884Z] ---> Running in a9a6ba5a276a [2023-02-17T05:43:26.815Z] Removing intermediate container a9a6ba5a276a [2023-02-17T05:43:26.815Z] ---> 5fc008c1a9fe [2023-02-17T05:43:26.815Z] Step 9/10 : COPY . . [2023-02-17T05:43:28.237Z] ---> d61c155cce9e [2023-02-17T05:43:28.237Z] Step 10/10 : RUN ${MAKE} [2023-02-17T05:43:28.237Z] ---> Running in efcd31f13a17 [2023-02-17T05:43:29.210Z] noop [2023-02-17T05:43:29.809Z] Removing intermediate container efcd31f13a17 [2023-02-17T05:43:29.809Z] ---> 9a4980e2ac27 [2023-02-17T05:43:29.809Z] Successfully built 9a4980e2ac27 [2023-02-17T05:43:29.809Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:43:30.181Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T05:43:30.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:43:30.383Z] prd-ubuntu20.04-docker-arm64-4c-16g-6383 does not seem to be running inside a container [2023-02-17T05:43:30.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T05:43:31.787Z] $ docker top c9b4bf416b90376ee343a71bbd42a404954aed08927e33c70951c3ec98e600df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:43:32.659Z] + go version [2023-02-17T05:43:32.659Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T05:43:32.680Z] $ docker stop --time=1 c9b4bf416b90376ee343a71bbd42a404954aed08927e33c70951c3ec98e600df [2023-02-17T05:43:34.412Z] $ docker rm -f --volumes c9b4bf416b90376ee343a71bbd42a404954aed08927e33c70951c3ec98e600df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:43:35.027Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T05:43:35.027Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:43:35.263Z] prd-ubuntu20.04-docker-arm64-4c-16g-6383 does not seem to be running inside a container [2023-02-17T05:43:35.350Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T05:43:36.801Z] $ docker top 0c80bccab328cbfce5363b4065b9316d3ee415a2ec5fc3e89e8893525faa5d57 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:43:37.702Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-17T05:43:38.369Z] + make test [2023-02-17T05:43:38.369Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T05:44:17.273Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T05:46:24.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T05:46:24.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T05:46:24.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T05:46:24.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T05:46:24.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T05:46:24.030Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.260s coverage: 27.6% of statements [2023-02-17T05:46:24.030Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.327s coverage: 78.9% of statements [2023-02-17T05:46:24.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T05:46:29.401Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.492s coverage: 77.8% of statements [2023-02-17T05:46:29.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T05:46:29.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T05:46:30.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.539s coverage: 77.0% of statements [2023-02-17T05:46:30.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T05:46:30.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-17T05:46:30.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T05:46:31.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.452s coverage: 65.2% of statements [2023-02-17T05:46:31.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T05:46:31.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T05:46:31.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.774s coverage: 89.2% of statements [2023-02-17T05:46:31.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T05:46:31.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.306s coverage: 4.7% of statements [2023-02-17T05:46:31.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T05:46:32.391Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T05:46:32.391Z] GO111MODULE=on go vet ./... [2023-02-17T05:48:09.085Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T05:48:09.085Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T05:48:09.085Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T05:48:09.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T05:48:09.113Z] $ docker stop --time=1 0c80bccab328cbfce5363b4065b9316d3ee415a2ec5fc3e89e8893525faa5d57 [2023-02-17T05:48:11.024Z] $ docker rm -f --volumes 0c80bccab328cbfce5363b4065b9316d3ee415a2ec5fc3e89e8893525faa5d57 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T05:48:12.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T05:48:12.656Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T05:48:13.362Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T05:48:13.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T05:48:14.083Z] + ls -al . [2023-02-17T05:48:14.083Z] total 268 [2023-02-17T05:48:14.083Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 05:43 . [2023-02-17T05:48:14.083Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:41 .. [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 05:41 .dockerignore [2023-02-17T05:48:14.083Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 05:41 .git [2023-02-17T05:48:14.083Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:41 .github [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 05:41 .gitignore [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 05:41 .golangci.yml [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 05:41 CHANGELOG.md [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 05:41 GOVERNANCE.md [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 05:41 Jenkinsfile [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 05:41 LICENSE [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 05:41 Makefile [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 05:41 OWNERS.md [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 05:41 README.md [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 05:35 VERSION [2023-02-17T05:48:14.083Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:41 bin [2023-02-17T05:48:14.083Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 05:46 coverage.out [2023-02-17T05:48:14.083Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 05:41 example [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 05:41 go.mod [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 05:41 go.sum [2023-02-17T05:48:14.083Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 05:41 internal [2023-02-17T05:48:14.083Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 05:41 openapi [2023-02-17T05:48:14.083Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 05:41 pkg [2023-02-17T05:48:14.083Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:41 snap [2023-02-17T05:48:14.083Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 05:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:48:14.435Z] + 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=ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a --label arch=arm64 --label version=0.0.0 . [2023-02-17T05:48:15.050Z] Sending build context to Docker daemon 5.738MB [2023-02-17T05:48:15.050Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T05:48:15.050Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T05:48:15.050Z] ---> 9a4980e2ac27 [2023-02-17T05:48:15.050Z] Step 3/23 : ARG MAKE=make build [2023-02-17T05:48:15.050Z] ---> Running in 529ecee0b6f1 [2023-02-17T05:48:15.639Z] Removing intermediate container 529ecee0b6f1 [2023-02-17T05:48:15.639Z] ---> 2e4e50ea2593 [2023-02-17T05:48:15.639Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T05:48:15.639Z] ---> Running in 993155d28d18 [2023-02-17T05:48:15.910Z] Removing intermediate container 993155d28d18 [2023-02-17T05:48:15.910Z] ---> 1f419560fd9b [2023-02-17T05:48:15.910Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T05:48:15.910Z] ---> Running in 2589ddfa852a [2023-02-17T05:48:16.502Z] Removing intermediate container 2589ddfa852a [2023-02-17T05:48:16.502Z] ---> 5c04ca5df3df [2023-02-17T05:48:16.502Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T05:48:16.502Z] ---> Running in dbb5171fad26 [2023-02-17T05:48:17.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T05:48:18.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T05:48:19.150Z] OK: 221 MiB in 51 packages [2023-02-17T05:48:20.157Z] Removing intermediate container dbb5171fad26 [2023-02-17T05:48:20.157Z] ---> 9b7e83205afb [2023-02-17T05:48:20.157Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T05:48:20.749Z] ---> 093d3376a4f9 [2023-02-17T05:48:20.749Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T05:48:21.021Z] ---> Running in 7cd416a16fe3 [2023-02-17T05:48:23.619Z] Removing intermediate container 7cd416a16fe3 [2023-02-17T05:48:23.619Z] ---> a59232d10ba4 [2023-02-17T05:48:23.619Z] Step 9/23 : COPY . . [2023-02-17T05:48:25.047Z] ---> 82eaaf75524f [2023-02-17T05:48:25.047Z] Step 10/23 : RUN ${MAKE} [2023-02-17T05:48:25.320Z] ---> Running in 5abac1db40c6 [2023-02-17T05:48:26.330Z] 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-17T05:51:03.124Z] Removing intermediate container 5abac1db40c6 [2023-02-17T05:51:03.124Z] ---> 0efd2a58fa3c [2023-02-17T05:51:03.124Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T05:51:03.124Z] 3.16: Pulling from library/alpine [2023-02-17T05:51:03.124Z] 3760b48202b3: Pulling fs layer [2023-02-17T05:51:03.124Z] 3760b48202b3: Verifying Checksum [2023-02-17T05:51:03.124Z] 3760b48202b3: Download complete [2023-02-17T05:51:03.124Z] 3760b48202b3: Pull complete [2023-02-17T05:51:03.124Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T05:51:03.124Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T05:51:03.124Z] ---> 4c81e5bf8899 [2023-02-17T05:51:03.124Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T05:51:03.124Z] ---> Running in 49d879ee61f8 [2023-02-17T05:51:03.124Z] Removing intermediate container 49d879ee61f8 [2023-02-17T05:51:03.124Z] ---> 13c640579809 [2023-02-17T05:51:03.124Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T05:51:03.124Z] ---> Running in 47ba3dceaae8 [2023-02-17T05:51:03.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T05:51:03.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T05:51:03.124Z] OK: 5 MiB in 14 packages [2023-02-17T05:51:03.124Z] Removing intermediate container 47ba3dceaae8 [2023-02-17T05:51:03.124Z] ---> 0522e6244e1f [2023-02-17T05:51:03.124Z] Step 14/23 : WORKDIR / [2023-02-17T05:51:03.124Z] ---> Running in 753ee8a76ac3 [2023-02-17T05:51:03.124Z] Removing intermediate container 753ee8a76ac3 [2023-02-17T05:51:03.124Z] ---> f29a0fba563d [2023-02-17T05:51:03.124Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T05:51:03.124Z] ---> bc2cc2f75c92 [2023-02-17T05:51:03.124Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T05:51:03.124Z] ---> 60c7bc67ff0f [2023-02-17T05:51:03.124Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T05:51:03.124Z] ---> 4d80520d5d72 [2023-02-17T05:51:03.124Z] Step 18/23 : EXPOSE 59999 [2023-02-17T05:51:03.124Z] ---> Running in 4071ad96fa10 [2023-02-17T05:51:03.124Z] Removing intermediate container 4071ad96fa10 [2023-02-17T05:51:03.124Z] ---> c7b09cd3f097 [2023-02-17T05:51:03.124Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T05:51:03.124Z] ---> Running in 3b4273eab4dc [2023-02-17T05:51:03.124Z] Removing intermediate container 3b4273eab4dc [2023-02-17T05:51:03.124Z] ---> d291a3d09506 [2023-02-17T05:51:03.124Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T05:51:03.124Z] ---> Running in 77cb99291e67 [2023-02-17T05:51:03.124Z] Removing intermediate container 77cb99291e67 [2023-02-17T05:51:03.124Z] ---> 0e9c7b0e7684 [2023-02-17T05:51:03.124Z] Step 21/23 : LABEL arch=arm64 [2023-02-17T05:51:03.392Z] ---> Running in 116726a2e4bf [2023-02-17T05:51:03.661Z] Removing intermediate container 116726a2e4bf [2023-02-17T05:51:03.661Z] ---> ce574e3e3732 [2023-02-17T05:51:03.661Z] Step 22/23 : LABEL git_sha=ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [2023-02-17T05:51:03.661Z] ---> Running in 4d29d53af745 [2023-02-17T05:51:03.932Z] Removing intermediate container 4d29d53af745 [2023-02-17T05:51:03.932Z] ---> b8ccf63e420d [2023-02-17T05:51:03.932Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T05:51:04.202Z] ---> Running in 2394370e21bf [2023-02-17T05:51:04.473Z] Removing intermediate container 2394370e21bf [2023-02-17T05:51:04.473Z] ---> 8fe68b4d533f [2023-02-17T05:51:04.473Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T05:51:04.473Z] Successfully built 8fe68b4d533f [2023-02-17T05:51:04.473Z] 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-17T05:51:04.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T05:51:04.924Z] [2023-02-17T05:51:04.924Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:51:05.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T05:51:05.547Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T05:51:05.547Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T05:51:05.547Z] 04944245beec: Pulling fs layer [2023-02-17T05:51:05.547Z] 699f458cf7ca: Pulling fs layer [2023-02-17T05:51:05.547Z] 765212b225bb: Pulling fs layer [2023-02-17T05:51:05.547Z] f23df028b6ca: Pulling fs layer [2023-02-17T05:51:05.547Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T05:51:05.547Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T05:51:05.547Z] 765212b225bb: Waiting [2023-02-17T05:51:05.547Z] f23df028b6ca: Waiting [2023-02-17T05:51:05.547Z] d65c8cfc05b1: Waiting [2023-02-17T05:51:05.547Z] 2437ff75d9bd: Waiting [2023-02-17T05:51:05.547Z] 04944245beec: Verifying Checksum [2023-02-17T05:51:05.547Z] 04944245beec: Download complete [2023-02-17T05:51:05.547Z] 765212b225bb: Verifying Checksum [2023-02-17T05:51:05.547Z] 765212b225bb: Download complete [2023-02-17T05:51:05.547Z] f23df028b6ca: Verifying Checksum [2023-02-17T05:51:05.547Z] f23df028b6ca: Download complete [2023-02-17T05:51:05.821Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T05:51:05.821Z] d65c8cfc05b1: Download complete [2023-02-17T05:51:05.821Z] 699f458cf7ca: Verifying Checksum [2023-02-17T05:51:05.821Z] 699f458cf7ca: Download complete [2023-02-17T05:51:06.092Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T05:51:06.092Z] 8998bd30e6a1: Download complete [2023-02-17T05:51:08.711Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T05:51:08.711Z] 2437ff75d9bd: Download complete [2023-02-17T05:51:10.670Z] 8998bd30e6a1: Pull complete [2023-02-17T05:51:11.261Z] 04944245beec: Pull complete [2023-02-17T05:51:12.680Z] 699f458cf7ca: Pull complete [2023-02-17T05:51:12.951Z] 765212b225bb: Pull complete [2023-02-17T05:51:13.919Z] f23df028b6ca: Pull complete [2023-02-17T05:51:14.189Z] d65c8cfc05b1: Pull complete [2023-02-17T05:51:29.205Z] 2437ff75d9bd: Pull complete [2023-02-17T05:51:29.205Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T05:51:29.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T05:51:29.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:51:29.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-6383 does not seem to be running inside a container [2023-02-17T05:51:29.481Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T05:51:32.532Z] $ docker top fcad31fb5afdebb99e538244a576f5714ebdb4cb1c8752f5adb9f2f302bd55eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:51:33.419Z] ---> job-cost.sh [2023-02-17T05:51:33.419Z] lf-activate-venv: SKIPPING [2023-02-17T05:51:33.419Z] INFO: No Stack... [2023-02-17T05:51:34.009Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T05:51:34.981Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T05:51:35.635Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-02-17T05:51:35.635Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T05:51:35.683Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1323-3-stack-cost] [2023-02-17T05:51:35.690Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-3-stack-cost] did not exist. Created. [2023-02-17T05:51:35.690Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1323-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T05:51:36.365Z] /w/workspace/device-sdk-go/3@tmp/durable-134cbbc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T05:51:37.046Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T05:51:37.072Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T05:51:37.150Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T05:51:37.160Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T05:51:37.173Z] $ docker stop --time=1 fcad31fb5afdebb99e538244a576f5714ebdb4cb1c8752f5adb9f2f302bd55eb [2023-02-17T05:51:38.711Z] $ docker rm -f --volumes fcad31fb5afdebb99e538244a576f5714ebdb4cb1c8752f5adb9f2f302bd55eb [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-17T05:51:39.097Z] provisioning config files... [2023-02-17T05:51:39.105Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config18042028409177236271tmp [Pipeline] { [Pipeline] sh [2023-02-17T05:51:39.404Z] + set +x [2023-02-17T05:51:39.404Z] + curl -s https://codecov.io/bash [2023-02-17T05:51:39.404Z] + bash -s -- [2023-02-17T05:51:39.404Z] [2023-02-17T05:51:39.404Z] _____ _ [2023-02-17T05:51:39.404Z] / ____| | | [2023-02-17T05:51:39.404Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T05:51:39.404Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T05:51:39.404Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T05:51:39.404Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T05:51:39.404Z] Bash-1.0.6 [2023-02-17T05:51:39.404Z] [2023-02-17T05:51:39.404Z] [2023-02-17T05:51:39.404Z] ==> git version 2.25.1 found [2023-02-17T05:51:39.404Z] ==> 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-17T05:51:39.404Z] Release-Date: 2020-01-08 [2023-02-17T05:51:39.404Z] 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-17T05:51:39.404Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T05:51:39.404Z] ==> Jenkins CI detected. [2023-02-17T05:51:39.404Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1323 [2023-02-17T05:51:39.404Z] project root: . [2023-02-17T05:51:39.404Z] --> token set from env [2023-02-17T05:51:39.404Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T05:51:39.404Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T05:51:39.404Z] ==> Python coveragepy not found [2023-02-17T05:51:39.404Z] ==> Searching for coverage reports in: [2023-02-17T05:51:39.404Z] + . [2023-02-17T05:51:39.404Z] -> Found 1 reports [2023-02-17T05:51:39.404Z] ==> Detecting git/mercurial file structure [2023-02-17T05:51:39.405Z] ==> Reading reports [2023-02-17T05:51:39.405Z] + ./coverage.out bytes=98700 [2023-02-17T05:51:39.663Z] ==> Appending adjustments [2023-02-17T05:51:39.663Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T05:51:39.922Z] + Found adjustments [2023-02-17T05:51:39.922Z] ==> Gzipping contents [2023-02-17T05:51:39.922Z] 16K /tmp/codecov.2CVAWD.gz [2023-02-17T05:51:39.922Z] ==> Uploading reports [2023-02-17T05:51:39.922Z] url: https://codecov.io [2023-02-17T05:51:39.922Z] query: branch=PR-1323&commit=ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1323%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1323&job=&cmd_args= [2023-02-17T05:51:39.922Z] -> Pinging Codecov [2023-02-17T05:51:39.922Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1323&commit=ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1323%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1323&job=&cmd_args= [2023-02-17T05:51:39.922Z] -> Uploading to [2023-02-17T05:51:39.922Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7E55EF52A471D76F132DFD9A03CDDE97/ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a/b975c5e8-182d-4d98-b839-33049ed70f96.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T055139Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc1952b49a47a8b8f7781ccbe95ea5620dd24d7b60ffab91d2876a57517e88b8 [2023-02-17T05:51:39.922Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T05:51:39.922Z] Dload Upload Total Spent Left Speed [2023-02-17T05:51:40.180Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14368 0 0 100 14368 0 51870 --:--:-- --:--:-- --:--:-- 51870 [2023-02-17T05:51:40.180Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ebd5672eccf11d28d40dbdc05c0c3e7297ff1a6a [Pipeline] } [2023-02-17T05:51:40.187Z] 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-17T05:51:40.862Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives ] [2023-02-17T05:51:40.862Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives [2023-02-17T05:51:40.862Z] total 16 [2023-02-17T05:51:40.862Z] drwxr-xr-x 3 root root 4096 Feb 17 05:37 . [2023-02-17T05:51:40.862Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 05:37 .. [2023-02-17T05:51:40.862Z] drwxr-xr-x 2 root root 4096 Feb 17 05:37 cost [2023-02-17T05:51:40.862Z] -rw-r--r-- 1 root root 87 Feb 17 05:37 cost.csv [2023-02-17T05:51:40.862Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives [2023-02-17T05:51:40.862Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives [2023-02-17T05:51:40.862Z] total 16 [2023-02-17T05:51:40.862Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 05:37 . [2023-02-17T05:51:40.862Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 05:37 .. [2023-02-17T05:51:40.862Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 05:37 cost [2023-02-17T05:51:40.862Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 17 05:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:51:41.154Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:51:42.009Z] ---> package-listing.sh [2023-02-17T05:51:42.009Z] ++ facter osfamily [2023-02-17T05:51:42.009Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T05:51:42.268Z] + OS_FAMILY=debian [2023-02-17T05:51:42.268Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1323 [2023-02-17T05:51:42.268Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T05:51:42.268Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T05:51:42.268Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T05:51:42.268Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T05:51:42.268Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1323 ']' [2023-02-17T05:51:42.268Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T05:51:42.268Z] + case "${OS_FAMILY}" in [2023-02-17T05:51:42.268Z] + dpkg -l [2023-02-17T05:51:42.268Z] + grep '^ii' [2023-02-17T05:51:42.268Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T05:51:42.268Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T05:51:42.268Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T05:51:42.268Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1323 ']' [2023-02-17T05:51:42.268Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives/ [2023-02-17T05:51:42.268Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives/ [Pipeline] echo [2023-02-17T05:51:42.277Z] 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-1323/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T05:51:42.553Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T05:51:43.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T05:51:43.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T05:51:43.175Z] prd-ubuntu20.04-docker-8c-8g-6374 does not seem to be running inside a container [2023-02-17T05:51:43.208Z] $ 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-1323/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-1323 -v /w/workspace/gexfoundry_device-sdk-go_PR-1323:/w/workspace/gexfoundry_device-sdk-go_PR-1323:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1323@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-17T05:51:43.418Z] $ docker top 2c26a15c683986d50d1cb3a655d8c50de24390c702e36f99871dfd28b15b433e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T05:51:43.763Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T05:51:44.050Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T05:51:44.332Z] + ls /var/log/sa-host [2023-02-17T05:51:44.332Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T05:51:44.398Z] provisioning config files... [2023-02-17T05:51:44.404Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config14621324432889833481tmp [Pipeline] { [Pipeline] echo [2023-02-17T05:51:44.414Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:51:44.697Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T05:51:44.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:51:45.031Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T05:51:45.041Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:51:45.324Z] ---> sudo-logs.sh [2023-02-17T05:51:45.324Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T05:51:45.351Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:51:45.633Z] ---> job-cost.sh [2023-02-17T05:51:45.633Z] lf-activate-venv: SKIPPING [2023-02-17T05:51:45.633Z] DEBUG: total: 0.2199999988079071 [2023-02-17T05:51:45.633Z] INFO: Retrieving Stack Cost... [2023-02-17T05:51:45.892Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T05:51:46.461Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T05:51:46.475Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T05:51:46.759Z] ---> logs-deploy.sh [2023-02-17T05:51:46.760Z] lf-activate-venv: SKIPPING [2023-02-17T05:51:46.760Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1323/3 [2023-02-17T05:51:46.760Z] INFO: archiving workspace using pattern(s): [2023-02-17T05:51:47.697Z] Archives upload complete. [2023-02-17T05:51:47.697Z] INFO: archiving logs to Nexus