Pull request #1323 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 321284e9d55c61ffd0b880cc261f98f121af409e+cf150bd1006c505b2559d8970edbe52dd5fe7567 (ab9ad13fdc45c6d3060de242ea4f3d04b928815d) 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-ssh7017162466238932921.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-ssh16210033742630103826.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-ssh10806392849200923097.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-ssh307991462421711761.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-ssh5043073219014964789.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 Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6137’ Running on prd-ubuntu20.04-docker-8c-8g-6142 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 cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 321284e9d55c61ffd0b880cc261f98f121af409e Merge succeeded, producing 321284e9d55c61ffd0b880cc261f98f121af409e Checking out Revision 321284e9d55c61ffd0b880cc261f98f121af409e (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-15T16:58:00.371Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 321284e9d55c61ffd0b880cc261f98f121af409e # 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 cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 321284e9d55c61ffd0b880cc261f98f121af409e # timeout=10 > git rev-list --no-walk d75953f8992a98090e397d8c7706567f2e1c2bc6 # timeout=10 [Pipeline] withCredentials [2023-02-15T16:58:00.432Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T16:58:00.448Z] ========================================================= [2023-02-15T16:58:00.448Z] EdgeX Global Pipelines Version Info [2023-02-15T16:58:00.448Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:58:01.172Z] ------------------- [2023-02-15T16:58:01.172Z] stable info: [2023-02-15T16:58:01.172Z] ------------------- [2023-02-15T16:58:01.172Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T16:58:01.172Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T16:58:01.172Z] Message: update stable to v1.0.244 [2023-02-15T16:58:02.113Z] ------------------- [2023-02-15T16:58:02.113Z] experimental info: [2023-02-15T16:58:02.113Z] ------------------- [2023-02-15T16:58:02.113Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T16:58:02.113Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T16:58:02.113Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T16:58:02.274Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-15T16:58:02.285Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-15T16:58:02.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T16:58:02.316Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T16:58:02.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T16:58:02.346Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T16:58:02.357Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T16:58:02.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-15T16:58:02.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T16:58:02.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T16:58:02.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T16:58:02.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-15T16:58:02.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T16:58:02.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T16:58:02.456Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T16:58:02.470Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T16:58:02.482Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T16:58:02.497Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T16:58:02.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T16:58:02.526Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T16:58:02.541Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-15T16:58:02.554Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-15T16:58:02.566Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T16:58:02.580Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T16:58:02.596Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T16:58:02.615Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T16:58:02.633Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T16:58:02.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1323 [Pipeline] echo [2023-02-15T16:58:02.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1323 [Pipeline] echo [2023-02-15T16:58:02.690Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1323 [Pipeline] echo [2023-02-15T16:58:02.708Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 321284e9d55c61ffd0b880cc261f98f121af409e [Pipeline] echo [2023-02-15T16:58:02.730Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 321284e [Pipeline] echo [2023-02-15T16:58:02.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T16:58:02.793Z] provisioning config files... [2023-02-15T16:58:02.808Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config1728810375865007909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:58:03.112Z] ---> docker-login.sh [2023-02-15T16:58:03.112Z] nexus3.edgexfoundry.org:10001 [2023-02-15T16:58:03.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:03.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:03.372Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:03.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:03.372Z] [2023-02-15T16:58:03.372Z] Login Succeeded [2023-02-15T16:58:03.372Z] nexus3.edgexfoundry.org:10002 [2023-02-15T16:58:03.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:03.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:03.632Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:03.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:03.632Z] [2023-02-15T16:58:03.632Z] Login Succeeded [2023-02-15T16:58:03.632Z] nexus3.edgexfoundry.org:10003 [2023-02-15T16:58:03.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:03.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:03.633Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:03.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:03.633Z] [2023-02-15T16:58:03.633Z] Login Succeeded [2023-02-15T16:58:03.633Z] nexus3.edgexfoundry.org:10004 [2023-02-15T16:58:03.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:03.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:03.893Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:03.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:03.893Z] [2023-02-15T16:58:03.893Z] Login Succeeded [2023-02-15T16:58:03.893Z] docker.io [2023-02-15T16:58:03.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:04.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:04.153Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:04.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:04.153Z] [2023-02-15T16:58:04.153Z] Login Succeeded [2023-02-15T16:58:04.153Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T16:58:04.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T16:58:04.538Z] + git rev-list -1 --merges 321284e9d55c61ffd0b880cc261f98f121af409e~1..321284e9d55c61ffd0b880cc261f98f121af409e [Pipeline] echo [2023-02-15T16:58:04.583Z] -----------> git rev-list -1 --merges 321284e9d55c61ffd0b880cc261f98f121af409e~1..321284e9d55c61ffd0b880cc261f98f121af409e 321284e9d55c61ffd0b880cc261f98f121af409e [false] [Pipeline] sh [2023-02-15T16:58:04.874Z] + git log --format=format:%s -1 321284e9d55c61ffd0b880cc261f98f121af409e [Pipeline] echo [2023-02-15T16:58:04.888Z] ========================================================= [2023-02-15T16:58:04.888Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T16:58:04.888Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T16:58:05.222Z] + git log --format=format:%s -1 321284e9d55c61ffd0b880cc261f98f121af409e [Pipeline] echo [2023-02-15T16:58:05.233Z] [semverPrep] GIT_COMMIT: 321284e9d55c61ffd0b880cc261f98f121af409e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-15T16:58:05.245Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T16:58:05.586Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T16:58:05.587Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T16:58:05.587Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T16:58:05.587Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T16:58:05.587Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T16:58:05.587Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T16:58:05.587Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:58:05.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T16:58:05.930Z] [2023-02-15T16:58:05.930Z] 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-15T16:58:06.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T16:58:06.232Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T16:58:06.232Z] b85a868b505f: Pulling fs layer [2023-02-15T16:58:06.232Z] e2be974225ed: Pulling fs layer [2023-02-15T16:58:06.232Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T16:58:06.232Z] 988bab9f4d93: Pulling fs layer [2023-02-15T16:58:06.232Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T16:58:06.232Z] eaf3925da568: Pulling fs layer [2023-02-15T16:58:06.232Z] bab4dde63d76: Pulling fs layer [2023-02-15T16:58:06.232Z] bde34c3a00c8: Pulling fs layer [2023-02-15T16:58:06.232Z] b352a97aabf1: Pulling fs layer [2023-02-15T16:58:06.232Z] 4872d77fe225: Pulling fs layer [2023-02-15T16:58:06.232Z] 5851b861e8e6: Pulling fs layer [2023-02-15T16:58:06.232Z] 1469e6f7b9e6: Waiting [2023-02-15T16:58:06.232Z] b352a97aabf1: Waiting [2023-02-15T16:58:06.232Z] eaf3925da568: Waiting [2023-02-15T16:58:06.232Z] 4872d77fe225: Waiting [2023-02-15T16:58:06.232Z] bab4dde63d76: Waiting [2023-02-15T16:58:06.232Z] 988bab9f4d93: Waiting [2023-02-15T16:58:06.232Z] bde34c3a00c8: Waiting [2023-02-15T16:58:06.232Z] 5851b861e8e6: Waiting [2023-02-15T16:58:06.232Z] e2be974225ed: Verifying Checksum [2023-02-15T16:58:06.232Z] e2be974225ed: Download complete [2023-02-15T16:58:06.232Z] 988bab9f4d93: Verifying Checksum [2023-02-15T16:58:06.232Z] 988bab9f4d93: Download complete [2023-02-15T16:58:06.497Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T16:58:06.497Z] 1469e6f7b9e6: Download complete [2023-02-15T16:58:06.497Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T16:58:06.497Z] 339a4e72a1f5: Download complete [2023-02-15T16:58:06.497Z] eaf3925da568: Verifying Checksum [2023-02-15T16:58:06.497Z] eaf3925da568: Download complete [2023-02-15T16:58:06.497Z] bde34c3a00c8: Verifying Checksum [2023-02-15T16:58:06.497Z] bde34c3a00c8: Download complete [2023-02-15T16:58:06.758Z] b352a97aabf1: Download complete [2023-02-15T16:58:06.758Z] 4872d77fe225: Download complete [2023-02-15T16:58:06.758Z] 5851b861e8e6: Verifying Checksum [2023-02-15T16:58:06.758Z] 5851b861e8e6: Download complete [2023-02-15T16:58:06.758Z] b85a868b505f: Download complete [2023-02-15T16:58:07.017Z] bab4dde63d76: Verifying Checksum [2023-02-15T16:58:07.017Z] bab4dde63d76: Download complete [2023-02-15T16:58:07.953Z] b85a868b505f: Pull complete [2023-02-15T16:58:08.211Z] e2be974225ed: Pull complete [2023-02-15T16:58:08.469Z] 339a4e72a1f5: Pull complete [2023-02-15T16:58:08.728Z] 988bab9f4d93: Pull complete [2023-02-15T16:58:08.989Z] 1469e6f7b9e6: Pull complete [2023-02-15T16:58:08.989Z] eaf3925da568: Pull complete [2023-02-15T16:58:10.889Z] bab4dde63d76: Pull complete [2023-02-15T16:58:10.889Z] bde34c3a00c8: Pull complete [2023-02-15T16:58:11.151Z] b352a97aabf1: Pull complete [2023-02-15T16:58:11.151Z] 4872d77fe225: Pull complete [2023-02-15T16:58:11.151Z] 5851b861e8e6: Pull complete [2023-02-15T16:58:11.151Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T16:58:11.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T16:58:11.151Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:58:11.250Z] prd-ubuntu20.04-docker-8c-8g-6142 does not seem to be running inside a container [2023-02-15T16:58:11.286Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T16:58:12.818Z] $ docker top e96b2763330f1cc885abaaa0603135c40d73939dab835d66999d2be90543c10f -eo pid,comm [2023-02-15T16:58:12.891Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T16:58:12.891Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T16:58:12.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T16:58:12.930Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T16:58:13.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T16:58:13.047Z] $ docker exec e96b2763330f1cc885abaaa0603135c40d73939dab835d66999d2be90543c10f ssh-agent [2023-02-15T16:58:13.167Z] SSH_AUTH_SOCK=/tmp/ssh-oZNm39K25byO/agent.32 [2023-02-15T16:58:13.167Z] SSH_AGENT_PID=38 [2023-02-15T16:58:13.179Z] Running ssh-add (command line suppressed) [2023-02-15T16:58:13.285Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_676392302475486283.key (/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_676392302475486283.key) [2023-02-15T16:58:13.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T16:58:13.592Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T16:58:13.606Z] $ docker exec --env ******** --env ******** e96b2763330f1cc885abaaa0603135c40d73939dab835d66999d2be90543c10f ssh-agent -k [2023-02-15T16:58:13.709Z] unset SSH_AUTH_SOCK; [2023-02-15T16:58:13.710Z] unset SSH_AGENT_PID; [2023-02-15T16:58:13.710Z] echo Agent pid 38 killed; [2023-02-15T16:58:13.721Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T16:58:13.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T16:58:13.743Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T16:58:13.882Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T16:58:13.884Z] $ docker exec e96b2763330f1cc885abaaa0603135c40d73939dab835d66999d2be90543c10f ssh-agent [2023-02-15T16:58:13.993Z] SSH_AUTH_SOCK=/tmp/ssh-nWtt2lykFY2q/agent.70 [2023-02-15T16:58:13.993Z] SSH_AGENT_PID=76 [2023-02-15T16:58:13.998Z] Running ssh-add (command line suppressed) [2023-02-15T16:58:14.117Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_5369130008422064239.key (/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/private_key_5369130008422064239.key) [2023-02-15T16:58:14.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T16:58:14.687Z] + git semver init [2023-02-15T16:58:14.946Z] 2023-02-15 16:58:14,893 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T16:58:14.946Z] 2023-02-15 16:58:14,894 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver [2023-02-15T16:58:14.946Z] 2023-02-15 16:58:14,895 [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-15T16:58:14.946Z] 2023-02-15 16:58:14,895 [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-15T16:58:16.335Z] 2023-02-15 16:58:16,100 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.git/info/exclude [2023-02-15T16:58:16.335Z] 2023-02-15 16:58:16,101 [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-15T16:58:16.335Z] 2023-02-15 16:58:16,101 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver/PR-1323 [2023-02-15T16:58:16.335Z] 2023-02-15 16:58:16,105 [execute] INFO git cat-file --batch-check [2023-02-15T16:58:16.335Z] 2023-02-15 16:58:16,106 [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-15T16:58:16.335Z] 2023-02-15 16:58:16,116 [execute] INFO git cat-file --batch [2023-02-15T16:58:16.335Z] 2023-02-15 16:58:16,117 [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-15T16:58:16.335Z] 2023-02-15 16:58:16,122 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1323/.semver/PR-1323 [2023-02-15T16:58:16.335Z] 0.0.0 [Pipeline] } [2023-02-15T16:58:16.343Z] $ docker exec --env ******** --env ******** e96b2763330f1cc885abaaa0603135c40d73939dab835d66999d2be90543c10f ssh-agent -k [2023-02-15T16:58:16.448Z] unset SSH_AUTH_SOCK; [2023-02-15T16:58:16.448Z] unset SSH_AGENT_PID; [2023-02-15T16:58:16.448Z] echo Agent pid 76 killed; [2023-02-15T16:58:16.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T16:58:16.759Z] + git semver [Pipeline] } [2023-02-15T16:58:17.032Z] $ docker stop --time=1 e96b2763330f1cc885abaaa0603135c40d73939dab835d66999d2be90543c10f [2023-02-15T16:58:18.380Z] $ docker rm -f --volumes e96b2763330f1cc885abaaa0603135c40d73939dab835d66999d2be90543c10f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T16:58:18.722Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T16:58:18.935Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T16:58:18.938Z] [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-15T16:58:19.092Z] provisioning config files... [2023-02-15T16:58:19.102Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config2051601598443349432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:58:19.398Z] ---> docker-login.sh [2023-02-15T16:58:19.398Z] nexus3.edgexfoundry.org:10001 [2023-02-15T16:58:19.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:19.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:19.398Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:19.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:19.398Z] [2023-02-15T16:58:19.398Z] Login Succeeded [2023-02-15T16:58:19.398Z] nexus3.edgexfoundry.org:10002 [2023-02-15T16:58:19.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:19.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:19.658Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:19.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:19.658Z] [2023-02-15T16:58:19.658Z] Login Succeeded [2023-02-15T16:58:19.658Z] nexus3.edgexfoundry.org:10003 [2023-02-15T16:58:19.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:19.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:19.658Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:19.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:19.658Z] [2023-02-15T16:58:19.658Z] Login Succeeded [2023-02-15T16:58:19.658Z] nexus3.edgexfoundry.org:10004 [2023-02-15T16:58:19.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:19.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:19.658Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:19.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:19.658Z] [2023-02-15T16:58:19.658Z] Login Succeeded [2023-02-15T16:58:19.918Z] docker.io [2023-02-15T16:58:19.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:58:20.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:58:20.178Z] Configure a credential helper to remove this warning. See [2023-02-15T16:58:20.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:58:20.178Z] [2023-02-15T16:58:20.178Z] Login Succeeded [2023-02-15T16:58:20.178Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T16:58:20.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T16:58:20.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T16:58:20.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T16:58:20.280Z] ========================================================= [2023-02-15T16:58:20.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T16:58:20.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:58:20.581Z] + 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-15T16:58:20.581Z] Sending build context to Docker daemon 10.47MB [2023-02-15T16:58:20.581Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T16:58:20.581Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T16:58:20.848Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T16:58:20.848Z] 213ec9aee27d: Pulling fs layer [2023-02-15T16:58:20.848Z] 4583459ba037: Pulling fs layer [2023-02-15T16:58:20.848Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T16:58:20.848Z] 53926ce57604: Pulling fs layer [2023-02-15T16:58:20.848Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T16:58:20.848Z] 22ff95d597cd: Pulling fs layer [2023-02-15T16:58:20.848Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T16:58:20.848Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T16:58:20.848Z] a7acece74701: Pulling fs layer [2023-02-15T16:58:20.848Z] 22ff95d597cd: Waiting [2023-02-15T16:58:20.848Z] 12d6caf4c0d1: Waiting [2023-02-15T16:58:20.848Z] 96b7cbca73a9: Waiting [2023-02-15T16:58:20.848Z] a7acece74701: Waiting [2023-02-15T16:58:20.848Z] 53926ce57604: Waiting [2023-02-15T16:58:20.848Z] 21b2b0c7a3f4: Waiting [2023-02-15T16:58:20.848Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T16:58:20.848Z] 93c1e223e6f2: Download complete [2023-02-15T16:58:20.848Z] 4583459ba037: Verifying Checksum [2023-02-15T16:58:20.848Z] 4583459ba037: Download complete [2023-02-15T16:58:20.848Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T16:58:20.848Z] 21b2b0c7a3f4: Download complete [2023-02-15T16:58:20.848Z] 22ff95d597cd: Verifying Checksum [2023-02-15T16:58:20.848Z] 22ff95d597cd: Download complete [2023-02-15T16:58:20.848Z] 213ec9aee27d: Verifying Checksum [2023-02-15T16:58:20.848Z] 213ec9aee27d: Download complete [2023-02-15T16:58:20.848Z] 12d6caf4c0d1: Download complete [2023-02-15T16:58:21.115Z] 213ec9aee27d: Pull complete [2023-02-15T16:58:21.115Z] 4583459ba037: Pull complete [2023-02-15T16:58:21.408Z] 93c1e223e6f2: Pull complete [2023-02-15T16:58:22.535Z] a7acece74701: Verifying Checksum [2023-02-15T16:58:22.535Z] a7acece74701: Download complete [2023-02-15T16:58:23.229Z] 53926ce57604: Verifying Checksum [2023-02-15T16:58:23.229Z] 53926ce57604: Download complete [2023-02-15T16:58:23.229Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T16:58:23.229Z] 96b7cbca73a9: Download complete [2023-02-15T16:58:26.856Z] 53926ce57604: Pull complete [2023-02-15T16:58:26.856Z] 21b2b0c7a3f4: Pull complete [2023-02-15T16:58:27.114Z] 22ff95d597cd: Pull complete [2023-02-15T16:58:27.115Z] 12d6caf4c0d1: Pull complete [2023-02-15T16:58:29.652Z] 96b7cbca73a9: Pull complete [2023-02-15T16:58:30.217Z] a7acece74701: Pull complete [2023-02-15T16:58:30.217Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T16:58:30.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T16:58:30.218Z] ---> db6d94c90886 [2023-02-15T16:58:30.218Z] Step 3/10 : ARG MAKE=make build [2023-02-15T16:58:32.121Z] ---> Running in 4a60cce32acf [2023-02-15T16:58:32.121Z] Removing intermediate container 4a60cce32acf [2023-02-15T16:58:32.121Z] ---> aca53cfcbdce [2023-02-15T16:58:32.121Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T16:58:32.121Z] ---> Running in 8cfa25c36012 [2023-02-15T16:58:32.379Z] Removing intermediate container 8cfa25c36012 [2023-02-15T16:58:32.379Z] ---> b44958183b5e [2023-02-15T16:58:32.379Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T16:58:32.379Z] ---> Running in fe4af15561d4 [2023-02-15T16:58:32.379Z] Removing intermediate container fe4af15561d4 [2023-02-15T16:58:32.379Z] ---> 6950ffb8f6c9 [2023-02-15T16:58:32.379Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T16:58:32.638Z] ---> Running in 62af49eea365 [2023-02-15T16:58:32.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T16:58:32.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T16:58:33.155Z] OK: 211 MiB in 51 packages [2023-02-15T16:58:33.720Z] Removing intermediate container 62af49eea365 [2023-02-15T16:58:33.720Z] ---> 2177825ae750 [2023-02-15T16:58:33.720Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T16:58:33.720Z] ---> d55915f2211b [2023-02-15T16:58:33.720Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T16:58:33.720Z] ---> Running in 8849e2ea628d [2023-02-15T16:58:34.043Z] Still waiting to schedule task [2023-02-15T16:58:34.043Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6138’ [2023-02-15T16:59:05.796Z] Removing intermediate container 8849e2ea628d [2023-02-15T16:59:05.796Z] ---> 8579e4cfa37f [2023-02-15T16:59:05.796Z] Step 9/10 : COPY . . [2023-02-15T16:59:05.796Z] ---> d0f37038ee38 [2023-02-15T16:59:05.796Z] Step 10/10 : RUN ${MAKE} [2023-02-15T16:59:05.796Z] ---> Running in 3ecc94115aed [2023-02-15T16:59:05.796Z] noop [2023-02-15T16:59:05.796Z] Removing intermediate container 3ecc94115aed [2023-02-15T16:59:05.796Z] ---> 0666ec30493d [2023-02-15T16:59:05.796Z] Successfully built 0666ec30493d [2023-02-15T16:59:05.796Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:59:06.104Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T16:59:06.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:59:06.173Z] prd-ubuntu20.04-docker-8c-8g-6142 does not seem to be running inside a container [2023-02-15T16:59:06.200Z] $ 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 ******** ci-base-image-x86_64 cat [2023-02-15T16:59:06.601Z] $ docker top c7959815019065bc16962876039dcc927c1c151e633c11aa0167038d793d7109 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T16:59:06.941Z] + go version [2023-02-15T16:59:06.941Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T16:59:06.952Z] $ docker stop --time=1 c7959815019065bc16962876039dcc927c1c151e633c11aa0167038d793d7109 [2023-02-15T16:59:08.267Z] $ docker rm -f --volumes c7959815019065bc16962876039dcc927c1c151e633c11aa0167038d793d7109 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:59:08.672Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T16:59:08.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:59:08.740Z] prd-ubuntu20.04-docker-8c-8g-6142 does not seem to be running inside a container [2023-02-15T16:59:08.767Z] $ 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 ******** ci-base-image-x86_64 cat [2023-02-15T16:59:09.137Z] $ docker top a40e85adf171aaf76565be6b0d1efc74cd76b3aa95375ea868225bfd84a3142e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T16:59:09.498Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1323 [Pipeline] fileExists [Pipeline] sh [2023-02-15T16:59:09.795Z] + make test [2023-02-15T16:59:09.795Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T16:59:16.361Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T16:59:31.257Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T16:59:31.257Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T16:59:31.257Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T16:59:31.257Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T16:59:31.257Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T16:59:31.821Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-02-15T16:59:31.821Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.070s coverage: 78.9% of statements [2023-02-15T16:59:31.821Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T16:59:31.821Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 77.8% of statements [2023-02-15T16:59:31.821Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T16:59:31.821Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T16:59:32.079Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.132s coverage: 77.0% of statements [2023-02-15T16:59:32.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T16:59:32.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T16:59:32.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T16:59:32.079Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 65.2% of statements [2023-02-15T16:59:32.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T16:59:32.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T16:59:32.079Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.778s coverage: 89.2% of statements [2023-02-15T16:59:32.079Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T16:59:32.339Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.7% of statements [2023-02-15T16:59:32.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T16:59:50.543Z] 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-15T16:59:50.543Z] GO111MODULE=on go vet ./... [2023-02-15T16:59:51.956Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T16:59:51.956Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T16:59:51.956Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T16:59:52.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T16:59:52.239Z] $ docker stop --time=1 a40e85adf171aaf76565be6b0d1efc74cd76b3aa95375ea868225bfd84a3142e [2023-02-15T16:59:54.392Z] $ docker rm -f --volumes a40e85adf171aaf76565be6b0d1efc74cd76b3aa95375ea868225bfd84a3142e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T16:59:54.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T16:59:54.969Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T16:59:55.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T16:59:55.699Z] + ls -al . [2023-02-15T16:59:55.699Z] total 272 [2023-02-15T16:59:55.699Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 16:59 . [2023-02-15T16:59:55.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:57 .. [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 16:57 .dockerignore [2023-02-15T16:59:55.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 16:59 .git [2023-02-15T16:59:55.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:57 .github [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 16:57 .gitignore [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 16:57 .golangci.yml [2023-02-15T16:59:55.699Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 16:58 .semver [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 16:57 CHANGELOG.md [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 16:57 GOVERNANCE.md [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 16:57 Jenkinsfile [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 16:57 LICENSE [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 16:57 Makefile [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 16:57 OWNERS.md [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 16:57 README.md [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 16:58 VERSION [2023-02-15T16:59:55.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:57 bin [2023-02-15T16:59:55.699Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 16:59 coverage.out [2023-02-15T16:59:55.699Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 16:57 example [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 16:57 go.mod [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 16:57 go.sum [2023-02-15T16:59:55.699Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 16:57 internal [2023-02-15T16:59:55.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 16:57 openapi [2023-02-15T16:59:55.699Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 16:57 pkg [2023-02-15T16:59:55.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:57 snap [2023-02-15T16:59:55.699Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 16:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:59:56.003Z] + 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=321284e9d55c61ffd0b880cc261f98f121af409e --label arch=amd64 --label version=0.0.0 . [2023-02-15T16:59:56.004Z] Sending build context to Docker daemon 10.57MB [2023-02-15T16:59:56.004Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T16:59:56.004Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T16:59:56.004Z] ---> 0666ec30493d [2023-02-15T16:59:56.004Z] Step 3/23 : ARG MAKE=make build [2023-02-15T16:59:56.262Z] ---> Running in fbfa5d5bf979 [2023-02-15T16:59:56.262Z] Removing intermediate container fbfa5d5bf979 [2023-02-15T16:59:56.262Z] ---> b14679d7b0e3 [2023-02-15T16:59:56.262Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T16:59:56.262Z] ---> Running in 9ef344d29f4a [2023-02-15T16:59:56.262Z] Removing intermediate container 9ef344d29f4a [2023-02-15T16:59:56.262Z] ---> 40189a4d2aef [2023-02-15T16:59:56.262Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T16:59:56.521Z] ---> Running in 660f51532450 [2023-02-15T16:59:56.521Z] Removing intermediate container 660f51532450 [2023-02-15T16:59:56.521Z] ---> ee0244201b3d [2023-02-15T16:59:56.521Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T16:59:56.521Z] ---> Running in 061a72bc35ae [2023-02-15T16:59:56.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T16:59:57.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T16:59:57.295Z] OK: 211 MiB in 51 packages [2023-02-15T16:59:57.867Z] Removing intermediate container 061a72bc35ae [2023-02-15T16:59:57.867Z] ---> 9830402014aa [2023-02-15T16:59:57.867Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T16:59:57.867Z] ---> fbf1c3b68792 [2023-02-15T16:59:57.867Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T16:59:57.867Z] ---> Running in ca4187ed574d [2023-02-15T16:59:58.802Z] Removing intermediate container ca4187ed574d [2023-02-15T16:59:58.802Z] ---> d354d2648a2e [2023-02-15T16:59:58.802Z] Step 9/23 : COPY . . [2023-02-15T16:59:59.370Z] ---> 6e2e2c842513 [2023-02-15T16:59:59.370Z] Step 10/23 : RUN ${MAKE} [2023-02-15T16:59:59.370Z] ---> Running in 006e73b456cf [2023-02-15T16:59:59.629Z] 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-15T17:00:21.552Z] Removing intermediate container 006e73b456cf [2023-02-15T17:00:21.552Z] ---> 9012d0825952 [2023-02-15T17:00:21.552Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T17:00:21.552Z] 3.16: Pulling from library/alpine [2023-02-15T17:00:21.552Z] ef5531b6e74e: Pulling fs layer [2023-02-15T17:00:21.552Z] ef5531b6e74e: Verifying Checksum [2023-02-15T17:00:21.552Z] ef5531b6e74e: Download complete [2023-02-15T17:00:21.552Z] ef5531b6e74e: Pull complete [2023-02-15T17:00:21.552Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T17:00:21.552Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T17:00:21.552Z] ---> dfd21b5a31f5 [2023-02-15T17:00:21.552Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T17:00:21.552Z] ---> Running in ef9bc3ab51bb [2023-02-15T17:00:21.552Z] Removing intermediate container ef9bc3ab51bb [2023-02-15T17:00:21.552Z] ---> 97d632a6c2b5 [2023-02-15T17:00:21.552Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T17:00:21.552Z] ---> Running in 52eb714165be [2023-02-15T17:00:21.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T17:00:21.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T17:00:21.552Z] OK: 6 MiB in 14 packages [2023-02-15T17:00:21.552Z] Removing intermediate container 52eb714165be [2023-02-15T17:00:21.552Z] ---> 535a0fd6a033 [2023-02-15T17:00:21.552Z] Step 14/23 : WORKDIR / [2023-02-15T17:00:21.813Z] ---> Running in c43852d74027 [2023-02-15T17:00:21.813Z] Removing intermediate container c43852d74027 [2023-02-15T17:00:21.813Z] ---> 880d518ad296 [2023-02-15T17:00:21.813Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T17:00:22.071Z] ---> f262e5df35a9 [2023-02-15T17:00:22.071Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T17:00:22.639Z] ---> bcd275eae0a0 [2023-02-15T17:00:22.639Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T17:00:22.639Z] ---> 96305d48da1a [2023-02-15T17:00:22.639Z] Step 18/23 : EXPOSE 59999 [2023-02-15T17:00:22.639Z] ---> Running in 64df2eb02626 [2023-02-15T17:00:22.639Z] Removing intermediate container 64df2eb02626 [2023-02-15T17:00:22.639Z] ---> 02a58d5c8185 [2023-02-15T17:00:22.639Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T17:00:22.899Z] ---> Running in 4774b3e732e3 [2023-02-15T17:00:22.899Z] Removing intermediate container 4774b3e732e3 [2023-02-15T17:00:22.899Z] ---> c2c3ade807a9 [2023-02-15T17:00:22.899Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T17:00:22.899Z] ---> Running in 8d5968d15e28 [2023-02-15T17:00:22.899Z] Removing intermediate container 8d5968d15e28 [2023-02-15T17:00:22.899Z] ---> 9598586958ba [2023-02-15T17:00:22.899Z] Step 21/23 : LABEL arch=amd64 [2023-02-15T17:00:23.162Z] ---> Running in aa21050b8195 [2023-02-15T17:00:23.162Z] Removing intermediate container aa21050b8195 [2023-02-15T17:00:23.162Z] ---> 581c932e3aa3 [2023-02-15T17:00:23.162Z] Step 22/23 : LABEL git_sha=321284e9d55c61ffd0b880cc261f98f121af409e [2023-02-15T17:00:23.162Z] ---> Running in aa7da35318e4 [2023-02-15T17:00:23.162Z] Removing intermediate container aa7da35318e4 [2023-02-15T17:00:23.162Z] ---> 1e5360b97ee7 [2023-02-15T17:00:23.162Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T17:00:23.424Z] ---> Running in 55a7fb8c5b43 [2023-02-15T17:00:23.424Z] Removing intermediate container 55a7fb8c5b43 [2023-02-15T17:00:23.424Z] ---> 33d5b52c06ac [2023-02-15T17:00:23.424Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T17:00:23.424Z] Successfully built 33d5b52c06ac [2023-02-15T17:00:23.424Z] 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-15T17:00:23.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T17:00:23.894Z] [2023-02-15T17:00:23.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:00:24.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T17:00:24.211Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T17:00:24.211Z] 5eb5b503b376: Pulling fs layer [2023-02-15T17:00:24.211Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T17:00:24.211Z] ec43610c2a17: Pulling fs layer [2023-02-15T17:00:24.211Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T17:00:24.211Z] 33b1e0a273af: Pulling fs layer [2023-02-15T17:00:24.211Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T17:00:24.211Z] 2f39f015ded8: Pulling fs layer [2023-02-15T17:00:24.211Z] 5d3b04190fa2: Waiting [2023-02-15T17:00:24.211Z] 2f39f015ded8: Waiting [2023-02-15T17:00:24.211Z] 3a2ae6a8a46f: Waiting [2023-02-15T17:00:24.211Z] 33b1e0a273af: Waiting [2023-02-15T17:00:24.211Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T17:00:24.211Z] 5c69ac0246d0: Download complete [2023-02-15T17:00:24.211Z] 3a2ae6a8a46f: Download complete [2023-02-15T17:00:24.478Z] 33b1e0a273af: Verifying Checksum [2023-02-15T17:00:24.478Z] 33b1e0a273af: Download complete [2023-02-15T17:00:24.478Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T17:00:24.478Z] 5d3b04190fa2: Download complete [2023-02-15T17:00:24.478Z] ec43610c2a17: Verifying Checksum [2023-02-15T17:00:24.478Z] ec43610c2a17: Download complete [2023-02-15T17:00:24.749Z] 5eb5b503b376: Verifying Checksum [2023-02-15T17:00:24.749Z] 5eb5b503b376: Download complete [2023-02-15T17:00:26.168Z] 2f39f015ded8: Verifying Checksum [2023-02-15T17:00:26.168Z] 2f39f015ded8: Download complete [2023-02-15T17:00:26.168Z] 5eb5b503b376: Pull complete [2023-02-15T17:00:26.424Z] 5c69ac0246d0: Pull complete [2023-02-15T17:00:26.680Z] ec43610c2a17: Pull complete [2023-02-15T17:00:26.937Z] 3a2ae6a8a46f: Pull complete [2023-02-15T17:00:27.194Z] 33b1e0a273af: Pull complete [2023-02-15T17:00:27.194Z] 5d3b04190fa2: Pull complete [2023-02-15T17:00:31.378Z] 2f39f015ded8: Pull complete [2023-02-15T17:00:31.378Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T17:00:31.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T17:00:31.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:00:31.463Z] prd-ubuntu20.04-docker-8c-8g-6142 does not seem to be running inside a container [2023-02-15T17:00:31.488Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T17:00:33.151Z] $ docker top 9bf5895d0dc9e6920f610f07a7e2ca089ea000ac16b1b0c76810e8c8a037e2d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:00:33.532Z] ---> job-cost.sh [2023-02-15T17:00:33.532Z] lf-activate-venv: SKIPPING [2023-02-15T17:00:33.532Z] INFO: No Stack... [2023-02-15T17:00:33.791Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T17:00:34.359Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T17:00:34.652Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives/cost.csv [2023-02-15T17:00:34.652Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T17:00:34.666Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1323-2-stack-cost] [2023-02-15T17:00:34.673Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-2-stack-cost] did not exist. Created. [2023-02-15T17:00:34.673Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1323-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T17:00:34.970Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T17:00:34.998Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T17:00:35.004Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T17:00:35.020Z] $ docker stop --time=1 9bf5895d0dc9e6920f610f07a7e2ca089ea000ac16b1b0c76810e8c8a037e2d4 [2023-02-15T17:00:36.983Z] $ docker rm -f --volumes 9bf5895d0dc9e6920f610f07a7e2ca089ea000ac16b1b0c76810e8c8a037e2d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T17:01:57.573Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6147 in /w/workspace/gexfoundry_device-sdk-go_PR-1323 [Pipeline] { [Pipeline] ws [2023-02-15T17:01:57.586Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-15T17:01:57.624Z] The recommended git tool is: git [2023-02-15T17:02:04.017Z] using credential edgex-jenkins-ssh [2023-02-15T17:02:04.032Z] Cloning the remote Git repository [2023-02-15T17:02:04.080Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T17:02:04.168Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-15T17:02:04.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T17:02:04.356Z] > git --version # timeout=10 [2023-02-15T17:02:04.377Z] > git --version # 'git version 2.25.1' [2023-02-15T17:02:04.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T17:02:04.447Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T17:02:06.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T17:02:06.235Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T17:02:07.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T17:02:07.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T17:02:07.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T17:02:07.232Z] > 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-15T17:02:07.924Z] Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 321284e9d55c61ffd0b880cc261f98f121af409e [2023-02-15T17:02:08.189Z] Merge succeeded, producing 321284e9d55c61ffd0b880cc261f98f121af409e [2023-02-15T17:02:08.190Z] Checking out Revision 321284e9d55c61ffd0b880cc261f98f121af409e (PR-1323) [2023-02-15T17:02:08.729Z] 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-15T17:02:07.940Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T17:02:07.962Z] > git checkout -f 321284e9d55c61ffd0b880cc261f98f121af409e # timeout=10 [2023-02-15T17:02:08.078Z] > git remote # timeout=10 [2023-02-15T17:02:08.096Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T17:02:08.121Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T17:02:08.135Z] > git merge cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 [2023-02-15T17:02:08.163Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T17:02:08.193Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T17:02:08.208Z] > git checkout -f 321284e9d55c61ffd0b880cc261f98f121af409e # timeout=10 [2023-02-15T17:02:09.704Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T17:02:09.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T17:02:09.704Z] Dload Upload Total Spent Left Speed [2023-02-15T17:02:09.704Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-02-15T17:02:10.354Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T17:02:10.694Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T17:02:10.694Z] + sudo tee /etc/docker/daemon.new [2023-02-15T17:02:10.694Z] { [2023-02-15T17:02:10.694Z] "registry-mirrors": [ [2023-02-15T17:02:10.694Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T17:02:10.694Z] ], [2023-02-15T17:02:10.694Z] "bip": "10.250.0.254/24", [2023-02-15T17:02:10.694Z] "hosts": [ [2023-02-15T17:02:10.694Z] "tcp://0.0.0.0:5555", [2023-02-15T17:02:10.694Z] "unix:///var/run/docker.sock" [2023-02-15T17:02:10.694Z] ], [2023-02-15T17:02:10.694Z] "mtu": 1458, [2023-02-15T17:02:10.694Z] "selinux-enabled": true, [2023-02-15T17:02:10.694Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T17:02:10.694Z] } [Pipeline] sh [2023-02-15T17:02:11.041Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T17:02:11.370Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T17:02:29.645Z] provisioning config files... [2023-02-15T17:02:29.674Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5110355168166996757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:02:30.022Z] ---> docker-login.sh [2023-02-15T17:02:30.022Z] nexus3.edgexfoundry.org:10001 [2023-02-15T17:02:30.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:02:30.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:02:30.611Z] Configure a credential helper to remove this warning. See [2023-02-15T17:02:30.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:02:30.611Z] [2023-02-15T17:02:30.611Z] Login Succeeded [2023-02-15T17:02:30.611Z] nexus3.edgexfoundry.org:10002 [2023-02-15T17:02:30.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:02:31.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:02:31.149Z] Configure a credential helper to remove this warning. See [2023-02-15T17:02:31.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:02:31.149Z] [2023-02-15T17:02:31.149Z] Login Succeeded [2023-02-15T17:02:31.149Z] nexus3.edgexfoundry.org:10003 [2023-02-15T17:02:31.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:02:31.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:02:31.422Z] Configure a credential helper to remove this warning. See [2023-02-15T17:02:31.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:02:31.422Z] [2023-02-15T17:02:31.422Z] Login Succeeded [2023-02-15T17:02:31.422Z] nexus3.edgexfoundry.org:10004 [2023-02-15T17:02:31.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:02:31.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:02:31.962Z] Configure a credential helper to remove this warning. See [2023-02-15T17:02:31.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:02:31.962Z] [2023-02-15T17:02:31.962Z] Login Succeeded [2023-02-15T17:02:31.962Z] docker.io [2023-02-15T17:02:32.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:02:32.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:02:32.500Z] Configure a credential helper to remove this warning. See [2023-02-15T17:02:32.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:02:32.500Z] [2023-02-15T17:02:32.500Z] Login Succeeded [2023-02-15T17:02:32.500Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T17:02:32.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T17:02:32.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T17:02:32.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T17:02:32.815Z] ========================================================= [2023-02-15T17:02:32.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T17:02:32.815Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:02:33.167Z] + 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-15T17:02:33.438Z] Sending build context to Docker daemon 5.619MB [2023-02-15T17:02:33.438Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T17:02:33.438Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T17:02:33.708Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T17:02:33.708Z] 9b18e9b68314: Pulling fs layer [2023-02-15T17:02:33.708Z] 35d82f9e3411: Pulling fs layer [2023-02-15T17:02:33.708Z] e16973657156: Pulling fs layer [2023-02-15T17:02:33.708Z] fc693d55d65f: Pulling fs layer [2023-02-15T17:02:33.708Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T17:02:33.708Z] dda99020689f: Pulling fs layer [2023-02-15T17:02:33.708Z] db1c61fa0a46: Pulling fs layer [2023-02-15T17:02:33.708Z] 891c053d2c06: Pulling fs layer [2023-02-15T17:02:33.708Z] fc693d55d65f: Waiting [2023-02-15T17:02:33.708Z] 7e9fc2657dce: Waiting [2023-02-15T17:02:33.708Z] dda99020689f: Waiting [2023-02-15T17:02:33.708Z] db1c61fa0a46: Waiting [2023-02-15T17:02:33.708Z] 891c053d2c06: Waiting [2023-02-15T17:02:33.708Z] e16973657156: Verifying Checksum [2023-02-15T17:02:33.708Z] e16973657156: Download complete [2023-02-15T17:02:33.708Z] 35d82f9e3411: Verifying Checksum [2023-02-15T17:02:33.708Z] 35d82f9e3411: Download complete [2023-02-15T17:02:33.708Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T17:02:33.708Z] 7e9fc2657dce: Download complete [2023-02-15T17:02:33.984Z] dda99020689f: Verifying Checksum [2023-02-15T17:02:33.984Z] dda99020689f: Download complete [2023-02-15T17:02:33.984Z] 9b18e9b68314: Verifying Checksum [2023-02-15T17:02:33.984Z] 9b18e9b68314: Download complete [2023-02-15T17:02:34.964Z] 9b18e9b68314: Pull complete [2023-02-15T17:02:35.250Z] 891c053d2c06: Verifying Checksum [2023-02-15T17:02:35.251Z] 891c053d2c06: Download complete [2023-02-15T17:02:35.251Z] 35d82f9e3411: Pull complete [2023-02-15T17:02:35.847Z] e16973657156: Pull complete [2023-02-15T17:02:36.442Z] db1c61fa0a46: Verifying Checksum [2023-02-15T17:02:36.442Z] db1c61fa0a46: Download complete [2023-02-15T17:02:37.034Z] fc693d55d65f: Download complete [2023-02-15T17:02:49.379Z] fc693d55d65f: Pull complete [2023-02-15T17:02:49.379Z] 7e9fc2657dce: Pull complete [2023-02-15T17:02:49.379Z] dda99020689f: Pull complete [2023-02-15T17:02:53.657Z] db1c61fa0a46: Pull complete [2023-02-15T17:02:55.610Z] 891c053d2c06: Pull complete [2023-02-15T17:02:55.610Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T17:02:55.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T17:02:55.610Z] ---> f96f9c87975a [2023-02-15T17:02:55.610Z] Step 3/10 : ARG MAKE=make build [2023-02-15T17:02:57.665Z] ---> Running in befa1d202eb6 [2023-02-15T17:02:57.665Z] Removing intermediate container befa1d202eb6 [2023-02-15T17:02:57.665Z] ---> 8c3f479b5dde [2023-02-15T17:02:57.665Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T17:02:57.665Z] ---> Running in 450159ddb310 [2023-02-15T17:02:58.320Z] Removing intermediate container 450159ddb310 [2023-02-15T17:02:58.320Z] ---> 3180639054c9 [2023-02-15T17:02:58.320Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T17:02:58.320Z] ---> Running in 3c490ade908b [2023-02-15T17:02:58.597Z] Removing intermediate container 3c490ade908b [2023-02-15T17:02:58.597Z] ---> 434a7f11d6c2 [2023-02-15T17:02:58.597Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T17:02:58.597Z] ---> Running in 626848709e96 [2023-02-15T17:03:00.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T17:03:00.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T17:03:00.980Z] OK: 221 MiB in 51 packages [2023-02-15T17:03:01.939Z] Removing intermediate container 626848709e96 [2023-02-15T17:03:01.939Z] ---> cf702f4a0c21 [2023-02-15T17:03:01.939Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T17:03:02.526Z] ---> 65f48f372645 [2023-02-15T17:03:02.526Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T17:03:02.800Z] ---> Running in c8850523e313 [2023-02-15T17:04:10.707Z] Removing intermediate container c8850523e313 [2023-02-15T17:04:10.707Z] ---> fe8dcac41476 [2023-02-15T17:04:10.707Z] Step 9/10 : COPY . . [2023-02-15T17:04:10.707Z] ---> a7c299d2b3fa [2023-02-15T17:04:10.707Z] Step 10/10 : RUN ${MAKE} [2023-02-15T17:04:10.707Z] ---> Running in edb7e1a1be8b [2023-02-15T17:04:10.978Z] noop [2023-02-15T17:04:11.572Z] Removing intermediate container edb7e1a1be8b [2023-02-15T17:04:11.572Z] ---> f1814f63c952 [2023-02-15T17:04:11.572Z] Successfully built f1814f63c952 [2023-02-15T17:04:11.572Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:04:11.940Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T17:04:11.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:04:12.153Z] prd-ubuntu20.04-docker-arm64-4c-16g-6147 does not seem to be running inside a container [2023-02-15T17:04:12.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T17:04:13.593Z] $ docker top 2d3b97c921bc5d6b9e1a831a89c565daca3c3da8a084b62a1bca616fea264b34 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T17:04:14.460Z] + go version [2023-02-15T17:04:14.460Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T17:04:14.480Z] $ docker stop --time=1 2d3b97c921bc5d6b9e1a831a89c565daca3c3da8a084b62a1bca616fea264b34 [2023-02-15T17:04:16.193Z] $ docker rm -f --volumes 2d3b97c921bc5d6b9e1a831a89c565daca3c3da8a084b62a1bca616fea264b34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:04:16.777Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T17:04:16.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:04:16.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-6147 does not seem to be running inside a container [2023-02-15T17:04:17.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T17:04:18.315Z] $ docker top 31cd161596decd0efd84eca340acf2527583482d74ef98e79f8911e46248935e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T17:04:19.201Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-15T17:04:19.862Z] + make test [2023-02-15T17:04:19.862Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T17:04:58.812Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T17:07:05.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T17:07:05.638Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T17:07:05.638Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T17:07:05.638Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T17:07:05.638Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T17:07:12.298Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.251s coverage: 27.6% of statements [2023-02-15T17:07:12.886Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.370s coverage: 78.9% of statements [2023-02-15T17:07:12.886Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T17:07:18.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.487s coverage: 77.8% of statements [2023-02-15T17:07:18.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T17:07:18.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T17:07:21.600Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.561s coverage: 77.0% of statements [2023-02-15T17:07:21.600Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T17:07:21.600Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T17:07:21.600Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T17:07:21.600Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.475s coverage: 65.2% of statements [2023-02-15T17:07:21.600Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T17:07:21.600Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T17:07:21.600Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.284s coverage: 89.2% of statements [2023-02-15T17:07:21.600Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T17:07:21.600Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.313s coverage: 4.7% of statements [2023-02-15T17:07:21.600Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T17:07:22.190Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T17:07:22.190Z] GO111MODULE=on go vet ./... [2023-02-15T17:08:59.735Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T17:08:59.735Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T17:08:59.735Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T17:09:00.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T17:09:00.348Z] $ docker stop --time=1 31cd161596decd0efd84eca340acf2527583482d74ef98e79f8911e46248935e [2023-02-15T17:09:02.282Z] $ docker rm -f --volumes 31cd161596decd0efd84eca340acf2527583482d74ef98e79f8911e46248935e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T17:09:03.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T17:09:03.859Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T17:09:04.511Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T17:09:04.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T17:09:05.233Z] + ls -al . [2023-02-15T17:09:05.233Z] total 268 [2023-02-15T17:09:05.233Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 17:04 . [2023-02-15T17:09:05.233Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:02 .. [2023-02-15T17:09:05.233Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 17:02 .dockerignore [2023-02-15T17:09:05.233Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:02 .git [2023-02-15T17:09:05.233Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:02 .github [2023-02-15T17:09:05.233Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 17:02 .gitignore [2023-02-15T17:09:05.233Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 17:02 .golangci.yml [2023-02-15T17:09:05.233Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 17:02 CHANGELOG.md [2023-02-15T17:09:05.233Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 17:02 GOVERNANCE.md [2023-02-15T17:09:05.233Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 17:02 Jenkinsfile [2023-02-15T17:09:05.233Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 17:02 LICENSE [2023-02-15T17:09:05.233Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 17:02 Makefile [2023-02-15T17:09:05.233Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 17:02 OWNERS.md [2023-02-15T17:09:05.234Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 17:02 README.md [2023-02-15T17:09:05.234Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 16:58 VERSION [2023-02-15T17:09:05.234Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:02 bin [2023-02-15T17:09:05.234Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 17:07 coverage.out [2023-02-15T17:09:05.234Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 17:02 example [2023-02-15T17:09:05.234Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 17:02 go.mod [2023-02-15T17:09:05.234Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 17:02 go.sum [2023-02-15T17:09:05.234Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 17:02 internal [2023-02-15T17:09:05.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:02 openapi [2023-02-15T17:09:05.234Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 17:02 pkg [2023-02-15T17:09:05.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:02 snap [2023-02-15T17:09:05.234Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 17:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:09:05.581Z] + 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=321284e9d55c61ffd0b880cc261f98f121af409e --label arch=arm64 --label version=0.0.0 . [2023-02-15T17:09:06.185Z] Sending build context to Docker daemon 5.718MB [2023-02-15T17:09:06.185Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T17:09:06.185Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T17:09:06.185Z] ---> f1814f63c952 [2023-02-15T17:09:06.185Z] Step 3/23 : ARG MAKE=make build [2023-02-15T17:09:06.185Z] ---> Running in 11c0eec27b80 [2023-02-15T17:09:06.460Z] Removing intermediate container 11c0eec27b80 [2023-02-15T17:09:06.460Z] ---> cf69dddbe73e [2023-02-15T17:09:06.460Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T17:09:06.729Z] ---> Running in 033acbf8c97c [2023-02-15T17:09:06.998Z] Removing intermediate container 033acbf8c97c [2023-02-15T17:09:06.998Z] ---> 5f86e2180b18 [2023-02-15T17:09:06.998Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T17:09:06.998Z] ---> Running in c7e3704c5cc3 [2023-02-15T17:09:07.268Z] Removing intermediate container c7e3704c5cc3 [2023-02-15T17:09:07.268Z] ---> 79ee830fb199 [2023-02-15T17:09:07.268Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T17:09:07.540Z] ---> Running in 91d76f86b89f [2023-02-15T17:09:08.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T17:09:09.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T17:09:10.068Z] OK: 221 MiB in 51 packages [2023-02-15T17:09:11.070Z] Removing intermediate container 91d76f86b89f [2023-02-15T17:09:11.070Z] ---> bb1ee2bfb23b [2023-02-15T17:09:11.070Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T17:09:11.660Z] ---> 3a3d78e1b63a [2023-02-15T17:09:11.660Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T17:09:11.660Z] ---> Running in 9578459889d7 [2023-02-15T17:09:15.033Z] Removing intermediate container 9578459889d7 [2023-02-15T17:09:15.033Z] ---> 9420e4abd093 [2023-02-15T17:09:15.033Z] Step 9/23 : COPY . . [2023-02-15T17:09:16.003Z] ---> bceeed8c19af [2023-02-15T17:09:16.003Z] Step 10/23 : RUN ${MAKE} [2023-02-15T17:09:16.003Z] ---> Running in f01486c52c1c [2023-02-15T17:09:16.971Z] 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-15T17:11:38.695Z] Removing intermediate container f01486c52c1c [2023-02-15T17:11:38.695Z] ---> 606ea0e9a295 [2023-02-15T17:11:38.695Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T17:11:38.695Z] 3.16: Pulling from library/alpine [2023-02-15T17:11:38.695Z] 3760b48202b3: Pulling fs layer [2023-02-15T17:11:38.695Z] 3760b48202b3: Verifying Checksum [2023-02-15T17:11:38.695Z] 3760b48202b3: Download complete [2023-02-15T17:11:38.695Z] 3760b48202b3: Pull complete [2023-02-15T17:11:38.695Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T17:11:38.695Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T17:11:38.695Z] ---> 4c81e5bf8899 [2023-02-15T17:11:38.695Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T17:11:38.695Z] ---> Running in 8d5dee2074a0 [2023-02-15T17:11:38.695Z] Removing intermediate container 8d5dee2074a0 [2023-02-15T17:11:38.695Z] ---> 81266d910ea2 [2023-02-15T17:11:38.695Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T17:11:38.695Z] ---> Running in 5570822ee5c7 [2023-02-15T17:11:38.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T17:11:38.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T17:11:38.695Z] OK: 5 MiB in 14 packages [2023-02-15T17:11:38.695Z] Removing intermediate container 5570822ee5c7 [2023-02-15T17:11:38.695Z] ---> b773e4d15fc0 [2023-02-15T17:11:38.695Z] Step 14/23 : WORKDIR / [2023-02-15T17:11:38.695Z] ---> Running in 1c978903baa5 [2023-02-15T17:11:38.695Z] Removing intermediate container 1c978903baa5 [2023-02-15T17:11:38.695Z] ---> 6aca26a37128 [2023-02-15T17:11:38.695Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T17:11:38.695Z] ---> 60b26e8ecc86 [2023-02-15T17:11:38.695Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T17:11:40.109Z] ---> a6cf12b5bef0 [2023-02-15T17:11:40.109Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T17:11:40.806Z] ---> ad9a34bfcdbf [2023-02-15T17:11:40.806Z] Step 18/23 : EXPOSE 59999 [2023-02-15T17:11:40.806Z] ---> Running in 2328b19b61ac [2023-02-15T17:11:41.098Z] Removing intermediate container 2328b19b61ac [2023-02-15T17:11:41.098Z] ---> 3e41a54c1b1e [2023-02-15T17:11:41.098Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T17:11:41.098Z] ---> Running in 3a0ce6e8b096 [2023-02-15T17:11:41.368Z] Removing intermediate container 3a0ce6e8b096 [2023-02-15T17:11:41.368Z] ---> 7e61090fdf4a [2023-02-15T17:11:41.368Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T17:11:41.658Z] ---> Running in a65df6d227bc [2023-02-15T17:11:41.943Z] Removing intermediate container a65df6d227bc [2023-02-15T17:11:41.943Z] ---> 9bcdf84a7522 [2023-02-15T17:11:41.943Z] Step 21/23 : LABEL arch=arm64 [2023-02-15T17:11:41.943Z] ---> Running in 8ae611137121 [2023-02-15T17:11:42.222Z] Removing intermediate container 8ae611137121 [2023-02-15T17:11:42.223Z] ---> 242efe5f5094 [2023-02-15T17:11:42.223Z] Step 22/23 : LABEL git_sha=321284e9d55c61ffd0b880cc261f98f121af409e [2023-02-15T17:11:42.223Z] ---> Running in 03da4ec419c3 [2023-02-15T17:11:42.509Z] Removing intermediate container 03da4ec419c3 [2023-02-15T17:11:42.509Z] ---> 08ef07c36b2f [2023-02-15T17:11:42.509Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T17:11:42.802Z] ---> Running in 2c35369d4e8b [2023-02-15T17:11:43.072Z] Removing intermediate container 2c35369d4e8b [2023-02-15T17:11:43.072Z] ---> 40410b60030d [2023-02-15T17:11:43.072Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T17:11:43.072Z] Successfully built 40410b60030d [2023-02-15T17:11:43.072Z] 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-15T17:11:43.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T17:11:43.496Z] [2023-02-15T17:11:43.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:11:43.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T17:11:43.841Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T17:11:43.841Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T17:11:43.841Z] 04944245beec: Pulling fs layer [2023-02-15T17:11:43.841Z] 699f458cf7ca: Pulling fs layer [2023-02-15T17:11:43.841Z] 765212b225bb: Pulling fs layer [2023-02-15T17:11:43.841Z] f23df028b6ca: Pulling fs layer [2023-02-15T17:11:43.841Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T17:11:43.841Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T17:11:43.841Z] 765212b225bb: Waiting [2023-02-15T17:11:43.841Z] f23df028b6ca: Waiting [2023-02-15T17:11:43.841Z] d65c8cfc05b1: Waiting [2023-02-15T17:11:44.111Z] 04944245beec: Verifying Checksum [2023-02-15T17:11:44.111Z] 04944245beec: Download complete [2023-02-15T17:11:44.111Z] 765212b225bb: Verifying Checksum [2023-02-15T17:11:44.111Z] 765212b225bb: Download complete [2023-02-15T17:11:44.111Z] f23df028b6ca: Download complete [2023-02-15T17:11:44.111Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T17:11:44.111Z] d65c8cfc05b1: Download complete [2023-02-15T17:11:44.379Z] 699f458cf7ca: Verifying Checksum [2023-02-15T17:11:44.379Z] 699f458cf7ca: Download complete [2023-02-15T17:11:44.648Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T17:11:44.648Z] 8998bd30e6a1: Download complete [2023-02-15T17:11:47.235Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T17:11:47.235Z] 2437ff75d9bd: Download complete [2023-02-15T17:11:48.642Z] 8998bd30e6a1: Pull complete [2023-02-15T17:11:49.226Z] 04944245beec: Pull complete [2023-02-15T17:11:50.636Z] 699f458cf7ca: Pull complete [2023-02-15T17:11:50.636Z] 765212b225bb: Pull complete [2023-02-15T17:11:51.596Z] f23df028b6ca: Pull complete [2023-02-15T17:11:52.560Z] d65c8cfc05b1: Pull complete [2023-02-15T17:12:07.565Z] 2437ff75d9bd: Pull complete [2023-02-15T17:12:07.565Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T17:12:07.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T17:12:07.565Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:12:07.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-6147 does not seem to be running inside a container [2023-02-15T17:12:07.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T17:12:10.577Z] $ docker top 49495e6b41ba1db3b5f2fb110e3f7049aca374213352f7419bd410813aef10b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:12:11.426Z] ---> job-cost.sh [2023-02-15T17:12:11.426Z] lf-activate-venv: SKIPPING [2023-02-15T17:12:11.426Z] INFO: No Stack... [2023-02-15T17:12:12.010Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T17:12:12.595Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T17:12:13.239Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-15T17:12:13.239Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T17:12:13.314Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1323-2-stack-cost] [2023-02-15T17:12:13.319Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-2-stack-cost] did not exist. Created. [2023-02-15T17:12:13.319Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1323-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T17:12:13.974Z] /w/workspace/device-sdk-go/2@tmp/durable-15d0f64e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T17:12:14.635Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T17:12:14.658Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T17:12:14.723Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T17:12:14.733Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1323-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T17:12:14.750Z] $ docker stop --time=1 49495e6b41ba1db3b5f2fb110e3f7049aca374213352f7419bd410813aef10b3 [2023-02-15T17:12:16.264Z] $ docker rm -f --volumes 49495e6b41ba1db3b5f2fb110e3f7049aca374213352f7419bd410813aef10b3 [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-15T17:12:17.851Z] provisioning config files... [2023-02-15T17:12:17.859Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config15970976161644535395tmp [Pipeline] { [Pipeline] sh [2023-02-15T17:12:18.148Z] + set +x [2023-02-15T17:12:18.148Z] + curl -s https://codecov.io/bash [2023-02-15T17:12:18.148Z] + bash -s -- [2023-02-15T17:12:18.148Z] [2023-02-15T17:12:18.148Z] _____ _ [2023-02-15T17:12:18.148Z] / ____| | | [2023-02-15T17:12:18.148Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T17:12:18.148Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T17:12:18.148Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T17:12:18.148Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T17:12:18.148Z] Bash-1.0.6 [2023-02-15T17:12:18.148Z] [2023-02-15T17:12:18.148Z] [2023-02-15T17:12:18.148Z] ==> git version 2.25.1 found [2023-02-15T17:12:18.148Z] ==> 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-15T17:12:18.148Z] Release-Date: 2020-01-08 [2023-02-15T17:12:18.148Z] 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-15T17:12:18.148Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T17:12:18.148Z] ==> Jenkins CI detected. [2023-02-15T17:12:18.148Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1323 [2023-02-15T17:12:18.148Z] project root: . [2023-02-15T17:12:18.148Z] --> token set from env [2023-02-15T17:12:18.148Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T17:12:18.148Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T17:12:18.148Z] ==> Python coveragepy not found [2023-02-15T17:12:18.148Z] ==> Searching for coverage reports in: [2023-02-15T17:12:18.148Z] + . [2023-02-15T17:12:18.148Z] -> Found 1 reports [2023-02-15T17:12:18.148Z] ==> Detecting git/mercurial file structure [2023-02-15T17:12:18.148Z] ==> Reading reports [2023-02-15T17:12:18.148Z] + ./coverage.out bytes=98700 [2023-02-15T17:12:18.148Z] ==> Appending adjustments [2023-02-15T17:12:18.148Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T17:12:18.715Z] + Found adjustments [2023-02-15T17:12:18.715Z] ==> Gzipping contents [2023-02-15T17:12:18.715Z] 16K /tmp/codecov.kHV4zs.gz [2023-02-15T17:12:18.715Z] ==> Uploading reports [2023-02-15T17:12:18.715Z] url: https://codecov.io [2023-02-15T17:12:18.715Z] query: branch=PR-1323&commit=321284e9d55c61ffd0b880cc261f98f121af409e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1323%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1323&job=&cmd_args= [2023-02-15T17:12:18.715Z] -> Pinging Codecov [2023-02-15T17:12:18.715Z] 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=321284e9d55c61ffd0b880cc261f98f121af409e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1323%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1323&job=&cmd_args= [2023-02-15T17:12:18.715Z] -> Uploading to [2023-02-15T17:12:18.715Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/321284e9d55c61ffd0b880cc261f98f121af409e/72954fe5-76e0-47b4-a481-a8f205553f51.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T171218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89e2c5dd8c6423c211ee150def8b51fdfe8ad55c943671a6ed18d7b0edc5a15b [2023-02-15T17:12:18.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T17:12:18.715Z] Dload Upload Total Spent Left Speed [2023-02-15T17:12:18.974Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14362 0 0 100 14362 0 51292 --:--:-- --:--:-- --:--:-- 51292 [2023-02-15T17:12:18.974Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/321284e9d55c61ffd0b880cc261f98f121af409e [Pipeline] } [2023-02-15T17:12:18.980Z] 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-15T17:12:19.669Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives ] [2023-02-15T17:12:19.669Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives [2023-02-15T17:12:19.669Z] total 16 [2023-02-15T17:12:19.669Z] drwxr-xr-x 3 root root 4096 Feb 15 17:00 . [2023-02-15T17:12:19.669Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 17:00 .. [2023-02-15T17:12:19.669Z] drwxr-xr-x 2 root root 4096 Feb 15 17:00 cost [2023-02-15T17:12:19.669Z] -rw-r--r-- 1 root root 86 Feb 15 17:00 cost.csv [2023-02-15T17:12:19.669Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives [2023-02-15T17:12:19.669Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives [2023-02-15T17:12:19.669Z] total 16 [2023-02-15T17:12:19.669Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 17:00 . [2023-02-15T17:12:19.669Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 17:00 .. [2023-02-15T17:12:19.669Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 17:00 cost [2023-02-15T17:12:19.669Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 17:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:12:19.956Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:12:20.821Z] ---> package-listing.sh [2023-02-15T17:12:20.821Z] ++ facter osfamily [2023-02-15T17:12:20.821Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T17:12:21.080Z] + OS_FAMILY=debian [2023-02-15T17:12:21.080Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1323 [2023-02-15T17:12:21.080Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T17:12:21.080Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T17:12:21.080Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T17:12:21.080Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T17:12:21.080Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1323 ']' [2023-02-15T17:12:21.080Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T17:12:21.080Z] + case "${OS_FAMILY}" in [2023-02-15T17:12:21.080Z] + dpkg -l [2023-02-15T17:12:21.080Z] + grep '^ii' [2023-02-15T17:12:21.080Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T17:12:21.080Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T17:12:21.080Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T17:12:21.080Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1323 ']' [2023-02-15T17:12:21.080Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1323/archives/ [2023-02-15T17:12:21.080Z] + 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-15T17:12:21.091Z] 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-15T17:12:21.369Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:12:21.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T17:12:21.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:12:22.005Z] prd-ubuntu20.04-docker-8c-8g-6142 does not seem to be running inside a container [2023-02-15T17:12:22.037Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T17:12:22.273Z] $ docker top 6f208fd41e7e7d7ca696cc68f26d4514a909a7b96f9c5355057d8f66bb87a82d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T17:12:22.626Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T17:12:22.912Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T17:12:23.196Z] + ls /var/log/sa-host [2023-02-15T17:12:23.196Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T17:12:23.258Z] provisioning config files... [2023-02-15T17:12:23.267Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1323@tmp/config8606868020387219226tmp [Pipeline] { [Pipeline] echo [2023-02-15T17:12:23.280Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:12:23.564Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T17:12:23.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:12:23.895Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T17:12:23.905Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:12:24.188Z] ---> sudo-logs.sh [2023-02-15T17:12:24.188Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T17:12:24.223Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:12:24.508Z] ---> job-cost.sh [2023-02-15T17:12:24.508Z] lf-activate-venv: SKIPPING [2023-02-15T17:12:24.508Z] DEBUG: total: 0.2199999988079071 [2023-02-15T17:12:24.508Z] INFO: Retrieving Stack Cost... [2023-02-15T17:12:26.410Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T17:12:26.669Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T17:12:26.682Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:12:26.965Z] ---> logs-deploy.sh [2023-02-15T17:12:26.965Z] lf-activate-venv: SKIPPING [2023-02-15T17:12:26.965Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1323/2 [2023-02-15T17:12:26.965Z] INFO: archiving workspace using pattern(s): [2023-02-15T17:12:27.901Z] Archives upload complete. [2023-02-15T17:12:27.901Z] INFO: archiving logs to Nexus