Pull request #1378 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c3c527261f00c12e33369f990b1b875843bff393+2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 (a46343cf81946ed31365f55ab171685149cd4051) 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-ssh5943009092211207439.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1095082768973109039.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1378/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-1378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4700697118913819452.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-1378/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14858911089013639091.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh4550714801956492235.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-1378/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-1378/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18311508688953811464.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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-76 in /w/workspace/gexfoundry_device-sdk-go_PR-1378 [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-1378 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1378/head:refs/remotes/origin/PR-1378 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 into PR head commit c3c527261f00c12e33369f990b1b875843bff393 Merge succeeded, producing c3c527261f00c12e33369f990b1b875843bff393 Checking out Revision c3c527261f00c12e33369f990b1b875843bff393 (PR-1378) > git config core.sparsecheckout # timeout=10 > git checkout -f c3c527261f00c12e33369f990b1b875843bff393 # 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 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3c527261f00c12e33369f990b1b875843bff393 # timeout=10 Commit message: "refactor!: update data types in ResourceProperties" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T06:20:52.003Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T06:20:52.181Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T06:20:52.287Z] ========================================================= [2023-03-14T06:20:52.287Z] EdgeX Global Pipelines Version Info [2023-03-14T06:20:52.287Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:20:53.019Z] ------------------- [2023-03-14T06:20:53.019Z] stable info: [2023-03-14T06:20:53.019Z] ------------------- [2023-03-14T06:20:53.019Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T06:20:53.019Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T06:20:53.019Z] Message: update stable to v1.0.245 [2023-03-14T06:20:53.588Z] ------------------- [2023-03-14T06:20:53.588Z] experimental info: [2023-03-14T06:20:53.588Z] ------------------- [2023-03-14T06:20:53.588Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T06:20:53.588Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T06:20:53.588Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T06:20:53.889Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-14T06:20:53.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-14T06:20:53.975Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T06:20:54.013Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T06:20:54.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T06:20:54.092Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T06:20:54.133Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T06:20:54.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-14T06:20:54.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T06:20:54.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T06:20:54.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T06:20:54.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-14T06:20:54.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T06:20:54.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T06:20:54.486Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T06:20:54.526Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T06:20:54.567Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T06:20:54.608Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T06:20:54.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T06:20:54.690Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T06:20:54.736Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-14T06:20:54.777Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-14T06:20:54.816Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T06:20:54.857Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T06:20:54.899Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T06:20:54.941Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T06:20:54.980Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T06:20:55.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1378 [Pipeline] echo [2023-03-14T06:20:55.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1378 [Pipeline] echo [2023-03-14T06:20:55.108Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1378 [Pipeline] echo [2023-03-14T06:20:55.226Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3c527261f00c12e33369f990b1b875843bff393 [Pipeline] echo [2023-03-14T06:20:55.268Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3c5272 [Pipeline] echo [2023-03-14T06:20:55.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T06:20:55.428Z] provisioning config files... [2023-03-14T06:20:55.442Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp/config6529669079222755147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:20:55.779Z] ---> docker-login.sh [2023-03-14T06:20:55.779Z] nexus3.edgexfoundry.org:10001 [2023-03-14T06:20:56.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:20:56.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:20:56.037Z] Configure a credential helper to remove this warning. See [2023-03-14T06:20:56.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:20:56.037Z] [2023-03-14T06:20:56.037Z] Login Succeeded [2023-03-14T06:20:56.037Z] nexus3.edgexfoundry.org:10002 [2023-03-14T06:20:56.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:20:56.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:20:56.037Z] Configure a credential helper to remove this warning. See [2023-03-14T06:20:56.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:20:56.037Z] [2023-03-14T06:20:56.037Z] Login Succeeded [2023-03-14T06:20:56.037Z] nexus3.edgexfoundry.org:10003 [2023-03-14T06:20:56.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:20:56.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:20:56.296Z] Configure a credential helper to remove this warning. See [2023-03-14T06:20:56.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:20:56.296Z] [2023-03-14T06:20:56.296Z] Login Succeeded [2023-03-14T06:20:56.296Z] nexus3.edgexfoundry.org:10004 [2023-03-14T06:20:56.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:20:56.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:20:56.296Z] Configure a credential helper to remove this warning. See [2023-03-14T06:20:56.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:20:56.296Z] [2023-03-14T06:20:56.296Z] Login Succeeded [2023-03-14T06:20:56.296Z] docker.io [2023-03-14T06:20:56.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:20:56.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:20:56.597Z] Configure a credential helper to remove this warning. See [2023-03-14T06:20:56.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:20:56.597Z] [2023-03-14T06:20:56.597Z] Login Succeeded [2023-03-14T06:20:56.597Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T06:20:56.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T06:20:57.249Z] + git rev-list -1 --merges c3c527261f00c12e33369f990b1b875843bff393~1..c3c527261f00c12e33369f990b1b875843bff393 [Pipeline] echo [2023-03-14T06:20:57.312Z] -----------> git rev-list -1 --merges c3c527261f00c12e33369f990b1b875843bff393~1..c3c527261f00c12e33369f990b1b875843bff393 c3c527261f00c12e33369f990b1b875843bff393 [false] [Pipeline] sh [2023-03-14T06:20:57.623Z] + git log --format=format:%s -1 c3c527261f00c12e33369f990b1b875843bff393 [Pipeline] echo [2023-03-14T06:20:57.656Z] ========================================================= [2023-03-14T06:20:57.656Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T06:20:57.656Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T06:20:58.076Z] + git log --format=format:%s -1 c3c527261f00c12e33369f990b1b875843bff393 [Pipeline] echo [2023-03-14T06:20:58.108Z] [semverPrep] GIT_COMMIT: c3c527261f00c12e33369f990b1b875843bff393, Commit Message: refactor!: update data types in ResourceProperties [Pipeline] echo [2023-03-14T06:20:58.136Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T06:20:58.509Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T06:20:58.509Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T06:20:58.509Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T06:20:58.509Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T06:20:58.509Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T06:20:58.509Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T06:20:58.509Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:20:58.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T06:20:58.934Z] [2023-03-14T06:20:58.934Z] 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-14T06:20:59.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T06:20:59.321Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T06:20:59.321Z] b85a868b505f: Pulling fs layer [2023-03-14T06:20:59.321Z] e2be974225ed: Pulling fs layer [2023-03-14T06:20:59.321Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T06:20:59.321Z] 988bab9f4d93: Pulling fs layer [2023-03-14T06:20:59.321Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T06:20:59.321Z] eaf3925da568: Pulling fs layer [2023-03-14T06:20:59.321Z] 988bab9f4d93: Waiting [2023-03-14T06:20:59.321Z] 1469e6f7b9e6: Waiting [2023-03-14T06:20:59.321Z] bab4dde63d76: Pulling fs layer [2023-03-14T06:20:59.321Z] bde34c3a00c8: Pulling fs layer [2023-03-14T06:20:59.321Z] eaf3925da568: Waiting [2023-03-14T06:20:59.321Z] b352a97aabf1: Pulling fs layer [2023-03-14T06:20:59.321Z] bab4dde63d76: Waiting [2023-03-14T06:20:59.321Z] bde34c3a00c8: Waiting [2023-03-14T06:20:59.321Z] 4872d77fe225: Pulling fs layer [2023-03-14T06:20:59.321Z] 5851b861e8e6: Pulling fs layer [2023-03-14T06:20:59.321Z] 4872d77fe225: Waiting [2023-03-14T06:20:59.321Z] 5851b861e8e6: Waiting [2023-03-14T06:20:59.321Z] b352a97aabf1: Waiting [2023-03-14T06:20:59.321Z] e2be974225ed: Download complete [2023-03-14T06:20:59.321Z] 988bab9f4d93: Verifying Checksum [2023-03-14T06:20:59.321Z] 988bab9f4d93: Download complete [2023-03-14T06:20:59.580Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T06:20:59.580Z] 1469e6f7b9e6: Download complete [2023-03-14T06:20:59.580Z] eaf3925da568: Verifying Checksum [2023-03-14T06:20:59.580Z] eaf3925da568: Download complete [2023-03-14T06:20:59.580Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T06:20:59.580Z] 339a4e72a1f5: Download complete [2023-03-14T06:20:59.580Z] bde34c3a00c8: Verifying Checksum [2023-03-14T06:20:59.580Z] bde34c3a00c8: Download complete [2023-03-14T06:20:59.580Z] b352a97aabf1: Verifying Checksum [2023-03-14T06:20:59.580Z] b352a97aabf1: Download complete [2023-03-14T06:20:59.580Z] 4872d77fe225: Verifying Checksum [2023-03-14T06:20:59.580Z] 4872d77fe225: Download complete [2023-03-14T06:20:59.580Z] b85a868b505f: Verifying Checksum [2023-03-14T06:20:59.580Z] b85a868b505f: Download complete [2023-03-14T06:20:59.580Z] 5851b861e8e6: Verifying Checksum [2023-03-14T06:20:59.580Z] 5851b861e8e6: Download complete [2023-03-14T06:20:59.840Z] bab4dde63d76: Verifying Checksum [2023-03-14T06:20:59.840Z] bab4dde63d76: Download complete [2023-03-14T06:21:00.774Z] b85a868b505f: Pull complete [2023-03-14T06:21:01.032Z] e2be974225ed: Pull complete [2023-03-14T06:21:01.601Z] 339a4e72a1f5: Pull complete [2023-03-14T06:21:01.601Z] 988bab9f4d93: Pull complete [2023-03-14T06:21:01.860Z] 1469e6f7b9e6: Pull complete [2023-03-14T06:21:01.860Z] eaf3925da568: Pull complete [2023-03-14T06:21:03.762Z] bab4dde63d76: Pull complete [2023-03-14T06:21:03.762Z] bde34c3a00c8: Pull complete [2023-03-14T06:21:03.762Z] b352a97aabf1: Pull complete [2023-03-14T06:21:04.021Z] 4872d77fe225: Pull complete [2023-03-14T06:21:04.021Z] 5851b861e8e6: Pull complete [2023-03-14T06:21:04.021Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T06:21:04.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T06:21:04.021Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:21:04.257Z] prd-ubuntu20.04-docker-8c-8g-76 does not seem to be running inside a container [2023-03-14T06:21:04.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1378 -v /w/workspace/gexfoundry_device-sdk-go_PR-1378:/w/workspace/gexfoundry_device-sdk-go_PR-1378:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T06:21:06.555Z] $ docker top 429a5b57c003ad5fd334f6952c4c54deca84ee9b8e418118a463cd8be557f145 -eo pid,comm [2023-03-14T06:21:06.606Z] 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-14T06:21:06.606Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T06:21:06.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T06:21:06.733Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T06:21:06.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T06:21:06.865Z] $ docker exec 429a5b57c003ad5fd334f6952c4c54deca84ee9b8e418118a463cd8be557f145 ssh-agent [2023-03-14T06:21:06.974Z] SSH_AUTH_SOCK=/tmp/ssh-zGyKlIECBneb/agent.32 [2023-03-14T06:21:06.974Z] SSH_AGENT_PID=39 [2023-03-14T06:21:06.979Z] Running ssh-add (command line suppressed) [2023-03-14T06:21:07.074Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp/private_key_10802463645613170847.key (/w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp/private_key_10802463645613170847.key) [2023-03-14T06:21:07.084Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T06:21:07.414Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T06:21:07.443Z] $ docker exec --env ******** --env ******** 429a5b57c003ad5fd334f6952c4c54deca84ee9b8e418118a463cd8be557f145 ssh-agent -k [2023-03-14T06:21:07.547Z] unset SSH_AUTH_SOCK; [2023-03-14T06:21:07.547Z] unset SSH_AGENT_PID; [2023-03-14T06:21:07.547Z] echo Agent pid 39 killed; [2023-03-14T06:21:07.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T06:21:07.648Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T06:21:07.648Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T06:21:07.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T06:21:07.774Z] $ docker exec 429a5b57c003ad5fd334f6952c4c54deca84ee9b8e418118a463cd8be557f145 ssh-agent [2023-03-14T06:21:07.877Z] SSH_AUTH_SOCK=/tmp/ssh-STqcjGjuKEk3/agent.71 [2023-03-14T06:21:07.877Z] SSH_AGENT_PID=77 [2023-03-14T06:21:07.881Z] Running ssh-add (command line suppressed) [2023-03-14T06:21:07.976Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp/private_key_14447800305195729937.key (/w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp/private_key_14447800305195729937.key) [2023-03-14T06:21:07.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T06:21:08.312Z] + git semver init [2023-03-14T06:21:08.572Z] 2023-03-14 06:21:08,477 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T06:21:08.572Z] 2023-03-14 06:21:08,478 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1378/.semver [2023-03-14T06:21:08.572Z] 2023-03-14 06:21:08,479 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1378/.semver [2023-03-14T06:21:08.572Z] 2023-03-14 06:21:08,479 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1378/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1378, universal_newlines=False, shell=None, istream=None) [2023-03-14T06:21:09.509Z] 2023-03-14 06:21:09,385 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1378/.git/info/exclude [2023-03-14T06:21:09.509Z] 2023-03-14 06:21:09,385 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1378/.semver/PR-1378 with force:False [2023-03-14T06:21:09.509Z] 2023-03-14 06:21:09,385 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1378/.semver/PR-1378 [2023-03-14T06:21:09.509Z] 2023-03-14 06:21:09,390 [execute] INFO git cat-file --batch-check [2023-03-14T06:21:09.509Z] 2023-03-14 06:21:09,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1378/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T06:21:09.509Z] 2023-03-14 06:21:09,396 [execute] INFO git cat-file --batch [2023-03-14T06:21:09.509Z] 2023-03-14 06:21:09,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1378/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T06:21:09.509Z] 2023-03-14 06:21:09,402 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1378/.semver/PR-1378 [2023-03-14T06:21:09.509Z] 0.0.0 [Pipeline] } [2023-03-14T06:21:09.539Z] $ docker exec --env ******** --env ******** 429a5b57c003ad5fd334f6952c4c54deca84ee9b8e418118a463cd8be557f145 ssh-agent -k [2023-03-14T06:21:09.634Z] unset SSH_AUTH_SOCK; [2023-03-14T06:21:09.635Z] unset SSH_AGENT_PID; [2023-03-14T06:21:09.635Z] echo Agent pid 77 killed; [2023-03-14T06:21:09.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T06:21:10.056Z] + git semver [Pipeline] } [2023-03-14T06:21:10.346Z] $ docker stop --time=1 429a5b57c003ad5fd334f6952c4c54deca84ee9b8e418118a463cd8be557f145 [2023-03-14T06:21:11.627Z] $ docker rm -f --volumes 429a5b57c003ad5fd334f6952c4c54deca84ee9b8e418118a463cd8be557f145 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T06:21:12.028Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T06:21:12.275Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T06:21:12.292Z] [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-14T06:21:12.894Z] provisioning config files... [2023-03-14T06:21:12.904Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp/config15601343070213230002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:21:13.259Z] ---> docker-login.sh [2023-03-14T06:21:13.259Z] nexus3.edgexfoundry.org:10001 [2023-03-14T06:21:13.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:21:13.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:21:13.259Z] Configure a credential helper to remove this warning. See [2023-03-14T06:21:13.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:21:13.259Z] [2023-03-14T06:21:13.259Z] Login Succeeded [2023-03-14T06:21:13.259Z] nexus3.edgexfoundry.org:10002 [2023-03-14T06:21:13.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:21:13.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:21:13.259Z] Configure a credential helper to remove this warning. See [2023-03-14T06:21:13.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:21:13.259Z] [2023-03-14T06:21:13.259Z] Login Succeeded [2023-03-14T06:21:13.259Z] nexus3.edgexfoundry.org:10003 [2023-03-14T06:21:13.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:21:13.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:21:13.519Z] Configure a credential helper to remove this warning. See [2023-03-14T06:21:13.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:21:13.519Z] [2023-03-14T06:21:13.519Z] Login Succeeded [2023-03-14T06:21:13.519Z] nexus3.edgexfoundry.org:10004 [2023-03-14T06:21:13.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:21:13.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:21:13.519Z] Configure a credential helper to remove this warning. See [2023-03-14T06:21:13.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:21:13.519Z] [2023-03-14T06:21:13.519Z] Login Succeeded [2023-03-14T06:21:13.519Z] docker.io [2023-03-14T06:21:13.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:21:13.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:21:13.779Z] Configure a credential helper to remove this warning. See [2023-03-14T06:21:13.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:21:13.779Z] [2023-03-14T06:21:13.779Z] Login Succeeded [2023-03-14T06:21:13.779Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T06:21:13.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T06:21:13.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T06:21:14.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T06:21:14.062Z] ========================================================= [2023-03-14T06:21:14.062Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T06:21:14.062Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:21:14.529Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T06:21:14.529Z] Sending build context to Docker daemon 10.78MB [2023-03-14T06:21:14.529Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T06:21:14.529Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T06:21:14.529Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T06:21:14.529Z] 63b65145d645: Pulling fs layer [2023-03-14T06:21:14.529Z] a2d21d5440eb: Pulling fs layer [2023-03-14T06:21:14.529Z] 935e6c44a52c: Pulling fs layer [2023-03-14T06:21:14.529Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T06:21:14.529Z] 30dea6a524f1: Pulling fs layer [2023-03-14T06:21:14.529Z] a2aff8979fd8: Pulling fs layer [2023-03-14T06:21:14.529Z] 6808be2612f2: Pulling fs layer [2023-03-14T06:21:14.529Z] f25807f1079a: Pulling fs layer [2023-03-14T06:21:14.529Z] a2aff8979fd8: Waiting [2023-03-14T06:21:14.529Z] 94cc34f8dd06: Waiting [2023-03-14T06:21:14.529Z] 6808be2612f2: Waiting [2023-03-14T06:21:14.529Z] f25807f1079a: Waiting [2023-03-14T06:21:14.529Z] 30dea6a524f1: Waiting [2023-03-14T06:21:14.787Z] a2d21d5440eb: Download complete [2023-03-14T06:21:14.787Z] 94cc34f8dd06: Download complete [2023-03-14T06:21:14.787Z] 30dea6a524f1: Verifying Checksum [2023-03-14T06:21:14.787Z] 30dea6a524f1: Download complete [2023-03-14T06:21:14.787Z] 63b65145d645: Verifying Checksum [2023-03-14T06:21:14.787Z] 63b65145d645: Download complete [2023-03-14T06:21:14.787Z] a2aff8979fd8: Verifying Checksum [2023-03-14T06:21:14.787Z] a2aff8979fd8: Download complete [2023-03-14T06:21:14.787Z] 63b65145d645: Pull complete [2023-03-14T06:21:15.051Z] a2d21d5440eb: Pull complete [2023-03-14T06:21:15.313Z] f25807f1079a: Verifying Checksum [2023-03-14T06:21:15.313Z] f25807f1079a: Download complete [2023-03-14T06:21:15.313Z] 935e6c44a52c: Verifying Checksum [2023-03-14T06:21:15.313Z] 935e6c44a52c: Download complete [2023-03-14T06:21:15.571Z] 6808be2612f2: Verifying Checksum [2023-03-14T06:21:15.571Z] 6808be2612f2: Download complete [2023-03-14T06:21:18.850Z] 935e6c44a52c: Pull complete [2023-03-14T06:21:18.850Z] 94cc34f8dd06: Pull complete [2023-03-14T06:21:18.850Z] 30dea6a524f1: Pull complete [2023-03-14T06:21:18.850Z] a2aff8979fd8: Pull complete [2023-03-14T06:21:21.393Z] 6808be2612f2: Pull complete [2023-03-14T06:21:21.959Z] f25807f1079a: Pull complete [2023-03-14T06:21:21.959Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T06:21:21.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T06:21:21.959Z] ---> 3b553350e43f [2023-03-14T06:21:21.959Z] Step 3/10 : ARG MAKE=make build [2023-03-14T06:21:25.245Z] ---> Running in 09c56f1d05c8 [2023-03-14T06:21:25.245Z] Removing intermediate container 09c56f1d05c8 [2023-03-14T06:21:25.245Z] ---> f53db4294feb [2023-03-14T06:21:25.245Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T06:21:25.245Z] ---> Running in 1b31e1bc59fd [2023-03-14T06:21:25.245Z] Removing intermediate container 1b31e1bc59fd [2023-03-14T06:21:25.245Z] ---> 8de97d3f288e [2023-03-14T06:21:25.245Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T06:21:25.245Z] ---> Running in 1bb27340294e [2023-03-14T06:21:25.245Z] Removing intermediate container 1bb27340294e [2023-03-14T06:21:25.245Z] ---> cc5f02900e1f [2023-03-14T06:21:25.245Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T06:21:25.245Z] ---> Running in 65f97c610017 [2023-03-14T06:21:25.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T06:21:25.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T06:21:26.021Z] OK: 265 MiB in 53 packages [2023-03-14T06:21:26.279Z] Removing intermediate container 65f97c610017 [2023-03-14T06:21:26.279Z] ---> 1ec3b554780d [2023-03-14T06:21:26.279Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T06:21:26.538Z] ---> 45a32176d34f [2023-03-14T06:21:26.538Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T06:21:26.538Z] ---> Running in 39c7386f84ae [2023-03-14T06:21:27.664Z] Still waiting to schedule task [2023-03-14T06:21:27.665Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T06:21:48.569Z] Removing intermediate container 39c7386f84ae [2023-03-14T06:21:48.569Z] ---> 15ea98e779f3 [2023-03-14T06:21:48.569Z] Step 9/10 : COPY . . [2023-03-14T06:21:48.569Z] ---> edb9a36bcc75 [2023-03-14T06:21:48.569Z] Step 10/10 : RUN ${MAKE} [2023-03-14T06:21:48.569Z] ---> Running in a96a7da3366f [2023-03-14T06:21:48.827Z] noop [2023-03-14T06:21:49.086Z] Removing intermediate container a96a7da3366f [2023-03-14T06:21:49.086Z] ---> 9c07c9456355 [2023-03-14T06:21:49.086Z] Successfully built 9c07c9456355 [2023-03-14T06:21:49.086Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:21:49.514Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T06:21:49.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:21:49.668Z] prd-ubuntu20.04-docker-8c-8g-76 does not seem to be running inside a container [2023-03-14T06:21:49.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1378 -v /w/workspace/gexfoundry_device-sdk-go_PR-1378:/w/workspace/gexfoundry_device-sdk-go_PR-1378:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1378@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-x86_64 cat [2023-03-14T06:21:50.003Z] $ docker top 78522dc37a7faae4b27b97b32518b4faffc3748d6d50369d698f5588429460ab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:21:50.382Z] + go version [2023-03-14T06:21:50.382Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T06:21:50.416Z] $ docker stop --time=1 78522dc37a7faae4b27b97b32518b4faffc3748d6d50369d698f5588429460ab [2023-03-14T06:21:51.660Z] $ docker rm -f --volumes 78522dc37a7faae4b27b97b32518b4faffc3748d6d50369d698f5588429460ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:21:52.338Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T06:21:52.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:21:52.491Z] prd-ubuntu20.04-docker-8c-8g-76 does not seem to be running inside a container [2023-03-14T06:21:52.524Z] $ 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-1378 -v /w/workspace/gexfoundry_device-sdk-go_PR-1378:/w/workspace/gexfoundry_device-sdk-go_PR-1378:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1378@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-x86_64 cat [2023-03-14T06:21:52.825Z] $ docker top 68892e83ac1decef22089d5ff838251ef3eae52549d991416d69582b912589a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:21:53.213Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1378 [Pipeline] fileExists [Pipeline] sh [2023-03-14T06:21:53.574Z] + make test [2023-03-14T06:21:53.574Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T06:22:00.136Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T06:22:15.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T06:22:15.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T06:22:15.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T06:22:15.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T06:22:15.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T06:22:15.028Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.091s coverage: 27.6% of statements [2023-03-14T06:22:15.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T06:22:15.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T06:22:15.028Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 78.9% of statements [2023-03-14T06:22:15.028Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.074s coverage: 86.0% of statements [2023-03-14T06:22:15.964Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T06:22:15.964Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T06:22:15.964Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.092s coverage: 75.9% of statements [2023-03-14T06:22:16.223Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T06:22:16.223Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T06:22:17.160Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T06:22:19.062Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.062s coverage: 15.2% of statements [2023-03-14T06:22:19.062Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 65.7% of statements [2023-03-14T06:22:19.062Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.502s coverage: 89.2% of statements [2023-03-14T06:22:19.062Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-03-14T06:22:41.017Z] GO111MODULE=on go vet ./... [2023-03-14T06:22:44.301Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T06:22:44.301Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T06:22:44.560Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T06:22:44.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T06:22:44.633Z] $ docker stop --time=1 68892e83ac1decef22089d5ff838251ef3eae52549d991416d69582b912589a8 [2023-03-14T06:22:47.648Z] $ docker rm -f --volumes 68892e83ac1decef22089d5ff838251ef3eae52549d991416d69582b912589a8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T06:22:48.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T06:22:48.335Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T06:22:48.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T06:22:49.311Z] + ls -al . [2023-03-14T06:22:49.311Z] total 276 [2023-03-14T06:22:49.311Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 06:21 . [2023-03-14T06:22:49.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 06:20 .. [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 06:20 .dockerignore [2023-03-14T06:22:49.311Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 06:21 .git [2023-03-14T06:22:49.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 06:20 .github [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 06:20 .gitignore [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 06:20 .golangci.yml [2023-03-14T06:22:49.311Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 06:21 .semver [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 06:20 CHANGELOG.md [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 06:20 GOVERNANCE.md [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 06:20 Jenkinsfile [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 06:20 LICENSE [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 06:20 Makefile [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 06:20 OWNERS.md [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 06:20 README.md [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 06:21 VERSION [2023-03-14T06:22:49.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 06:20 bin [2023-03-14T06:22:49.311Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 14 06:22 coverage.out [2023-03-14T06:22:49.311Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 06:20 example [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 06:20 go.mod [2023-03-14T06:22:49.311Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 06:20 go.sum [2023-03-14T06:22:49.311Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 06:20 internal [2023-03-14T06:22:49.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 06:20 openapi [2023-03-14T06:22:49.312Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 06:20 pkg [2023-03-14T06:22:49.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 06:20 snap [2023-03-14T06:22:49.312Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 06:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:22:49.688Z] + 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=c3c527261f00c12e33369f990b1b875843bff393 --label arch=amd64 --label version=0.0.0 . [2023-03-14T06:22:49.688Z] Sending build context to Docker daemon 10.89MB [2023-03-14T06:22:49.688Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T06:22:49.688Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T06:22:49.688Z] ---> 9c07c9456355 [2023-03-14T06:22:49.688Z] Step 3/23 : ARG MAKE=make build [2023-03-14T06:22:49.949Z] ---> Running in 3d6cfb9c1c09 [2023-03-14T06:22:49.949Z] Removing intermediate container 3d6cfb9c1c09 [2023-03-14T06:22:49.949Z] ---> 02dad191dd26 [2023-03-14T06:22:49.949Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T06:22:49.949Z] ---> Running in d38ee738cf5b [2023-03-14T06:22:50.208Z] Removing intermediate container d38ee738cf5b [2023-03-14T06:22:50.208Z] ---> 1d2586835402 [2023-03-14T06:22:50.208Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T06:22:50.208Z] ---> Running in 8f4022544f8b [2023-03-14T06:22:50.208Z] Removing intermediate container 8f4022544f8b [2023-03-14T06:22:50.208Z] ---> 4f13eb261d19 [2023-03-14T06:22:50.208Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T06:22:50.208Z] ---> Running in 36f2bcc17b68 [2023-03-14T06:22:50.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T06:22:50.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T06:22:50.986Z] OK: 265 MiB in 53 packages [2023-03-14T06:22:51.246Z] Removing intermediate container 36f2bcc17b68 [2023-03-14T06:22:51.246Z] ---> d469ac3c04b1 [2023-03-14T06:22:51.246Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T06:22:51.505Z] ---> 2c12b0dc8d09 [2023-03-14T06:22:51.505Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T06:22:51.505Z] ---> Running in da945043fad4 [2023-03-14T06:22:52.441Z] Removing intermediate container da945043fad4 [2023-03-14T06:22:52.441Z] ---> c8352d062f50 [2023-03-14T06:22:52.441Z] Step 9/23 : COPY . . [2023-03-14T06:22:53.008Z] ---> cc7a8751c8e9 [2023-03-14T06:22:53.008Z] Step 10/23 : RUN ${MAKE} [2023-03-14T06:22:53.008Z] ---> Running in e4624f0388f2 [2023-03-14T06:22:53.267Z] 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-14T06:23:15.309Z] Removing intermediate container e4624f0388f2 [2023-03-14T06:23:15.309Z] ---> 0d9bd790fc42 [2023-03-14T06:23:15.309Z] Step 11/23 : FROM alpine:3.16 [2023-03-14T06:23:15.309Z] 3.16: Pulling from library/alpine [2023-03-14T06:23:15.309Z] ef5531b6e74e: Pulling fs layer [2023-03-14T06:23:15.309Z] ef5531b6e74e: Download complete [2023-03-14T06:23:15.309Z] ef5531b6e74e: Pull complete [2023-03-14T06:23:15.309Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T06:23:15.309Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T06:23:15.309Z] ---> dfd21b5a31f5 [2023-03-14T06:23:15.309Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T06:23:15.309Z] ---> Running in cdba55eeef12 [2023-03-14T06:23:15.309Z] Removing intermediate container cdba55eeef12 [2023-03-14T06:23:15.309Z] ---> a9d420d03e7a [2023-03-14T06:23:15.309Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T06:23:15.309Z] ---> Running in ad1b27e4d1b3 [2023-03-14T06:23:15.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T06:23:15.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-14T06:23:15.309Z] OK: 6 MiB in 14 packages [2023-03-14T06:23:15.309Z] Removing intermediate container ad1b27e4d1b3 [2023-03-14T06:23:15.309Z] ---> 9b03350ae9cf [2023-03-14T06:23:15.309Z] Step 14/23 : WORKDIR / [2023-03-14T06:23:15.309Z] ---> Running in 1cb681ad5728 [2023-03-14T06:23:15.309Z] Removing intermediate container 1cb681ad5728 [2023-03-14T06:23:15.309Z] ---> 048e87b9ec37 [2023-03-14T06:23:15.309Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T06:23:15.309Z] ---> 52cde644d2a7 [2023-03-14T06:23:15.309Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T06:23:15.309Z] ---> 1d79fee2e53c [2023-03-14T06:23:15.309Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T06:23:15.309Z] ---> 1f5495590571 [2023-03-14T06:23:15.309Z] Step 18/23 : EXPOSE 59999 [2023-03-14T06:23:15.309Z] ---> Running in e05d2116d102 [2023-03-14T06:23:15.309Z] Removing intermediate container e05d2116d102 [2023-03-14T06:23:15.309Z] ---> 15316c451242 [2023-03-14T06:23:15.309Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T06:23:15.309Z] ---> Running in 54debb77785d [2023-03-14T06:23:15.309Z] Removing intermediate container 54debb77785d [2023-03-14T06:23:15.309Z] ---> f06c1998d4ba [2023-03-14T06:23:15.309Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T06:23:15.309Z] ---> Running in 834263f3292b [2023-03-14T06:23:15.568Z] Removing intermediate container 834263f3292b [2023-03-14T06:23:15.568Z] ---> 70a59b749e0c [2023-03-14T06:23:15.568Z] Step 21/23 : LABEL arch=amd64 [2023-03-14T06:23:15.568Z] ---> Running in c119bbb463ec [2023-03-14T06:23:15.568Z] Removing intermediate container c119bbb463ec [2023-03-14T06:23:15.568Z] ---> 605dfe9b5571 [2023-03-14T06:23:15.568Z] Step 22/23 : LABEL git_sha=c3c527261f00c12e33369f990b1b875843bff393 [2023-03-14T06:23:15.568Z] ---> Running in fd4c948b9686 [2023-03-14T06:23:15.568Z] Removing intermediate container fd4c948b9686 [2023-03-14T06:23:15.568Z] ---> 661754d0b306 [2023-03-14T06:23:15.568Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T06:23:15.568Z] ---> Running in 1b007b3e77fd [2023-03-14T06:23:15.826Z] Removing intermediate container 1b007b3e77fd [2023-03-14T06:23:15.826Z] ---> 0e679432f12c [2023-03-14T06:23:15.826Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T06:23:15.826Z] Successfully built 0e679432f12c [2023-03-14T06:23:15.826Z] 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-14T06:23:16.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T06:23:16.646Z] [2023-03-14T06:23:16.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:23:17.012Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T06:23:17.012Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T06:23:17.012Z] 5eb5b503b376: Pulling fs layer [2023-03-14T06:23:17.012Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T06:23:17.012Z] ec43610c2a17: Pulling fs layer [2023-03-14T06:23:17.012Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T06:23:17.012Z] 33b1e0a273af: Pulling fs layer [2023-03-14T06:23:17.012Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T06:23:17.012Z] 2f39f015ded8: Pulling fs layer [2023-03-14T06:23:17.012Z] 33b1e0a273af: Waiting [2023-03-14T06:23:17.012Z] 5d3b04190fa2: Waiting [2023-03-14T06:23:17.012Z] 2f39f015ded8: Waiting [2023-03-14T06:23:17.012Z] 3a2ae6a8a46f: Waiting [2023-03-14T06:23:17.012Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T06:23:17.012Z] 5c69ac0246d0: Download complete [2023-03-14T06:23:17.012Z] 3a2ae6a8a46f: Download complete [2023-03-14T06:23:17.270Z] 33b1e0a273af: Verifying Checksum [2023-03-14T06:23:17.270Z] 33b1e0a273af: Download complete [2023-03-14T06:23:17.270Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T06:23:17.270Z] 5d3b04190fa2: Download complete [2023-03-14T06:23:17.270Z] ec43610c2a17: Verifying Checksum [2023-03-14T06:23:17.270Z] ec43610c2a17: Download complete [2023-03-14T06:23:17.270Z] 5eb5b503b376: Verifying Checksum [2023-03-14T06:23:17.270Z] 5eb5b503b376: Download complete [2023-03-14T06:23:17.840Z] 2f39f015ded8: Download complete [2023-03-14T06:23:18.772Z] 5eb5b503b376: Pull complete [2023-03-14T06:23:18.772Z] 5c69ac0246d0: Pull complete [2023-03-14T06:23:19.031Z] ec43610c2a17: Pull complete [2023-03-14T06:23:19.288Z] 3a2ae6a8a46f: Pull complete [2023-03-14T06:23:19.544Z] 33b1e0a273af: Pull complete [2023-03-14T06:23:19.544Z] 5d3b04190fa2: Pull complete [2023-03-14T06:23:24.613Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-77 in /w/workspace/gexfoundry_device-sdk-go_PR-1378 [Pipeline] { [Pipeline] ws [2023-03-14T06:23:24.666Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-14T06:23:24.747Z] The recommended git tool is: git [2023-03-14T06:23:24.806Z] 2f39f015ded8: Pull complete [2023-03-14T06:23:24.806Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T06:23:24.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T06:23:24.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:23:25.020Z] prd-ubuntu20.04-docker-8c-8g-76 does not seem to be running inside a container [2023-03-14T06:23:25.052Z] $ 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-1378 -v /w/workspace/gexfoundry_device-sdk-go_PR-1378:/w/workspace/gexfoundry_device-sdk-go_PR-1378:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1378@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:latest cat [2023-03-14T06:23:27.267Z] $ docker top 81448f263f3ac21da4b9320cd3046085473a13e51b6a15425e12081f5463fc9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:23:27.696Z] ---> job-cost.sh [2023-03-14T06:23:27.696Z] lf-activate-venv: SKIPPING [2023-03-14T06:23:27.696Z] INFO: No Stack... [2023-03-14T06:23:27.958Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T06:23:28.217Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T06:23:28.527Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1378/archives/cost.csv [2023-03-14T06:23:28.527Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T06:23:28.564Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1378-1-stack-cost] [2023-03-14T06:23:28.570Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1378-1-stack-cost] did not exist. Created. [2023-03-14T06:23:28.570Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1378-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T06:23:28.955Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T06:23:29.012Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T06:23:29.028Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1378-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T06:23:29.111Z] $ docker stop --time=1 81448f263f3ac21da4b9320cd3046085473a13e51b6a15425e12081f5463fc9d [2023-03-14T06:23:30.268Z] $ docker rm -f --volumes 81448f263f3ac21da4b9320cd3046085473a13e51b6a15425e12081f5463fc9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T06:23:30.866Z] using credential edgex-jenkins-ssh [2023-03-14T06:23:30.887Z] Cloning the remote Git repository [2023-03-14T06:23:30.938Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T06:23:31.050Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-14T06:23:31.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T06:23:31.218Z] > git --version # timeout=10 [2023-03-14T06:23:31.241Z] > git --version # 'git version 2.25.1' [2023-03-14T06:23:31.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T06:23:31.402Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T06:23:33.057Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T06:23:33.079Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T06:23:34.817Z] Merging remotes/origin/main commit 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 into PR head commit c3c527261f00c12e33369f990b1b875843bff393 [2023-03-14T06:23:34.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T06:23:34.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T06:23:34.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T06:23:34.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1378/head:refs/remotes/origin/PR-1378 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T06:23:34.836Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T06:23:34.915Z] > git checkout -f c3c527261f00c12e33369f990b1b875843bff393 # timeout=10 [2023-03-14T06:23:35.032Z] > git remote # timeout=10 [2023-03-14T06:23:35.052Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T06:23:35.149Z] Merge succeeded, producing c3c527261f00c12e33369f990b1b875843bff393 [2023-03-14T06:23:35.149Z] Checking out Revision c3c527261f00c12e33369f990b1b875843bff393 (PR-1378) [2023-03-14T06:23:35.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T06:23:35.091Z] > git merge 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 [2023-03-14T06:23:35.122Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T06:23:35.154Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T06:23:35.170Z] > git checkout -f c3c527261f00c12e33369f990b1b875843bff393 # timeout=10 [2023-03-14T06:23:38.767Z] Commit message: "refactor!: update data types in ResourceProperties" [2023-03-14T06:23:38.826Z] > git --version # timeout=10 [2023-03-14T06:23:38.842Z] > git --version # 'git version 2.25.1' [2023-03-14T06:23:38.861Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T06:23:39.868Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T06:23:39.868Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T06:23:39.868Z] Dload Upload Total Spent Left Speed [2023-03-14T06:23:39.868Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-03-14T06:23:40.649Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T06:23:41.026Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T06:23:41.026Z] + sudo tee /etc/docker/daemon.new [2023-03-14T06:23:41.026Z] { [2023-03-14T06:23:41.026Z] "registry-mirrors": [ [2023-03-14T06:23:41.026Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T06:23:41.026Z] ], [2023-03-14T06:23:41.026Z] "bip": "10.250.0.254/24", [2023-03-14T06:23:41.026Z] "hosts": [ [2023-03-14T06:23:41.026Z] "tcp://0.0.0.0:5555", [2023-03-14T06:23:41.026Z] "unix:///var/run/docker.sock" [2023-03-14T06:23:41.026Z] ], [2023-03-14T06:23:41.026Z] "mtu": 1458, [2023-03-14T06:23:41.026Z] "selinux-enabled": true, [2023-03-14T06:23:41.026Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T06:23:41.026Z] } [Pipeline] sh [2023-03-14T06:23:41.380Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T06:23:41.747Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T06:24:00.089Z] provisioning config files... [2023-03-14T06:24:00.120Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1350506824350352617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:24:00.508Z] ---> docker-login.sh [2023-03-14T06:24:00.508Z] nexus3.edgexfoundry.org:10001 [2023-03-14T06:24:01.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:24:01.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:24:01.101Z] Configure a credential helper to remove this warning. See [2023-03-14T06:24:01.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:24:01.101Z] [2023-03-14T06:24:01.101Z] Login Succeeded [2023-03-14T06:24:01.101Z] nexus3.edgexfoundry.org:10002 [2023-03-14T06:24:01.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:24:01.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:24:01.640Z] Configure a credential helper to remove this warning. See [2023-03-14T06:24:01.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:24:01.640Z] [2023-03-14T06:24:01.640Z] Login Succeeded [2023-03-14T06:24:01.640Z] nexus3.edgexfoundry.org:10003 [2023-03-14T06:24:01.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:24:01.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:24:01.912Z] Configure a credential helper to remove this warning. See [2023-03-14T06:24:01.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:24:01.912Z] [2023-03-14T06:24:01.912Z] Login Succeeded [2023-03-14T06:24:01.912Z] nexus3.edgexfoundry.org:10004 [2023-03-14T06:24:02.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:24:02.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:24:02.464Z] Configure a credential helper to remove this warning. See [2023-03-14T06:24:02.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:24:02.464Z] [2023-03-14T06:24:02.464Z] Login Succeeded [2023-03-14T06:24:02.464Z] docker.io [2023-03-14T06:24:02.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T06:24:02.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T06:24:02.736Z] Configure a credential helper to remove this warning. See [2023-03-14T06:24:02.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T06:24:02.736Z] [2023-03-14T06:24:02.736Z] Login Succeeded [2023-03-14T06:24:02.736Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T06:24:02.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T06:24:03.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T06:24:03.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T06:24:03.280Z] ========================================================= [2023-03-14T06:24:03.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T06:24:03.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:24:03.778Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T06:24:04.052Z] Sending build context to Docker daemon 5.798MB [2023-03-14T06:24:04.322Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T06:24:04.322Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T06:24:04.322Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T06:24:04.322Z] af6eaf76a39c: Pulling fs layer [2023-03-14T06:24:04.322Z] 55522c791124: Pulling fs layer [2023-03-14T06:24:04.322Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T06:24:04.322Z] 169dfbe0d373: Pulling fs layer [2023-03-14T06:24:04.322Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T06:24:04.322Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T06:24:04.322Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T06:24:04.322Z] 52ebb69f0ebf: Waiting [2023-03-14T06:24:04.322Z] 5abe8eddf0d5: Waiting [2023-03-14T06:24:04.322Z] 169dfbe0d373: Waiting [2023-03-14T06:24:04.322Z] e1ff8fa3b103: Waiting [2023-03-14T06:24:04.616Z] 55522c791124: Verifying Checksum [2023-03-14T06:24:04.616Z] 55522c791124: Download complete [2023-03-14T06:24:04.616Z] 169dfbe0d373: Verifying Checksum [2023-03-14T06:24:04.616Z] 169dfbe0d373: Download complete [2023-03-14T06:24:04.616Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T06:24:04.616Z] e1ff8fa3b103: Download complete [2023-03-14T06:24:04.616Z] af6eaf76a39c: Verifying Checksum [2023-03-14T06:24:04.616Z] af6eaf76a39c: Download complete [2023-03-14T06:24:05.207Z] af6eaf76a39c: Pull complete [2023-03-14T06:24:05.808Z] 55522c791124: Pull complete [2023-03-14T06:24:06.413Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T06:24:06.413Z] 5abe8eddf0d5: Download complete [2023-03-14T06:24:07.385Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T06:24:07.385Z] ce5c4a1c91eb: Download complete [2023-03-14T06:24:07.974Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T06:24:07.974Z] 52ebb69f0ebf: Download complete [2023-03-14T06:24:18.104Z] ce5c4a1c91eb: Pull complete [2023-03-14T06:24:18.375Z] 169dfbe0d373: Pull complete [2023-03-14T06:24:18.645Z] e1ff8fa3b103: Pull complete [2023-03-14T06:24:25.329Z] 52ebb69f0ebf: Pull complete [2023-03-14T06:24:27.291Z] 5abe8eddf0d5: Pull complete [2023-03-14T06:24:27.291Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T06:24:27.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T06:24:27.291Z] ---> 6cb57ee374ae [2023-03-14T06:24:27.291Z] Step 3/10 : ARG MAKE=make build [2023-03-14T06:24:29.251Z] ---> Running in 1bf3fb213dce [2023-03-14T06:24:29.528Z] Removing intermediate container 1bf3fb213dce [2023-03-14T06:24:29.528Z] ---> 3067d52ac3fe [2023-03-14T06:24:29.528Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T06:24:29.800Z] ---> Running in 71f5c68ae322 [2023-03-14T06:24:30.069Z] Removing intermediate container 71f5c68ae322 [2023-03-14T06:24:30.069Z] ---> 975b95726a52 [2023-03-14T06:24:30.069Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T06:24:30.069Z] ---> Running in 7603d11e6224 [2023-03-14T06:24:30.657Z] Removing intermediate container 7603d11e6224 [2023-03-14T06:24:30.657Z] ---> 9dc31749feb4 [2023-03-14T06:24:30.657Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T06:24:30.657Z] ---> Running in 5afaf9bb52fb [2023-03-14T06:24:31.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T06:24:32.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T06:24:33.649Z] OK: 263 MiB in 53 packages [2023-03-14T06:24:34.236Z] Removing intermediate container 5afaf9bb52fb [2023-03-14T06:24:34.236Z] ---> 7bb87b21fbd2 [2023-03-14T06:24:34.236Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T06:24:34.823Z] ---> 12f0811d5a11 [2023-03-14T06:24:34.823Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T06:24:34.823Z] ---> Running in 4aef56da91ca [2023-03-14T06:25:42.743Z] Removing intermediate container 4aef56da91ca [2023-03-14T06:25:42.743Z] ---> 1e6ba505057a [2023-03-14T06:25:42.743Z] Step 9/10 : COPY . . [2023-03-14T06:25:42.743Z] ---> 5ef5e097508f [2023-03-14T06:25:42.743Z] Step 10/10 : RUN ${MAKE} [2023-03-14T06:25:42.743Z] ---> Running in 1ce4d042c863 [2023-03-14T06:25:42.743Z] noop [2023-03-14T06:25:42.743Z] Removing intermediate container 1ce4d042c863 [2023-03-14T06:25:42.743Z] ---> 696cd6629849 [2023-03-14T06:25:42.743Z] Successfully built 696cd6629849 [2023-03-14T06:25:42.743Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:25:43.274Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T06:25:43.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:25:43.542Z] prd-ubuntu20.04-docker-arm64-4c-16g-77 does not seem to be running inside a container [2023-03-14T06:25:43.610Z] $ 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-14T06:25:46.242Z] $ docker top 3f1321d479d0fa4eeb61cfc31c6a81d3dedb1bb1a5d3e2e28000a298eaafc4dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:25:47.126Z] + go version [2023-03-14T06:25:47.126Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T06:25:47.161Z] $ docker stop --time=1 3f1321d479d0fa4eeb61cfc31c6a81d3dedb1bb1a5d3e2e28000a298eaafc4dc [2023-03-14T06:25:48.760Z] $ docker rm -f --volumes 3f1321d479d0fa4eeb61cfc31c6a81d3dedb1bb1a5d3e2e28000a298eaafc4dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:25:49.603Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T06:25:49.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:25:49.851Z] prd-ubuntu20.04-docker-arm64-4c-16g-77 does not seem to be running inside a container [2023-03-14T06:25:49.920Z] $ 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-14T06:25:51.086Z] $ docker top b655adfb9d3d68ef1efbe332c55194b28e9e259b584f476cb2e1675b2d31585b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:25:51.644Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T06:25:52.314Z] + make test [2023-03-14T06:25:52.314Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T06:26:39.151Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T06:29:00.862Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T06:29:00.862Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T06:29:00.862Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T06:29:00.862Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T06:29:00.862Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T06:29:00.862Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.203s coverage: 27.6% of statements [2023-03-14T06:29:00.862Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 78.9% of statements [2023-03-14T06:29:10.937Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T06:29:10.937Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T06:29:10.937Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.364s coverage: 86.0% of statements [2023-03-14T06:29:16.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T06:29:16.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T06:29:16.280Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.439s coverage: 75.9% of statements [2023-03-14T06:29:19.629Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.242s coverage: 15.2% of statements [2023-03-14T06:29:21.040Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T06:29:21.040Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T06:29:21.309Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.442s coverage: 65.7% of statements [2023-03-14T06:29:25.569Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.645s coverage: 89.2% of statements [2023-03-14T06:29:25.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T06:29:26.104Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.245s coverage: 5.5% of statements [2023-03-14T06:29:26.692Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T06:29:26.692Z] GO111MODULE=on go vet ./... [2023-03-14T06:31:48.672Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T06:31:48.672Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T06:31:48.672Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T06:31:48.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T06:31:48.749Z] $ docker stop --time=1 b655adfb9d3d68ef1efbe332c55194b28e9e259b584f476cb2e1675b2d31585b [2023-03-14T06:31:52.801Z] $ docker rm -f --volumes b655adfb9d3d68ef1efbe332c55194b28e9e259b584f476cb2e1675b2d31585b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T06:31:54.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T06:31:54.472Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T06:31:54.984Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T06:31:55.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T06:31:55.916Z] + ls -al . [2023-03-14T06:31:55.916Z] total 272 [2023-03-14T06:31:55.916Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 06:25 . [2023-03-14T06:31:55.916Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 06:23 .. [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 06:23 .dockerignore [2023-03-14T06:31:55.916Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 06:23 .git [2023-03-14T06:31:55.916Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 06:23 .github [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 06:23 .gitignore [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 06:23 .golangci.yml [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 06:23 CHANGELOG.md [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 06:23 GOVERNANCE.md [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 06:23 Jenkinsfile [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 06:23 LICENSE [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 06:23 Makefile [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 06:23 OWNERS.md [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 06:23 README.md [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 06:21 VERSION [2023-03-14T06:31:55.916Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 06:23 bin [2023-03-14T06:31:55.916Z] -rw-r--r-- 1 jenkins jenkins 109538 Mar 14 06:29 coverage.out [2023-03-14T06:31:55.916Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 06:23 example [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 06:23 go.mod [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 06:23 go.sum [2023-03-14T06:31:55.916Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 06:23 internal [2023-03-14T06:31:55.916Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 06:23 openapi [2023-03-14T06:31:55.916Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 06:23 pkg [2023-03-14T06:31:55.916Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 06:23 snap [2023-03-14T06:31:55.916Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 06:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:31:56.335Z] + 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=c3c527261f00c12e33369f990b1b875843bff393 --label arch=arm64 --label version=0.0.0 . [2023-03-14T06:31:56.922Z] Sending build context to Docker daemon 5.908MB [2023-03-14T06:31:56.922Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T06:31:56.922Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T06:31:56.922Z] ---> 696cd6629849 [2023-03-14T06:31:56.922Z] Step 3/23 : ARG MAKE=make build [2023-03-14T06:31:56.922Z] ---> Running in d6688e97aa80 [2023-03-14T06:31:57.190Z] Removing intermediate container d6688e97aa80 [2023-03-14T06:31:57.190Z] ---> d510d62fb7e3 [2023-03-14T06:31:57.190Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T06:31:57.459Z] ---> Running in 38ef1bddfaae [2023-03-14T06:31:57.728Z] Removing intermediate container 38ef1bddfaae [2023-03-14T06:31:57.728Z] ---> d9bd3d88cc15 [2023-03-14T06:31:57.728Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T06:31:57.728Z] ---> Running in 4b554a64922c [2023-03-14T06:31:58.005Z] Removing intermediate container 4b554a64922c [2023-03-14T06:31:58.005Z] ---> 742cef5a80d4 [2023-03-14T06:31:58.005Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T06:31:58.005Z] ---> Running in 8d705dcdabeb [2023-03-14T06:31:58.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T06:31:59.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T06:32:00.972Z] OK: 263 MiB in 53 packages [2023-03-14T06:32:01.555Z] Removing intermediate container 8d705dcdabeb [2023-03-14T06:32:01.555Z] ---> f2c7242beecb [2023-03-14T06:32:01.555Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T06:32:02.140Z] ---> dd5de7b957fe [2023-03-14T06:32:02.140Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T06:32:02.140Z] ---> Running in 78e5046a44fd [2023-03-14T06:32:06.410Z] Removing intermediate container 78e5046a44fd [2023-03-14T06:32:06.410Z] ---> 87811163d70f [2023-03-14T06:32:06.410Z] Step 9/23 : COPY . . [2023-03-14T06:32:07.817Z] ---> 6620016dadaf [2023-03-14T06:32:07.817Z] Step 10/23 : RUN ${MAKE} [2023-03-14T06:32:07.817Z] ---> Running in 47ab1ecf6482 [2023-03-14T06:32:08.777Z] 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-14T06:34:15.462Z] Removing intermediate container 47ab1ecf6482 [2023-03-14T06:34:15.462Z] ---> f58847d09e49 [2023-03-14T06:34:15.462Z] Step 11/23 : FROM alpine:3.16 [2023-03-14T06:34:15.462Z] 3.16: Pulling from library/alpine [2023-03-14T06:34:15.462Z] 3760b48202b3: Pulling fs layer [2023-03-14T06:34:15.462Z] 3760b48202b3: Verifying Checksum [2023-03-14T06:34:17.401Z] 3760b48202b3: Pull complete [2023-03-14T06:34:17.401Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T06:34:17.401Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T06:34:17.401Z] ---> 4c81e5bf8899 [2023-03-14T06:34:17.401Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T06:34:17.401Z] ---> Running in b90b01ee637a [2023-03-14T06:34:17.669Z] Removing intermediate container b90b01ee637a [2023-03-14T06:34:17.669Z] ---> 65e5380c0c25 [2023-03-14T06:34:17.669Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T06:34:17.939Z] ---> Running in f09fd1142fee [2023-03-14T06:34:18.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T06:34:19.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-14T06:34:20.132Z] OK: 5 MiB in 14 packages [2023-03-14T06:34:21.094Z] Removing intermediate container f09fd1142fee [2023-03-14T06:34:21.094Z] ---> 5bcf9d704709 [2023-03-14T06:34:21.094Z] Step 14/23 : WORKDIR / [2023-03-14T06:34:21.094Z] ---> Running in e1b617c9f567 [2023-03-14T06:34:21.361Z] Removing intermediate container e1b617c9f567 [2023-03-14T06:34:21.361Z] ---> c5a00c85e716 [2023-03-14T06:34:21.361Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T06:34:21.629Z] ---> 5fd0c1470a77 [2023-03-14T06:34:21.629Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T06:34:23.038Z] ---> cf3ceb32e745 [2023-03-14T06:34:23.038Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T06:34:23.620Z] ---> 4a41473a3921 [2023-03-14T06:34:23.620Z] Step 18/23 : EXPOSE 59999 [2023-03-14T06:34:23.620Z] ---> Running in bedd8bbd05bf [2023-03-14T06:34:23.887Z] Removing intermediate container bedd8bbd05bf [2023-03-14T06:34:23.887Z] ---> 692df4c19704 [2023-03-14T06:34:23.887Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T06:34:23.887Z] ---> Running in 09da7596e1a8 [2023-03-14T06:34:24.471Z] Removing intermediate container 09da7596e1a8 [2023-03-14T06:34:24.471Z] ---> 5917f9a9ddc1 [2023-03-14T06:34:24.471Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T06:34:24.471Z] ---> Running in 00054a7500ca [2023-03-14T06:34:24.738Z] Removing intermediate container 00054a7500ca [2023-03-14T06:34:24.738Z] ---> 80a644cd009d [2023-03-14T06:34:24.738Z] Step 21/23 : LABEL arch=arm64 [2023-03-14T06:34:24.738Z] ---> Running in 8b6a52c46e0d [2023-03-14T06:34:25.005Z] Removing intermediate container 8b6a52c46e0d [2023-03-14T06:34:25.005Z] ---> f960595ac50d [2023-03-14T06:34:25.005Z] Step 22/23 : LABEL git_sha=c3c527261f00c12e33369f990b1b875843bff393 [2023-03-14T06:34:25.005Z] ---> Running in b4710aaea474 [2023-03-14T06:34:25.277Z] Removing intermediate container b4710aaea474 [2023-03-14T06:34:25.277Z] ---> 433030f4f6b7 [2023-03-14T06:34:25.277Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T06:34:25.549Z] ---> Running in 27736d41a21d [2023-03-14T06:34:25.817Z] Removing intermediate container 27736d41a21d [2023-03-14T06:34:25.817Z] ---> f546e441746f [2023-03-14T06:34:25.817Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T06:34:25.817Z] Successfully built f546e441746f [2023-03-14T06:34:25.817Z] 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-14T06:34:26.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T06:34:26.645Z] [2023-03-14T06:34:26.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:34:27.042Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T06:34:27.042Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T06:34:27.042Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T06:34:27.042Z] 04944245beec: Pulling fs layer [2023-03-14T06:34:27.042Z] 699f458cf7ca: Pulling fs layer [2023-03-14T06:34:27.042Z] 765212b225bb: Pulling fs layer [2023-03-14T06:34:27.042Z] f23df028b6ca: Pulling fs layer [2023-03-14T06:34:27.042Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T06:34:27.042Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T06:34:27.042Z] f23df028b6ca: Waiting [2023-03-14T06:34:27.042Z] 765212b225bb: Waiting [2023-03-14T06:34:27.042Z] d65c8cfc05b1: Waiting [2023-03-14T06:34:27.042Z] 2437ff75d9bd: Waiting [2023-03-14T06:34:27.310Z] 04944245beec: Verifying Checksum [2023-03-14T06:34:27.310Z] 04944245beec: Download complete [2023-03-14T06:34:27.310Z] 765212b225bb: Download complete [2023-03-14T06:34:27.310Z] f23df028b6ca: Verifying Checksum [2023-03-14T06:34:27.310Z] f23df028b6ca: Download complete [2023-03-14T06:34:27.310Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T06:34:27.310Z] d65c8cfc05b1: Download complete [2023-03-14T06:34:27.579Z] 699f458cf7ca: Verifying Checksum [2023-03-14T06:34:27.579Z] 699f458cf7ca: Download complete [2023-03-14T06:34:27.846Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T06:34:27.846Z] 8998bd30e6a1: Download complete [2023-03-14T06:34:30.423Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T06:34:30.423Z] 2437ff75d9bd: Download complete [2023-03-14T06:34:31.859Z] 8998bd30e6a1: Pull complete [2023-03-14T06:34:32.445Z] 04944245beec: Pull complete [2023-03-14T06:34:33.854Z] 699f458cf7ca: Pull complete [2023-03-14T06:34:33.854Z] 765212b225bb: Pull complete [2023-03-14T06:34:34.815Z] f23df028b6ca: Pull complete [2023-03-14T06:34:34.815Z] d65c8cfc05b1: Pull complete [2023-03-14T06:34:49.809Z] 2437ff75d9bd: Pull complete [2023-03-14T06:34:49.809Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T06:34:49.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T06:34:49.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:34:50.135Z] prd-ubuntu20.04-docker-arm64-4c-16g-77 does not seem to be running inside a container [2023-03-14T06:34:50.198Z] $ 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-14T06:34:52.829Z] $ docker top 1e9647e7b2db17b5c0eadf392de7cba0500d895f8bc09e0ee2300b3b263d6d7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:34:53.433Z] ---> job-cost.sh [2023-03-14T06:34:53.698Z] lf-activate-venv: SKIPPING [2023-03-14T06:34:53.698Z] INFO: No Stack... [2023-03-14T06:34:54.277Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T06:34:54.860Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T06:34:55.202Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-14T06:34:55.202Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T06:34:55.556Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1378-1-stack-cost] [2023-03-14T06:34:55.562Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1378-1-stack-cost] did not exist. Created. [2023-03-14T06:34:55.562Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1378-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T06:34:55.979Z] /w/workspace/device-sdk-go/1@tmp/durable-ae1bd3bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T06:34:56.650Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T06:34:56.690Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T06:34:56.757Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T06:34:56.775Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1378-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T06:34:56.844Z] $ docker stop --time=1 1e9647e7b2db17b5c0eadf392de7cba0500d895f8bc09e0ee2300b3b263d6d7d [2023-03-14T06:34:58.328Z] $ docker rm -f --volumes 1e9647e7b2db17b5c0eadf392de7cba0500d895f8bc09e0ee2300b3b263d6d7d [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-14T06:34:59.464Z] provisioning config files... [2023-03-14T06:34:59.472Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp/config14326077377773927393tmp [Pipeline] { [Pipeline] sh [2023-03-14T06:34:59.807Z] + set +x [2023-03-14T06:34:59.807Z] + curl -s https://codecov.io/bash [2023-03-14T06:34:59.807Z] + bash -s -- [2023-03-14T06:34:59.807Z] [2023-03-14T06:34:59.807Z] _____ _ [2023-03-14T06:34:59.807Z] / ____| | | [2023-03-14T06:34:59.807Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T06:34:59.807Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T06:34:59.807Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T06:34:59.807Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T06:34:59.807Z] Bash-1.0.6 [2023-03-14T06:34:59.807Z] [2023-03-14T06:34:59.807Z] [2023-03-14T06:34:59.807Z] ==> git version 2.25.1 found [2023-03-14T06:34:59.807Z] ==> 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-14T06:34:59.807Z] Release-Date: 2020-01-08 [2023-03-14T06:34:59.807Z] 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-14T06:34:59.807Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T06:34:59.807Z] ==> Jenkins CI detected. [2023-03-14T06:34:59.807Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1378 [2023-03-14T06:34:59.807Z] project root: . [2023-03-14T06:34:59.807Z] --> token set from env [2023-03-14T06:34:59.807Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T06:34:59.807Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T06:34:59.807Z] ==> Python coveragepy not found [2023-03-14T06:34:59.807Z] ==> Searching for coverage reports in: [2023-03-14T06:34:59.807Z] + . [2023-03-14T06:34:59.807Z] -> Found 1 reports [2023-03-14T06:34:59.807Z] ==> Detecting git/mercurial file structure [2023-03-14T06:34:59.807Z] ==> Reading reports [2023-03-14T06:35:00.066Z] + ./coverage.out bytes=109538 [2023-03-14T06:35:00.066Z] ==> Appending adjustments [2023-03-14T06:35:00.066Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T06:35:00.325Z] + Found adjustments [2023-03-14T06:35:00.325Z] ==> Gzipping contents [2023-03-14T06:35:00.325Z] 16K /tmp/codecov.uRDjtu.gz [2023-03-14T06:35:00.325Z] ==> Uploading reports [2023-03-14T06:35:00.325Z] url: https://codecov.io [2023-03-14T06:35:00.325Z] query: branch=PR-1378&commit=c3c527261f00c12e33369f990b1b875843bff393&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1378&job=&cmd_args= [2023-03-14T06:35:00.325Z] -> Pinging Codecov [2023-03-14T06:35:00.325Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1378&commit=c3c527261f00c12e33369f990b1b875843bff393&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1378&job=&cmd_args= [2023-03-14T06:35:00.325Z] -> Uploading to [2023-03-14T06:35:00.325Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7E55EF52A471D76F132DFD9A03CDDE97/c3c527261f00c12e33369f990b1b875843bff393/6455e309-a008-426b-856d-000fc95b7208.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T063500Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f77aac150e5724d8c3ee0bb12c0a27b46db67560b04838308878a4540c113ce7 [2023-03-14T06:35:00.325Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T06:35:00.325Z] Dload Upload Total Spent Left Speed [2023-03-14T06:35:00.584Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15219 0 0 100 15219 0 58534 --:--:-- --:--:-- --:--:-- 58534 [2023-03-14T06:35:00.584Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c3c527261f00c12e33369f990b1b875843bff393 [Pipeline] } [2023-03-14T06:35:00.608Z] 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-14T06:35:02.318Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1378/archives ] [2023-03-14T06:35:02.318Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1378/archives [2023-03-14T06:35:02.318Z] total 16 [2023-03-14T06:35:02.318Z] drwxr-xr-x 3 root root 4096 Mar 14 06:23 . [2023-03-14T06:35:02.318Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 06:23 .. [2023-03-14T06:35:02.318Z] drwxr-xr-x 2 root root 4096 Mar 14 06:23 cost [2023-03-14T06:35:02.318Z] -rw-r--r-- 1 root root 86 Mar 14 06:23 cost.csv [2023-03-14T06:35:02.318Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1378/archives [2023-03-14T06:35:02.318Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1378/archives [2023-03-14T06:35:02.318Z] total 16 [2023-03-14T06:35:02.318Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 06:23 . [2023-03-14T06:35:02.318Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 06:23 .. [2023-03-14T06:35:02.318Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 06:23 cost [2023-03-14T06:35:02.318Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 14 06:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:35:02.647Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:35:03.530Z] ---> package-listing.sh [2023-03-14T06:35:03.530Z] ++ facter osfamily [2023-03-14T06:35:03.530Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T06:35:03.789Z] + OS_FAMILY=debian [2023-03-14T06:35:03.789Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1378 [2023-03-14T06:35:03.789Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T06:35:03.789Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T06:35:03.789Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T06:35:03.789Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T06:35:03.789Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1378 ']' [2023-03-14T06:35:03.789Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T06:35:03.789Z] + case "${OS_FAMILY}" in [2023-03-14T06:35:03.789Z] + dpkg -l [2023-03-14T06:35:03.789Z] + grep '^ii' [2023-03-14T06:35:03.789Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T06:35:03.789Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T06:35:03.789Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T06:35:03.789Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1378 ']' [2023-03-14T06:35:03.789Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1378/archives/ [2023-03-14T06:35:03.789Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1378/archives/ [Pipeline] echo [2023-03-14T06:35:03.820Z] 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-1378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T06:35:04.113Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T06:35:04.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T06:35:04.737Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T06:35:04.887Z] prd-ubuntu20.04-docker-8c-8g-76 does not seem to be running inside a container [2023-03-14T06:35:04.909Z] $ 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-1378/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-1378 -v /w/workspace/gexfoundry_device-sdk-go_PR-1378:/w/workspace/gexfoundry_device-sdk-go_PR-1378:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1378@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-14T06:35:05.121Z] $ docker top 76b60bd72cc6186cc89170d87a04c85b7fb0517014380434bdfcc54417f8956f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T06:35:05.512Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T06:35:05.827Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T06:35:06.135Z] + ls /var/log/sa-host [2023-03-14T06:35:06.135Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T06:35:06.267Z] provisioning config files... [2023-03-14T06:35:06.276Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1378@tmp/config1457551725901265426tmp [Pipeline] { [Pipeline] echo [2023-03-14T06:35:06.324Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:35:06.639Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T06:35:06.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:35:07.074Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T06:35:07.109Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:35:07.421Z] ---> sudo-logs.sh [2023-03-14T06:35:07.421Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T06:35:07.580Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:35:07.890Z] ---> job-cost.sh [2023-03-14T06:35:07.890Z] lf-activate-venv: SKIPPING [2023-03-14T06:35:07.890Z] DEBUG: total: 0.2199999988079071 [2023-03-14T06:35:07.890Z] INFO: Retrieving Stack Cost... [2023-03-14T06:35:08.464Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T06:35:08.723Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T06:35:08.757Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T06:35:09.068Z] ---> logs-deploy.sh [2023-03-14T06:35:09.068Z] lf-activate-venv: SKIPPING [2023-03-14T06:35:09.068Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1378/1 [2023-03-14T06:35:09.068Z] INFO: archiving workspace using pattern(s): [2023-03-14T06:35:10.010Z] Archives upload complete. [2023-03-14T06:35:10.269Z] INFO: archiving logs to Nexus [2023-03-14T06:35:10.839Z] ---> uname -a: [2023-03-14T06:35:10.839Z] Linux prd-ubuntu20-04-docker-8c-8g-76 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-14T06:35:10.839Z] [2023-03-14T06:35:10.839Z] [2023-03-14T06:35:10.839Z] ---> lscpu: [2023-03-14T06:35:10.839Z] Architecture: x86_64 [2023-03-14T06:35:10.839Z] CPU op-mode(s): 32-bit, 64-bit [2023-03-14T06:35:10.839Z] Byte Order: Little Endian [2023-03-14T06:35:10.839Z] Address sizes: 40 bits physical, 48 bits virtual [2023-03-14T06:35:10.839Z] CPU(s): 8 [2023-03-14T06:35:10.839Z] On-line CPU(s) list: 0-7 [2023-03-14T06:35:10.839Z] Thread(s) per core: 1 [2023-03-14T06:35:10.839Z] Core(s) per socket: 1 [2023-03-14T06:35:10.839Z] Socket(s): 8 [2023-03-14T06:35:10.839Z] NUMA node(s): 1 [2023-03-14T06:35:10.839Z] Vendor ID: AuthenticAMD [2023-03-14T06:35:10.839Z] CPU family: 23 [2023-03-14T06:35:10.839Z] Model: 49 [2023-03-14T06:35:10.839Z] Model name: AMD EPYC-Rome Processor [2023-03-14T06:35:10.839Z] Stepping: 0 [2023-03-14T06:35:10.839Z] CPU MHz: 2800.000 [2023-03-14T06:35:10.839Z] BogoMIPS: 5600.00 [2023-03-14T06:35:10.839Z] Virtualization: AMD-V [2023-03-14T06:35:10.839Z] Hypervisor vendor: KVM [2023-03-14T06:35:10.839Z] Virtualization type: full [2023-03-14T06:35:10.839Z] L1d cache: 256 KiB [2023-03-14T06:35:10.839Z] L1i cache: 256 KiB [2023-03-14T06:35:10.839Z] L2 cache: 4 MiB [2023-03-14T06:35:10.839Z] L3 cache: 128 MiB [2023-03-14T06:35:10.839Z] NUMA node0 CPU(s): 0-7 [2023-03-14T06:35:10.839Z] Vulnerability Itlb multihit: Not affected [2023-03-14T06:35:10.839Z] Vulnerability L1tf: Not affected [2023-03-14T06:35:10.839Z] Vulnerability Mds: Not affected [2023-03-14T06:35:10.839Z] Vulnerability Meltdown: Not affected [2023-03-14T06:35:10.839Z] Vulnerability Mmio stale data: Not affected [2023-03-14T06:35:10.839Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-03-14T06:35:10.839Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-03-14T06:35:10.839Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-03-14T06:35:10.839Z] Vulnerability Srbds: Not affected [2023-03-14T06:35:10.839Z] Vulnerability Tsx async abort: Not affected [2023-03-14T06:35:10.839Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-03-14T06:35:10.839Z] [2023-03-14T06:35:10.839Z] [2023-03-14T06:35:10.839Z] ---> nproc: [2023-03-14T06:35:10.839Z] 8 [2023-03-14T06:35:10.839Z] [2023-03-14T06:35:10.839Z]