Pull request #1356 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 420f04f52464c2937b3d529b8c39e4ebbffbb436+84b3eaa6b9d9b6bc9df706aeb119f986429132ec (ae81369645a88f61e5ba24741e84be79259a5865) 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-ssh17965847176979023276.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-ssh9409301292098695333.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-1356/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-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14938570888567940096.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-ssh4325269064502324952.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-1356/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-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1563138158799192258.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9842 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [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-1356 # 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/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 84b3eaa6b9d9b6bc9df706aeb119f986429132ec into PR head commit 420f04f52464c2937b3d529b8c39e4ebbffbb436 Merge succeeded, producing 9766e44161a751b8fc0b41b57f795f1db97a603d Checking out Revision 9766e44161a751b8fc0b41b57f795f1db97a603d (PR-1356) > git config core.sparsecheckout # timeout=10 > git checkout -f 420f04f52464c2937b3d529b8c39e4ebbffbb436 # 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 84b3eaa6b9d9b6bc9df706aeb119f986429132ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9766e44161a751b8fc0b41b57f795f1db97a603d # timeout=10 Commit message: "Merge commit '84b3eaa6b9d9b6bc9df706aeb119f986429132ec' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 606f4bbdbbbb987c50f50992d04f589f32d5a18a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T04:26:18.564Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T04:26:18.612Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T04:26:18.628Z] ========================================================= [2023-03-13T04:26:18.629Z] EdgeX Global Pipelines Version Info [2023-03-13T04:26:18.629Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:26:19.345Z] ------------------- [2023-03-13T04:26:19.345Z] stable info: [2023-03-13T04:26:19.345Z] ------------------- [2023-03-13T04:26:19.345Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T04:26:19.345Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T04:26:19.345Z] Message: update stable to v1.0.244 [2023-03-13T04:26:19.916Z] ------------------- [2023-03-13T04:26:19.916Z] experimental info: [2023-03-13T04:26:19.916Z] ------------------- [2023-03-13T04:26:19.916Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T04:26:19.916Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T04:26:19.916Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T04:26:20.116Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-13T04:26:20.132Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-13T04:26:20.151Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T04:26:20.168Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T04:26:20.179Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T04:26:20.194Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T04:26:20.204Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T04:26:20.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-13T04:26:20.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T04:26:20.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T04:26:20.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T04:26:20.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-13T04:26:20.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T04:26:20.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T04:26:20.314Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T04:26:20.327Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T04:26:20.338Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T04:26:20.350Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T04:26:20.361Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T04:26:20.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T04:26:20.388Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-13T04:26:20.400Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-13T04:26:20.416Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T04:26:20.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T04:26:20.439Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T04:26:20.453Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T04:26:20.465Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T04:26:20.479Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1356 [Pipeline] echo [2023-03-13T04:26:20.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1356 [Pipeline] echo [2023-03-13T04:26:20.518Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1356 [Pipeline] echo [2023-03-13T04:26:20.536Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9766e44161a751b8fc0b41b57f795f1db97a603d [Pipeline] echo [2023-03-13T04:26:20.551Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9766e44 [Pipeline] echo [2023-03-13T04:26:20.565Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T04:26:20.607Z] provisioning config files... [2023-03-13T04:26:20.621Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config1110896643462194752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:26:20.925Z] ---> docker-login.sh [2023-03-13T04:26:20.925Z] nexus3.edgexfoundry.org:10001 [2023-03-13T04:26:21.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:21.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:21.187Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:21.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:21.187Z] [2023-03-13T04:26:21.187Z] Login Succeeded [2023-03-13T04:26:21.447Z] nexus3.edgexfoundry.org:10002 [2023-03-13T04:26:21.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:21.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:21.447Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:21.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:21.447Z] [2023-03-13T04:26:21.447Z] Login Succeeded [2023-03-13T04:26:21.447Z] nexus3.edgexfoundry.org:10003 [2023-03-13T04:26:21.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:21.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:21.447Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:21.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:21.447Z] [2023-03-13T04:26:21.447Z] Login Succeeded [2023-03-13T04:26:21.447Z] nexus3.edgexfoundry.org:10004 [2023-03-13T04:26:21.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:21.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:21.708Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:21.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:21.708Z] [2023-03-13T04:26:21.708Z] Login Succeeded [2023-03-13T04:26:21.708Z] docker.io [2023-03-13T04:26:21.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:21.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:21.969Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:21.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:21.969Z] [2023-03-13T04:26:21.969Z] Login Succeeded [2023-03-13T04:26:21.969Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T04:26:21.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T04:26:22.352Z] + git rev-list -1 --merges 9766e44161a751b8fc0b41b57f795f1db97a603d~1..9766e44161a751b8fc0b41b57f795f1db97a603d [Pipeline] echo [2023-03-13T04:26:22.397Z] -----------> git rev-list -1 --merges 9766e44161a751b8fc0b41b57f795f1db97a603d~1..9766e44161a751b8fc0b41b57f795f1db97a603d 9766e44161a751b8fc0b41b57f795f1db97a603d [2023-03-13T04:26:22.397Z] 9766e44161a751b8fc0b41b57f795f1db97a603d [false] [Pipeline] sh [2023-03-13T04:26:22.689Z] + git log --format=format:%s -1 9766e44161a751b8fc0b41b57f795f1db97a603d [Pipeline] echo [2023-03-13T04:26:22.706Z] ========================================================= [2023-03-13T04:26:22.706Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T04:26:22.706Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T04:26:23.051Z] + git log --format=format:%s -1 9766e44161a751b8fc0b41b57f795f1db97a603d [Pipeline] echo [2023-03-13T04:26:23.062Z] [semverPrep] GIT_COMMIT: 9766e44161a751b8fc0b41b57f795f1db97a603d, Commit Message: Merge commit '84b3eaa6b9d9b6bc9df706aeb119f986429132ec' into HEAD [Pipeline] echo [2023-03-13T04:26:23.072Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T04:26:23.454Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T04:26:23.454Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T04:26:23.454Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T04:26:23.454Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T04:26:23.454Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T04:26:23.454Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T04:26:23.454Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:26:23.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T04:26:23.800Z] [2023-03-13T04:26:23.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:26:24.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T04:26:24.109Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T04:26:24.109Z] b85a868b505f: Pulling fs layer [2023-03-13T04:26:24.109Z] e2be974225ed: Pulling fs layer [2023-03-13T04:26:24.109Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T04:26:24.109Z] 988bab9f4d93: Pulling fs layer [2023-03-13T04:26:24.109Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T04:26:24.109Z] eaf3925da568: Pulling fs layer [2023-03-13T04:26:24.109Z] bab4dde63d76: Pulling fs layer [2023-03-13T04:26:24.109Z] bde34c3a00c8: Pulling fs layer [2023-03-13T04:26:24.109Z] b352a97aabf1: Pulling fs layer [2023-03-13T04:26:24.109Z] 4872d77fe225: Pulling fs layer [2023-03-13T04:26:24.109Z] 5851b861e8e6: Pulling fs layer [2023-03-13T04:26:24.109Z] bde34c3a00c8: Waiting [2023-03-13T04:26:24.109Z] 988bab9f4d93: Waiting [2023-03-13T04:26:24.109Z] b352a97aabf1: Waiting [2023-03-13T04:26:24.109Z] 4872d77fe225: Waiting [2023-03-13T04:26:24.109Z] 5851b861e8e6: Waiting [2023-03-13T04:26:24.109Z] 1469e6f7b9e6: Waiting [2023-03-13T04:26:24.109Z] eaf3925da568: Waiting [2023-03-13T04:26:24.109Z] bab4dde63d76: Waiting [2023-03-13T04:26:24.109Z] e2be974225ed: Download complete [2023-03-13T04:26:24.109Z] 988bab9f4d93: Verifying Checksum [2023-03-13T04:26:24.109Z] 988bab9f4d93: Download complete [2023-03-13T04:26:24.371Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T04:26:24.371Z] 1469e6f7b9e6: Download complete [2023-03-13T04:26:24.371Z] eaf3925da568: Verifying Checksum [2023-03-13T04:26:24.371Z] eaf3925da568: Download complete [2023-03-13T04:26:24.371Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T04:26:24.371Z] 339a4e72a1f5: Download complete [2023-03-13T04:26:24.371Z] bde34c3a00c8: Verifying Checksum [2023-03-13T04:26:24.371Z] bde34c3a00c8: Download complete [2023-03-13T04:26:24.371Z] b352a97aabf1: Download complete [2023-03-13T04:26:24.371Z] 4872d77fe225: Verifying Checksum [2023-03-13T04:26:24.371Z] 4872d77fe225: Download complete [2023-03-13T04:26:24.371Z] b85a868b505f: Verifying Checksum [2023-03-13T04:26:24.371Z] b85a868b505f: Download complete [2023-03-13T04:26:24.371Z] 5851b861e8e6: Download complete [2023-03-13T04:26:24.941Z] bab4dde63d76: Verifying Checksum [2023-03-13T04:26:24.941Z] bab4dde63d76: Download complete [2023-03-13T04:26:25.880Z] b85a868b505f: Pull complete [2023-03-13T04:26:25.880Z] e2be974225ed: Pull complete [2023-03-13T04:26:26.450Z] 339a4e72a1f5: Pull complete [2023-03-13T04:26:26.450Z] 988bab9f4d93: Pull complete [2023-03-13T04:26:26.711Z] 1469e6f7b9e6: Pull complete [2023-03-13T04:26:26.971Z] eaf3925da568: Pull complete [2023-03-13T04:26:28.885Z] bab4dde63d76: Pull complete [2023-03-13T04:26:28.885Z] bde34c3a00c8: Pull complete [2023-03-13T04:26:28.885Z] b352a97aabf1: Pull complete [2023-03-13T04:26:28.885Z] 4872d77fe225: Pull complete [2023-03-13T04:26:28.885Z] 5851b861e8e6: Pull complete [2023-03-13T04:26:28.885Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T04:26:28.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T04:26:28.885Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:26:28.991Z] prd-ubuntu20.04-docker-8c-8g-9842 does not seem to be running inside a container [2023-03-13T04:26:29.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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-devops/py-git-semver:0.1.4 cat [2023-03-13T04:26:30.563Z] $ docker top 0eba88602aaa1308fa1e58b2c95d2c4970169cbbdfa6fd00b371d4ee392728e8 -eo pid,comm [2023-03-13T04:26:30.616Z] 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-03-13T04:26:30.616Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T04:26:30.655Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T04:26:30.655Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T04:26:30.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T04:26:30.787Z] $ docker exec 0eba88602aaa1308fa1e58b2c95d2c4970169cbbdfa6fd00b371d4ee392728e8 ssh-agent [2023-03-13T04:26:30.896Z] SSH_AUTH_SOCK=/tmp/ssh-lThLxipxtAW4/agent.32 [2023-03-13T04:26:30.896Z] SSH_AGENT_PID=38 [2023-03-13T04:26:30.903Z] Running ssh-add (command line suppressed) [2023-03-13T04:26:31.009Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_1047482980137422570.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_1047482980137422570.key) [2023-03-13T04:26:31.020Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T04:26:31.305Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T04:26:31.326Z] $ docker exec --env ******** --env ******** 0eba88602aaa1308fa1e58b2c95d2c4970169cbbdfa6fd00b371d4ee392728e8 ssh-agent -k [2023-03-13T04:26:31.430Z] unset SSH_AUTH_SOCK; [2023-03-13T04:26:31.431Z] unset SSH_AGENT_PID; [2023-03-13T04:26:31.431Z] echo Agent pid 38 killed; [2023-03-13T04:26:31.436Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T04:26:31.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T04:26:31.467Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T04:26:31.582Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T04:26:31.588Z] $ docker exec 0eba88602aaa1308fa1e58b2c95d2c4970169cbbdfa6fd00b371d4ee392728e8 ssh-agent [2023-03-13T04:26:31.693Z] SSH_AUTH_SOCK=/tmp/ssh-qmGPW6WMZ3qF/agent.70 [2023-03-13T04:26:31.693Z] SSH_AGENT_PID=76 [2023-03-13T04:26:31.698Z] Running ssh-add (command line suppressed) [2023-03-13T04:26:31.812Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_5971436365042596411.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_5971436365042596411.key) [2023-03-13T04:26:31.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T04:26:32.110Z] + git semver init [2023-03-13T04:26:32.370Z] 2023-03-13 04:26:32,339 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T04:26:32.370Z] 2023-03-13 04:26:32,340 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-13T04:26:32.370Z] 2023-03-13 04:26:32,340 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-13T04:26:32.370Z] 2023-03-13 04:26:32,340 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356, universal_newlines=False, shell=None, istream=None) [2023-03-13T04:26:33.310Z] 2023-03-13 04:26:33,194 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.git/info/exclude [2023-03-13T04:26:33.310Z] 2023-03-13 04:26:33,195 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 with force:False [2023-03-13T04:26:33.310Z] 2023-03-13 04:26:33,195 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-13T04:26:33.310Z] 2023-03-13 04:26:33,200 [execute] INFO git cat-file --batch-check [2023-03-13T04:26:33.310Z] 2023-03-13 04:26:33,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T04:26:33.310Z] 2023-03-13 04:26:33,208 [execute] INFO git cat-file --batch [2023-03-13T04:26:33.310Z] 2023-03-13 04:26:33,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T04:26:33.310Z] 2023-03-13 04:26:33,214 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-13T04:26:33.310Z] 0.0.0 [Pipeline] } [2023-03-13T04:26:33.322Z] $ docker exec --env ******** --env ******** 0eba88602aaa1308fa1e58b2c95d2c4970169cbbdfa6fd00b371d4ee392728e8 ssh-agent -k [2023-03-13T04:26:33.423Z] unset SSH_AUTH_SOCK; [2023-03-13T04:26:33.423Z] unset SSH_AGENT_PID; [2023-03-13T04:26:33.423Z] echo Agent pid 76 killed; [2023-03-13T04:26:33.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T04:26:33.741Z] + git semver [Pipeline] } [2023-03-13T04:26:34.076Z] $ docker stop --time=1 0eba88602aaa1308fa1e58b2c95d2c4970169cbbdfa6fd00b371d4ee392728e8 [2023-03-13T04:26:35.366Z] $ docker rm -f --volumes 0eba88602aaa1308fa1e58b2c95d2c4970169cbbdfa6fd00b371d4ee392728e8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T04:26:35.702Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T04:26:35.909Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T04:26:35.912Z] [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-03-13T04:26:36.103Z] provisioning config files... [2023-03-13T04:26:36.112Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config15941848837366446722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:26:36.337Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9840 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] { [Pipeline] ws [2023-03-13T04:26:36.350Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2023-03-13T04:26:36.386Z] The recommended git tool is: git [2023-03-13T04:26:36.410Z] ---> docker-login.sh [2023-03-13T04:26:36.410Z] nexus3.edgexfoundry.org:10001 [2023-03-13T04:26:36.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:36.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:36.410Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:36.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:36.410Z] [2023-03-13T04:26:36.410Z] Login Succeeded [2023-03-13T04:26:36.410Z] nexus3.edgexfoundry.org:10002 [2023-03-13T04:26:36.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:36.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:36.410Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:36.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:36.410Z] [2023-03-13T04:26:36.410Z] Login Succeeded [2023-03-13T04:26:36.410Z] nexus3.edgexfoundry.org:10003 [2023-03-13T04:26:36.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:36.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:36.669Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:36.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:36.669Z] [2023-03-13T04:26:36.669Z] Login Succeeded [2023-03-13T04:26:36.669Z] nexus3.edgexfoundry.org:10004 [2023-03-13T04:26:36.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:36.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:36.669Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:36.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:36.669Z] [2023-03-13T04:26:36.669Z] Login Succeeded [2023-03-13T04:26:36.669Z] docker.io [2023-03-13T04:26:36.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:26:36.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:26:36.928Z] Configure a credential helper to remove this warning. See [2023-03-13T04:26:36.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:26:36.928Z] [2023-03-13T04:26:36.928Z] Login Succeeded [2023-03-13T04:26:36.928Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T04:26:36.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T04:26:37.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T04:26:37.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T04:26:37.028Z] ========================================================= [2023-03-13T04:26:37.028Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T04:26:37.028Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:26:37.344Z] + 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-03-13T04:26:37.344Z] Sending build context to Docker daemon 10.78MB [2023-03-13T04:26:37.344Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T04:26:37.344Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-13T04:26:37.344Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T04:26:37.344Z] 213ec9aee27d: Pulling fs layer [2023-03-13T04:26:37.344Z] 4583459ba037: Pulling fs layer [2023-03-13T04:26:37.344Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T04:26:37.344Z] 53926ce57604: Pulling fs layer [2023-03-13T04:26:37.344Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T04:26:37.344Z] 22ff95d597cd: Pulling fs layer [2023-03-13T04:26:37.344Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T04:26:37.344Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T04:26:37.344Z] a7acece74701: Pulling fs layer [2023-03-13T04:26:37.344Z] 53926ce57604: Waiting [2023-03-13T04:26:37.344Z] 21b2b0c7a3f4: Waiting [2023-03-13T04:26:37.344Z] 22ff95d597cd: Waiting [2023-03-13T04:26:37.344Z] 12d6caf4c0d1: Waiting [2023-03-13T04:26:37.344Z] 96b7cbca73a9: Waiting [2023-03-13T04:26:37.344Z] a7acece74701: Waiting [2023-03-13T04:26:37.605Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T04:26:37.605Z] 93c1e223e6f2: Download complete [2023-03-13T04:26:37.605Z] 4583459ba037: Verifying Checksum [2023-03-13T04:26:37.605Z] 4583459ba037: Download complete [2023-03-13T04:26:37.605Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T04:26:37.605Z] 21b2b0c7a3f4: Download complete [2023-03-13T04:26:37.605Z] 22ff95d597cd: Verifying Checksum [2023-03-13T04:26:37.605Z] 22ff95d597cd: Download complete [2023-03-13T04:26:37.605Z] 213ec9aee27d: Verifying Checksum [2023-03-13T04:26:37.605Z] 213ec9aee27d: Download complete [2023-03-13T04:26:37.605Z] 12d6caf4c0d1: Download complete [2023-03-13T04:26:37.871Z] 213ec9aee27d: Pull complete [2023-03-13T04:26:37.871Z] 4583459ba037: Pull complete [2023-03-13T04:26:38.131Z] 93c1e223e6f2: Pull complete [2023-03-13T04:26:38.131Z] a7acece74701: Verifying Checksum [2023-03-13T04:26:38.131Z] a7acece74701: Download complete [2023-03-13T04:26:38.390Z] 53926ce57604: Verifying Checksum [2023-03-13T04:26:38.390Z] 53926ce57604: Download complete [2023-03-13T04:26:38.390Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T04:26:41.225Z] using credential edgex-jenkins-ssh [2023-03-13T04:26:41.242Z] Cloning the remote Git repository [2023-03-13T04:26:41.277Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-13T04:26:41.359Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2023-03-13T04:26:41.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-13T04:26:41.499Z] > git --version # timeout=10 [2023-03-13T04:26:41.520Z] > git --version # 'git version 2.25.1' [2023-03-13T04:26:41.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T04:26:41.575Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T04:26:42.573Z] 53926ce57604: Pull complete [2023-03-13T04:26:42.573Z] 21b2b0c7a3f4: Pull complete [2023-03-13T04:26:42.573Z] 22ff95d597cd: Pull complete [2023-03-13T04:26:42.573Z] 12d6caf4c0d1: Pull complete [2023-03-13T04:26:44.477Z] 96b7cbca73a9: Pull complete [2023-03-13T04:26:45.044Z] a7acece74701: Pull complete [2023-03-13T04:26:45.044Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T04:26:45.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T04:26:45.044Z] ---> db6d94c90886 [2023-03-13T04:26:45.044Z] Step 3/10 : ARG MAKE=make build [2023-03-13T04:26:45.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-13T04:26:45.813Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T04:26:46.962Z] ---> Running in b1789a264922 [2023-03-13T04:26:46.962Z] Removing intermediate container b1789a264922 [2023-03-13T04:26:46.962Z] ---> 8dbfee4bba29 [2023-03-13T04:26:46.962Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-13T04:26:47.224Z] ---> Running in 2833ba960636 [2023-03-13T04:26:47.224Z] Removing intermediate container 2833ba960636 [2023-03-13T04:26:47.224Z] ---> 83e7f63b931d [2023-03-13T04:26:47.224Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T04:26:47.224Z] ---> Running in 880a1d57f04a [2023-03-13T04:26:47.397Z] Merging remotes/origin/main commit 84b3eaa6b9d9b6bc9df706aeb119f986429132ec into PR head commit 420f04f52464c2937b3d529b8c39e4ebbffbb436 [2023-03-13T04:26:47.482Z] Removing intermediate container 880a1d57f04a [2023-03-13T04:26:47.482Z] ---> 27cd8280f715 [2023-03-13T04:26:47.482Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-13T04:26:47.482Z] ---> Running in 4089d37bc1a0 [2023-03-13T04:26:47.705Z] Merge succeeded, producing de895910e20add49ec1e81f91bce77d212b45bd5 [2023-03-13T04:26:47.706Z] Checking out Revision de895910e20add49ec1e81f91bce77d212b45bd5 (PR-1356) [2023-03-13T04:26:47.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T04:26:47.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T04:26:48.000Z] OK: 211 MiB in 51 packages [2023-03-13T04:26:46.664Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-13T04:26:46.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-13T04:26:46.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T04:26:46.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T04:26:47.409Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T04:26:47.429Z] > git checkout -f 420f04f52464c2937b3d529b8c39e4ebbffbb436 # timeout=10 [2023-03-13T04:26:47.528Z] > git remote # timeout=10 [2023-03-13T04:26:47.549Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T04:26:47.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T04:26:47.591Z] > git merge 84b3eaa6b9d9b6bc9df706aeb119f986429132ec # timeout=10 [2023-03-13T04:26:47.681Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T04:26:47.707Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T04:26:47.720Z] > git checkout -f de895910e20add49ec1e81f91bce77d212b45bd5 # timeout=10 [2023-03-13T04:26:48.566Z] Removing intermediate container 4089d37bc1a0 [2023-03-13T04:26:48.566Z] ---> 104843bced50 [2023-03-13T04:26:48.566Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-13T04:26:48.566Z] ---> 5f7ba8f8a3f9 [2023-03-13T04:26:48.566Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T04:26:48.566Z] ---> Running in 7905564141a7 [2023-03-13T04:26:51.206Z] Commit message: "Merge commit '84b3eaa6b9d9b6bc9df706aeb119f986429132ec' into HEAD" [2023-03-13T04:26:51.231Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T04:26:52.019Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T04:26:52.020Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T04:26:52.020Z] Dload Upload Total Spent Left Speed [2023-03-13T04:26:52.020Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-03-13T04:26:52.749Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T04:26:51.210Z] > git rev-list --no-walk 606f4bbdbbbb987c50f50992d04f589f32d5a18a # timeout=10 [2023-03-13T04:26:53.080Z] + sudo tee /etc/docker/daemon.new [2023-03-13T04:26:53.080Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T04:26:53.080Z] { [2023-03-13T04:26:53.080Z] "registry-mirrors": [ [2023-03-13T04:26:53.080Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T04:26:53.080Z] ], [2023-03-13T04:26:53.080Z] "bip": "10.250.0.254/24", [2023-03-13T04:26:53.080Z] "hosts": [ [2023-03-13T04:26:53.080Z] "tcp://0.0.0.0:5555", [2023-03-13T04:26:53.080Z] "unix:///var/run/docker.sock" [2023-03-13T04:26:53.080Z] ], [2023-03-13T04:26:53.080Z] "mtu": 1458, [2023-03-13T04:26:53.080Z] "selinux-enabled": true, [2023-03-13T04:26:53.080Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T04:26:53.080Z] } [Pipeline] sh [2023-03-13T04:26:53.416Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T04:26:53.749Z] + sudo service docker restart [2023-03-13T04:27:10.489Z] Removing intermediate container 7905564141a7 [2023-03-13T04:27:10.489Z] ---> f163a4699c68 [2023-03-13T04:27:10.489Z] Step 9/10 : COPY . . [2023-03-13T04:27:10.489Z] ---> d4a578647f5c [2023-03-13T04:27:10.489Z] Step 10/10 : RUN ${MAKE} [2023-03-13T04:27:10.489Z] ---> Running in b30afb1d29ba [2023-03-13T04:27:10.489Z] noop [2023-03-13T04:27:10.489Z] Removing intermediate container b30afb1d29ba [2023-03-13T04:27:10.489Z] ---> 4843b5315467 [2023-03-13T04:27:10.489Z] Successfully built 4843b5315467 [2023-03-13T04:27:10.489Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:27:10.801Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T04:27:10.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:27:10.870Z] prd-ubuntu20.04-docker-8c-8g-9842 does not seem to be running inside a container [2023-03-13T04:27:10.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T04:27:11.323Z] $ docker top 074b31bd33886bd80e83bf6aab1fcb0d65ab74ec3126a51c10631de7f9f0041c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:27:11.657Z] + go version [2023-03-13T04:27:11.657Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T04:27:11.670Z] $ docker stop --time=1 074b31bd33886bd80e83bf6aab1fcb0d65ab74ec3126a51c10631de7f9f0041c [2023-03-13T04:27:12.977Z] $ docker rm -f --volumes 074b31bd33886bd80e83bf6aab1fcb0d65ab74ec3126a51c10631de7f9f0041c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider [2023-03-13T04:27:13.062Z] provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [2023-03-13T04:27:13.092Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config4078592508009023755tmp [Pipeline] { [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:27:13.371Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T04:27:13.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:27:13.442Z] prd-ubuntu20.04-docker-8c-8g-9842 does not seem to be running inside a container [2023-03-13T04:27:13.446Z] ---> docker-login.sh [2023-03-13T04:27:13.446Z] nexus3.edgexfoundry.org:10001 [2023-03-13T04:27:13.476Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T04:27:13.880Z] $ docker top 7f3e6fc9af99f5baae654df0e47e4e4c7a00e7474fef434d5155872a46450192 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:27:14.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:27:14.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:27:14.039Z] Configure a credential helper to remove this warning. See [2023-03-13T04:27:14.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:27:14.039Z] [2023-03-13T04:27:14.039Z] Login Succeeded [2023-03-13T04:27:14.039Z] nexus3.edgexfoundry.org:10002 [2023-03-13T04:27:14.216Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] fileExists [Pipeline] sh [2023-03-13T04:27:14.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:27:14.520Z] + make test [2023-03-13T04:27:14.520Z] go test -race -coverprofile=coverage.out ./... [2023-03-13T04:27:14.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:27:14.577Z] Configure a credential helper to remove this warning. See [2023-03-13T04:27:14.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:27:14.577Z] [2023-03-13T04:27:14.577Z] Login Succeeded [2023-03-13T04:27:14.577Z] nexus3.edgexfoundry.org:10003 [2023-03-13T04:27:14.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:27:14.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:27:14.847Z] Configure a credential helper to remove this warning. See [2023-03-13T04:27:14.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:27:14.847Z] [2023-03-13T04:27:14.847Z] Login Succeeded [2023-03-13T04:27:14.847Z] nexus3.edgexfoundry.org:10004 [2023-03-13T04:27:15.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:27:15.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:27:15.120Z] Configure a credential helper to remove this warning. See [2023-03-13T04:27:15.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:27:15.120Z] [2023-03-13T04:27:15.120Z] Login Succeeded [2023-03-13T04:27:15.120Z] docker.io [2023-03-13T04:27:15.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:27:15.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:27:15.660Z] Configure a credential helper to remove this warning. See [2023-03-13T04:27:15.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:27:15.660Z] [2023-03-13T04:27:15.660Z] Login Succeeded [2023-03-13T04:27:15.660Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T04:27:15.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T04:27:16.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T04:27:16.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T04:27:16.068Z] ========================================================= [2023-03-13T04:27:16.068Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T04:27:16.068Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:27:16.417Z] + 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-03-13T04:27:16.686Z] Sending build context to Docker daemon 5.815MB [2023-03-13T04:27:16.957Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T04:27:16.957Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-13T04:27:16.957Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T04:27:16.957Z] 9b18e9b68314: Pulling fs layer [2023-03-13T04:27:16.957Z] 35d82f9e3411: Pulling fs layer [2023-03-13T04:27:16.957Z] e16973657156: Pulling fs layer [2023-03-13T04:27:16.957Z] fc693d55d65f: Pulling fs layer [2023-03-13T04:27:16.957Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T04:27:16.957Z] dda99020689f: Pulling fs layer [2023-03-13T04:27:16.957Z] db1c61fa0a46: Pulling fs layer [2023-03-13T04:27:16.957Z] 891c053d2c06: Pulling fs layer [2023-03-13T04:27:16.957Z] dda99020689f: Waiting [2023-03-13T04:27:16.957Z] db1c61fa0a46: Waiting [2023-03-13T04:27:16.957Z] 891c053d2c06: Waiting [2023-03-13T04:27:16.957Z] 7e9fc2657dce: Waiting [2023-03-13T04:27:16.957Z] fc693d55d65f: Waiting [2023-03-13T04:27:16.957Z] e16973657156: Verifying Checksum [2023-03-13T04:27:16.957Z] e16973657156: Download complete [2023-03-13T04:27:16.957Z] 35d82f9e3411: Verifying Checksum [2023-03-13T04:27:16.957Z] 35d82f9e3411: Download complete [2023-03-13T04:27:16.957Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T04:27:16.957Z] 7e9fc2657dce: Download complete [2023-03-13T04:27:17.232Z] 9b18e9b68314: Verifying Checksum [2023-03-13T04:27:17.232Z] 9b18e9b68314: Download complete [2023-03-13T04:27:17.232Z] dda99020689f: Verifying Checksum [2023-03-13T04:27:17.232Z] dda99020689f: Download complete [2023-03-13T04:27:18.203Z] 9b18e9b68314: Pull complete [2023-03-13T04:27:18.203Z] 891c053d2c06: Verifying Checksum [2023-03-13T04:27:18.203Z] 891c053d2c06: Download complete [2023-03-13T04:27:18.795Z] 35d82f9e3411: Pull complete [2023-03-13T04:27:18.795Z] e16973657156: Pull complete [2023-03-13T04:27:19.383Z] db1c61fa0a46: Verifying Checksum [2023-03-13T04:27:19.383Z] db1c61fa0a46: Download complete [2023-03-13T04:27:19.975Z] fc693d55d65f: Download complete [2023-03-13T04:27:21.078Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-13T04:27:32.308Z] fc693d55d65f: Pull complete [2023-03-13T04:27:32.308Z] 7e9fc2657dce: Pull complete [2023-03-13T04:27:32.308Z] dda99020689f: Pull complete [2023-03-13T04:27:35.952Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-13T04:27:35.952Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-13T04:27:35.952Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-13T04:27:35.952Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-13T04:27:35.952Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-13T04:27:35.952Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.091s coverage: 27.6% of statements [2023-03-13T04:27:35.952Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.081s coverage: 78.9% of statements [2023-03-13T04:27:35.952Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 86.0% of statements [2023-03-13T04:27:35.952Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-13T04:27:35.952Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-13T04:27:35.952Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 75.9% of statements [2023-03-13T04:27:35.952Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-13T04:27:37.856Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 15.2% of statements [2023-03-13T04:27:37.856Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-13T04:27:37.856Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.136s coverage: 65.2% of statements [2023-03-13T04:27:37.856Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-13T04:27:37.856Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-13T04:27:37.856Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.764s coverage: 89.2% of statements [2023-03-13T04:27:37.856Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 5.5% of statements [2023-03-13T04:27:37.856Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-13T04:27:38.981Z] db1c61fa0a46: Pull complete [2023-03-13T04:27:40.399Z] 891c053d2c06: Pull complete [2023-03-13T04:27:40.399Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T04:27:40.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T04:27:40.399Z] ---> f96f9c87975a [2023-03-13T04:27:40.399Z] Step 3/10 : ARG MAKE=make build [2023-03-13T04:27:42.359Z] ---> Running in c1a572524bea [2023-03-13T04:27:42.359Z] Removing intermediate container c1a572524bea [2023-03-13T04:27:42.359Z] ---> f3869c707db7 [2023-03-13T04:27:42.359Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-13T04:27:42.359Z] ---> Running in 283ec7697275 [2023-03-13T04:27:42.629Z] Removing intermediate container 283ec7697275 [2023-03-13T04:27:42.629Z] ---> 52a5c7fde244 [2023-03-13T04:27:42.629Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T04:27:42.629Z] ---> Running in a575c1c95da8 [2023-03-13T04:27:42.897Z] Removing intermediate container a575c1c95da8 [2023-03-13T04:27:42.897Z] ---> 5b4374cbe215 [2023-03-13T04:27:42.897Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-13T04:27:43.168Z] ---> Running in 7000e1e9fa8a [2023-03-13T04:27:44.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T04:27:44.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T04:27:45.357Z] OK: 221 MiB in 51 packages [2023-03-13T04:27:46.319Z] Removing intermediate container 7000e1e9fa8a [2023-03-13T04:27:46.319Z] ---> f1bf22fa99b5 [2023-03-13T04:27:46.319Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-13T04:27:46.588Z] ---> 359ea137f26e [2023-03-13T04:27:46.588Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T04:27:46.858Z] ---> Running in 06f2697f243d [2023-03-13T04:27:55.934Z] 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-03-13T04:27:55.934Z] GO111MODULE=on go vet ./... [2023-03-13T04:27:56.866Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T04:27:56.866Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T04:27:56.866Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T04:27:57.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T04:27:57.158Z] $ docker stop --time=1 7f3e6fc9af99f5baae654df0e47e4e4c7a00e7474fef434d5155872a46450192 [2023-03-13T04:27:59.236Z] $ docker rm -f --volumes 7f3e6fc9af99f5baae654df0e47e4e4c7a00e7474fef434d5155872a46450192 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T04:27:59.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T04:27:59.773Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-13T04:28:00.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T04:28:00.543Z] + ls -al . [2023-03-13T04:28:00.543Z] total 280 [2023-03-13T04:28:00.543Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 04:27 . [2023-03-13T04:28:00.543Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 04:26 .. [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 04:26 .dockerignore [2023-03-13T04:28:00.543Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 04:27 .git [2023-03-13T04:28:00.543Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 04:26 .github [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 13 04:26 .gitignore [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 04:26 .golangci.yml [2023-03-13T04:28:00.543Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 04:26 .semver [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 13 04:26 CHANGELOG.md [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 04:26 GOVERNANCE.md [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 04:26 Jenkinsfile [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 04:26 LICENSE [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 13 04:26 Makefile [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 04:26 OWNERS.md [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 13 04:26 README.md [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 04:26 VERSION [2023-03-13T04:28:00.543Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 04:26 bin [2023-03-13T04:28:00.543Z] -rw-r--r-- 1 jenkins jenkins 111699 Mar 13 04:27 coverage.out [2023-03-13T04:28:00.543Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 04:26 example [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 13 04:26 go.mod [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 13 04:26 go.sum [2023-03-13T04:28:00.543Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 04:26 internal [2023-03-13T04:28:00.543Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 04:26 openapi [2023-03-13T04:28:00.543Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 04:26 pkg [2023-03-13T04:28:00.543Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 04:26 snap [2023-03-13T04:28:00.543Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 04:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:28:00.851Z] + 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=9766e44161a751b8fc0b41b57f795f1db97a603d --label arch=amd64 --label version=0.0.0 . [2023-03-13T04:28:00.851Z] Sending build context to Docker daemon 10.9MB [2023-03-13T04:28:00.851Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T04:28:00.851Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-13T04:28:00.851Z] ---> 4843b5315467 [2023-03-13T04:28:00.851Z] Step 3/23 : ARG MAKE=make build [2023-03-13T04:28:01.110Z] ---> Running in a494127fe4dc [2023-03-13T04:28:01.110Z] Removing intermediate container a494127fe4dc [2023-03-13T04:28:01.110Z] ---> 13ebe49fc810 [2023-03-13T04:28:01.110Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-13T04:28:01.110Z] ---> Running in ec9ade25b928 [2023-03-13T04:28:01.110Z] Removing intermediate container ec9ade25b928 [2023-03-13T04:28:01.110Z] ---> b7668c054fbe [2023-03-13T04:28:01.110Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T04:28:01.110Z] ---> Running in 0b37e4ee67a0 [2023-03-13T04:28:01.369Z] Removing intermediate container 0b37e4ee67a0 [2023-03-13T04:28:01.369Z] ---> 927482a970f6 [2023-03-13T04:28:01.369Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-13T04:28:01.369Z] ---> Running in fed5d73d3a03 [2023-03-13T04:28:01.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T04:28:01.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T04:28:01.886Z] OK: 211 MiB in 51 packages [2023-03-13T04:28:02.456Z] Removing intermediate container fed5d73d3a03 [2023-03-13T04:28:02.456Z] ---> 57194c02646d [2023-03-13T04:28:02.456Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-13T04:28:02.456Z] ---> 4f69fb7c81b8 [2023-03-13T04:28:02.456Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T04:28:02.715Z] ---> Running in 7b7f28524143 [2023-03-13T04:28:03.649Z] Removing intermediate container 7b7f28524143 [2023-03-13T04:28:03.649Z] ---> a953352d04a2 [2023-03-13T04:28:03.650Z] Step 9/23 : COPY . . [2023-03-13T04:28:03.908Z] ---> 0d503091d391 [2023-03-13T04:28:03.908Z] Step 10/23 : RUN ${MAKE} [2023-03-13T04:28:03.908Z] ---> Running in 106d24e6e635 [2023-03-13T04:28:04.167Z] 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-03-13T04:28:22.248Z] Removing intermediate container 106d24e6e635 [2023-03-13T04:28:22.248Z] ---> 660c81db7001 [2023-03-13T04:28:22.248Z] Step 11/23 : FROM alpine:3.16 [2023-03-13T04:28:22.248Z] 3.16: Pulling from library/alpine [2023-03-13T04:28:22.248Z] ef5531b6e74e: Pulling fs layer [2023-03-13T04:28:22.248Z] ef5531b6e74e: Verifying Checksum [2023-03-13T04:28:22.248Z] ef5531b6e74e: Download complete [2023-03-13T04:28:22.248Z] ef5531b6e74e: Pull complete [2023-03-13T04:28:22.248Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T04:28:22.248Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T04:28:22.248Z] ---> dfd21b5a31f5 [2023-03-13T04:28:22.248Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-13T04:28:22.248Z] ---> Running in 4ff2a44d9777 [2023-03-13T04:28:22.248Z] Removing intermediate container 4ff2a44d9777 [2023-03-13T04:28:22.248Z] ---> f51ecdd52698 [2023-03-13T04:28:22.248Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-13T04:28:22.248Z] ---> Running in e45d113bc0a3 [2023-03-13T04:28:22.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T04:28:22.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T04:28:23.028Z] OK: 6 MiB in 14 packages [2023-03-13T04:28:23.289Z] Removing intermediate container e45d113bc0a3 [2023-03-13T04:28:23.289Z] ---> 21dd86fce602 [2023-03-13T04:28:23.289Z] Step 14/23 : WORKDIR / [2023-03-13T04:28:23.547Z] ---> Running in 1d81d14d870c [2023-03-13T04:28:23.548Z] Removing intermediate container 1d81d14d870c [2023-03-13T04:28:23.548Z] ---> ba7eabeee827 [2023-03-13T04:28:23.548Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-13T04:28:23.548Z] ---> fa2b82239802 [2023-03-13T04:28:23.548Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-13T04:28:24.114Z] ---> c651f97154cb [2023-03-13T04:28:24.114Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-13T04:28:24.374Z] ---> d4b848c5b4e0 [2023-03-13T04:28:24.374Z] Step 18/23 : EXPOSE 59999 [2023-03-13T04:28:24.374Z] ---> Running in 53ba8ae00dcc [2023-03-13T04:28:24.374Z] Removing intermediate container 53ba8ae00dcc [2023-03-13T04:28:24.374Z] ---> edfd29f16fbc [2023-03-13T04:28:24.374Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-13T04:28:24.635Z] ---> Running in 62eab4d6be78 [2023-03-13T04:28:24.635Z] Removing intermediate container 62eab4d6be78 [2023-03-13T04:28:24.635Z] ---> 31fcb1295a44 [2023-03-13T04:28:24.635Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-13T04:28:24.635Z] ---> Running in 5800586087fe [2023-03-13T04:28:24.635Z] Removing intermediate container 5800586087fe [2023-03-13T04:28:24.635Z] ---> 29470cd96e12 [2023-03-13T04:28:24.635Z] Step 21/23 : LABEL arch=amd64 [2023-03-13T04:28:24.895Z] ---> Running in c039699d85e6 [2023-03-13T04:28:24.895Z] Removing intermediate container c039699d85e6 [2023-03-13T04:28:24.895Z] ---> c39ccc646a6e [2023-03-13T04:28:24.895Z] Step 22/23 : LABEL git_sha=9766e44161a751b8fc0b41b57f795f1db97a603d [2023-03-13T04:28:24.895Z] ---> Running in eabf69b3c9d2 [2023-03-13T04:28:25.155Z] Removing intermediate container eabf69b3c9d2 [2023-03-13T04:28:25.155Z] ---> 1f9dc56aaca3 [2023-03-13T04:28:25.155Z] Step 23/23 : LABEL version=0.0.0 [2023-03-13T04:28:25.155Z] ---> Running in e85578af5874 [2023-03-13T04:28:25.155Z] Removing intermediate container e85578af5874 [2023-03-13T04:28:25.155Z] ---> eaad9d9b0691 [2023-03-13T04:28:25.155Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T04:28:25.155Z] Successfully built eaad9d9b0691 [2023-03-13T04:28:25.155Z] 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-03-13T04:28:25.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T04:28:25.580Z] [2023-03-13T04:28:25.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:28:25.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T04:28:25.882Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T04:28:25.882Z] 5eb5b503b376: Pulling fs layer [2023-03-13T04:28:25.882Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T04:28:25.882Z] ec43610c2a17: Pulling fs layer [2023-03-13T04:28:25.882Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T04:28:25.882Z] 33b1e0a273af: Pulling fs layer [2023-03-13T04:28:25.882Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T04:28:25.882Z] 2f39f015ded8: Pulling fs layer [2023-03-13T04:28:25.882Z] 33b1e0a273af: Waiting [2023-03-13T04:28:25.882Z] 2f39f015ded8: Waiting [2023-03-13T04:28:25.882Z] 3a2ae6a8a46f: Waiting [2023-03-13T04:28:25.882Z] 5d3b04190fa2: Waiting [2023-03-13T04:28:25.882Z] 5c69ac0246d0: Download complete [2023-03-13T04:28:25.882Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T04:28:25.882Z] 3a2ae6a8a46f: Download complete [2023-03-13T04:28:26.140Z] 33b1e0a273af: Verifying Checksum [2023-03-13T04:28:26.140Z] 33b1e0a273af: Download complete [2023-03-13T04:28:26.140Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T04:28:26.140Z] 5d3b04190fa2: Download complete [2023-03-13T04:28:26.140Z] ec43610c2a17: Verifying Checksum [2023-03-13T04:28:26.140Z] ec43610c2a17: Download complete [2023-03-13T04:28:26.140Z] 5eb5b503b376: Verifying Checksum [2023-03-13T04:28:26.140Z] 5eb5b503b376: Download complete [2023-03-13T04:28:26.704Z] 2f39f015ded8: Download complete [2023-03-13T04:28:27.270Z] 5eb5b503b376: Pull complete [2023-03-13T04:28:27.530Z] 5c69ac0246d0: Pull complete [2023-03-13T04:28:27.789Z] ec43610c2a17: Pull complete [2023-03-13T04:28:28.048Z] 3a2ae6a8a46f: Pull complete [2023-03-13T04:28:28.048Z] 33b1e0a273af: Pull complete [2023-03-13T04:28:28.307Z] 5d3b04190fa2: Pull complete [2023-03-13T04:28:32.491Z] 2f39f015ded8: Pull complete [2023-03-13T04:28:32.491Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T04:28:32.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T04:28:32.491Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:28:32.576Z] prd-ubuntu20.04-docker-8c-8g-9842 does not seem to be running inside a container [2023-03-13T04:28:32.608Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T04:28:34.580Z] $ docker top ba3463502965cfa968d134a342875bc1869e76f8276fbb8d3a9828d9468ab7c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:28:34.959Z] ---> job-cost.sh [2023-03-13T04:28:34.959Z] lf-activate-venv: SKIPPING [2023-03-13T04:28:34.959Z] INFO: No Stack... [2023-03-13T04:28:35.218Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T04:28:35.477Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T04:28:35.769Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/cost.csv [2023-03-13T04:28:35.769Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T04:28:35.785Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-8-stack-cost] [2023-03-13T04:28:35.791Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-8-stack-cost] did not exist. Created. [2023-03-13T04:28:35.791Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T04:28:36.095Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T04:28:36.128Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T04:28:36.134Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T04:28:36.154Z] $ docker stop --time=1 ba3463502965cfa968d134a342875bc1869e76f8276fbb8d3a9828d9468ab7c3 [2023-03-13T04:28:37.318Z] $ docker rm -f --volumes ba3463502965cfa968d134a342875bc1869e76f8276fbb8d3a9828d9468ab7c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T04:28:43.296Z] Removing intermediate container 06f2697f243d [2023-03-13T04:28:43.297Z] ---> be0adf984f83 [2023-03-13T04:28:43.297Z] Step 9/10 : COPY . . [2023-03-13T04:28:43.297Z] ---> acb0959a5257 [2023-03-13T04:28:43.297Z] Step 10/10 : RUN ${MAKE} [2023-03-13T04:28:43.297Z] ---> Running in d2c09f7c7f43 [2023-03-13T04:28:43.297Z] noop [2023-03-13T04:28:43.297Z] Removing intermediate container d2c09f7c7f43 [2023-03-13T04:28:43.297Z] ---> 946ac5487b42 [2023-03-13T04:28:43.297Z] Successfully built 946ac5487b42 [2023-03-13T04:28:43.297Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:28:43.635Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T04:28:43.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:28:43.807Z] prd-ubuntu20.04-docker-arm64-4c-16g-9840 does not seem to be running inside a container [2023-03-13T04:28:43.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T04:28:44.908Z] $ docker top 79c1c64b9e5a30a7605dea7a0e68316a7ad0266445f68d6f5f5208c77b549e71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:28:45.740Z] + go version [2023-03-13T04:28:45.740Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T04:28:45.755Z] $ docker stop --time=1 79c1c64b9e5a30a7605dea7a0e68316a7ad0266445f68d6f5f5208c77b549e71 [2023-03-13T04:28:47.312Z] $ docker rm -f --volumes 79c1c64b9e5a30a7605dea7a0e68316a7ad0266445f68d6f5f5208c77b549e71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:28:47.841Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T04:28:47.841Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:28:48.006Z] prd-ubuntu20.04-docker-arm64-4c-16g-9840 does not seem to be running inside a container [2023-03-13T04:28:48.062Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T04:28:49.160Z] $ docker top 725e4805a999893c567dbff2c80885397c6ee967edbd576f6fe880574762ae34 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:28:49.654Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/8 [Pipeline] fileExists [Pipeline] sh [2023-03-13T04:28:49.980Z] + make test [2023-03-13T04:28:49.981Z] go test -race -coverprofile=coverage.out ./... [2023-03-13T04:29:22.209Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-13T04:30:58.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-13T04:30:58.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-13T04:30:58.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-13T04:30:58.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-13T04:30:58.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-13T04:31:02.210Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.241s coverage: 27.6% of statements [2023-03-13T04:31:03.624Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.317s coverage: 78.9% of statements [2023-03-13T04:31:11.872Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.394s coverage: 86.0% of statements [2023-03-13T04:31:11.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-13T04:31:11.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-13T04:31:13.279Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.420s coverage: 75.9% of statements [2023-03-13T04:31:13.279Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-13T04:31:13.280Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.271s coverage: 15.2% of statements [2023-03-13T04:31:13.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-13T04:31:14.686Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.383s coverage: 65.2% of statements [2023-03-13T04:31:14.686Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-13T04:31:14.686Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-13T04:31:14.686Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.602s coverage: 89.2% of statements [2023-03-13T04:31:14.686Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.246s coverage: 5.5% of statements [2023-03-13T04:31:14.686Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-13T04:31:14.953Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-13T04:31:14.953Z] GO111MODULE=on go vet ./... [2023-03-13T04:32:36.579Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T04:32:36.579Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T04:32:36.579Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T04:32:36.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T04:32:36.615Z] $ docker stop --time=1 725e4805a999893c567dbff2c80885397c6ee967edbd576f6fe880574762ae34 [2023-03-13T04:32:38.769Z] $ docker rm -f --volumes 725e4805a999893c567dbff2c80885397c6ee967edbd576f6fe880574762ae34 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T04:32:40.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T04:32:40.111Z] Warning: overwriting stash ‘coverage-report’ [2023-03-13T04:32:40.724Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T04:32:41.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T04:32:41.442Z] + ls -al . [2023-03-13T04:32:41.442Z] total 276 [2023-03-13T04:32:41.442Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 04:28 . [2023-03-13T04:32:41.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 04:26 .. [2023-03-13T04:32:41.442Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 04:26 .dockerignore [2023-03-13T04:32:41.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 04:26 .git [2023-03-13T04:32:41.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 04:26 .github [2023-03-13T04:32:41.442Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 13 04:26 .gitignore [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 04:26 .golangci.yml [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 13 04:26 CHANGELOG.md [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 04:26 GOVERNANCE.md [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 04:26 Jenkinsfile [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 04:26 LICENSE [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 13 04:26 Makefile [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 04:26 OWNERS.md [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 13 04:26 README.md [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 04:26 VERSION [2023-03-13T04:32:41.443Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 04:26 bin [2023-03-13T04:32:41.443Z] -rw-r--r-- 1 jenkins jenkins 111699 Mar 13 04:31 coverage.out [2023-03-13T04:32:41.443Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 04:26 example [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 13 04:26 go.mod [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 13 04:26 go.sum [2023-03-13T04:32:41.443Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 04:26 internal [2023-03-13T04:32:41.443Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 04:26 openapi [2023-03-13T04:32:41.443Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 04:26 pkg [2023-03-13T04:32:41.443Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 04:26 snap [2023-03-13T04:32:41.443Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 04:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:32:41.773Z] + 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=de895910e20add49ec1e81f91bce77d212b45bd5 --label arch=arm64 --label version=0.0.0 . [2023-03-13T04:32:42.041Z] Sending build context to Docker daemon 5.927MB [2023-03-13T04:32:42.308Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T04:32:42.308Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-13T04:32:42.308Z] ---> 946ac5487b42 [2023-03-13T04:32:42.308Z] Step 3/23 : ARG MAKE=make build [2023-03-13T04:32:42.308Z] ---> Running in 7a8b403bf7f3 [2023-03-13T04:32:42.577Z] Removing intermediate container 7a8b403bf7f3 [2023-03-13T04:32:42.577Z] ---> dc6700fd256e [2023-03-13T04:32:42.577Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-13T04:32:42.577Z] ---> Running in 38cf4751ed3a [2023-03-13T04:32:42.844Z] Removing intermediate container 38cf4751ed3a [2023-03-13T04:32:42.844Z] ---> 0770de2ecd5b [2023-03-13T04:32:42.844Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-13T04:32:43.111Z] ---> Running in 15a3e3b8f5b1 [2023-03-13T04:32:43.378Z] Removing intermediate container 15a3e3b8f5b1 [2023-03-13T04:32:43.378Z] ---> aba8f34a14c1 [2023-03-13T04:32:43.378Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-13T04:32:43.378Z] ---> Running in b5caf36abe11 [2023-03-13T04:32:44.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T04:32:44.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T04:32:45.579Z] OK: 221 MiB in 51 packages [2023-03-13T04:32:46.543Z] Removing intermediate container b5caf36abe11 [2023-03-13T04:32:46.543Z] ---> a07110097886 [2023-03-13T04:32:46.543Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-13T04:32:46.812Z] ---> 2ef9ad77e4bc [2023-03-13T04:32:46.812Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T04:32:46.812Z] ---> Running in e69a682adcb3 [2023-03-13T04:32:51.072Z] Removing intermediate container e69a682adcb3 [2023-03-13T04:32:51.072Z] ---> a8d968e77e40 [2023-03-13T04:32:51.072Z] Step 9/23 : COPY . . [2023-03-13T04:32:52.480Z] ---> 8c60b12fc1e8 [2023-03-13T04:32:52.480Z] Step 10/23 : RUN ${MAKE} [2023-03-13T04:32:52.480Z] ---> Running in f0d3f2686512 [2023-03-13T04:32:53.455Z] 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-03-13T04:34:45.136Z] Removing intermediate container f0d3f2686512 [2023-03-13T04:34:45.136Z] ---> 4b19aeb5934a [2023-03-13T04:34:45.136Z] Step 11/23 : FROM alpine:3.16 [2023-03-13T04:34:45.720Z] 3.16: Pulling from library/alpine [2023-03-13T04:34:45.720Z] 3760b48202b3: Pulling fs layer [2023-03-13T04:34:45.720Z] 3760b48202b3: Verifying Checksum [2023-03-13T04:34:45.720Z] 3760b48202b3: Download complete [2023-03-13T04:34:46.307Z] 3760b48202b3: Pull complete [2023-03-13T04:34:46.307Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T04:34:46.307Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T04:34:46.307Z] ---> 4c81e5bf8899 [2023-03-13T04:34:46.307Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-13T04:34:46.575Z] ---> Running in fdbd3893a507 [2023-03-13T04:34:47.991Z] Removing intermediate container fdbd3893a507 [2023-03-13T04:34:47.991Z] ---> cdd6fd6c2de8 [2023-03-13T04:34:47.991Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-13T04:34:47.991Z] ---> Running in 782f47881992 [2023-03-13T04:34:48.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T04:34:49.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T04:34:50.122Z] OK: 5 MiB in 14 packages [2023-03-13T04:34:50.710Z] Removing intermediate container 782f47881992 [2023-03-13T04:34:50.710Z] ---> 5641440d8e96 [2023-03-13T04:34:50.710Z] Step 14/23 : WORKDIR / [2023-03-13T04:34:50.984Z] ---> Running in c001752a3bb8 [2023-03-13T04:34:51.251Z] Removing intermediate container c001752a3bb8 [2023-03-13T04:34:51.251Z] ---> 33b8f7d182df [2023-03-13T04:34:51.251Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-13T04:34:51.517Z] ---> 10e3b90ca231 [2023-03-13T04:34:51.517Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-13T04:34:52.940Z] ---> e6eef766ea4f [2023-03-13T04:34:52.940Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-13T04:34:53.524Z] ---> 52fe2a7f843d [2023-03-13T04:34:53.524Z] Step 18/23 : EXPOSE 59999 [2023-03-13T04:34:53.524Z] ---> Running in cd5c6277a8ac [2023-03-13T04:34:53.792Z] Removing intermediate container cd5c6277a8ac [2023-03-13T04:34:53.792Z] ---> b61876702278 [2023-03-13T04:34:53.792Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-13T04:34:53.792Z] ---> Running in 94f4f4c0886b [2023-03-13T04:34:54.059Z] Removing intermediate container 94f4f4c0886b [2023-03-13T04:34:54.059Z] ---> 8f67685d513e [2023-03-13T04:34:54.059Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-13T04:34:54.059Z] ---> Running in 655a2035275c [2023-03-13T04:34:54.326Z] Removing intermediate container 655a2035275c [2023-03-13T04:34:54.326Z] ---> 6e8de52ce228 [2023-03-13T04:34:54.326Z] Step 21/23 : LABEL arch=arm64 [2023-03-13T04:34:54.326Z] ---> Running in 7537d73a68ef [2023-03-13T04:34:54.604Z] Removing intermediate container 7537d73a68ef [2023-03-13T04:34:54.604Z] ---> 9a8fe42bb621 [2023-03-13T04:34:54.604Z] Step 22/23 : LABEL git_sha=de895910e20add49ec1e81f91bce77d212b45bd5 [2023-03-13T04:34:54.869Z] ---> Running in 96281bec0f31 [2023-03-13T04:34:55.136Z] Removing intermediate container 96281bec0f31 [2023-03-13T04:34:55.136Z] ---> a38401df02ae [2023-03-13T04:34:55.136Z] Step 23/23 : LABEL version=0.0.0 [2023-03-13T04:34:55.136Z] ---> Running in 1e3ba687510d [2023-03-13T04:34:55.404Z] Removing intermediate container 1e3ba687510d [2023-03-13T04:34:55.404Z] ---> 96fab6ff12de [2023-03-13T04:34:55.404Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T04:34:55.404Z] Successfully built 96fab6ff12de [2023-03-13T04:34:55.404Z] 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-03-13T04:34:55.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T04:34:55.825Z] [2023-03-13T04:34:55.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:34:56.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T04:34:56.154Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T04:34:56.154Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T04:34:56.154Z] 04944245beec: Pulling fs layer [2023-03-13T04:34:56.154Z] 699f458cf7ca: Pulling fs layer [2023-03-13T04:34:56.154Z] 765212b225bb: Pulling fs layer [2023-03-13T04:34:56.154Z] f23df028b6ca: Pulling fs layer [2023-03-13T04:34:56.154Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T04:34:56.154Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T04:34:56.154Z] 765212b225bb: Waiting [2023-03-13T04:34:56.154Z] f23df028b6ca: Waiting [2023-03-13T04:34:56.154Z] d65c8cfc05b1: Waiting [2023-03-13T04:34:56.424Z] 04944245beec: Verifying Checksum [2023-03-13T04:34:56.424Z] 04944245beec: Download complete [2023-03-13T04:34:56.424Z] 765212b225bb: Verifying Checksum [2023-03-13T04:34:56.424Z] 765212b225bb: Download complete [2023-03-13T04:34:56.424Z] f23df028b6ca: Verifying Checksum [2023-03-13T04:34:56.424Z] f23df028b6ca: Download complete [2023-03-13T04:34:56.424Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T04:34:56.424Z] d65c8cfc05b1: Download complete [2023-03-13T04:34:56.424Z] 699f458cf7ca: Verifying Checksum [2023-03-13T04:34:56.424Z] 699f458cf7ca: Download complete [2023-03-13T04:34:57.009Z] 8998bd30e6a1: Download complete [2023-03-13T04:34:58.950Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T04:34:58.950Z] 2437ff75d9bd: Download complete [2023-03-13T04:35:00.892Z] 8998bd30e6a1: Pull complete [2023-03-13T04:35:01.163Z] 04944245beec: Pull complete [2023-03-13T04:35:02.573Z] 699f458cf7ca: Pull complete [2023-03-13T04:35:02.573Z] 765212b225bb: Pull complete [2023-03-13T04:35:03.534Z] f23df028b6ca: Pull complete [2023-03-13T04:35:03.534Z] d65c8cfc05b1: Pull complete [2023-03-13T04:35:18.526Z] 2437ff75d9bd: Pull complete [2023-03-13T04:35:18.526Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T04:35:18.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T04:35:18.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:35:18.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-9840 does not seem to be running inside a container [2023-03-13T04:35:18.775Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T04:35:21.319Z] $ docker top ffba87b04afb87df0d228b2ba2c8c03bd6d8ec6d8392347c98f1431a5756047d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:35:21.841Z] ---> job-cost.sh [2023-03-13T04:35:22.108Z] lf-activate-venv: SKIPPING [2023-03-13T04:35:22.108Z] INFO: No Stack... [2023-03-13T04:35:22.690Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T04:35:23.644Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T04:35:23.969Z] + + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2023-03-13T04:35:23.969Z] cut -d, -f6 [Pipeline] lock [2023-03-13T04:35:24.037Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-8-stack-cost] [2023-03-13T04:35:24.045Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-8-stack-cost] did not exist. Created. [2023-03-13T04:35:24.045Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T04:35:24.382Z] /w/workspace/device-sdk-go/8@tmp/durable-1fd0362d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T04:35:24.712Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T04:35:24.727Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T04:35:24.790Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T04:35:24.797Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T04:35:24.808Z] $ docker stop --time=1 ffba87b04afb87df0d228b2ba2c8c03bd6d8ec6d8392347c98f1431a5756047d [2023-03-13T04:35:26.430Z] $ docker rm -f --volumes ffba87b04afb87df0d228b2ba2c8c03bd6d8ec6d8392347c98f1431a5756047d [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-03-13T04:35:26.835Z] provisioning config files... [2023-03-13T04:35:26.843Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config5223242675854547883tmp [Pipeline] { [Pipeline] sh [2023-03-13T04:35:27.130Z] + set +x [2023-03-13T04:35:27.130Z] + curl -s https://codecov.io/bash [2023-03-13T04:35:27.130Z] + bash -s -- [2023-03-13T04:35:27.130Z] [2023-03-13T04:35:27.130Z] _____ _ [2023-03-13T04:35:27.130Z] / ____| | | [2023-03-13T04:35:27.130Z] | | ___ __| | ___ ___ _____ __ [2023-03-13T04:35:27.130Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-13T04:35:27.130Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-13T04:35:27.130Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-13T04:35:27.130Z] Bash-1.0.6 [2023-03-13T04:35:27.130Z] [2023-03-13T04:35:27.130Z] [2023-03-13T04:35:27.130Z] ==> git version 2.25.1 found [2023-03-13T04:35:27.130Z] ==> 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-03-13T04:35:27.130Z] Release-Date: 2020-01-08 [2023-03-13T04:35:27.130Z] 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-03-13T04:35:27.130Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-13T04:35:27.130Z] ==> Jenkins CI detected. [2023-03-13T04:35:27.130Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-13T04:35:27.130Z] project root: . [2023-03-13T04:35:27.130Z] --> token set from env [2023-03-13T04:35:27.130Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-13T04:35:27.130Z] ==> Running gcov in . (disable via -X gcov) [2023-03-13T04:35:27.130Z] ==> Python coveragepy not found [2023-03-13T04:35:27.130Z] ==> Searching for coverage reports in: [2023-03-13T04:35:27.130Z] + . [2023-03-13T04:35:27.130Z] -> Found 1 reports [2023-03-13T04:35:27.130Z] ==> Detecting git/mercurial file structure [2023-03-13T04:35:27.130Z] ==> Reading reports [2023-03-13T04:35:27.130Z] + ./coverage.out bytes=111699 [2023-03-13T04:35:27.130Z] ==> Appending adjustments [2023-03-13T04:35:27.130Z] https://docs.codecov.io/docs/fixing-reports [2023-03-13T04:35:27.390Z] + Found adjustments [2023-03-13T04:35:27.390Z] ==> Gzipping contents [2023-03-13T04:35:27.649Z] 16K /tmp/codecov.7mkxOf.gz [2023-03-13T04:35:27.649Z] ==> Uploading reports [2023-03-13T04:35:27.649Z] url: https://codecov.io [2023-03-13T04:35:27.649Z] query: branch=PR-1356&commit=9766e44161a751b8fc0b41b57f795f1db97a603d&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-13T04:35:27.649Z] -> Pinging Codecov [2023-03-13T04:35:27.649Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1356&commit=9766e44161a751b8fc0b41b57f795f1db97a603d&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-13T04:35:27.649Z] -> Uploading to [2023-03-13T04:35:27.649Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-13/7E55EF52A471D76F132DFD9A03CDDE97/9766e44161a751b8fc0b41b57f795f1db97a603d/be00cd97-eba5-480e-b9e9-73ceab3774b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T043527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=186427ff5b18f376462e409f1f660d6941131b214d2a4264b9dadca90c1cb730 [2023-03-13T04:35:27.649Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T04:35:27.649Z] Dload Upload Total Spent Left Speed [2023-03-13T04:35:27.908Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15525 0 0 100 15525 0 76477 --:--:-- --:--:-- --:--:-- 76102 100 15525 0 0 100 15525 0 62854 --:--:-- --:--:-- --:--:-- 62600 [2023-03-13T04:35:27.908Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9766e44161a751b8fc0b41b57f795f1db97a603d [Pipeline] } [2023-03-13T04:35:27.913Z] 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-03-13T04:35:28.615Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives ] [2023-03-13T04:35:28.615Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-13T04:35:28.615Z] total 16 [2023-03-13T04:35:28.615Z] drwxr-xr-x 3 root root 4096 Mar 13 04:28 . [2023-03-13T04:35:28.615Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 04:28 .. [2023-03-13T04:35:28.615Z] drwxr-xr-x 2 root root 4096 Mar 13 04:28 cost [2023-03-13T04:35:28.615Z] -rw-r--r-- 1 root root 86 Mar 13 04:28 cost.csv [2023-03-13T04:35:28.615Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-13T04:35:28.615Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-13T04:35:28.615Z] total 16 [2023-03-13T04:35:28.615Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 04:28 . [2023-03-13T04:35:28.615Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 04:28 .. [2023-03-13T04:35:28.615Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 04:28 cost [2023-03-13T04:35:28.615Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 04:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:35:28.907Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:35:29.768Z] ---> package-listing.sh [2023-03-13T04:35:29.768Z] ++ facter osfamily [2023-03-13T04:35:29.768Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T04:35:30.026Z] + OS_FAMILY=debian [2023-03-13T04:35:30.026Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-13T04:35:30.026Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T04:35:30.026Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T04:35:30.026Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T04:35:30.026Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T04:35:30.026Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-13T04:35:30.026Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T04:35:30.026Z] + case "${OS_FAMILY}" in [2023-03-13T04:35:30.026Z] + dpkg -l [2023-03-13T04:35:30.026Z] + grep '^ii' [2023-03-13T04:35:30.026Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T04:35:30.026Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T04:35:30.026Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T04:35:30.026Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-13T04:35:30.026Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [2023-03-13T04:35:30.026Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [Pipeline] echo [2023-03-13T04:35:30.038Z] 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-1356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T04:35:30.313Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:35:30.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T04:35:30.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:35:30.942Z] prd-ubuntu20.04-docker-8c-8g-9842 does not seem to be running inside a container [2023-03-13T04:35:30.978Z] $ 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-1356/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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T04:35:31.215Z] $ docker top 4e38b624ecde4db1e49e4c8b22e2c7f218dd1e7d86c9a2cb1f9f2ea38691abcf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:35:31.555Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T04:35:31.840Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T04:35:32.127Z] + ls /var/log/sa-host [2023-03-13T04:35:32.127Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T04:35:32.192Z] provisioning config files... [2023-03-13T04:35:32.200Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config2849907200308422010tmp [Pipeline] { [Pipeline] echo [2023-03-13T04:35:32.216Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:35:32.497Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T04:35:32.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:35:32.841Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T04:35:32.851Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:35:33.134Z] ---> sudo-logs.sh [2023-03-13T04:35:33.134Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T04:35:33.164Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:35:33.446Z] ---> job-cost.sh [2023-03-13T04:35:33.446Z] lf-activate-venv: SKIPPING [2023-03-13T04:35:33.446Z] DEBUG: total: 0.2199999988079071 [2023-03-13T04:35:33.446Z] INFO: Retrieving Stack Cost... [2023-03-13T04:35:33.705Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T04:35:33.964Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T04:35:33.977Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:35:34.260Z] ---> logs-deploy.sh [2023-03-13T04:35:34.260Z] lf-activate-venv: SKIPPING [2023-03-13T04:35:34.260Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1356/8 [2023-03-13T04:35:34.260Z] INFO: archiving workspace using pattern(s): [2023-03-13T04:35:35.199Z] Archives upload complete. [2023-03-13T04:35:35.199Z] INFO: archiving logs to Nexus