Pull request #1421 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 453fffe39844267b7c3d359e90be35c08d562c07+7cdbeb80806488cc72d5f0c105d21f7b91ebdafb (a8540d919ea328c5f49c13d8f2f7713ac9cdc761) 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-ssh16442041695949837850.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-ssh16792044820788101216.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-1421/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-1421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15633362376276982842.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-1421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1667688461064288403.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-ssh16502249013186663133.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-1421/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-1421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6879544527295978207.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7547 in /w/workspace/gexfoundry_device-sdk-go_PR-1421 [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-1421 # 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/1421/head:refs/remotes/origin/PR-1421 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb into PR head commit 453fffe39844267b7c3d359e90be35c08d562c07 Merge succeeded, producing 453fffe39844267b7c3d359e90be35c08d562c07 Checking out Revision 453fffe39844267b7c3d359e90be35c08d562c07 (PR-1421) > git config core.sparsecheckout # timeout=10 > git checkout -f 453fffe39844267b7c3d359e90be35c08d562c07 # 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 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 453fffe39844267b7c3d359e90be35c08d562c07 # timeout=10 Commit message: "feat!: add `Start` method to the ProtocolDriver interface" 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-04-12T09:37:45.109Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-12T09:37:45.295Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-12T09:37:45.465Z] ========================================================= [2023-04-12T09:37:45.465Z] EdgeX Global Pipelines Version Info [2023-04-12T09:37:45.465Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:37:46.242Z] ------------------- [2023-04-12T09:37:46.242Z] stable info: [2023-04-12T09:37:46.242Z] ------------------- [2023-04-12T09:37:46.242Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-12T09:37:46.242Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-12T09:37:46.242Z] Message: update stable to v1.0.245 [2023-04-12T09:37:46.814Z] ------------------- [2023-04-12T09:37:46.814Z] experimental info: [2023-04-12T09:37:46.814Z] ------------------- [2023-04-12T09:37:46.814Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-12T09:37:46.814Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-12T09:37:46.814Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-12T09:37:47.118Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-12T09:37:47.157Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-12T09:37:47.195Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-12T09:37:47.234Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-12T09:37:47.275Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-12T09:37:47.315Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-12T09:37:47.354Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-12T09:37:47.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-12T09:37:47.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-12T09:37:47.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-12T09:37:47.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-12T09:37:47.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-12T09:37:47.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-12T09:37:47.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-12T09:37:47.692Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T09:37:47.732Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T09:37:47.770Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T09:37:47.810Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T09:37:47.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-12T09:37:47.898Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-12T09:37:47.935Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-12T09:37:47.975Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-12T09:37:48.017Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-12T09:37:48.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-12T09:37:48.101Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-12T09:37:48.142Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-12T09:37:48.184Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-12T09:37:48.223Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1421 [Pipeline] echo [2023-04-12T09:37:48.260Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1421 [Pipeline] echo [2023-04-12T09:37:48.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1421 [Pipeline] echo [2023-04-12T09:37:48.341Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 453fffe39844267b7c3d359e90be35c08d562c07 [Pipeline] echo [2023-04-12T09:37:48.381Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 453fffe [Pipeline] echo [2023-04-12T09:37:48.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T09:37:48.531Z] provisioning config files... [2023-04-12T09:37:48.546Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp/config9958691916441851086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:37:48.878Z] ---> docker-login.sh [2023-04-12T09:37:48.878Z] nexus3.edgexfoundry.org:10001 [2023-04-12T09:37:49.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:37:49.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:37:49.138Z] Configure a credential helper to remove this warning. See [2023-04-12T09:37:49.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:37:49.138Z] [2023-04-12T09:37:49.138Z] Login Succeeded [2023-04-12T09:37:49.138Z] nexus3.edgexfoundry.org:10002 [2023-04-12T09:37:49.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:37:49.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:37:49.397Z] Configure a credential helper to remove this warning. See [2023-04-12T09:37:49.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:37:49.397Z] [2023-04-12T09:37:49.397Z] Login Succeeded [2023-04-12T09:37:49.397Z] nexus3.edgexfoundry.org:10003 [2023-04-12T09:37:49.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:37:49.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:37:49.397Z] Configure a credential helper to remove this warning. See [2023-04-12T09:37:49.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:37:49.397Z] [2023-04-12T09:37:49.397Z] Login Succeeded [2023-04-12T09:37:49.397Z] nexus3.edgexfoundry.org:10004 [2023-04-12T09:37:49.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:37:49.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:37:49.657Z] Configure a credential helper to remove this warning. See [2023-04-12T09:37:49.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:37:49.657Z] [2023-04-12T09:37:49.657Z] Login Succeeded [2023-04-12T09:37:49.657Z] docker.io [2023-04-12T09:37:49.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:37:49.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:37:49.916Z] Configure a credential helper to remove this warning. See [2023-04-12T09:37:49.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:37:49.916Z] [2023-04-12T09:37:49.916Z] Login Succeeded [2023-04-12T09:37:49.916Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T09:37:49.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-12T09:37:50.568Z] + git rev-list -1 --merges 453fffe39844267b7c3d359e90be35c08d562c07~1..453fffe39844267b7c3d359e90be35c08d562c07 [Pipeline] echo [2023-04-12T09:37:50.629Z] -----------> git rev-list -1 --merges 453fffe39844267b7c3d359e90be35c08d562c07~1..453fffe39844267b7c3d359e90be35c08d562c07 453fffe39844267b7c3d359e90be35c08d562c07 [false] [Pipeline] sh [2023-04-12T09:37:50.936Z] + git log --format=format:%s -1 453fffe39844267b7c3d359e90be35c08d562c07 [Pipeline] echo [2023-04-12T09:37:50.968Z] ========================================================= [2023-04-12T09:37:50.968Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-12T09:37:50.968Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T09:37:51.417Z] + git log --format=format:%s -1 453fffe39844267b7c3d359e90be35c08d562c07 [Pipeline] echo [2023-04-12T09:37:51.451Z] [semverPrep] GIT_COMMIT: 453fffe39844267b7c3d359e90be35c08d562c07, Commit Message: feat!: add `Start` method to the ProtocolDriver interface [Pipeline] echo [2023-04-12T09:37:51.485Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-12T09:37:51.872Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-12T09:37:51.872Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-12T09:37:51.872Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-12T09:37:51.872Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-12T09:37:51.872Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-12T09:37:51.872Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-12T09:37:51.872Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:37:52.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T09:37:52.360Z] [2023-04-12T09:37:52.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:37:52.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T09:37:52.743Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-12T09:37:52.743Z] b85a868b505f: Pulling fs layer [2023-04-12T09:37:52.743Z] e2be974225ed: Pulling fs layer [2023-04-12T09:37:52.743Z] 339a4e72a1f5: Pulling fs layer [2023-04-12T09:37:52.743Z] 988bab9f4d93: Pulling fs layer [2023-04-12T09:37:52.743Z] 1469e6f7b9e6: Pulling fs layer [2023-04-12T09:37:52.743Z] eaf3925da568: Pulling fs layer [2023-04-12T09:37:52.743Z] bab4dde63d76: Pulling fs layer [2023-04-12T09:37:52.743Z] bde34c3a00c8: Pulling fs layer [2023-04-12T09:37:52.743Z] b352a97aabf1: Pulling fs layer [2023-04-12T09:37:52.743Z] 4872d77fe225: Pulling fs layer [2023-04-12T09:37:52.743Z] 5851b861e8e6: Pulling fs layer [2023-04-12T09:37:52.743Z] 988bab9f4d93: Waiting [2023-04-12T09:37:52.743Z] b352a97aabf1: Waiting [2023-04-12T09:37:52.743Z] 4872d77fe225: Waiting [2023-04-12T09:37:52.743Z] 5851b861e8e6: Waiting [2023-04-12T09:37:52.743Z] eaf3925da568: Waiting [2023-04-12T09:37:52.743Z] bde34c3a00c8: Waiting [2023-04-12T09:37:52.743Z] bab4dde63d76: Waiting [2023-04-12T09:37:52.743Z] e2be974225ed: Verifying Checksum [2023-04-12T09:37:52.743Z] e2be974225ed: Download complete [2023-04-12T09:37:52.743Z] 988bab9f4d93: Download complete [2023-04-12T09:37:52.743Z] 339a4e72a1f5: Verifying Checksum [2023-04-12T09:37:52.743Z] 339a4e72a1f5: Download complete [2023-04-12T09:37:53.005Z] eaf3925da568: Download complete [2023-04-12T09:37:53.005Z] 1469e6f7b9e6: Verifying Checksum [2023-04-12T09:37:53.005Z] 1469e6f7b9e6: Download complete [2023-04-12T09:37:53.005Z] bde34c3a00c8: Verifying Checksum [2023-04-12T09:37:53.005Z] bde34c3a00c8: Download complete [2023-04-12T09:37:53.005Z] b352a97aabf1: Verifying Checksum [2023-04-12T09:37:53.005Z] b352a97aabf1: Download complete [2023-04-12T09:37:53.005Z] 4872d77fe225: Verifying Checksum [2023-04-12T09:37:53.005Z] 4872d77fe225: Download complete [2023-04-12T09:37:53.005Z] 5851b861e8e6: Download complete [2023-04-12T09:37:53.005Z] b85a868b505f: Verifying Checksum [2023-04-12T09:37:53.005Z] b85a868b505f: Download complete [2023-04-12T09:37:53.263Z] bab4dde63d76: Verifying Checksum [2023-04-12T09:37:53.263Z] bab4dde63d76: Download complete [2023-04-12T09:37:54.200Z] b85a868b505f: Pull complete [2023-04-12T09:37:54.200Z] e2be974225ed: Pull complete [2023-04-12T09:37:54.766Z] 339a4e72a1f5: Pull complete [2023-04-12T09:37:54.766Z] 988bab9f4d93: Pull complete [2023-04-12T09:37:55.028Z] 1469e6f7b9e6: Pull complete [2023-04-12T09:37:55.028Z] eaf3925da568: Pull complete [2023-04-12T09:37:56.944Z] bab4dde63d76: Pull complete [2023-04-12T09:37:56.944Z] bde34c3a00c8: Pull complete [2023-04-12T09:37:56.944Z] b352a97aabf1: Pull complete [2023-04-12T09:37:56.944Z] 4872d77fe225: Pull complete [2023-04-12T09:37:56.944Z] 5851b861e8e6: Pull complete [2023-04-12T09:37:56.944Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-12T09:37:56.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T09:37:56.944Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T09:37:57.183Z] prd-ubuntu20.04-docker-8c-8g-7547 does not seem to be running inside a container [2023-04-12T09:37:57.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1421 -v /w/workspace/gexfoundry_device-sdk-go_PR-1421:/w/workspace/gexfoundry_device-sdk-go_PR-1421:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1421@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-04-12T09:37:59.664Z] $ docker top 142fad89f696d04b619f78ab1d4673a03723573bd77419f1c4cfd5f54fc92989 -eo pid,comm [2023-04-12T09:37:59.719Z] 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-04-12T09:37:59.719Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-12T09:37:59.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T09:37:59.840Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T09:37:59.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T09:37:59.951Z] $ docker exec 142fad89f696d04b619f78ab1d4673a03723573bd77419f1c4cfd5f54fc92989 ssh-agent [2023-04-12T09:38:00.074Z] SSH_AUTH_SOCK=/tmp/ssh-bFslDWBL75d9/agent.33 [2023-04-12T09:38:00.074Z] SSH_AGENT_PID=39 [2023-04-12T09:38:00.080Z] Running ssh-add (command line suppressed) [2023-04-12T09:38:00.185Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp/private_key_8957669078519639333.key (/w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp/private_key_8957669078519639333.key) [2023-04-12T09:38:00.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T09:38:00.529Z] + git tag --points-at HEAD [Pipeline] } [2023-04-12T09:38:00.553Z] $ docker exec --env ******** --env ******** 142fad89f696d04b619f78ab1d4673a03723573bd77419f1c4cfd5f54fc92989 ssh-agent -k [2023-04-12T09:38:00.650Z] unset SSH_AUTH_SOCK; [2023-04-12T09:38:00.650Z] unset SSH_AGENT_PID; [2023-04-12T09:38:00.650Z] echo Agent pid 39 killed; [2023-04-12T09:38:00.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-12T09:38:00.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T09:38:00.748Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T09:38:00.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T09:38:00.859Z] $ docker exec 142fad89f696d04b619f78ab1d4673a03723573bd77419f1c4cfd5f54fc92989 ssh-agent [2023-04-12T09:38:00.969Z] SSH_AUTH_SOCK=/tmp/ssh-4ad4Gfq4v7fD/agent.72 [2023-04-12T09:38:00.969Z] SSH_AGENT_PID=78 [2023-04-12T09:38:00.975Z] Running ssh-add (command line suppressed) [2023-04-12T09:38:01.079Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp/private_key_3725949138938741982.key (/w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp/private_key_3725949138938741982.key) [2023-04-12T09:38:01.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T09:38:01.422Z] + git semver init [2023-04-12T09:38:01.682Z] 2023-04-12 09:38:01,597 [run_init] DEBUG init version:0.0.0 force:False [2023-04-12T09:38:01.682Z] 2023-04-12 09:38:01,598 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1421/.semver [2023-04-12T09:38:01.682Z] 2023-04-12 09:38:01,599 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1421/.semver [2023-04-12T09:38:01.682Z] 2023-04-12 09:38:01,599 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1421/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1421, universal_newlines=False, shell=None, istream=None) [2023-04-12T09:38:03.062Z] 2023-04-12 09:38:02,681 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1421/.git/info/exclude [2023-04-12T09:38:03.062Z] 2023-04-12 09:38:02,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1421/.semver/PR-1421 with force:False [2023-04-12T09:38:03.062Z] 2023-04-12 09:38:02,682 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1421/.semver/PR-1421 [2023-04-12T09:38:03.062Z] 2023-04-12 09:38:02,686 [execute] INFO git cat-file --batch-check [2023-04-12T09:38:03.062Z] 2023-04-12 09:38:02,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1421/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T09:38:03.062Z] 2023-04-12 09:38:02,693 [execute] INFO git cat-file --batch [2023-04-12T09:38:03.062Z] 2023-04-12 09:38:02,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1421/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T09:38:03.062Z] 2023-04-12 09:38:02,701 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1421/.semver/PR-1421 [2023-04-12T09:38:03.062Z] 0.0.0 [Pipeline] } [2023-04-12T09:38:03.091Z] $ docker exec --env ******** --env ******** 142fad89f696d04b619f78ab1d4673a03723573bd77419f1c4cfd5f54fc92989 ssh-agent -k [2023-04-12T09:38:03.189Z] unset SSH_AUTH_SOCK; [2023-04-12T09:38:03.189Z] unset SSH_AGENT_PID; [2023-04-12T09:38:03.189Z] echo Agent pid 78 killed; [2023-04-12T09:38:03.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-12T09:38:03.631Z] + git semver [Pipeline] } [2023-04-12T09:38:03.913Z] $ docker stop --time=1 142fad89f696d04b619f78ab1d4673a03723573bd77419f1c4cfd5f54fc92989 [2023-04-12T09:38:05.297Z] $ docker rm -f --volumes 142fad89f696d04b619f78ab1d4673a03723573bd77419f1c4cfd5f54fc92989 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T09:38:05.709Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-12T09:38:05.978Z] Stashed 1 file(s) [Pipeline] echo [2023-04-12T09:38:05.994Z] [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-04-12T09:38:06.583Z] provisioning config files... [2023-04-12T09:38:06.593Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp/config14761635323681241886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:38:06.948Z] ---> docker-login.sh [2023-04-12T09:38:06.948Z] nexus3.edgexfoundry.org:10001 [2023-04-12T09:38:06.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:38:06.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:38:06.948Z] Configure a credential helper to remove this warning. See [2023-04-12T09:38:06.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:38:06.948Z] [2023-04-12T09:38:06.948Z] Login Succeeded [2023-04-12T09:38:06.948Z] nexus3.edgexfoundry.org:10002 [2023-04-12T09:38:06.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:38:06.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:38:06.948Z] Configure a credential helper to remove this warning. See [2023-04-12T09:38:06.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:38:06.948Z] [2023-04-12T09:38:06.948Z] Login Succeeded [2023-04-12T09:38:06.948Z] nexus3.edgexfoundry.org:10003 [2023-04-12T09:38:07.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:38:07.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:38:07.217Z] Configure a credential helper to remove this warning. See [2023-04-12T09:38:07.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:38:07.217Z] [2023-04-12T09:38:07.217Z] Login Succeeded [2023-04-12T09:38:07.217Z] nexus3.edgexfoundry.org:10004 [2023-04-12T09:38:07.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:38:07.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:38:07.218Z] Configure a credential helper to remove this warning. See [2023-04-12T09:38:07.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:38:07.218Z] [2023-04-12T09:38:07.218Z] Login Succeeded [2023-04-12T09:38:07.218Z] docker.io [2023-04-12T09:38:07.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:38:07.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:38:07.476Z] Configure a credential helper to remove this warning. See [2023-04-12T09:38:07.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:38:07.476Z] [2023-04-12T09:38:07.476Z] Login Succeeded [2023-04-12T09:38:07.476Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T09:38:07.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T09:38:07.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T09:38:07.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T09:38:07.781Z] ========================================================= [2023-04-12T09:38:07.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-12T09:38:07.781Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:38:08.236Z] + 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-04-12T09:38:08.237Z] Sending build context to Docker daemon 10.96MB [2023-04-12T09:38:08.237Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T09:38:08.237Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-12T09:38:08.237Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-12T09:38:08.237Z] 63b65145d645: Pulling fs layer [2023-04-12T09:38:08.237Z] a2d21d5440eb: Pulling fs layer [2023-04-12T09:38:08.237Z] 935e6c44a52c: Pulling fs layer [2023-04-12T09:38:08.237Z] 94cc34f8dd06: Pulling fs layer [2023-04-12T09:38:08.237Z] 30dea6a524f1: Pulling fs layer [2023-04-12T09:38:08.237Z] a2aff8979fd8: Pulling fs layer [2023-04-12T09:38:08.237Z] 30dea6a524f1: Waiting [2023-04-12T09:38:08.237Z] 94cc34f8dd06: Waiting [2023-04-12T09:38:08.237Z] 6808be2612f2: Pulling fs layer [2023-04-12T09:38:08.237Z] f25807f1079a: Pulling fs layer [2023-04-12T09:38:08.237Z] a2aff8979fd8: Waiting [2023-04-12T09:38:08.237Z] f25807f1079a: Waiting [2023-04-12T09:38:08.237Z] 6808be2612f2: Waiting [2023-04-12T09:38:08.499Z] a2d21d5440eb: Verifying Checksum [2023-04-12T09:38:08.499Z] a2d21d5440eb: Download complete [2023-04-12T09:38:08.499Z] 94cc34f8dd06: Verifying Checksum [2023-04-12T09:38:08.499Z] 94cc34f8dd06: Download complete [2023-04-12T09:38:08.499Z] 30dea6a524f1: Download complete [2023-04-12T09:38:08.499Z] 63b65145d645: Verifying Checksum [2023-04-12T09:38:08.499Z] 63b65145d645: Download complete [2023-04-12T09:38:08.499Z] a2aff8979fd8: Verifying Checksum [2023-04-12T09:38:08.499Z] a2aff8979fd8: Download complete [2023-04-12T09:38:08.499Z] 63b65145d645: Pull complete [2023-04-12T09:38:08.758Z] a2d21d5440eb: Pull complete [2023-04-12T09:38:08.758Z] f25807f1079a: Verifying Checksum [2023-04-12T09:38:08.758Z] f25807f1079a: Download complete [2023-04-12T09:38:09.018Z] 935e6c44a52c: Verifying Checksum [2023-04-12T09:38:09.018Z] 935e6c44a52c: Download complete [2023-04-12T09:38:09.276Z] 6808be2612f2: Verifying Checksum [2023-04-12T09:38:09.276Z] 6808be2612f2: Download complete [2023-04-12T09:38:12.571Z] 935e6c44a52c: Pull complete [2023-04-12T09:38:12.571Z] 94cc34f8dd06: Pull complete [2023-04-12T09:38:12.829Z] 30dea6a524f1: Pull complete [2023-04-12T09:38:12.829Z] a2aff8979fd8: Pull complete [2023-04-12T09:38:15.362Z] 6808be2612f2: Pull complete [2023-04-12T09:38:16.296Z] f25807f1079a: Pull complete [2023-04-12T09:38:16.296Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-12T09:38:16.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-12T09:38:16.296Z] ---> 3b553350e43f [2023-04-12T09:38:16.296Z] Step 3/10 : ARG MAKE=make build [2023-04-12T09:38:21.403Z] Still waiting to schedule task [2023-04-12T09:38:21.404Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-12T09:38:22.871Z] ---> Running in cc7852842543 [2023-04-12T09:38:22.871Z] Removing intermediate container cc7852842543 [2023-04-12T09:38:22.871Z] ---> 299a725e482b [2023-04-12T09:38:22.871Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-12T09:38:22.871Z] ---> Running in 451a6350eac3 [2023-04-12T09:38:23.140Z] Removing intermediate container 451a6350eac3 [2023-04-12T09:38:23.140Z] ---> e064e06b618b [2023-04-12T09:38:23.140Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-12T09:38:23.140Z] ---> Running in 6b1b02ae2c91 [2023-04-12T09:38:23.402Z] Removing intermediate container 6b1b02ae2c91 [2023-04-12T09:38:23.402Z] ---> 99c46dfbe159 [2023-04-12T09:38:23.402Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-12T09:38:23.402Z] ---> Running in 67d2e64351e7 [2023-04-12T09:38:23.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T09:38:23.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T09:38:23.920Z] OK: 265 MiB in 53 packages [2023-04-12T09:38:24.487Z] Removing intermediate container 67d2e64351e7 [2023-04-12T09:38:24.487Z] ---> a4d053c7ce13 [2023-04-12T09:38:24.487Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-12T09:38:24.487Z] ---> cfcf46502a5d [2023-04-12T09:38:24.487Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T09:38:24.487Z] ---> Running in be0287b0a3e0 [2023-04-12T09:39:25.243Z] Removing intermediate container be0287b0a3e0 [2023-04-12T09:39:25.243Z] ---> 468e72ef15f1 [2023-04-12T09:39:25.243Z] Step 9/10 : COPY . . [2023-04-12T09:39:25.243Z] ---> 356ed14b4243 [2023-04-12T09:39:25.243Z] Step 10/10 : RUN ${MAKE} [2023-04-12T09:39:25.243Z] ---> Running in fba031a523b5 [2023-04-12T09:39:25.243Z] noop [2023-04-12T09:39:25.243Z] Removing intermediate container fba031a523b5 [2023-04-12T09:39:25.243Z] ---> 2eff0d91fc73 [2023-04-12T09:39:25.243Z] Successfully built 2eff0d91fc73 [2023-04-12T09:39:25.243Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:39:25.689Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T09:39:25.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T09:39:25.837Z] prd-ubuntu20.04-docker-8c-8g-7547 does not seem to be running inside a container [2023-04-12T09:39:25.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1421 -v /w/workspace/gexfoundry_device-sdk-go_PR-1421:/w/workspace/gexfoundry_device-sdk-go_PR-1421:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1421@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-04-12T09:39:26.298Z] $ docker top 16bce0fed6a311870b4e60c79d1cd6c42d95414ac653647b5d2216a731894d8b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T09:39:26.690Z] + go version [2023-04-12T09:39:26.690Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-12T09:39:26.722Z] $ docker stop --time=1 16bce0fed6a311870b4e60c79d1cd6c42d95414ac653647b5d2216a731894d8b [2023-04-12T09:39:27.982Z] $ docker rm -f --volumes 16bce0fed6a311870b4e60c79d1cd6c42d95414ac653647b5d2216a731894d8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:39:28.692Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T09:39:28.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T09:39:28.857Z] prd-ubuntu20.04-docker-8c-8g-7547 does not seem to be running inside a container [2023-04-12T09:39:28.888Z] $ 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-1421 -v /w/workspace/gexfoundry_device-sdk-go_PR-1421:/w/workspace/gexfoundry_device-sdk-go_PR-1421:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1421@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-04-12T09:39:30.473Z] $ docker top f687828401d92b8bfc7ca1f06f80a4b125ddb3e6e27225bcd6d96af8328b7557 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T09:39:30.868Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1421 [Pipeline] fileExists [Pipeline] sh [2023-04-12T09:39:31.233Z] + make test [2023-04-12T09:39:31.233Z] go test -race -coverprofile=coverage.out ./... [2023-04-12T09:39:39.351Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-12T09:39:54.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-12T09:39:54.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-12T09:39:54.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-12T09:39:54.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-12T09:39:54.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-12T09:39:54.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.052s coverage: 27.6% of statements [2023-04-12T09:39:54.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-12T09:39:54.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-12T09:39:54.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 79.9% of statements [2023-04-12T09:39:54.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.092s coverage: 86.0% of statements [2023-04-12T09:39:54.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-12T09:39:54.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.113s coverage: 77.5% of statements [2023-04-12T09:39:54.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-12T09:39:54.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-12T09:39:54.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-12T09:39:55.738Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-12T09:39:58.269Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.076s coverage: 14.6% of statements [2023-04-12T09:39:58.269Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.077s coverage: 68.5% of statements [2023-04-12T09:39:58.269Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements [2023-04-12T09:39:58.269Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-04-12T09:40:02.658Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7548 in /w/workspace/gexfoundry_device-sdk-go_PR-1421 [Pipeline] { [Pipeline] ws [2023-04-12T09:40:02.722Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-12T09:40:02.796Z] The recommended git tool is: git [2023-04-12T09:40:08.722Z] using credential edgex-jenkins-ssh [2023-04-12T09:40:08.740Z] Cloning the remote Git repository [2023-04-12T09:40:08.784Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-12T09:40:08.871Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-12T09:40:09.017Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-12T09:40:09.018Z] > git --version # timeout=10 [2023-04-12T09:40:09.039Z] > git --version # 'git version 2.25.1' [2023-04-12T09:40:09.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T09:40:09.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T09:40:10.757Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-12T09:40:10.782Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T09:40:12.377Z] Merging remotes/origin/main commit 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb into PR head commit 453fffe39844267b7c3d359e90be35c08d562c07 [2023-04-12T09:40:12.686Z] Merge succeeded, producing 453fffe39844267b7c3d359e90be35c08d562c07 [2023-04-12T09:40:12.687Z] Checking out Revision 453fffe39844267b7c3d359e90be35c08d562c07 (PR-1421) [2023-04-12T09:40:11.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-12T09:40:11.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-12T09:40:11.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T09:40:11.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1421/head:refs/remotes/origin/PR-1421 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-12T09:40:12.397Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T09:40:12.475Z] > git checkout -f 453fffe39844267b7c3d359e90be35c08d562c07 # timeout=10 [2023-04-12T09:40:12.575Z] > git remote # timeout=10 [2023-04-12T09:40:12.597Z] > git config --get remote.origin.url # timeout=10 [2023-04-12T09:40:12.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T09:40:12.640Z] > git merge 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb # timeout=10 [2023-04-12T09:40:12.667Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-12T09:40:12.695Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T09:40:12.714Z] > git checkout -f 453fffe39844267b7c3d359e90be35c08d562c07 # timeout=10 [2023-04-12T09:40:16.228Z] Commit message: "feat!: add `Start` method to the ProtocolDriver interface" [2023-04-12T09:40:16.289Z] > git --version # timeout=10 [2023-04-12T09:40:16.301Z] > git --version # 'git version 2.25.1' [2023-04-12T09:40:16.315Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T09:40:17.596Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-12T09:40:17.596Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T09:40:17.597Z] Dload Upload Total Spent Left Speed [2023-04-12T09:40:17.597Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-04-12T09:40:18.391Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-12T09:40:18.739Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-12T09:40:18.739Z] + sudo tee /etc/docker/daemon.new [2023-04-12T09:40:18.739Z] { [2023-04-12T09:40:18.739Z] "registry-mirrors": [ [2023-04-12T09:40:18.739Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-12T09:40:18.739Z] ], [2023-04-12T09:40:18.739Z] "bip": "10.250.0.254/24", [2023-04-12T09:40:18.739Z] "hosts": [ [2023-04-12T09:40:18.739Z] "tcp://0.0.0.0:5555", [2023-04-12T09:40:18.739Z] "unix:///var/run/docker.sock" [2023-04-12T09:40:18.739Z] ], [2023-04-12T09:40:18.739Z] "mtu": 1458, [2023-04-12T09:40:18.739Z] "selinux-enabled": true, [2023-04-12T09:40:18.739Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-12T09:40:18.739Z] } [Pipeline] sh [2023-04-12T09:40:19.080Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-12T09:40:19.428Z] + sudo service docker restart [2023-04-12T09:40:24.848Z] GO111MODULE=on go vet ./... [2023-04-12T09:40:24.848Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-12T09:40:24.848Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-12T09:40:24.848Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-12T09:40:24.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-12T09:40:24.920Z] $ docker stop --time=1 f687828401d92b8bfc7ca1f06f80a4b125ddb3e6e27225bcd6d96af8328b7557 [2023-04-12T09:40:28.618Z] $ docker rm -f --volumes f687828401d92b8bfc7ca1f06f80a4b125ddb3e6e27225bcd6d96af8328b7557 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T09:40:29.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-12T09:40:29.335Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-12T09:40:30.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-12T09:40:30.379Z] + ls -al . [2023-04-12T09:40:30.379Z] total 272 [2023-04-12T09:40:30.379Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 09:39 . [2023-04-12T09:40:30.379Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 09:37 .. [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 09:37 .dockerignore [2023-04-12T09:40:30.380Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 09:38 .git [2023-04-12T09:40:30.380Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 09:37 .github [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 09:37 .gitignore [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 09:37 .golangci.yml [2023-04-12T09:40:30.380Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 09:38 .semver [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 12 09:37 CHANGELOG.md [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 09:37 GOVERNANCE.md [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 12 09:37 Jenkinsfile [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 09:37 LICENSE [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 12 09:37 Makefile [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 09:37 OWNERS.md [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 12 09:37 README.md [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 09:38 VERSION [2023-04-12T09:40:30.380Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 09:37 bin [2023-04-12T09:40:30.380Z] -rw-r--r-- 1 jenkins jenkins 105948 Apr 12 09:39 coverage.out [2023-04-12T09:40:30.380Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 09:37 example [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 12 09:37 go.mod [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 12 09:37 go.sum [2023-04-12T09:40:30.380Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 09:37 internal [2023-04-12T09:40:30.380Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 09:37 openapi [2023-04-12T09:40:30.380Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 12 09:37 pkg [2023-04-12T09:40:30.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 09:37 snap [2023-04-12T09:40:30.380Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 09:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:40:30.763Z] + 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=453fffe39844267b7c3d359e90be35c08d562c07 --label arch=amd64 --label version=0.0.0 . [2023-04-12T09:40:30.764Z] Sending build context to Docker daemon 11.07MB [2023-04-12T09:40:30.764Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T09:40:30.764Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-12T09:40:30.764Z] ---> 2eff0d91fc73 [2023-04-12T09:40:30.764Z] Step 3/23 : ARG MAKE=make build [2023-04-12T09:40:31.022Z] ---> Running in 5d6cc2b29b0c [2023-04-12T09:40:31.281Z] Removing intermediate container 5d6cc2b29b0c [2023-04-12T09:40:31.281Z] ---> 95abe3d028c7 [2023-04-12T09:40:31.281Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-12T09:40:31.281Z] ---> Running in 40fb2a542d19 [2023-04-12T09:40:31.281Z] Removing intermediate container 40fb2a542d19 [2023-04-12T09:40:31.281Z] ---> 147e692244d2 [2023-04-12T09:40:31.281Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-12T09:40:31.281Z] ---> Running in b246fe054c72 [2023-04-12T09:40:31.281Z] Removing intermediate container b246fe054c72 [2023-04-12T09:40:31.281Z] ---> d172f143d755 [2023-04-12T09:40:31.281Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-12T09:40:31.281Z] ---> Running in 4324ef9b9dc9 [2023-04-12T09:40:31.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T09:40:31.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T09:40:32.120Z] OK: 265 MiB in 53 packages [2023-04-12T09:40:32.379Z] Removing intermediate container 4324ef9b9dc9 [2023-04-12T09:40:32.379Z] ---> 672e767df48e [2023-04-12T09:40:32.379Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-12T09:40:32.379Z] ---> 1747c3fddd72 [2023-04-12T09:40:32.379Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T09:40:32.379Z] ---> Running in 53366b1bbee7 [2023-04-12T09:40:33.311Z] Removing intermediate container 53366b1bbee7 [2023-04-12T09:40:33.311Z] ---> fb70edd4d758 [2023-04-12T09:40:33.311Z] Step 9/23 : COPY . . [2023-04-12T09:40:33.991Z] ---> cc63cacc28dc [2023-04-12T09:40:33.991Z] Step 10/23 : RUN ${MAKE} [2023-04-12T09:40:33.991Z] ---> Running in 76f0987cc8ce [2023-04-12T09:40:34.249Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T09:40:37.766Z] provisioning config files... [2023-04-12T09:40:37.795Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16257175164372768704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:40:38.196Z] ---> docker-login.sh [2023-04-12T09:40:38.196Z] nexus3.edgexfoundry.org:10001 [2023-04-12T09:40:38.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:40:38.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:40:38.738Z] Configure a credential helper to remove this warning. See [2023-04-12T09:40:38.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:40:38.738Z] [2023-04-12T09:40:38.738Z] Login Succeeded [2023-04-12T09:40:38.738Z] nexus3.edgexfoundry.org:10002 [2023-04-12T09:40:39.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:40:39.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:40:39.275Z] Configure a credential helper to remove this warning. See [2023-04-12T09:40:39.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:40:39.275Z] [2023-04-12T09:40:39.275Z] Login Succeeded [2023-04-12T09:40:39.275Z] nexus3.edgexfoundry.org:10003 [2023-04-12T09:40:39.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:40:39.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:40:39.543Z] Configure a credential helper to remove this warning. See [2023-04-12T09:40:39.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:40:39.543Z] [2023-04-12T09:40:39.543Z] Login Succeeded [2023-04-12T09:40:39.543Z] nexus3.edgexfoundry.org:10004 [2023-04-12T09:40:39.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:40:39.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:40:39.826Z] Configure a credential helper to remove this warning. See [2023-04-12T09:40:39.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:40:39.826Z] [2023-04-12T09:40:39.826Z] Login Succeeded [2023-04-12T09:40:39.826Z] docker.io [2023-04-12T09:40:40.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T09:40:40.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T09:40:40.365Z] Configure a credential helper to remove this warning. See [2023-04-12T09:40:40.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T09:40:40.365Z] [2023-04-12T09:40:40.365Z] Login Succeeded [2023-04-12T09:40:40.365Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T09:40:40.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T09:40:40.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T09:40:40.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T09:40:40.851Z] ========================================================= [2023-04-12T09:40:40.851Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-12T09:40:40.851Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:40:41.355Z] + 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-04-12T09:40:41.623Z] Sending build context to Docker daemon 5.898MB [2023-04-12T09:40:41.892Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T09:40:41.892Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-12T09:40:41.892Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-12T09:40:41.892Z] af6eaf76a39c: Pulling fs layer [2023-04-12T09:40:41.892Z] 55522c791124: Pulling fs layer [2023-04-12T09:40:41.892Z] ce5c4a1c91eb: Pulling fs layer [2023-04-12T09:40:41.892Z] 169dfbe0d373: Pulling fs layer [2023-04-12T09:40:41.892Z] e1ff8fa3b103: Pulling fs layer [2023-04-12T09:40:41.892Z] 169dfbe0d373: Waiting [2023-04-12T09:40:41.892Z] 52ebb69f0ebf: Pulling fs layer [2023-04-12T09:40:41.892Z] 5abe8eddf0d5: Pulling fs layer [2023-04-12T09:40:41.892Z] e1ff8fa3b103: Waiting [2023-04-12T09:40:41.892Z] 52ebb69f0ebf: Waiting [2023-04-12T09:40:41.892Z] 5abe8eddf0d5: Waiting [2023-04-12T09:40:41.892Z] 55522c791124: Verifying Checksum [2023-04-12T09:40:41.892Z] 55522c791124: Download complete [2023-04-12T09:40:41.892Z] 169dfbe0d373: Verifying Checksum [2023-04-12T09:40:41.892Z] 169dfbe0d373: Download complete [2023-04-12T09:40:41.892Z] e1ff8fa3b103: Verifying Checksum [2023-04-12T09:40:41.892Z] e1ff8fa3b103: Download complete [2023-04-12T09:40:42.166Z] af6eaf76a39c: Verifying Checksum [2023-04-12T09:40:42.166Z] af6eaf76a39c: Download complete [2023-04-12T09:40:43.161Z] af6eaf76a39c: Pull complete [2023-04-12T09:40:43.161Z] 5abe8eddf0d5: Verifying Checksum [2023-04-12T09:40:43.161Z] 5abe8eddf0d5: Download complete [2023-04-12T09:40:43.754Z] 55522c791124: Pull complete [2023-04-12T09:40:44.720Z] ce5c4a1c91eb: Verifying Checksum [2023-04-12T09:40:44.720Z] ce5c4a1c91eb: Download complete [2023-04-12T09:40:44.720Z] 52ebb69f0ebf: Verifying Checksum [2023-04-12T09:40:44.720Z] 52ebb69f0ebf: Download complete [2023-04-12T09:40:56.274Z] Removing intermediate container 76f0987cc8ce [2023-04-12T09:40:56.274Z] ---> 77e1b5d0378f [2023-04-12T09:40:56.274Z] Step 11/23 : FROM alpine:3.17 [2023-04-12T09:40:56.274Z] 3.17: Pulling from library/alpine [2023-04-12T09:40:56.274Z] f56be85fc22e: Pulling fs layer [2023-04-12T09:40:56.274Z] f56be85fc22e: Download complete [2023-04-12T09:40:56.274Z] f56be85fc22e: Pull complete [2023-04-12T09:40:56.274Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-12T09:40:56.274Z] Status: Downloaded newer image for alpine:3.17 [2023-04-12T09:40:56.274Z] ---> 9ed4aefc74f6 [2023-04-12T09:40:56.274Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-12T09:40:56.274Z] ---> Running in 6c36eb72f7aa [2023-04-12T09:40:56.274Z] Removing intermediate container 6c36eb72f7aa [2023-04-12T09:40:56.274Z] ---> da3d04855b05 [2023-04-12T09:40:56.274Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-12T09:40:56.274Z] ---> Running in 09cea7266a3e [2023-04-12T09:40:56.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T09:40:56.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T09:40:56.274Z] OK: 7 MiB in 15 packages [2023-04-12T09:40:56.274Z] Removing intermediate container 09cea7266a3e [2023-04-12T09:40:56.274Z] ---> ae1c5ad7f15d [2023-04-12T09:40:56.274Z] Step 14/23 : WORKDIR / [2023-04-12T09:40:56.274Z] ---> Running in c803a0cf2dfb [2023-04-12T09:40:56.274Z] Removing intermediate container c803a0cf2dfb [2023-04-12T09:40:56.274Z] ---> 4b4c22f0b12c [2023-04-12T09:40:56.274Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-12T09:40:56.274Z] ---> 7bf402d91029 [2023-04-12T09:40:56.274Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-12T09:40:57.072Z] ce5c4a1c91eb: Pull complete [2023-04-12T09:40:57.072Z] 169dfbe0d373: Pull complete [2023-04-12T09:40:57.072Z] e1ff8fa3b103: Pull complete [2023-04-12T09:40:57.217Z] ---> aec748556b5b [2023-04-12T09:40:57.217Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-12T09:40:57.217Z] ---> 409305105399 [2023-04-12T09:40:57.217Z] Step 18/23 : EXPOSE 59999 [2023-04-12T09:40:57.217Z] ---> Running in b303c865e815 [2023-04-12T09:40:57.217Z] Removing intermediate container b303c865e815 [2023-04-12T09:40:57.217Z] ---> b5dff6a5a9a2 [2023-04-12T09:40:57.218Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-12T09:40:57.218Z] ---> Running in e2917964e6d9 [2023-04-12T09:40:57.478Z] Removing intermediate container e2917964e6d9 [2023-04-12T09:40:57.478Z] ---> 5ccd7fb9373c [2023-04-12T09:40:57.478Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-12T09:40:57.478Z] ---> Running in e3e8797b7740 [2023-04-12T09:40:57.478Z] Removing intermediate container e3e8797b7740 [2023-04-12T09:40:57.478Z] ---> dd16f7beb10b [2023-04-12T09:40:57.478Z] Step 21/23 : LABEL arch=amd64 [2023-04-12T09:40:57.478Z] ---> Running in 8da2e7630e1c [2023-04-12T09:40:57.478Z] Removing intermediate container 8da2e7630e1c [2023-04-12T09:40:57.478Z] ---> 07740f0ca32d [2023-04-12T09:40:57.478Z] Step 22/23 : LABEL git_sha=453fffe39844267b7c3d359e90be35c08d562c07 [2023-04-12T09:40:57.737Z] ---> Running in 1b7baf5e179f [2023-04-12T09:40:57.737Z] Removing intermediate container 1b7baf5e179f [2023-04-12T09:40:57.737Z] ---> 2a39f283700a [2023-04-12T09:40:57.737Z] Step 23/23 : LABEL version=0.0.0 [2023-04-12T09:40:57.737Z] ---> Running in f367f2a95f68 [2023-04-12T09:40:57.737Z] Removing intermediate container f367f2a95f68 [2023-04-12T09:40:57.737Z] ---> 2c42d76d978a [2023-04-12T09:40:57.737Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-12T09:40:57.737Z] Successfully built 2c42d76d978a [2023-04-12T09:40:57.737Z] 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-04-12T09:40:58.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T09:40:58.594Z] [2023-04-12T09:40:58.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:40:58.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T09:40:58.970Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-12T09:40:58.970Z] 5eb5b503b376: Pulling fs layer [2023-04-12T09:40:58.970Z] 5c69ac0246d0: Pulling fs layer [2023-04-12T09:40:58.970Z] ec43610c2a17: Pulling fs layer [2023-04-12T09:40:58.970Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-12T09:40:58.970Z] 33b1e0a273af: Pulling fs layer [2023-04-12T09:40:58.970Z] 5d3b04190fa2: Pulling fs layer [2023-04-12T09:40:58.970Z] 2f39f015ded8: Pulling fs layer [2023-04-12T09:40:58.970Z] 3a2ae6a8a46f: Waiting [2023-04-12T09:40:58.970Z] 33b1e0a273af: Waiting [2023-04-12T09:40:58.970Z] 5d3b04190fa2: Waiting [2023-04-12T09:40:58.970Z] 2f39f015ded8: Waiting [2023-04-12T09:40:58.970Z] 5c69ac0246d0: Verifying Checksum [2023-04-12T09:40:58.970Z] 5c69ac0246d0: Download complete [2023-04-12T09:40:58.970Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-12T09:40:58.970Z] 3a2ae6a8a46f: Download complete [2023-04-12T09:40:58.970Z] 33b1e0a273af: Verifying Checksum [2023-04-12T09:40:58.970Z] 33b1e0a273af: Download complete [2023-04-12T09:40:58.970Z] ec43610c2a17: Verifying Checksum [2023-04-12T09:40:58.970Z] ec43610c2a17: Download complete [2023-04-12T09:40:58.970Z] 5d3b04190fa2: Verifying Checksum [2023-04-12T09:40:58.970Z] 5d3b04190fa2: Download complete [2023-04-12T09:40:59.229Z] 5eb5b503b376: Verifying Checksum [2023-04-12T09:40:59.229Z] 5eb5b503b376: Download complete [2023-04-12T09:41:00.606Z] 5eb5b503b376: Pull complete [2023-04-12T09:41:00.866Z] 5c69ac0246d0: Pull complete [2023-04-12T09:41:01.125Z] ec43610c2a17: Pull complete [2023-04-12T09:41:01.385Z] 3a2ae6a8a46f: Pull complete [2023-04-12T09:41:01.385Z] 33b1e0a273af: Pull complete [2023-04-12T09:41:01.643Z] 5d3b04190fa2: Pull complete [2023-04-12T09:41:02.421Z] 52ebb69f0ebf: Pull complete [2023-04-12T09:41:04.381Z] 5abe8eddf0d5: Pull complete [2023-04-12T09:41:04.381Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-12T09:41:04.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-12T09:41:04.381Z] ---> 6cb57ee374ae [2023-04-12T09:41:04.381Z] Step 3/10 : ARG MAKE=make build [2023-04-12T09:41:05.835Z] 2f39f015ded8: Pull complete [2023-04-12T09:41:05.835Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-12T09:41:05.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T09:41:05.835Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T09:41:06.059Z] prd-ubuntu20.04-docker-8c-8g-7547 does not seem to be running inside a container [2023-04-12T09:41:06.090Z] $ 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-1421 -v /w/workspace/gexfoundry_device-sdk-go_PR-1421:/w/workspace/gexfoundry_device-sdk-go_PR-1421:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1421@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-04-12T09:41:06.333Z] ---> Running in 3a84a682e6f4 [2023-04-12T09:41:06.603Z] Removing intermediate container 3a84a682e6f4 [2023-04-12T09:41:06.603Z] ---> 3954af42aec8 [2023-04-12T09:41:06.603Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-12T09:41:06.603Z] ---> Running in 57709543767a [2023-04-12T09:41:06.874Z] Removing intermediate container 57709543767a [2023-04-12T09:41:06.874Z] ---> 82fbde316a8e [2023-04-12T09:41:06.874Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-12T09:41:07.142Z] ---> Running in 6be55c8d052a [2023-04-12T09:41:07.411Z] Removing intermediate container 6be55c8d052a [2023-04-12T09:41:07.411Z] ---> 492292d95df4 [2023-04-12T09:41:07.411Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-12T09:41:07.411Z] ---> Running in 5e49b5f1a742 [2023-04-12T09:41:08.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T09:41:08.744Z] $ docker top 9292ec3e80516aac90625525b44054509f04850f1f9e15e2110e43e04578256b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:41:09.318Z] ---> job-cost.sh [2023-04-12T09:41:09.318Z] lf-activate-venv: SKIPPING [2023-04-12T09:41:09.318Z] INFO: No Stack... [2023-04-12T09:41:09.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T09:41:09.578Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T09:41:09.837Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T09:41:10.149Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1421/archives/cost.csv [2023-04-12T09:41:10.149Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T09:41:10.192Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1421-1-stack-cost] [2023-04-12T09:41:10.197Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1421-1-stack-cost] did not exist. Created. [2023-04-12T09:41:10.197Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1421-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-04-12T09:41:10.305Z] OK: 263 MiB in 53 packages [Pipeline] sh [2023-04-12T09:41:10.596Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-12T09:41:10.660Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T09:41:10.679Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1421-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T09:41:10.758Z] $ docker stop --time=1 9292ec3e80516aac90625525b44054509f04850f1f9e15e2110e43e04578256b [2023-04-12T09:41:11.274Z] Removing intermediate container 5e49b5f1a742 [2023-04-12T09:41:11.274Z] ---> f13e6169e35d [2023-04-12T09:41:11.274Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-12T09:41:11.915Z] $ docker rm -f --volumes 9292ec3e80516aac90625525b44054509f04850f1f9e15e2110e43e04578256b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-12T09:41:13.858Z] ---> 3a6bb3714561 [2023-04-12T09:41:13.858Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T09:41:13.858Z] ---> Running in 703b028c98a3 [2023-04-12T09:42:10.989Z] Removing intermediate container 703b028c98a3 [2023-04-12T09:42:10.989Z] ---> 6254c85f057a [2023-04-12T09:42:10.989Z] Step 9/10 : COPY . . [2023-04-12T09:42:10.989Z] ---> 43a0dcd2591c [2023-04-12T09:42:10.989Z] Step 10/10 : RUN ${MAKE} [2023-04-12T09:42:10.989Z] ---> Running in 80390119016b [2023-04-12T09:42:10.989Z] noop [2023-04-12T09:42:11.256Z] Removing intermediate container 80390119016b [2023-04-12T09:42:11.256Z] ---> 996e3f7b89ba [2023-04-12T09:42:11.256Z] Successfully built 996e3f7b89ba [2023-04-12T09:42:11.256Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:42:11.757Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T09:42:11.757Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T09:42:12.007Z] prd-ubuntu20.04-docker-arm64-4c-16g-7548 does not seem to be running inside a container [2023-04-12T09:42:12.070Z] $ 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-04-12T09:42:13.133Z] $ docker top b7d917fe308e29aff55cdf666f9569f29da4ff74471d566b2862785547d22ebb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T09:42:13.980Z] + go version [2023-04-12T09:42:13.980Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-12T09:42:14.013Z] $ docker stop --time=1 b7d917fe308e29aff55cdf666f9569f29da4ff74471d566b2862785547d22ebb [2023-04-12T09:42:15.557Z] $ docker rm -f --volumes b7d917fe308e29aff55cdf666f9569f29da4ff74471d566b2862785547d22ebb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:42:16.364Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T09:42:16.364Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T09:42:16.590Z] prd-ubuntu20.04-docker-arm64-4c-16g-7548 does not seem to be running inside a container [2023-04-12T09:42:16.652Z] $ 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-04-12T09:42:18.806Z] $ docker top ff590b1d182aaf88460050b3529ea25273caa289312ba0056bd2a0743da468f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T09:42:19.341Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-12T09:42:19.724Z] + make test [2023-04-12T09:42:19.724Z] go test -race -coverprofile=coverage.out ./... [2023-04-12T09:42:58.567Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-12T09:44:50.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-12T09:44:50.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-12T09:44:50.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-12T09:44:50.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-12T09:44:50.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-12T09:45:00.574Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.279s coverage: 27.6% of statements [2023-04-12T09:45:00.574Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.305s coverage: 79.9% of statements [2023-04-12T09:45:12.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-12T09:45:12.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-12T09:45:12.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.456s coverage: 86.0% of statements [2023-04-12T09:45:19.521Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-12T09:45:19.521Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.533s coverage: 77.5% of statements [2023-04-12T09:45:23.798Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-12T09:45:25.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-12T09:45:25.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-12T09:45:27.180Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.350s coverage: 14.6% of statements [2023-04-12T09:45:27.180Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.394s coverage: 68.5% of statements [2023-04-12T09:45:29.119Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.434s coverage: 89.2% of statements [2023-04-12T09:45:30.086Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-12T09:45:30.352Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.250s coverage: 5.5% of statements [2023-04-12T09:45:30.934Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-12T09:45:30.934Z] GO111MODULE=on go vet ./... [2023-04-12T09:47:52.670Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-12T09:47:52.670Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-12T09:47:52.670Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-12T09:47:52.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-12T09:47:52.736Z] $ docker stop --time=1 ff590b1d182aaf88460050b3529ea25273caa289312ba0056bd2a0743da468f7 [2023-04-12T09:47:54.520Z] $ docker rm -f --volumes ff590b1d182aaf88460050b3529ea25273caa289312ba0056bd2a0743da468f7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T09:47:56.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-12T09:47:56.093Z] Warning: overwriting stash ‘coverage-report’ [2023-04-12T09:47:56.564Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T09:47:57.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-12T09:47:57.468Z] + ls -al . [2023-04-12T09:47:57.468Z] total 268 [2023-04-12T09:47:57.468Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 09:42 . [2023-04-12T09:47:57.468Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 09:40 .. [2023-04-12T09:47:57.468Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 09:40 .dockerignore [2023-04-12T09:47:57.468Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 09:40 .git [2023-04-12T09:47:57.468Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 09:40 .github [2023-04-12T09:47:57.468Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 09:40 .gitignore [2023-04-12T09:47:57.468Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 09:40 .golangci.yml [2023-04-12T09:47:57.468Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 12 09:40 CHANGELOG.md [2023-04-12T09:47:57.468Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 09:40 GOVERNANCE.md [2023-04-12T09:47:57.468Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 12 09:40 Jenkinsfile [2023-04-12T09:47:57.468Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 09:40 LICENSE [2023-04-12T09:47:57.468Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 12 09:40 Makefile [2023-04-12T09:47:57.469Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 09:40 OWNERS.md [2023-04-12T09:47:57.469Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 12 09:40 README.md [2023-04-12T09:47:57.469Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 09:38 VERSION [2023-04-12T09:47:57.469Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 09:40 bin [2023-04-12T09:47:57.469Z] -rw-r--r-- 1 jenkins jenkins 105947 Apr 12 09:45 coverage.out [2023-04-12T09:47:57.469Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 09:40 example [2023-04-12T09:47:57.469Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 12 09:40 go.mod [2023-04-12T09:47:57.469Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 12 09:40 go.sum [2023-04-12T09:47:57.469Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 09:40 internal [2023-04-12T09:47:57.469Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 09:40 openapi [2023-04-12T09:47:57.469Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 12 09:40 pkg [2023-04-12T09:47:57.469Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 09:40 snap [2023-04-12T09:47:57.469Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 09:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:47:57.873Z] + 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=453fffe39844267b7c3d359e90be35c08d562c07 --label arch=arm64 --label version=0.0.0 . [2023-04-12T09:47:58.141Z] Sending build context to Docker daemon 6.005MB [2023-04-12T09:47:58.141Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T09:47:58.141Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-12T09:47:58.141Z] ---> 996e3f7b89ba [2023-04-12T09:47:58.141Z] Step 3/23 : ARG MAKE=make build [2023-04-12T09:47:58.407Z] ---> Running in e97911a2de4f [2023-04-12T09:47:58.672Z] Removing intermediate container e97911a2de4f [2023-04-12T09:47:58.672Z] ---> 0bb69a4751b2 [2023-04-12T09:47:58.672Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-12T09:47:58.672Z] ---> Running in 20dc1f3d098e [2023-04-12T09:47:58.938Z] Removing intermediate container 20dc1f3d098e [2023-04-12T09:47:58.939Z] ---> b43cfeed8f48 [2023-04-12T09:47:58.939Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-12T09:47:59.204Z] ---> Running in 32c6c595f535 [2023-04-12T09:47:59.469Z] Removing intermediate container 32c6c595f535 [2023-04-12T09:47:59.469Z] ---> 32be223ebbaf [2023-04-12T09:47:59.469Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-12T09:47:59.469Z] ---> Running in 2cb66766fd52 [2023-04-12T09:48:00.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T09:48:01.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T09:48:01.966Z] OK: 263 MiB in 53 packages [2023-04-12T09:48:02.932Z] Removing intermediate container 2cb66766fd52 [2023-04-12T09:48:02.932Z] ---> ae8e739e7e78 [2023-04-12T09:48:02.932Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-12T09:48:03.205Z] ---> 2f27599f53ef [2023-04-12T09:48:03.205Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T09:48:03.205Z] ---> Running in 56a91a34dcd1 [2023-04-12T09:48:05.788Z] Removing intermediate container 56a91a34dcd1 [2023-04-12T09:48:05.788Z] ---> bceef4025b39 [2023-04-12T09:48:05.788Z] Step 9/23 : COPY . . [2023-04-12T09:48:07.198Z] ---> ae3e3ef7ca81 [2023-04-12T09:48:07.198Z] Step 10/23 : RUN ${MAKE} [2023-04-12T09:48:07.198Z] ---> Running in 69e4e9fe1a5e [2023-04-12T09:48:08.157Z] 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-04-12T09:50:14.820Z] Removing intermediate container 69e4e9fe1a5e [2023-04-12T09:50:14.820Z] ---> 79b4e1292d24 [2023-04-12T09:50:14.820Z] Step 11/23 : FROM alpine:3.17 [2023-04-12T09:50:14.820Z] 3.17: Pulling from library/alpine [2023-04-12T09:50:14.820Z] c41833b44d91: Pulling fs layer [2023-04-12T09:50:14.820Z] c41833b44d91: Verifying Checksum [2023-04-12T09:50:14.820Z] c41833b44d91: Download complete [2023-04-12T09:50:14.820Z] c41833b44d91: Pull complete [2023-04-12T09:50:14.820Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-12T09:50:14.820Z] Status: Downloaded newer image for alpine:3.17 [2023-04-12T09:50:14.820Z] ---> 51e60588ff2c [2023-04-12T09:50:14.820Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-12T09:50:14.820Z] ---> Running in a100684f44ec [2023-04-12T09:50:14.820Z] Removing intermediate container a100684f44ec [2023-04-12T09:50:14.820Z] ---> b948bc5bb86f [2023-04-12T09:50:14.820Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-12T09:50:14.820Z] ---> Running in 5251c1ce323b [2023-04-12T09:50:15.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T09:50:15.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T09:50:16.938Z] OK: 7 MiB in 15 packages [2023-04-12T09:50:17.519Z] Removing intermediate container 5251c1ce323b [2023-04-12T09:50:17.519Z] ---> b36dc97eb776 [2023-04-12T09:50:17.519Z] Step 14/23 : WORKDIR / [2023-04-12T09:50:17.519Z] ---> Running in 14e012df0ea9 [2023-04-12T09:50:17.784Z] Removing intermediate container 14e012df0ea9 [2023-04-12T09:50:17.784Z] ---> 7efdec0119c4 [2023-04-12T09:50:17.784Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-12T09:50:18.369Z] ---> a6b15dd2c650 [2023-04-12T09:50:18.369Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-12T09:50:19.782Z] ---> 51f8e290de4b [2023-04-12T09:50:19.782Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-12T09:50:20.046Z] ---> fd52557a22fe [2023-04-12T09:50:20.046Z] Step 18/23 : EXPOSE 59999 [2023-04-12T09:50:20.046Z] ---> Running in e64a721fa702 [2023-04-12T09:50:20.312Z] Removing intermediate container e64a721fa702 [2023-04-12T09:50:20.312Z] ---> 2432b4088ebc [2023-04-12T09:50:20.312Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-12T09:50:20.312Z] ---> Running in 496cf2b5802b [2023-04-12T09:50:20.578Z] Removing intermediate container 496cf2b5802b [2023-04-12T09:50:20.578Z] ---> 0f7f5a585694 [2023-04-12T09:50:20.578Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-12T09:50:20.578Z] ---> Running in 15f7ae003daf [2023-04-12T09:50:20.844Z] Removing intermediate container 15f7ae003daf [2023-04-12T09:50:20.844Z] ---> 1e9e8017965b [2023-04-12T09:50:20.844Z] Step 21/23 : LABEL arch=arm64 [2023-04-12T09:50:20.844Z] ---> Running in 3f0a15cb19a4 [2023-04-12T09:50:21.109Z] Removing intermediate container 3f0a15cb19a4 [2023-04-12T09:50:21.109Z] ---> f7d0a1a322fe [2023-04-12T09:50:21.109Z] Step 22/23 : LABEL git_sha=453fffe39844267b7c3d359e90be35c08d562c07 [2023-04-12T09:50:21.376Z] ---> Running in f0c9bb303410 [2023-04-12T09:50:21.640Z] Removing intermediate container f0c9bb303410 [2023-04-12T09:50:21.640Z] ---> c1cd4397dda2 [2023-04-12T09:50:21.640Z] Step 23/23 : LABEL version=0.0.0 [2023-04-12T09:50:21.640Z] ---> Running in e010ae27a66a [2023-04-12T09:50:21.905Z] Removing intermediate container e010ae27a66a [2023-04-12T09:50:21.905Z] ---> 1380a9149c50 [2023-04-12T09:50:21.905Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-12T09:50:21.905Z] Successfully built 1380a9149c50 [2023-04-12T09:50:21.905Z] 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-04-12T09:50:22.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T09:50:22.703Z] [2023-04-12T09:50:22.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:50:23.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T09:50:24.495Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-12T09:50:24.495Z] 8998bd30e6a1: Pulling fs layer [2023-04-12T09:50:24.495Z] 04944245beec: Pulling fs layer [2023-04-12T09:50:24.495Z] 699f458cf7ca: Pulling fs layer [2023-04-12T09:50:24.495Z] 765212b225bb: Pulling fs layer [2023-04-12T09:50:24.495Z] f23df028b6ca: Pulling fs layer [2023-04-12T09:50:24.495Z] d65c8cfc05b1: Pulling fs layer [2023-04-12T09:50:24.495Z] 2437ff75d9bd: Pulling fs layer [2023-04-12T09:50:24.495Z] f23df028b6ca: Waiting [2023-04-12T09:50:24.495Z] d65c8cfc05b1: Waiting [2023-04-12T09:50:24.495Z] 765212b225bb: Waiting [2023-04-12T09:50:24.495Z] 2437ff75d9bd: Waiting [2023-04-12T09:50:24.495Z] 04944245beec: Verifying Checksum [2023-04-12T09:50:24.495Z] 04944245beec: Download complete [2023-04-12T09:50:24.495Z] 765212b225bb: Verifying Checksum [2023-04-12T09:50:24.495Z] 765212b225bb: Download complete [2023-04-12T09:50:24.763Z] f23df028b6ca: Verifying Checksum [2023-04-12T09:50:24.763Z] f23df028b6ca: Download complete [2023-04-12T09:50:24.763Z] d65c8cfc05b1: Verifying Checksum [2023-04-12T09:50:24.763Z] d65c8cfc05b1: Download complete [2023-04-12T09:50:24.763Z] 699f458cf7ca: Verifying Checksum [2023-04-12T09:50:24.763Z] 699f458cf7ca: Download complete [2023-04-12T09:50:25.029Z] 8998bd30e6a1: Verifying Checksum [2023-04-12T09:50:25.029Z] 8998bd30e6a1: Download complete [2023-04-12T09:50:27.596Z] 2437ff75d9bd: Verifying Checksum [2023-04-12T09:50:27.596Z] 2437ff75d9bd: Download complete [2023-04-12T09:50:28.553Z] 8998bd30e6a1: Pull complete [2023-04-12T09:50:29.135Z] 04944245beec: Pull complete [2023-04-12T09:50:30.089Z] 699f458cf7ca: Pull complete [2023-04-12T09:50:30.355Z] 765212b225bb: Pull complete [2023-04-12T09:50:30.935Z] f23df028b6ca: Pull complete [2023-04-12T09:50:31.201Z] d65c8cfc05b1: Pull complete [2023-04-12T09:50:43.490Z] 2437ff75d9bd: Pull complete [2023-04-12T09:50:43.490Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-12T09:50:43.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T09:50:43.490Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T09:50:43.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-7548 does not seem to be running inside a container [2023-04-12T09:50:43.837Z] $ 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-04-12T09:50:46.265Z] $ docker top 696da6cb73743427c8fdbe17811e094ab5ab5fc2816bc1f03e9cdbc4836e5da3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:50:46.806Z] ---> job-cost.sh [2023-04-12T09:50:47.069Z] lf-activate-venv: SKIPPING [2023-04-12T09:50:47.069Z] INFO: No Stack... [2023-04-12T09:50:47.645Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-12T09:50:48.595Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T09:50:48.931Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csvcut [2023-04-12T09:50:48.931Z] -d, -f6 [Pipeline] lock [2023-04-12T09:50:48.975Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1421-1-stack-cost] [2023-04-12T09:50:49.014Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1421-1-stack-cost] did not exist. Created. [2023-04-12T09:50:49.014Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T09:50:49.574Z] /w/workspace/device-sdk-go/1@tmp/durable-a3df0123/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-12T09:50:49.924Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-12T09:50:49.960Z] Warning: overwriting stash ‘stack-cost’ [2023-04-12T09:50:50.080Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T09:50:50.101Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1421-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T09:50:50.181Z] $ docker stop --time=1 696da6cb73743427c8fdbe17811e094ab5ab5fc2816bc1f03e9cdbc4836e5da3 [2023-04-12T09:50:51.638Z] $ docker rm -f --volumes 696da6cb73743427c8fdbe17811e094ab5ab5fc2816bc1f03e9cdbc4836e5da3 [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-04-12T09:50:52.624Z] provisioning config files... [2023-04-12T09:50:52.631Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp/config16899367265923139912tmp [Pipeline] { [Pipeline] sh [2023-04-12T09:50:52.973Z] + set +x [2023-04-12T09:50:52.973Z] + curl -s https://codecov.io/bash [2023-04-12T09:50:52.973Z] + bash -s -- [2023-04-12T09:50:52.973Z] [2023-04-12T09:50:52.973Z] _____ _ [2023-04-12T09:50:52.973Z] / ____| | | [2023-04-12T09:50:52.973Z] | | ___ __| | ___ ___ _____ __ [2023-04-12T09:50:52.973Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-12T09:50:52.973Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-12T09:50:52.973Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-12T09:50:52.973Z] Bash-1.0.6 [2023-04-12T09:50:52.973Z] [2023-04-12T09:50:52.973Z] [2023-04-12T09:50:52.973Z] ==> git version 2.25.1 found [2023-04-12T09:50:52.973Z] ==> 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-04-12T09:50:52.973Z] Release-Date: 2020-01-08 [2023-04-12T09:50:52.973Z] 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-04-12T09:50:52.973Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-12T09:50:52.973Z] ==> Jenkins CI detected. [2023-04-12T09:50:52.973Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1421 [2023-04-12T09:50:52.973Z] project root: . [2023-04-12T09:50:52.973Z] --> token set from env [2023-04-12T09:50:52.973Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-12T09:50:52.973Z] ==> Running gcov in . (disable via -X gcov) [2023-04-12T09:50:52.973Z] ==> Python coveragepy not found [2023-04-12T09:50:52.973Z] ==> Searching for coverage reports in: [2023-04-12T09:50:52.973Z] + . [2023-04-12T09:50:53.233Z] -> Found 1 reports [2023-04-12T09:50:53.233Z] ==> Detecting git/mercurial file structure [2023-04-12T09:50:53.233Z] ==> Reading reports [2023-04-12T09:50:53.233Z] + ./coverage.out bytes=105947 [2023-04-12T09:50:53.233Z] ==> Appending adjustments [2023-04-12T09:50:53.233Z] https://docs.codecov.io/docs/fixing-reports [2023-04-12T09:50:53.493Z] + Found adjustments [2023-04-12T09:50:53.493Z] ==> Gzipping contents [2023-04-12T09:50:53.493Z] 16K /tmp/codecov.aZ7zyn.gz [2023-04-12T09:50:53.493Z] ==> Uploading reports [2023-04-12T09:50:53.493Z] url: https://codecov.io [2023-04-12T09:50:53.493Z] query: branch=PR-1421&commit=453fffe39844267b7c3d359e90be35c08d562c07&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1421&job=&cmd_args= [2023-04-12T09:50:53.493Z] -> Pinging Codecov [2023-04-12T09:50:53.493Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1421&commit=453fffe39844267b7c3d359e90be35c08d562c07&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1421&job=&cmd_args= [2023-04-12T09:50:53.493Z] -> Uploading to [2023-04-12T09:50:53.493Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-12/7E55EF52A471D76F132DFD9A03CDDE97/453fffe39844267b7c3d359e90be35c08d562c07/a2be5dc7-0966-42f3-b8b4-d9ce3135948c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230412T095053Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1e9d0324a9b9cc8df6ec0d4048a17394a8a69337d8f6e58690cdd322673aeea [2023-04-12T09:50:53.493Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T09:50:53.493Z] Dload Upload Total Spent Left Speed [2023-04-12T09:50:53.752Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14992 0 0 100 14992 0 48361 --:--:-- --:--:-- --:--:-- 48361 [2023-04-12T09:50:54.011Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/453fffe39844267b7c3d359e90be35c08d562c07 [Pipeline] } [2023-04-12T09:50:54.038Z] 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-04-12T09:50:55.911Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1421/archives ] [2023-04-12T09:50:55.911Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1421/archives [2023-04-12T09:50:55.911Z] total 16 [2023-04-12T09:50:55.911Z] drwxr-xr-x 3 root root 4096 Apr 12 09:41 . [2023-04-12T09:50:55.911Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 09:41 .. [2023-04-12T09:50:55.911Z] drwxr-xr-x 2 root root 4096 Apr 12 09:41 cost [2023-04-12T09:50:55.911Z] -rw-r--r-- 1 root root 86 Apr 12 09:41 cost.csv [2023-04-12T09:50:55.911Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1421/archives [2023-04-12T09:50:55.911Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1421/archives [2023-04-12T09:50:55.911Z] total 16 [2023-04-12T09:50:55.911Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 09:41 . [2023-04-12T09:50:55.911Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 09:41 .. [2023-04-12T09:50:55.911Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 09:41 cost [2023-04-12T09:50:55.911Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 12 09:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:50:56.236Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:50:57.123Z] ---> package-listing.sh [2023-04-12T09:50:57.123Z] ++ facter osfamily [2023-04-12T09:50:57.123Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-12T09:50:57.385Z] + OS_FAMILY=debian [2023-04-12T09:50:57.385Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1421 [2023-04-12T09:50:57.385Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-12T09:50:57.385Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-12T09:50:57.385Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-12T09:50:57.385Z] + PACKAGES=/tmp/packages_start.txt [2023-04-12T09:50:57.385Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1421 ']' [2023-04-12T09:50:57.385Z] + PACKAGES=/tmp/packages_end.txt [2023-04-12T09:50:57.385Z] + case "${OS_FAMILY}" in [2023-04-12T09:50:57.385Z] + dpkg -l [2023-04-12T09:50:57.385Z] + grep '^ii' [2023-04-12T09:50:57.385Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-12T09:50:57.385Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-12T09:50:57.385Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-12T09:50:57.385Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1421 ']' [2023-04-12T09:50:57.385Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1421/archives/ [2023-04-12T09:50:57.385Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1421/archives/ [Pipeline] echo [2023-04-12T09:50:57.417Z] 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-1421/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-12T09:50:57.705Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T09:50:58.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T09:50:58.075Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T09:50:58.223Z] prd-ubuntu20.04-docker-8c-8g-7547 does not seem to be running inside a container [2023-04-12T09:50:58.249Z] $ 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-1421/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-1421 -v /w/workspace/gexfoundry_device-sdk-go_PR-1421:/w/workspace/gexfoundry_device-sdk-go_PR-1421:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1421@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-04-12T09:50:58.570Z] $ docker top c4917498ec7a05357fc0fda532f88c09d923035938fc79bea134d996cb7891ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T09:50:58.957Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-12T09:50:59.262Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-12T09:50:59.577Z] + ls /var/log/sa-host [2023-04-12T09:50:59.577Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T09:50:59.877Z] provisioning config files... [2023-04-12T09:50:59.884Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1421@tmp/config13069189199230870217tmp [Pipeline] { [Pipeline] echo [2023-04-12T09:50:59.942Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:51:00.254Z] ---> create-netrc.sh [Pipeline] } [2023-04-12T09:51:00.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:51:00.683Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-12T09:51:00.716Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:51:01.035Z] ---> sudo-logs.sh [2023-04-12T09:51:01.035Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-12T09:51:01.118Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:51:01.434Z] ---> job-cost.sh [2023-04-12T09:51:01.435Z] lf-activate-venv: SKIPPING [2023-04-12T09:51:01.435Z] DEBUG: total: 0.2199999988079071 [2023-04-12T09:51:01.435Z] INFO: Retrieving Stack Cost... [2023-04-12T09:51:02.002Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T09:51:02.262Z] INFO: Archiving Costs [Pipeline] echo [2023-04-12T09:51:02.296Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T09:51:02.605Z] ---> logs-deploy.sh [2023-04-12T09:51:02.605Z] lf-activate-venv: SKIPPING [2023-04-12T09:51:02.605Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1421/1 [2023-04-12T09:51:02.605Z] INFO: archiving workspace using pattern(s): [2023-04-12T09:51:03.537Z] Archives upload complete. [2023-04-12T09:51:03.537Z] INFO: archiving logs to Nexus