Pull request #1360 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch main at b4dcd90c517d60267da088e4e26fcccd6a523ed6 rather than 625f29720569d2b29cfb0bb03b03e9ba312a8048 Obtained Jenkinsfile from b4dcd90c517d60267da088e4e26fcccd6a523ed6 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-ssh3316326200745318091.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-ssh3323419997234330209.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15955011652161432419.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12860247820001648096.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2316554415531293389.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh892896322759366220.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8443 in /w/workspace/gexfoundry_device-sdk-go_PR-1360 [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-1360 # 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 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 625f29720569d2b29cfb0bb03b03e9ba312a8048 Merge succeeded, producing b05a901c1269e8f0b720aa820278bdb4c572843d Checking out Revision b05a901c1269e8f0b720aa820278bdb4c572843d (PR-1360) > 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/1360/head:refs/remotes/origin/PR-1360 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b05a901c1269e8f0b720aa820278bdb4c572843d # timeout=10 Commit message: "Merge commit 'b4dcd90c517d60267da088e4e26fcccd6a523ed6' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T01:03:15.985Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T01:03:16.178Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T01:03:16.293Z] ========================================================= [2023-03-07T01:03:16.293Z] EdgeX Global Pipelines Version Info [2023-03-07T01:03:16.293Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:03:17.039Z] ------------------- [2023-03-07T01:03:17.039Z] stable info: [2023-03-07T01:03:17.039Z] ------------------- [2023-03-07T01:03:17.039Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T01:03:17.039Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T01:03:17.039Z] Message: update stable to v1.0.244 [2023-03-07T01:03:17.609Z] ------------------- [2023-03-07T01:03:17.609Z] experimental info: [2023-03-07T01:03:17.609Z] ------------------- [2023-03-07T01:03:17.609Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T01:03:17.609Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T01:03:17.609Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T01:03:17.894Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T01:03:17.936Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T01:03:17.978Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T01:03:18.015Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T01:03:18.053Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T01:03:18.093Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T01:03:18.149Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T01:03:18.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T01:03:18.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T01:03:18.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T01:03:18.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T01:03:18.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T01:03:18.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T01:03:18.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T01:03:18.632Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T01:03:18.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:03:18.713Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:03:18.752Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:03:18.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T01:03:18.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T01:03:18.879Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T01:03:18.922Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-07T01:03:18.966Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T01:03:19.010Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T01:03:19.052Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T01:03:19.096Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T01:03:19.135Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T01:03:19.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1360 [Pipeline] echo [2023-03-07T01:03:19.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1360 [Pipeline] echo [2023-03-07T01:03:19.274Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1360 [Pipeline] echo [2023-03-07T01:03:19.315Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b05a901c1269e8f0b720aa820278bdb4c572843d [Pipeline] echo [2023-03-07T01:03:19.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b05a901 [Pipeline] echo [2023-03-07T01:03:19.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:03:19.515Z] provisioning config files... [2023-03-07T01:03:19.532Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/config12709183782253928659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:03:19.879Z] ---> docker-login.sh [2023-03-07T01:03:19.879Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:03:20.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:20.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:20.140Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:20.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:20.140Z] [2023-03-07T01:03:20.140Z] Login Succeeded [2023-03-07T01:03:20.140Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:03:20.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:20.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:20.398Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:20.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:20.398Z] [2023-03-07T01:03:20.398Z] Login Succeeded [2023-03-07T01:03:20.398Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:03:20.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:20.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:20.399Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:20.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:20.399Z] [2023-03-07T01:03:20.399Z] Login Succeeded [2023-03-07T01:03:20.399Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:03:20.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:20.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:20.399Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:20.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:20.399Z] [2023-03-07T01:03:20.399Z] Login Succeeded [2023-03-07T01:03:20.399Z] docker.io [2023-03-07T01:03:20.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:20.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:20.659Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:20.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:20.659Z] [2023-03-07T01:03:20.659Z] Login Succeeded [2023-03-07T01:03:20.659Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:03:20.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T01:03:21.327Z] + git rev-list -1 --merges b05a901c1269e8f0b720aa820278bdb4c572843d~1..b05a901c1269e8f0b720aa820278bdb4c572843d [Pipeline] echo [2023-03-07T01:03:21.388Z] -----------> git rev-list -1 --merges b05a901c1269e8f0b720aa820278bdb4c572843d~1..b05a901c1269e8f0b720aa820278bdb4c572843d b05a901c1269e8f0b720aa820278bdb4c572843d [2023-03-07T01:03:21.388Z] b05a901c1269e8f0b720aa820278bdb4c572843d [false] [Pipeline] sh [2023-03-07T01:03:21.702Z] + git log --format=format:%s -1 b05a901c1269e8f0b720aa820278bdb4c572843d [Pipeline] echo [2023-03-07T01:03:21.740Z] ========================================================= [2023-03-07T01:03:21.740Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T01:03:21.740Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:03:22.406Z] + git log --format=format:%s -1 b05a901c1269e8f0b720aa820278bdb4c572843d [Pipeline] echo [2023-03-07T01:03:22.474Z] [semverPrep] GIT_COMMIT: b05a901c1269e8f0b720aa820278bdb4c572843d, Commit Message: Merge commit 'b4dcd90c517d60267da088e4e26fcccd6a523ed6' into HEAD [Pipeline] echo [2023-03-07T01:03:22.502Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T01:03:22.866Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T01:03:22.866Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T01:03:22.866Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T01:03:22.866Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T01:03:22.866Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T01:03:22.866Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T01:03:22.866Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:03:23.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:03:23.297Z] [2023-03-07T01:03:23.297Z] 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-07T01:03:23.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:03:23.680Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T01:03:23.680Z] b85a868b505f: Pulling fs layer [2023-03-07T01:03:23.680Z] e2be974225ed: Pulling fs layer [2023-03-07T01:03:23.680Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T01:03:23.680Z] 988bab9f4d93: Pulling fs layer [2023-03-07T01:03:23.680Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T01:03:23.680Z] eaf3925da568: Pulling fs layer [2023-03-07T01:03:23.680Z] bab4dde63d76: Pulling fs layer [2023-03-07T01:03:23.680Z] bde34c3a00c8: Pulling fs layer [2023-03-07T01:03:23.680Z] b352a97aabf1: Pulling fs layer [2023-03-07T01:03:23.680Z] 4872d77fe225: Pulling fs layer [2023-03-07T01:03:23.680Z] 5851b861e8e6: Pulling fs layer [2023-03-07T01:03:23.680Z] 988bab9f4d93: Waiting [2023-03-07T01:03:23.680Z] bde34c3a00c8: Waiting [2023-03-07T01:03:23.680Z] b352a97aabf1: Waiting [2023-03-07T01:03:23.680Z] eaf3925da568: Waiting [2023-03-07T01:03:23.680Z] bab4dde63d76: Waiting [2023-03-07T01:03:23.680Z] 5851b861e8e6: Waiting [2023-03-07T01:03:23.680Z] 4872d77fe225: Waiting [2023-03-07T01:03:23.680Z] e2be974225ed: Verifying Checksum [2023-03-07T01:03:23.680Z] e2be974225ed: Download complete [2023-03-07T01:03:23.680Z] 988bab9f4d93: Verifying Checksum [2023-03-07T01:03:23.680Z] 988bab9f4d93: Download complete [2023-03-07T01:03:23.940Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T01:03:23.940Z] 1469e6f7b9e6: Download complete [2023-03-07T01:03:23.940Z] eaf3925da568: Verifying Checksum [2023-03-07T01:03:23.940Z] eaf3925da568: Download complete [2023-03-07T01:03:23.940Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T01:03:23.940Z] 339a4e72a1f5: Download complete [2023-03-07T01:03:23.940Z] bde34c3a00c8: Download complete [2023-03-07T01:03:23.940Z] b352a97aabf1: Download complete [2023-03-07T01:03:23.940Z] 4872d77fe225: Verifying Checksum [2023-03-07T01:03:23.940Z] 4872d77fe225: Download complete [2023-03-07T01:03:23.940Z] 5851b861e8e6: Verifying Checksum [2023-03-07T01:03:23.940Z] 5851b861e8e6: Download complete [2023-03-07T01:03:23.940Z] b85a868b505f: Verifying Checksum [2023-03-07T01:03:23.940Z] b85a868b505f: Download complete [2023-03-07T01:03:24.199Z] bab4dde63d76: Verifying Checksum [2023-03-07T01:03:24.199Z] bab4dde63d76: Download complete [2023-03-07T01:03:25.136Z] b85a868b505f: Pull complete [2023-03-07T01:03:25.395Z] e2be974225ed: Pull complete [2023-03-07T01:03:25.655Z] 339a4e72a1f5: Pull complete [2023-03-07T01:03:25.914Z] 988bab9f4d93: Pull complete [2023-03-07T01:03:26.175Z] 1469e6f7b9e6: Pull complete [2023-03-07T01:03:26.175Z] eaf3925da568: Pull complete [2023-03-07T01:03:28.080Z] bab4dde63d76: Pull complete [2023-03-07T01:03:28.080Z] bde34c3a00c8: Pull complete [2023-03-07T01:03:28.080Z] b352a97aabf1: Pull complete [2023-03-07T01:03:28.340Z] 4872d77fe225: Pull complete [2023-03-07T01:03:28.340Z] 5851b861e8e6: Pull complete [2023-03-07T01:03:28.340Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T01:03:28.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:03:28.340Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:03:28.589Z] prd-ubuntu20.04-docker-8c-8g-8443 does not seem to be running inside a container [2023-03-07T01:03:28.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T01:03:33.388Z] $ docker top 5787d6a79a6d07838cb76c4727fda130245931c8b016ca96b09e5051603f7b5b -eo pid,comm [2023-03-07T01:03:33.434Z] 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-07T01:03:33.434Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T01:03:33.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T01:03:33.571Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T01:03:33.689Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T01:03:33.696Z] $ docker exec 5787d6a79a6d07838cb76c4727fda130245931c8b016ca96b09e5051603f7b5b ssh-agent [2023-03-07T01:03:33.793Z] SSH_AUTH_SOCK=/tmp/ssh-PYujdQX85RIR/agent.31 [2023-03-07T01:03:33.793Z] SSH_AGENT_PID=38 [2023-03-07T01:03:33.801Z] Running ssh-add (command line suppressed) [2023-03-07T01:03:33.905Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/private_key_1179223693247425536.key (/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/private_key_1179223693247425536.key) [2023-03-07T01:03:33.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T01:03:34.246Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T01:03:34.277Z] $ docker exec --env ******** --env ******** 5787d6a79a6d07838cb76c4727fda130245931c8b016ca96b09e5051603f7b5b ssh-agent -k [2023-03-07T01:03:34.389Z] unset SSH_AUTH_SOCK; [2023-03-07T01:03:34.389Z] unset SSH_AGENT_PID; [2023-03-07T01:03:34.390Z] echo Agent pid 38 killed; [2023-03-07T01:03:34.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T01:03:34.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T01:03:34.489Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T01:03:34.598Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T01:03:34.605Z] $ docker exec 5787d6a79a6d07838cb76c4727fda130245931c8b016ca96b09e5051603f7b5b ssh-agent [2023-03-07T01:03:34.719Z] SSH_AUTH_SOCK=/tmp/ssh-a5GVPQXVzzJJ/agent.71 [2023-03-07T01:03:34.719Z] SSH_AGENT_PID=77 [2023-03-07T01:03:34.724Z] Running ssh-add (command line suppressed) [2023-03-07T01:03:34.837Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/private_key_12627153942774196608.key (/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/private_key_12627153942774196608.key) [2023-03-07T01:03:34.847Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T01:03:35.186Z] + git semver init [2023-03-07T01:03:35.445Z] 2023-03-07 01:03:35,394 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T01:03:35.445Z] 2023-03-07 01:03:35,395 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver [2023-03-07T01:03:35.445Z] 2023-03-07 01:03:35,395 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver [2023-03-07T01:03:35.445Z] 2023-03-07 01:03:35,396 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1360, universal_newlines=False, shell=None, istream=None) [2023-03-07T01:03:36.824Z] 2023-03-07 01:03:36,406 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360/.git/info/exclude [2023-03-07T01:03:36.824Z] 2023-03-07 01:03:36,406 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver/PR-1360 with force:False [2023-03-07T01:03:36.824Z] 2023-03-07 01:03:36,407 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver/PR-1360 [2023-03-07T01:03:36.824Z] 2023-03-07 01:03:36,411 [execute] INFO git cat-file --batch-check [2023-03-07T01:03:36.824Z] 2023-03-07 01:03:36,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T01:03:36.824Z] 2023-03-07 01:03:36,418 [execute] INFO git cat-file --batch [2023-03-07T01:03:36.824Z] 2023-03-07 01:03:36,418 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T01:03:36.824Z] 2023-03-07 01:03:36,422 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver/PR-1360 [2023-03-07T01:03:36.824Z] 0.0.0 [Pipeline] } [2023-03-07T01:03:36.852Z] $ docker exec --env ******** --env ******** 5787d6a79a6d07838cb76c4727fda130245931c8b016ca96b09e5051603f7b5b ssh-agent -k [2023-03-07T01:03:36.975Z] unset SSH_AUTH_SOCK; [2023-03-07T01:03:36.975Z] unset SSH_AGENT_PID; [2023-03-07T01:03:36.976Z] echo Agent pid 77 killed; [2023-03-07T01:03:36.980Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T01:03:37.408Z] + git semver [Pipeline] } [2023-03-07T01:03:37.694Z] $ docker stop --time=1 5787d6a79a6d07838cb76c4727fda130245931c8b016ca96b09e5051603f7b5b [2023-03-07T01:03:38.970Z] $ docker rm -f --volumes 5787d6a79a6d07838cb76c4727fda130245931c8b016ca96b09e5051603f7b5b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T01:03:39.350Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T01:03:39.618Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T01:03:39.636Z] [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-07T01:03:40.251Z] provisioning config files... [2023-03-07T01:03:40.259Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/config1113944465832668159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:03:40.614Z] ---> docker-login.sh [2023-03-07T01:03:40.614Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:03:40.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:40.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:40.614Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:40.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:40.614Z] [2023-03-07T01:03:40.614Z] Login Succeeded [2023-03-07T01:03:40.614Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:03:40.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:40.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:40.614Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:40.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:40.614Z] [2023-03-07T01:03:40.614Z] Login Succeeded [2023-03-07T01:03:40.614Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:03:40.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:40.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:40.873Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:40.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:40.873Z] [2023-03-07T01:03:40.873Z] Login Succeeded [2023-03-07T01:03:40.873Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:03:40.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:40.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:40.873Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:40.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:40.873Z] [2023-03-07T01:03:40.873Z] Login Succeeded [2023-03-07T01:03:40.873Z] docker.io [2023-03-07T01:03:40.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:03:41.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:03:41.132Z] Configure a credential helper to remove this warning. See [2023-03-07T01:03:41.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:03:41.132Z] [2023-03-07T01:03:41.132Z] Login Succeeded [2023-03-07T01:03:41.132Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:03:41.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T01:03:41.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:03:41.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:03:41.410Z] ========================================================= [2023-03-07T01:03:41.410Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T01:03:41.410Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:03:41.872Z] + 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-07T01:03:41.872Z] Sending build context to Docker daemon 10.63MB [2023-03-07T01:03:41.872Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:03:41.872Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T01:03:41.872Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T01:03:41.872Z] 213ec9aee27d: Pulling fs layer [2023-03-07T01:03:41.872Z] 4583459ba037: Pulling fs layer [2023-03-07T01:03:41.872Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T01:03:41.872Z] 53926ce57604: Pulling fs layer [2023-03-07T01:03:41.872Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T01:03:41.872Z] 22ff95d597cd: Pulling fs layer [2023-03-07T01:03:41.872Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T01:03:41.872Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T01:03:41.872Z] a7acece74701: Pulling fs layer [2023-03-07T01:03:41.872Z] 12d6caf4c0d1: Waiting [2023-03-07T01:03:41.872Z] 96b7cbca73a9: Waiting [2023-03-07T01:03:41.872Z] 53926ce57604: Waiting [2023-03-07T01:03:41.872Z] 21b2b0c7a3f4: Waiting [2023-03-07T01:03:41.872Z] a7acece74701: Waiting [2023-03-07T01:03:41.872Z] 22ff95d597cd: Waiting [2023-03-07T01:03:42.132Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T01:03:42.132Z] 93c1e223e6f2: Download complete [2023-03-07T01:03:42.132Z] 4583459ba037: Download complete [2023-03-07T01:03:42.132Z] 21b2b0c7a3f4: Download complete [2023-03-07T01:03:42.132Z] 22ff95d597cd: Verifying Checksum [2023-03-07T01:03:42.132Z] 22ff95d597cd: Download complete [2023-03-07T01:03:42.132Z] 213ec9aee27d: Verifying Checksum [2023-03-07T01:03:42.132Z] 213ec9aee27d: Download complete [2023-03-07T01:03:42.132Z] 12d6caf4c0d1: Download complete [2023-03-07T01:03:42.132Z] 213ec9aee27d: Pull complete [2023-03-07T01:03:42.396Z] 4583459ba037: Pull complete [2023-03-07T01:03:42.397Z] 93c1e223e6f2: Pull complete [2023-03-07T01:03:42.657Z] a7acece74701: Verifying Checksum [2023-03-07T01:03:42.657Z] a7acece74701: Download complete [2023-03-07T01:03:42.915Z] 53926ce57604: Verifying Checksum [2023-03-07T01:03:42.915Z] 53926ce57604: Download complete [2023-03-07T01:03:42.915Z] 96b7cbca73a9: Download complete [2023-03-07T01:03:47.102Z] 53926ce57604: Pull complete [2023-03-07T01:03:47.102Z] 21b2b0c7a3f4: Pull complete [2023-03-07T01:03:47.102Z] 22ff95d597cd: Pull complete [2023-03-07T01:03:47.102Z] 12d6caf4c0d1: Pull complete [2023-03-07T01:03:49.003Z] 96b7cbca73a9: Pull complete [2023-03-07T01:03:49.937Z] a7acece74701: Pull complete [2023-03-07T01:03:49.937Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T01:03:49.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T01:03:49.937Z] ---> db6d94c90886 [2023-03-07T01:03:49.937Z] Step 3/10 : ARG MAKE=make build [2023-03-07T01:03:55.076Z] Still waiting to schedule task [2023-03-07T01:03:55.076Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-07T01:03:56.548Z] ---> Running in 05658d0d58d6 [2023-03-07T01:03:56.548Z] Removing intermediate container 05658d0d58d6 [2023-03-07T01:03:56.548Z] ---> b1c6b9da41ea [2023-03-07T01:03:56.548Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T01:03:56.548Z] ---> Running in 33ceac0b6db8 [2023-03-07T01:03:56.548Z] Removing intermediate container 33ceac0b6db8 [2023-03-07T01:03:56.548Z] ---> db5893918223 [2023-03-07T01:03:56.548Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T01:03:56.548Z] ---> Running in 5917e02ce0ba [2023-03-07T01:03:56.548Z] Removing intermediate container 5917e02ce0ba [2023-03-07T01:03:56.548Z] ---> 5337b0624c19 [2023-03-07T01:03:56.548Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T01:03:56.548Z] ---> Running in 3224b86eaa29 [2023-03-07T01:03:56.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T01:03:57.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T01:03:57.326Z] OK: 211 MiB in 51 packages [2023-03-07T01:03:57.892Z] Removing intermediate container 3224b86eaa29 [2023-03-07T01:03:57.892Z] ---> 0b68b0dffab2 [2023-03-07T01:03:57.892Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T01:03:57.892Z] ---> 650c87436194 [2023-03-07T01:03:57.892Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:03:57.892Z] ---> Running in f4f34ce2ab27 [2023-03-07T01:04:30.024Z] Removing intermediate container f4f34ce2ab27 [2023-03-07T01:04:30.024Z] ---> b0614885587c [2023-03-07T01:04:30.024Z] Step 9/10 : COPY . . [2023-03-07T01:04:30.024Z] ---> 21b5faceb432 [2023-03-07T01:04:30.024Z] Step 10/10 : RUN ${MAKE} [2023-03-07T01:04:30.024Z] ---> Running in d3f6c3110d79 [2023-03-07T01:04:30.024Z] noop [2023-03-07T01:04:30.283Z] Removing intermediate container d3f6c3110d79 [2023-03-07T01:04:30.283Z] ---> c50093025e91 [2023-03-07T01:04:30.283Z] Successfully built c50093025e91 [2023-03-07T01:04:30.283Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:04:30.721Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T01:04:30.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:04:30.891Z] prd-ubuntu20.04-docker-8c-8g-8443 does not seem to be running inside a container [2023-03-07T01:04:30.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T01:04:31.287Z] $ docker top cd31b40bb980a4dfd285f78b084712721231c6de0c6ff5ea9a03c1435e9f9706 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:04:31.681Z] + go version [2023-03-07T01:04:31.681Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T01:04:31.715Z] $ docker stop --time=1 cd31b40bb980a4dfd285f78b084712721231c6de0c6ff5ea9a03c1435e9f9706 [2023-03-07T01:04:32.980Z] $ docker rm -f --volumes cd31b40bb980a4dfd285f78b084712721231c6de0c6ff5ea9a03c1435e9f9706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:04:33.706Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T01:04:33.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:04:33.876Z] prd-ubuntu20.04-docker-8c-8g-8443 does not seem to be running inside a container [2023-03-07T01:04:33.911Z] $ 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-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T01:04:34.259Z] $ docker top b102fd874fb890bb4a936632a6bb761ff7ce6e64cd41ca122a4940d451e0dfae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:04:34.651Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1360 [Pipeline] fileExists [Pipeline] sh [2023-03-07T01:04:35.010Z] + make test [2023-03-07T01:04:35.010Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T01:04:41.569Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T01:04:56.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T01:04:56.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T01:04:56.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T01:04:56.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T01:04:56.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T01:04:56.445Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements [2023-03-07T01:04:56.445Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.084s coverage: 78.9% of statements [2023-03-07T01:04:56.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T01:04:56.445Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.083s coverage: 86.0% of statements [2023-03-07T01:04:56.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T01:04:56.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T01:04:56.445Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 75.0% of statements [2023-03-07T01:04:56.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T01:04:58.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.061s coverage: 15.3% of statements [2023-03-07T01:04:58.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T01:04:58.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.108s coverage: 65.2% of statements [2023-03-07T01:04:58.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T01:04:58.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T01:04:58.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.901s coverage: 89.2% of statements [2023-03-07T01:04:58.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T01:04:58.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 4.6% of statements [2023-03-07T01:04:58.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T01:05:16.421Z] 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-07T01:05:16.421Z] GO111MODULE=on go vet ./... [2023-03-07T01:05:17.357Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T01:05:17.357Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T01:05:17.617Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T01:05:17.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T01:05:17.690Z] $ docker stop --time=1 b102fd874fb890bb4a936632a6bb761ff7ce6e64cd41ca122a4940d451e0dfae [2023-03-07T01:05:22.120Z] $ docker rm -f --volumes b102fd874fb890bb4a936632a6bb761ff7ce6e64cd41ca122a4940d451e0dfae [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T01:05:22.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T01:05:22.795Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T01:05:23.386Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T01:05:23.690Z] + ls -al . [2023-03-07T01:05:23.691Z] total 280 [2023-03-07T01:05:23.691Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 01:04 . [2023-03-07T01:05:23.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 01:03 .. [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 01:03 .dockerignore [2023-03-07T01:05:23.691Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 01:04 .git [2023-03-07T01:05:23.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 01:03 .github [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 01:03 .gitignore [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 01:03 .golangci.yml [2023-03-07T01:05:23.691Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 01:03 .semver [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 01:03 CHANGELOG.md [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 01:03 GOVERNANCE.md [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 01:03 Jenkinsfile [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 01:03 LICENSE [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 01:03 Makefile [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 01:03 OWNERS.md [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 01:03 README.md [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 01:03 VERSION [2023-03-07T01:05:23.691Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 01:03 bin [2023-03-07T01:05:23.691Z] -rw-r--r-- 1 jenkins jenkins 111324 Mar 7 01:04 coverage.out [2023-03-07T01:05:23.691Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 01:03 example [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 01:03 go.mod [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 7 01:03 go.sum [2023-03-07T01:05:23.691Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 01:03 internal [2023-03-07T01:05:23.691Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 01:03 openapi [2023-03-07T01:05:23.691Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 01:03 pkg [2023-03-07T01:05:23.691Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 01:03 snap [2023-03-07T01:05:23.691Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:05:24.088Z] + 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=b05a901c1269e8f0b720aa820278bdb4c572843d --label arch=amd64 --label version=0.0.0 . [2023-03-07T01:05:24.088Z] Sending build context to Docker daemon 10.74MB [2023-03-07T01:05:24.088Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:05:24.088Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T01:05:24.088Z] ---> c50093025e91 [2023-03-07T01:05:24.088Z] Step 3/23 : ARG MAKE=make build [2023-03-07T01:05:24.350Z] ---> Running in b5daab0a5f8e [2023-03-07T01:05:24.350Z] Removing intermediate container b5daab0a5f8e [2023-03-07T01:05:24.350Z] ---> a76003d82be9 [2023-03-07T01:05:24.350Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T01:05:24.350Z] ---> Running in 78a48c4d8433 [2023-03-07T01:05:24.616Z] Removing intermediate container 78a48c4d8433 [2023-03-07T01:05:24.616Z] ---> 19075955f356 [2023-03-07T01:05:24.616Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T01:05:24.616Z] ---> Running in b4704004bc01 [2023-03-07T01:05:24.616Z] Removing intermediate container b4704004bc01 [2023-03-07T01:05:24.616Z] ---> 1df67a7215c6 [2023-03-07T01:05:24.616Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T01:05:24.616Z] ---> Running in 35465d88ede8 [2023-03-07T01:05:24.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T01:05:25.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T01:05:25.400Z] OK: 211 MiB in 51 packages [2023-03-07T01:05:25.659Z] Removing intermediate container 35465d88ede8 [2023-03-07T01:05:25.659Z] ---> cdd2efbb08bf [2023-03-07T01:05:25.659Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T01:05:25.920Z] ---> 58454071ef51 [2023-03-07T01:05:25.920Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:05:25.920Z] ---> Running in 021edda77599 [2023-03-07T01:05:26.856Z] Removing intermediate container 021edda77599 [2023-03-07T01:05:26.856Z] ---> ceca17fb4845 [2023-03-07T01:05:26.856Z] Step 9/23 : COPY . . [2023-03-07T01:05:27.120Z] ---> aa23036f3a14 [2023-03-07T01:05:27.120Z] Step 10/23 : RUN ${MAKE} [2023-03-07T01:05:27.379Z] ---> Running in 9f29ca3e4ecc [2023-03-07T01:05:27.638Z] 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-07T01:05:49.626Z] Removing intermediate container 9f29ca3e4ecc [2023-03-07T01:05:49.626Z] ---> d59e010ba592 [2023-03-07T01:05:49.626Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T01:05:50.194Z] 3.16: Pulling from library/alpine [2023-03-07T01:05:50.194Z] ef5531b6e74e: Pulling fs layer [2023-03-07T01:05:50.473Z] ef5531b6e74e: Verifying Checksum [2023-03-07T01:05:50.473Z] ef5531b6e74e: Download complete [2023-03-07T01:05:50.732Z] ef5531b6e74e: Pull complete [2023-03-07T01:05:50.733Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T01:05:50.733Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T01:05:50.733Z] ---> dfd21b5a31f5 [2023-03-07T01:05:50.733Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T01:05:50.733Z] ---> Running in fa03074cec4f [2023-03-07T01:05:50.733Z] Removing intermediate container fa03074cec4f [2023-03-07T01:05:50.733Z] ---> bcbcd2d54e96 [2023-03-07T01:05:50.733Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T01:05:50.733Z] ---> Running in 28df59360c0a [2023-03-07T01:05:51.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T01:05:51.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T01:05:51.558Z] OK: 6 MiB in 14 packages [2023-03-07T01:05:51.816Z] Removing intermediate container 28df59360c0a [2023-03-07T01:05:51.817Z] ---> e266d60a8417 [2023-03-07T01:05:51.817Z] Step 14/23 : WORKDIR / [2023-03-07T01:05:52.076Z] ---> Running in de8ba2423ed9 [2023-03-07T01:05:52.076Z] Removing intermediate container de8ba2423ed9 [2023-03-07T01:05:52.076Z] ---> 33f79707c184 [2023-03-07T01:05:52.076Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T01:05:52.076Z] ---> 83955abbccdf [2023-03-07T01:05:52.076Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T01:05:53.491Z] ---> 5e0dc94278e9 [2023-03-07T01:05:53.491Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T01:05:53.491Z] ---> 249403a735d0 [2023-03-07T01:05:53.491Z] Step 18/23 : EXPOSE 59999 [2023-03-07T01:05:53.491Z] ---> Running in 3e111d8b307f [2023-03-07T01:05:53.491Z] Removing intermediate container 3e111d8b307f [2023-03-07T01:05:53.491Z] ---> 65a2cb88d30b [2023-03-07T01:05:53.491Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T01:05:53.491Z] ---> Running in af8a468e128c [2023-03-07T01:05:53.749Z] Removing intermediate container af8a468e128c [2023-03-07T01:05:53.749Z] ---> 519aab519a7d [2023-03-07T01:05:53.749Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T01:05:53.749Z] ---> Running in 7b9cec003113 [2023-03-07T01:05:53.749Z] Removing intermediate container 7b9cec003113 [2023-03-07T01:05:53.749Z] ---> 12ba10d6d9f8 [2023-03-07T01:05:53.749Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T01:05:53.749Z] ---> Running in c7e15a1af6cd [2023-03-07T01:05:54.009Z] Removing intermediate container c7e15a1af6cd [2023-03-07T01:05:54.009Z] ---> 965f9e5e1f90 [2023-03-07T01:05:54.009Z] Step 22/23 : LABEL git_sha=b05a901c1269e8f0b720aa820278bdb4c572843d [2023-03-07T01:05:54.009Z] ---> Running in ce5b66a302fe [2023-03-07T01:05:54.009Z] Removing intermediate container ce5b66a302fe [2023-03-07T01:05:54.009Z] ---> 41672af27e8a [2023-03-07T01:05:54.009Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T01:05:54.009Z] ---> Running in 6c02f2f873a0 [2023-03-07T01:05:54.269Z] Removing intermediate container 6c02f2f873a0 [2023-03-07T01:05:54.269Z] ---> 73538a4e92ee [2023-03-07T01:05:54.269Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T01:05:54.269Z] Successfully built 73538a4e92ee [2023-03-07T01:05:54.269Z] 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-07T01:05:55.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:05:55.140Z] [2023-03-07T01:05:55.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:05:55.521Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:05:55.521Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T01:05:55.521Z] 5eb5b503b376: Pulling fs layer [2023-03-07T01:05:55.521Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T01:05:55.522Z] ec43610c2a17: Pulling fs layer [2023-03-07T01:05:55.522Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T01:05:55.522Z] 33b1e0a273af: Pulling fs layer [2023-03-07T01:05:55.522Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T01:05:55.522Z] 2f39f015ded8: Pulling fs layer [2023-03-07T01:05:55.522Z] 3a2ae6a8a46f: Waiting [2023-03-07T01:05:55.522Z] 5d3b04190fa2: Waiting [2023-03-07T01:05:55.522Z] 33b1e0a273af: Waiting [2023-03-07T01:05:55.522Z] 2f39f015ded8: Waiting [2023-03-07T01:05:55.522Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T01:05:55.522Z] 5c69ac0246d0: Download complete [2023-03-07T01:05:55.522Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T01:05:55.781Z] 33b1e0a273af: Download complete [2023-03-07T01:05:55.781Z] 5d3b04190fa2: Download complete [2023-03-07T01:05:55.781Z] ec43610c2a17: Verifying Checksum [2023-03-07T01:05:55.781Z] ec43610c2a17: Download complete [2023-03-07T01:05:55.781Z] 5eb5b503b376: Verifying Checksum [2023-03-07T01:05:55.781Z] 5eb5b503b376: Download complete [2023-03-07T01:05:56.346Z] 2f39f015ded8: Download complete [2023-03-07T01:05:57.286Z] 5eb5b503b376: Pull complete [2023-03-07T01:05:57.286Z] 5c69ac0246d0: Pull complete [2023-03-07T01:05:57.545Z] ec43610c2a17: Pull complete [2023-03-07T01:05:57.803Z] 3a2ae6a8a46f: Pull complete [2023-03-07T01:05:58.062Z] 33b1e0a273af: Pull complete [2023-03-07T01:05:58.062Z] 5d3b04190fa2: Pull complete [2023-03-07T01:06:03.329Z] 2f39f015ded8: Pull complete [2023-03-07T01:06:03.329Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T01:06:03.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:06:03.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:06:03.541Z] prd-ubuntu20.04-docker-8c-8g-8443 does not seem to be running inside a container [2023-03-07T01:06:03.576Z] $ 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-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T01:06:09.321Z] $ docker top f4c1d3eac4a1d93c492fe2cbba6fe600013fa719ab692e1d67f2a55edfcc78c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:06:09.755Z] ---> job-cost.sh [2023-03-07T01:06:09.755Z] lf-activate-venv: SKIPPING [2023-03-07T01:06:09.755Z] INFO: No Stack... [2023-03-07T01:06:10.014Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T01:06:10.582Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T01:06:10.895Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives/cost.csv [2023-03-07T01:06:10.895Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T01:06:10.938Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1360-1-stack-cost] [2023-03-07T01:06:10.944Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1360-1-stack-cost] did not exist. Created. [2023-03-07T01:06:10.944Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1360-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T01:06:11.338Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T01:06:11.391Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T01:06:11.407Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1360-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T01:06:11.483Z] $ docker stop --time=1 f4c1d3eac4a1d93c492fe2cbba6fe600013fa719ab692e1d67f2a55edfcc78c6 [2023-03-07T01:06:12.692Z] $ docker rm -f --volumes f4c1d3eac4a1d93c492fe2cbba6fe600013fa719ab692e1d67f2a55edfcc78c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T01:07:21.670Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8445 in /w/workspace/gexfoundry_device-sdk-go_PR-1360 [Pipeline] { [Pipeline] ws [2023-03-07T01:07:21.729Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-07T01:07:21.809Z] The recommended git tool is: git [2023-03-07T01:07:27.482Z] using credential edgex-jenkins-ssh [2023-03-07T01:07:27.500Z] Cloning the remote Git repository [2023-03-07T01:07:27.561Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T01:07:27.650Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-07T01:07:27.841Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T01:07:27.842Z] > git --version # timeout=10 [2023-03-07T01:07:27.864Z] > git --version # 'git version 2.25.1' [2023-03-07T01:07:27.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T01:07:27.934Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T01:07:29.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T01:07:29.639Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T01:07:30.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T01:07:30.688Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T01:07:30.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T01:07:30.708Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1360/head:refs/remotes/origin/PR-1360 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T01:07:31.419Z] Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 625f29720569d2b29cfb0bb03b03e9ba312a8048 [2023-03-07T01:07:31.821Z] Merge succeeded, producing 884f8d81aa4d55c1147f178f8ed4bbafe2e42516 [2023-03-07T01:07:31.822Z] Checking out Revision 884f8d81aa4d55c1147f178f8ed4bbafe2e42516 (PR-1360) [2023-03-07T01:07:31.442Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T01:07:31.467Z] > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # timeout=10 [2023-03-07T01:07:31.578Z] > git remote # timeout=10 [2023-03-07T01:07:31.599Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T01:07:31.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T01:07:31.632Z] > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [2023-03-07T01:07:31.801Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T01:07:31.832Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T01:07:31.846Z] > git checkout -f 884f8d81aa4d55c1147f178f8ed4bbafe2e42516 # timeout=10 [2023-03-07T01:07:35.341Z] Commit message: "Merge commit 'b4dcd90c517d60267da088e4e26fcccd6a523ed6' into HEAD" [2023-03-07T01:07:35.342Z] First time build. Skipping changelog. [2023-03-07T01:07:35.403Z] > git --version # timeout=10 [2023-03-07T01:07:35.423Z] > git --version # 'git version 2.25.1' [2023-03-07T01:07:35.449Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:07:36.640Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T01:07:36.640Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T01:07:36.640Z] Dload Upload Total Spent Left Speed [2023-03-07T01:07:36.640Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70838 0 --:--:-- --:--:-- --:--:-- 71234 [Pipeline] sh [2023-03-07T01:07:37.426Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T01:07:37.774Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T01:07:37.774Z] + sudo tee /etc/docker/daemon.new [2023-03-07T01:07:37.774Z] { [2023-03-07T01:07:37.774Z] "registry-mirrors": [ [2023-03-07T01:07:37.774Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T01:07:37.774Z] ], [2023-03-07T01:07:37.774Z] "bip": "10.250.0.254/24", [2023-03-07T01:07:37.774Z] "hosts": [ [2023-03-07T01:07:37.774Z] "tcp://0.0.0.0:5555", [2023-03-07T01:07:37.774Z] "unix:///var/run/docker.sock" [2023-03-07T01:07:37.774Z] ], [2023-03-07T01:07:37.774Z] "mtu": 1458, [2023-03-07T01:07:37.774Z] "selinux-enabled": true, [2023-03-07T01:07:37.774Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T01:07:37.774Z] } [Pipeline] sh [2023-03-07T01:07:38.127Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T01:07:38.488Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:07:56.879Z] provisioning config files... [2023-03-07T01:07:56.907Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12746096543220819173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:07:57.358Z] ---> docker-login.sh [2023-03-07T01:07:57.358Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:07:57.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:07:57.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:07:57.902Z] Configure a credential helper to remove this warning. See [2023-03-07T01:07:57.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:07:57.902Z] [2023-03-07T01:07:57.902Z] Login Succeeded [2023-03-07T01:07:57.902Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:07:58.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:07:58.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:07:58.441Z] Configure a credential helper to remove this warning. See [2023-03-07T01:07:58.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:07:58.441Z] [2023-03-07T01:07:58.441Z] Login Succeeded [2023-03-07T01:07:58.441Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:07:58.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:07:58.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:07:58.712Z] Configure a credential helper to remove this warning. See [2023-03-07T01:07:58.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:07:58.712Z] [2023-03-07T01:07:58.712Z] Login Succeeded [2023-03-07T01:07:58.712Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:07:58.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:07:58.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:07:58.986Z] Configure a credential helper to remove this warning. See [2023-03-07T01:07:58.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:07:58.987Z] [2023-03-07T01:07:58.987Z] Login Succeeded [2023-03-07T01:07:58.987Z] docker.io [2023-03-07T01:07:59.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:07:59.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:07:59.527Z] Configure a credential helper to remove this warning. See [2023-03-07T01:07:59.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:07:59.527Z] [2023-03-07T01:07:59.527Z] Login Succeeded [2023-03-07T01:07:59.527Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:07:59.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T01:07:59.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:07:59.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:08:00.010Z] ========================================================= [2023-03-07T01:08:00.010Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T01:08:00.010Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:08:00.520Z] + 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-07T01:08:01.134Z] Sending build context to Docker daemon 5.723MB [2023-03-07T01:08:01.134Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:08:01.134Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T01:08:01.134Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T01:08:01.134Z] 9b18e9b68314: Pulling fs layer [2023-03-07T01:08:01.134Z] 35d82f9e3411: Pulling fs layer [2023-03-07T01:08:01.134Z] e16973657156: Pulling fs layer [2023-03-07T01:08:01.134Z] fc693d55d65f: Pulling fs layer [2023-03-07T01:08:01.134Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T01:08:01.134Z] dda99020689f: Pulling fs layer [2023-03-07T01:08:01.134Z] db1c61fa0a46: Pulling fs layer [2023-03-07T01:08:01.134Z] 891c053d2c06: Pulling fs layer [2023-03-07T01:08:01.134Z] fc693d55d65f: Waiting [2023-03-07T01:08:01.134Z] 7e9fc2657dce: Waiting [2023-03-07T01:08:01.134Z] dda99020689f: Waiting [2023-03-07T01:08:01.134Z] db1c61fa0a46: Waiting [2023-03-07T01:08:01.134Z] 891c053d2c06: Waiting [2023-03-07T01:08:01.134Z] e16973657156: Download complete [2023-03-07T01:08:01.414Z] 35d82f9e3411: Verifying Checksum [2023-03-07T01:08:01.414Z] 35d82f9e3411: Download complete [2023-03-07T01:08:01.414Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T01:08:01.414Z] 7e9fc2657dce: Download complete [2023-03-07T01:08:01.414Z] dda99020689f: Verifying Checksum [2023-03-07T01:08:01.414Z] dda99020689f: Download complete [2023-03-07T01:08:01.414Z] 9b18e9b68314: Verifying Checksum [2023-03-07T01:08:02.398Z] 9b18e9b68314: Pull complete [2023-03-07T01:08:02.398Z] 891c053d2c06: Verifying Checksum [2023-03-07T01:08:02.398Z] 891c053d2c06: Download complete [2023-03-07T01:08:02.996Z] 35d82f9e3411: Pull complete [2023-03-07T01:08:03.273Z] e16973657156: Pull complete [2023-03-07T01:08:03.542Z] db1c61fa0a46: Verifying Checksum [2023-03-07T01:08:03.542Z] db1c61fa0a46: Download complete [2023-03-07T01:08:04.131Z] fc693d55d65f: Verifying Checksum [2023-03-07T01:08:04.131Z] fc693d55d65f: Download complete [2023-03-07T01:08:16.467Z] fc693d55d65f: Pull complete [2023-03-07T01:08:16.467Z] 7e9fc2657dce: Pull complete [2023-03-07T01:08:16.467Z] dda99020689f: Pull complete [2023-03-07T01:08:21.823Z] db1c61fa0a46: Pull complete [2023-03-07T01:08:23.781Z] 891c053d2c06: Pull complete [2023-03-07T01:08:23.781Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T01:08:23.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T01:08:23.781Z] ---> f96f9c87975a [2023-03-07T01:08:23.781Z] Step 3/10 : ARG MAKE=make build [2023-03-07T01:08:25.760Z] ---> Running in a9e748666f9b [2023-03-07T01:08:26.028Z] Removing intermediate container a9e748666f9b [2023-03-07T01:08:26.028Z] ---> 802bca099475 [2023-03-07T01:08:26.028Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T01:08:26.028Z] ---> Running in 77826947318e [2023-03-07T01:08:26.308Z] Removing intermediate container 77826947318e [2023-03-07T01:08:26.308Z] ---> 5aa8662e1a8c [2023-03-07T01:08:26.308Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T01:08:26.308Z] ---> Running in e9eb11f3455b [2023-03-07T01:08:26.892Z] Removing intermediate container e9eb11f3455b [2023-03-07T01:08:26.892Z] ---> 2bed3107ca97 [2023-03-07T01:08:26.892Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T01:08:26.892Z] ---> Running in b4ed8b12cdbc [2023-03-07T01:08:27.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:08:28.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:08:29.398Z] OK: 221 MiB in 51 packages [2023-03-07T01:08:30.358Z] Removing intermediate container b4ed8b12cdbc [2023-03-07T01:08:30.358Z] ---> f9965e1ad998 [2023-03-07T01:08:30.358Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T01:08:30.628Z] ---> cd4862720cbc [2023-03-07T01:08:30.628Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:08:30.628Z] ---> Running in ae70e674ef9e [2023-03-07T01:09:27.017Z] Removing intermediate container ae70e674ef9e [2023-03-07T01:09:27.017Z] ---> b327117a3158 [2023-03-07T01:09:27.017Z] Step 9/10 : COPY . . [2023-03-07T01:09:27.983Z] ---> 85f33d9013b7 [2023-03-07T01:09:27.983Z] Step 10/10 : RUN ${MAKE} [2023-03-07T01:09:27.983Z] ---> Running in 7c1c7741b029 [2023-03-07T01:09:28.950Z] noop [2023-03-07T01:09:29.531Z] Removing intermediate container 7c1c7741b029 [2023-03-07T01:09:29.531Z] ---> f2bd4e9b44e8 [2023-03-07T01:09:29.796Z] Successfully built f2bd4e9b44e8 [2023-03-07T01:09:29.796Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:09:30.279Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T01:09:30.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:09:30.530Z] prd-ubuntu20.04-docker-arm64-4c-16g-8445 does not seem to be running inside a container [2023-03-07T01:09:30.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T01:09:31.920Z] $ docker top b98047df504884c66e7fefe2bb3e78327d7e97517e59bac1865560ae8ac77380 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:09:32.784Z] + go version [2023-03-07T01:09:32.784Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T01:09:32.916Z] $ docker stop --time=1 b98047df504884c66e7fefe2bb3e78327d7e97517e59bac1865560ae8ac77380 [2023-03-07T01:09:34.499Z] $ docker rm -f --volumes b98047df504884c66e7fefe2bb3e78327d7e97517e59bac1865560ae8ac77380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:09:35.425Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T01:09:35.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:09:35.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-8445 does not seem to be running inside a container [2023-03-07T01:09:35.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T01:09:36.894Z] $ docker top 32ae06127a2a06170ceaae1c281c2d387ff7a0b86aee8eaf92b636653baafc65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:09:37.768Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T01:09:38.164Z] + make test [2023-03-07T01:09:38.164Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T01:10:17.060Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T01:12:23.791Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T01:12:23.791Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T01:12:23.791Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T01:12:23.791Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T01:12:23.791Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T01:12:38.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.570s coverage: 27.6% of statements [2023-03-07T01:12:39.426Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.788s coverage: 78.9% of statements [2023-03-07T01:12:39.426Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T01:12:51.768Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.853s coverage: 86.0% of statements [2023-03-07T01:12:51.768Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T01:12:51.768Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T01:12:55.115Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.557s coverage: 75.0% of statements [2023-03-07T01:12:55.115Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T01:12:55.115Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.755s coverage: 15.3% of statements [2023-03-07T01:12:55.115Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T01:12:57.067Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.484s coverage: 65.2% of statements [2023-03-07T01:12:57.067Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T01:12:57.067Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T01:12:57.067Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.657s coverage: 89.2% of statements [2023-03-07T01:12:57.067Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T01:12:57.067Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.575s coverage: 4.6% of statements [2023-03-07T01:12:57.067Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T01:12:58.028Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T01:12:58.028Z] GO111MODULE=on go vet ./... [2023-03-07T01:14:34.992Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T01:14:34.992Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T01:14:34.992Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T01:14:35.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T01:14:35.085Z] $ docker stop --time=1 32ae06127a2a06170ceaae1c281c2d387ff7a0b86aee8eaf92b636653baafc65 [2023-03-07T01:14:36.967Z] $ docker rm -f --volumes 32ae06127a2a06170ceaae1c281c2d387ff7a0b86aee8eaf92b636653baafc65 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T01:14:38.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T01:14:38.536Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T01:14:39.171Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:14:39.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T01:14:40.141Z] + ls -al . [2023-03-07T01:14:40.142Z] total 276 [2023-03-07T01:14:40.142Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 01:09 . [2023-03-07T01:14:40.142Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 01:07 .. [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 01:07 .dockerignore [2023-03-07T01:14:40.142Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 01:07 .git [2023-03-07T01:14:40.142Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 01:07 .github [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 01:07 .gitignore [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 01:07 .golangci.yml [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 01:07 CHANGELOG.md [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 01:07 GOVERNANCE.md [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 01:07 Jenkinsfile [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 01:07 LICENSE [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 01:07 Makefile [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 01:07 OWNERS.md [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 01:07 README.md [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 01:03 VERSION [2023-03-07T01:14:40.142Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 01:07 bin [2023-03-07T01:14:40.142Z] -rw-r--r-- 1 jenkins jenkins 111325 Mar 7 01:12 coverage.out [2023-03-07T01:14:40.142Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 01:07 example [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 01:07 go.mod [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 7 01:07 go.sum [2023-03-07T01:14:40.142Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 01:07 internal [2023-03-07T01:14:40.142Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 01:07 openapi [2023-03-07T01:14:40.142Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 01:07 pkg [2023-03-07T01:14:40.142Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 01:07 snap [2023-03-07T01:14:40.142Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 01:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:14:40.568Z] + 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=884f8d81aa4d55c1147f178f8ed4bbafe2e42516 --label arch=arm64 --label version=0.0.0 . [2023-03-07T01:14:41.157Z] Sending build context to Docker daemon 5.835MB [2023-03-07T01:14:41.157Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:14:41.157Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T01:14:41.157Z] ---> f2bd4e9b44e8 [2023-03-07T01:14:41.157Z] Step 3/23 : ARG MAKE=make build [2023-03-07T01:14:41.157Z] ---> Running in 2823adcdb355 [2023-03-07T01:14:41.756Z] Removing intermediate container 2823adcdb355 [2023-03-07T01:14:41.756Z] ---> 0879f5c1121a [2023-03-07T01:14:41.756Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T01:14:41.756Z] ---> Running in 1fcf69d4985a [2023-03-07T01:14:42.035Z] Removing intermediate container 1fcf69d4985a [2023-03-07T01:14:42.035Z] ---> 5f5e7a7212f8 [2023-03-07T01:14:42.035Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T01:14:42.306Z] ---> Running in f4a527da66c1 [2023-03-07T01:14:42.576Z] Removing intermediate container f4a527da66c1 [2023-03-07T01:14:42.576Z] ---> 21c438e7571a [2023-03-07T01:14:42.576Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T01:14:42.576Z] ---> Running in e3da64307ebb [2023-03-07T01:14:43.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:14:43.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:14:45.409Z] OK: 221 MiB in 51 packages [2023-03-07T01:14:46.008Z] Removing intermediate container e3da64307ebb [2023-03-07T01:14:46.008Z] ---> 24ee17ab3fef [2023-03-07T01:14:46.008Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T01:14:46.599Z] ---> 5bdcbf6fa64b [2023-03-07T01:14:46.599Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:14:46.869Z] ---> Running in 43589534b1a5 [2023-03-07T01:14:50.220Z] Removing intermediate container 43589534b1a5 [2023-03-07T01:14:50.220Z] ---> 0b0d71adf536 [2023-03-07T01:14:50.220Z] Step 9/23 : COPY . . [2023-03-07T01:14:51.189Z] ---> 0938e6030e3a [2023-03-07T01:14:51.189Z] Step 10/23 : RUN ${MAKE} [2023-03-07T01:14:51.189Z] ---> Running in 812556d28022 [2023-03-07T01:14:52.614Z] 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-07T01:17:14.348Z] Removing intermediate container 812556d28022 [2023-03-07T01:17:14.348Z] ---> 3327d41445a0 [2023-03-07T01:17:14.348Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T01:17:14.348Z] 3.16: Pulling from library/alpine [2023-03-07T01:17:14.348Z] 3760b48202b3: Pulling fs layer [2023-03-07T01:17:14.348Z] 3760b48202b3: Download complete [2023-03-07T01:17:14.348Z] 3760b48202b3: Pull complete [2023-03-07T01:17:14.348Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T01:17:14.348Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T01:17:14.348Z] ---> 4c81e5bf8899 [2023-03-07T01:17:14.348Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T01:17:14.348Z] ---> Running in c3b305f471bb [2023-03-07T01:17:14.348Z] Removing intermediate container c3b305f471bb [2023-03-07T01:17:14.348Z] ---> 06b5103615c1 [2023-03-07T01:17:14.348Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T01:17:14.348Z] ---> Running in 1b91b758c61f [2023-03-07T01:17:14.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:17:14.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:17:15.762Z] OK: 5 MiB in 14 packages [2023-03-07T01:17:16.726Z] Removing intermediate container 1b91b758c61f [2023-03-07T01:17:16.726Z] ---> 55c0586c5811 [2023-03-07T01:17:16.726Z] Step 14/23 : WORKDIR / [2023-03-07T01:17:16.726Z] ---> Running in 648045d25e3e [2023-03-07T01:17:16.993Z] Removing intermediate container 648045d25e3e [2023-03-07T01:17:16.993Z] ---> 21d21d3ae817 [2023-03-07T01:17:16.993Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T01:17:17.577Z] ---> 7cd22d748472 [2023-03-07T01:17:17.577Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T01:17:18.989Z] ---> 7bcdf8217f5d [2023-03-07T01:17:18.989Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T01:17:19.575Z] ---> 1709de1a9440 [2023-03-07T01:17:19.575Z] Step 18/23 : EXPOSE 59999 [2023-03-07T01:17:19.575Z] ---> Running in f92488c0fa2c [2023-03-07T01:17:19.848Z] Removing intermediate container f92488c0fa2c [2023-03-07T01:17:19.849Z] ---> 46c6a531941d [2023-03-07T01:17:19.849Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T01:17:19.849Z] ---> Running in 7b59365ce4f0 [2023-03-07T01:17:20.433Z] Removing intermediate container 7b59365ce4f0 [2023-03-07T01:17:20.433Z] ---> c0b84b122d1c [2023-03-07T01:17:20.433Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T01:17:20.433Z] ---> Running in 4f4359e092d7 [2023-03-07T01:17:20.702Z] Removing intermediate container 4f4359e092d7 [2023-03-07T01:17:20.702Z] ---> 5907f965e901 [2023-03-07T01:17:20.702Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T01:17:20.702Z] ---> Running in 1b9d34bdf0c1 [2023-03-07T01:17:20.975Z] Removing intermediate container 1b9d34bdf0c1 [2023-03-07T01:17:20.975Z] ---> 9b22f0a42470 [2023-03-07T01:17:20.975Z] Step 22/23 : LABEL git_sha=884f8d81aa4d55c1147f178f8ed4bbafe2e42516 [2023-03-07T01:17:20.975Z] ---> Running in 3341dc5ba630 [2023-03-07T01:17:21.562Z] Removing intermediate container 3341dc5ba630 [2023-03-07T01:17:21.562Z] ---> 53fa1be1d103 [2023-03-07T01:17:21.562Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T01:17:21.562Z] ---> Running in ebbab53125d9 [2023-03-07T01:17:21.831Z] Removing intermediate container ebbab53125d9 [2023-03-07T01:17:21.831Z] ---> 18dcfd85406a [2023-03-07T01:17:21.831Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T01:17:21.831Z] Successfully built 18dcfd85406a [2023-03-07T01:17:21.831Z] 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-07T01:17:22.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:17:22.638Z] [2023-03-07T01:17:22.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:17:23.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:17:23.061Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T01:17:23.061Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T01:17:23.061Z] 04944245beec: Pulling fs layer [2023-03-07T01:17:23.061Z] 699f458cf7ca: Pulling fs layer [2023-03-07T01:17:23.061Z] 765212b225bb: Pulling fs layer [2023-03-07T01:17:23.061Z] f23df028b6ca: Pulling fs layer [2023-03-07T01:17:23.061Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T01:17:23.061Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T01:17:23.061Z] f23df028b6ca: Waiting [2023-03-07T01:17:23.061Z] d65c8cfc05b1: Waiting [2023-03-07T01:17:23.061Z] 765212b225bb: Waiting [2023-03-07T01:17:23.061Z] 2437ff75d9bd: Waiting [2023-03-07T01:17:23.331Z] 04944245beec: Verifying Checksum [2023-03-07T01:17:23.331Z] 04944245beec: Download complete [2023-03-07T01:17:23.331Z] 765212b225bb: Verifying Checksum [2023-03-07T01:17:23.331Z] 765212b225bb: Download complete [2023-03-07T01:17:23.331Z] f23df028b6ca: Verifying Checksum [2023-03-07T01:17:23.331Z] f23df028b6ca: Download complete [2023-03-07T01:17:23.331Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T01:17:23.331Z] d65c8cfc05b1: Download complete [2023-03-07T01:17:23.602Z] 699f458cf7ca: Verifying Checksum [2023-03-07T01:17:23.602Z] 699f458cf7ca: Download complete [2023-03-07T01:17:23.871Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T01:17:23.871Z] 8998bd30e6a1: Download complete [2023-03-07T01:17:26.460Z] 2437ff75d9bd: Download complete [2023-03-07T01:17:27.874Z] 8998bd30e6a1: Pull complete [2023-03-07T01:17:28.465Z] 04944245beec: Pull complete [2023-03-07T01:17:29.877Z] 699f458cf7ca: Pull complete [2023-03-07T01:17:29.877Z] 765212b225bb: Pull complete [2023-03-07T01:17:30.840Z] f23df028b6ca: Pull complete [2023-03-07T01:17:30.840Z] d65c8cfc05b1: Pull complete [2023-03-07T01:17:45.840Z] 2437ff75d9bd: Pull complete [2023-03-07T01:17:45.840Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T01:17:45.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:17:45.840Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:17:46.170Z] prd-ubuntu20.04-docker-arm64-4c-16g-8445 does not seem to be running inside a container [2023-03-07T01:17:46.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T01:17:49.142Z] $ docker top d85f97410121d7d86cb8bc9a1a9fab132beb8b9c3d51369cb015d839b6c9bc9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:17:50.066Z] ---> job-cost.sh [2023-03-07T01:17:50.066Z] lf-activate-venv: SKIPPING [2023-03-07T01:17:50.066Z] INFO: No Stack... [2023-03-07T01:17:50.650Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T01:17:51.611Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T01:17:52.272Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-07T01:17:52.272Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T01:17:52.386Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1360-1-stack-cost] [2023-03-07T01:17:52.391Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1360-1-stack-cost] did not exist. Created. [2023-03-07T01:17:52.391Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1360-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T01:17:53.122Z] /w/workspace/device-sdk-go/1@tmp/durable-08282c91/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T01:17:53.816Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T01:17:53.852Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T01:17:53.928Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T01:17:53.943Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1360-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T01:17:54.024Z] $ docker stop --time=1 d85f97410121d7d86cb8bc9a1a9fab132beb8b9c3d51369cb015d839b6c9bc9c [2023-03-07T01:17:56.392Z] $ docker rm -f --volumes d85f97410121d7d86cb8bc9a1a9fab132beb8b9c3d51369cb015d839b6c9bc9c [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-07T01:17:57.333Z] provisioning config files... [2023-03-07T01:17:57.340Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/config15953451727216413692tmp [Pipeline] { [Pipeline] sh [2023-03-07T01:17:57.672Z] + set +x [2023-03-07T01:17:57.672Z] + curl -s https://codecov.io/bash [2023-03-07T01:17:57.672Z] + bash -s -- [2023-03-07T01:17:57.672Z] [2023-03-07T01:17:57.672Z] _____ _ [2023-03-07T01:17:57.672Z] / ____| | | [2023-03-07T01:17:57.672Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T01:17:57.672Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T01:17:57.672Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T01:17:57.672Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T01:17:57.672Z] Bash-1.0.6 [2023-03-07T01:17:57.672Z] [2023-03-07T01:17:57.672Z] [2023-03-07T01:17:57.672Z] ==> git version 2.25.1 found [2023-03-07T01:17:57.672Z] ==> 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-07T01:17:57.672Z] Release-Date: 2020-01-08 [2023-03-07T01:17:57.672Z] 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-07T01:17:57.672Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T01:17:57.672Z] ==> Jenkins CI detected. [2023-03-07T01:17:57.672Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1360 [2023-03-07T01:17:57.672Z] project root: . [2023-03-07T01:17:57.672Z] --> token set from env [2023-03-07T01:17:57.672Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T01:17:57.672Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T01:17:57.672Z] ==> Python coveragepy not found [2023-03-07T01:17:57.672Z] ==> Searching for coverage reports in: [2023-03-07T01:17:57.673Z] + . [2023-03-07T01:17:57.673Z] -> Found 1 reports [2023-03-07T01:17:57.673Z] ==> Detecting git/mercurial file structure [2023-03-07T01:17:57.673Z] ==> Reading reports [2023-03-07T01:17:57.673Z] + ./coverage.out bytes=111325 [2023-03-07T01:17:57.673Z] ==> Appending adjustments [2023-03-07T01:17:57.673Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T01:17:57.931Z] + Found adjustments [2023-03-07T01:17:57.931Z] ==> Gzipping contents [2023-03-07T01:17:57.931Z] 16K /tmp/codecov.SkUTFV.gz [2023-03-07T01:17:57.931Z] ==> Uploading reports [2023-03-07T01:17:57.931Z] url: https://codecov.io [2023-03-07T01:17:57.931Z] query: branch=PR-1360&commit=b05a901c1269e8f0b720aa820278bdb4c572843d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1360%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1360&job=&cmd_args= [2023-03-07T01:17:57.931Z] -> Pinging Codecov [2023-03-07T01:17:57.931Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1360&commit=b05a901c1269e8f0b720aa820278bdb4c572843d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1360%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1360&job=&cmd_args= [2023-03-07T01:17:58.191Z] -> Uploading to [2023-03-07T01:17:58.191Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/b05a901c1269e8f0b720aa820278bdb4c572843d/904f39b2-b547-4a44-8ac3-da1ecfcd13fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T011757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7bc30a2e0ea6534cd6d304cec8037637679bffbe86e199469c8bfd44ea0bd7b0 [2023-03-07T01:17:58.191Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T01:17:58.191Z] Dload Upload Total Spent Left Speed [2023-03-07T01:17:58.449Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15400 0 0 100 15400 0 52203 --:--:-- --:--:-- --:--:-- 52203 [2023-03-07T01:17:58.449Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b05a901c1269e8f0b720aa820278bdb4c572843d [Pipeline] } [2023-03-07T01:17:58.478Z] 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-07T01:18:00.270Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives ] [2023-03-07T01:18:00.270Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives [2023-03-07T01:18:00.270Z] total 16 [2023-03-07T01:18:00.270Z] drwxr-xr-x 3 root root 4096 Mar 7 01:06 . [2023-03-07T01:18:00.270Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 01:06 .. [2023-03-07T01:18:00.270Z] drwxr-xr-x 2 root root 4096 Mar 7 01:06 cost [2023-03-07T01:18:00.270Z] -rw-r--r-- 1 root root 86 Mar 7 01:06 cost.csv [2023-03-07T01:18:00.270Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives [2023-03-07T01:18:00.270Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives [2023-03-07T01:18:00.270Z] total 16 [2023-03-07T01:18:00.270Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 01:06 . [2023-03-07T01:18:00.270Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 01:06 .. [2023-03-07T01:18:00.270Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 01:06 cost [2023-03-07T01:18:00.270Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:18:00.592Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:18:01.478Z] ---> package-listing.sh [2023-03-07T01:18:01.478Z] ++ facter osfamily [2023-03-07T01:18:01.478Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T01:18:01.739Z] + OS_FAMILY=debian [2023-03-07T01:18:01.739Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1360 [2023-03-07T01:18:01.739Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T01:18:01.739Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T01:18:01.739Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T01:18:01.739Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T01:18:01.739Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1360 ']' [2023-03-07T01:18:01.739Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T01:18:01.739Z] + case "${OS_FAMILY}" in [2023-03-07T01:18:01.739Z] + dpkg -l [2023-03-07T01:18:01.739Z] + grep '^ii' [2023-03-07T01:18:01.739Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T01:18:01.739Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T01:18:01.739Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T01:18:01.739Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1360 ']' [2023-03-07T01:18:01.739Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives/ [2023-03-07T01:18:01.739Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives/ [Pipeline] echo [2023-03-07T01:18:01.774Z] 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-1360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T01:18:02.063Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:18:02.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:18:02.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:18:02.841Z] prd-ubuntu20.04-docker-8c-8g-8443 does not seem to be running inside a container [2023-03-07T01:18:02.870Z] $ 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-1360/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-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T01:18:03.055Z] $ docker top 72ad583b170cdaaf982e32a524917d710c847ae4e10a079563b9c2a450efb165 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:18:03.503Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T01:18:03.817Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T01:18:04.130Z] + ls /var/log/sa-host [2023-03-07T01:18:04.130Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:18:04.270Z] provisioning config files... [2023-03-07T01:18:04.279Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/config4703278246116154504tmp [Pipeline] { [Pipeline] echo [2023-03-07T01:18:04.329Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:18:04.641Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T01:18:04.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:18:05.077Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T01:18:05.111Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:18:05.423Z] ---> sudo-logs.sh [2023-03-07T01:18:05.423Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T01:18:05.509Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:18:05.819Z] ---> job-cost.sh [2023-03-07T01:18:05.819Z] lf-activate-venv: SKIPPING [2023-03-07T01:18:05.819Z] DEBUG: total: 0.2199999988079071 [2023-03-07T01:18:05.819Z] INFO: Retrieving Stack Cost... [2023-03-07T01:18:06.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T01:18:06.647Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T01:18:06.685Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:18:06.999Z] ---> logs-deploy.sh [2023-03-07T01:18:06.999Z] lf-activate-venv: SKIPPING [2023-03-07T01:18:06.999Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1360/1 [2023-03-07T01:18:06.999Z] INFO: archiving workspace using pattern(s): [2023-03-07T01:18:07.938Z] Archives upload complete. [2023-03-07T01:18:08.198Z] INFO: archiving logs to Nexus