Pull request #43 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9026b2acc714bf388fda805db91a35ec4a7f1573+4dfceff4e3635e4a98b2ef8b67003446cda03de4 (3fb00ee0d5c2a4100cf0794ddac9ac0d7acc9a0b) 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-ssh15141917445446544404.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3654472801632034424.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-usb-camera/branches/PR-43/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-usb-camera/branches/PR-43/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7168420165534169049.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-usb-camera/branches/PR-43/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1300993845106438743.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh14383075410665458794.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-usb-camera/branches/PR-43/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-usb-camera/branches/PR-43/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15721000988388105344.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-15172 in /w/workspace/xfoundry_device-usb-camera_PR-43 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-43 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4dfceff4e3635e4a98b2ef8b67003446cda03de4 into PR head commit 9026b2acc714bf388fda805db91a35ec4a7f1573 Merge succeeded, producing 9026b2acc714bf388fda805db91a35ec4a7f1573 Checking out Revision 9026b2acc714bf388fda805db91a35ec4a7f1573 (PR-43) > git config core.sparsecheckout # timeout=10 > git checkout -f 9026b2acc714bf388fda805db91a35ec4a7f1573 # 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 4dfceff4e3635e4a98b2ef8b67003446cda03de4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9026b2acc714bf388fda805db91a35ec4a7f1573 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-20T17:30:00.191Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-20T17:30:00.364Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-20T17:30:00.451Z] ========================================================= [2022-06-20T17:30:00.451Z] EdgeX Global Pipelines Version Info [2022-06-20T17:30:00.451Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:30:01.246Z] ------------------- [2022-06-20T17:30:01.246Z] stable info: [2022-06-20T17:30:01.246Z] ------------------- [2022-06-20T17:30:01.246Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-20T17:30:01.246Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T17:30:01.246Z] Message: update stable to v1.0.234 [2022-06-20T17:30:01.824Z] ------------------- [2022-06-20T17:30:01.824Z] experimental info: [2022-06-20T17:30:01.824Z] ------------------- [2022-06-20T17:30:01.824Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-20T17:30:01.824Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T17:30:01.824Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-20T17:30:02.214Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-06-20T17:30:02.254Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-06-20T17:30:02.291Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-20T17:30:02.327Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-20T17:30:02.362Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-20T17:30:02.396Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-20T17:30:02.436Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-20T17:30:02.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-20T17:30:02.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-20T17:30:02.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-20T17:30:02.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-20T17:30:02.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-06-20T17:30:02.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-20T17:30:02.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-20T17:30:02.726Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T17:30:02.765Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T17:30:02.809Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T17:30:02.854Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T17:30:02.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-20T17:30:02.933Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-20T17:30:02.971Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-20T17:30:03.011Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-20T17:30:03.048Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-20T17:30:03.093Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-20T17:30:03.134Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-20T17:30:03.171Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-20T17:30:03.207Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-20T17:30:03.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-43 [Pipeline] echo [2022-06-20T17:30:03.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-43 [Pipeline] echo [2022-06-20T17:30:03.334Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-43 [Pipeline] echo [2022-06-20T17:30:03.375Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9026b2acc714bf388fda805db91a35ec4a7f1573 [Pipeline] echo [2022-06-20T17:30:03.412Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9026b2a [Pipeline] echo [2022-06-20T17:30:03.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T17:30:03.578Z] provisioning config files... [2022-06-20T17:30:03.593Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-43@tmp/config1566268578928428911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:30:03.937Z] ---> docker-login.sh [2022-06-20T17:30:03.937Z] nexus3.edgexfoundry.org:10001 [2022-06-20T17:30:04.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:04.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:04.199Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:04.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:04.199Z] [2022-06-20T17:30:04.199Z] Login Succeeded [2022-06-20T17:30:04.199Z] nexus3.edgexfoundry.org:10002 [2022-06-20T17:30:04.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:04.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:04.465Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:04.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:04.465Z] [2022-06-20T17:30:04.465Z] Login Succeeded [2022-06-20T17:30:04.465Z] nexus3.edgexfoundry.org:10003 [2022-06-20T17:30:04.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:04.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:04.465Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:04.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:04.465Z] [2022-06-20T17:30:04.465Z] Login Succeeded [2022-06-20T17:30:04.465Z] nexus3.edgexfoundry.org:10004 [2022-06-20T17:30:04.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:04.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:04.726Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:04.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:04.726Z] [2022-06-20T17:30:04.726Z] Login Succeeded [2022-06-20T17:30:04.726Z] docker.io [2022-06-20T17:30:04.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:04.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:04.986Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:04.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:04.986Z] [2022-06-20T17:30:04.986Z] Login Succeeded [2022-06-20T17:30:04.986Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T17:30:05.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-20T17:30:05.618Z] + git rev-list -1 --merges 9026b2acc714bf388fda805db91a35ec4a7f1573~1..9026b2acc714bf388fda805db91a35ec4a7f1573 [Pipeline] echo [2022-06-20T17:30:05.664Z] -----------> git rev-list -1 --merges 9026b2acc714bf388fda805db91a35ec4a7f1573~1..9026b2acc714bf388fda805db91a35ec4a7f1573 9026b2acc714bf388fda805db91a35ec4a7f1573 [false] [Pipeline] sh [2022-06-20T17:30:05.977Z] + git log --format=format:%s -1 9026b2acc714bf388fda805db91a35ec4a7f1573 [Pipeline] echo [2022-06-20T17:30:06.007Z] ========================================================= [2022-06-20T17:30:06.007Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-20T17:30:06.007Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T17:30:06.462Z] + git log --format=format:%s -1 9026b2acc714bf388fda805db91a35ec4a7f1573 [Pipeline] echo [2022-06-20T17:30:06.492Z] [semverPrep] GIT_COMMIT: 9026b2acc714bf388fda805db91a35ec4a7f1573, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-06-20T17:30:06.525Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-20T17:30:06.927Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-20T17:30:06.927Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-20T17:30:06.927Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-20T17:30:06.927Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-20T17:30:06.927Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-06-20T17:30:06.927Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-20T17:30:06.927Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:30:07.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T17:30:07.412Z] [2022-06-20T17:30:07.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:30:07.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T17:30:07.792Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-20T17:30:07.792Z] 42c077c10790: Pulling fs layer [2022-06-20T17:30:07.792Z] f63e77b7563a: Pulling fs layer [2022-06-20T17:30:07.792Z] bd5fdadae976: Pulling fs layer [2022-06-20T17:30:07.792Z] 205491f53016: Pulling fs layer [2022-06-20T17:30:07.792Z] df18705c85c3: Pulling fs layer [2022-06-20T17:30:07.792Z] bdb3f477010e: Pulling fs layer [2022-06-20T17:30:07.792Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-20T17:30:07.792Z] 2c6e9b1d212d: Pulling fs layer [2022-06-20T17:30:07.792Z] bdb8f0575790: Pulling fs layer [2022-06-20T17:30:07.792Z] 386e3cb2ff24: Pulling fs layer [2022-06-20T17:30:07.792Z] 2343380bae48: Pulling fs layer [2022-06-20T17:30:07.792Z] 205491f53016: Waiting [2022-06-20T17:30:07.792Z] df18705c85c3: Waiting [2022-06-20T17:30:07.792Z] bdb3f477010e: Waiting [2022-06-20T17:30:07.792Z] c8a8fc8e1c8f: Waiting [2022-06-20T17:30:07.792Z] 2c6e9b1d212d: Waiting [2022-06-20T17:30:07.792Z] bdb8f0575790: Waiting [2022-06-20T17:30:07.792Z] 386e3cb2ff24: Waiting [2022-06-20T17:30:07.792Z] 2343380bae48: Waiting [2022-06-20T17:30:07.792Z] f63e77b7563a: Verifying Checksum [2022-06-20T17:30:07.792Z] 205491f53016: Verifying Checksum [2022-06-20T17:30:07.792Z] 205491f53016: Download complete [2022-06-20T17:30:07.792Z] df18705c85c3: Verifying Checksum [2022-06-20T17:30:07.792Z] df18705c85c3: Download complete [2022-06-20T17:30:07.792Z] bdb3f477010e: Verifying Checksum [2022-06-20T17:30:07.792Z] bdb3f477010e: Download complete [2022-06-20T17:30:08.053Z] bd5fdadae976: Verifying Checksum [2022-06-20T17:30:08.053Z] bd5fdadae976: Download complete [2022-06-20T17:30:08.053Z] 2c6e9b1d212d: Verifying Checksum [2022-06-20T17:30:08.053Z] 2c6e9b1d212d: Download complete [2022-06-20T17:30:08.053Z] bdb8f0575790: Download complete [2022-06-20T17:30:08.053Z] 386e3cb2ff24: Verifying Checksum [2022-06-20T17:30:08.053Z] 386e3cb2ff24: Download complete [2022-06-20T17:30:08.053Z] 2343380bae48: Verifying Checksum [2022-06-20T17:30:08.053Z] 2343380bae48: Download complete [2022-06-20T17:30:08.053Z] 42c077c10790: Verifying Checksum [2022-06-20T17:30:08.053Z] 42c077c10790: Download complete [2022-06-20T17:30:08.314Z] c8a8fc8e1c8f: Download complete [2022-06-20T17:30:09.255Z] 42c077c10790: Pull complete [2022-06-20T17:30:09.514Z] f63e77b7563a: Pull complete [2022-06-20T17:30:09.777Z] bd5fdadae976: Pull complete [2022-06-20T17:30:10.039Z] 205491f53016: Pull complete [2022-06-20T17:30:10.298Z] df18705c85c3: Pull complete [2022-06-20T17:30:10.298Z] bdb3f477010e: Pull complete [2022-06-20T17:30:12.205Z] c8a8fc8e1c8f: Pull complete [2022-06-20T17:30:12.205Z] 2c6e9b1d212d: Pull complete [2022-06-20T17:30:12.205Z] bdb8f0575790: Pull complete [2022-06-20T17:30:12.205Z] 386e3cb2ff24: Pull complete [2022-06-20T17:30:12.205Z] 2343380bae48: Pull complete [2022-06-20T17:30:12.205Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-20T17:30:12.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T17:30:12.205Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T17:30:12.435Z] prd-ubuntu20.04-docker-8c-8g-15172 does not seem to be running inside a container [2022-06-20T17:30:12.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-43 -v /w/workspace/xfoundry_device-usb-camera_PR-43:/w/workspace/xfoundry_device-usb-camera_PR-43:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-43@tmp:/w/workspace/xfoundry_device-usb-camera_PR-43@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-20T17:30:13.697Z] $ docker top f8fd22b5c588f1287d992917e7e28f5a877b1caffddb360f24f57baf3e915450 -eo pid,comm [2022-06-20T17:30:13.756Z] 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). [2022-06-20T17:30:13.756Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-20T17:30:13.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T17:30:13.881Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T17:30:13.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T17:30:13.997Z] $ docker exec f8fd22b5c588f1287d992917e7e28f5a877b1caffddb360f24f57baf3e915450 ssh-agent [2022-06-20T17:30:14.124Z] SSH_AUTH_SOCK=/tmp/ssh-tW9FmnFmCx4c/agent.33 [2022-06-20T17:30:14.124Z] SSH_AGENT_PID=39 [2022-06-20T17:30:14.129Z] Running ssh-add (command line suppressed) [2022-06-20T17:30:14.245Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-43@tmp/private_key_5905989585357785115.key (/w/workspace/xfoundry_device-usb-camera_PR-43@tmp/private_key_5905989585357785115.key) [2022-06-20T17:30:14.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T17:30:14.592Z] + git tag --points-at HEAD [Pipeline] } [2022-06-20T17:30:14.620Z] $ docker exec --env ******** --env ******** f8fd22b5c588f1287d992917e7e28f5a877b1caffddb360f24f57baf3e915450 ssh-agent -k [2022-06-20T17:30:14.727Z] unset SSH_AUTH_SOCK; [2022-06-20T17:30:14.727Z] unset SSH_AGENT_PID; [2022-06-20T17:30:14.727Z] echo Agent pid 39 killed; [2022-06-20T17:30:14.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-20T17:30:14.817Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T17:30:14.817Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T17:30:14.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T17:30:14.950Z] $ docker exec f8fd22b5c588f1287d992917e7e28f5a877b1caffddb360f24f57baf3e915450 ssh-agent [2022-06-20T17:30:15.081Z] SSH_AUTH_SOCK=/tmp/ssh-IGNdDyZnckMP/agent.71 [2022-06-20T17:30:15.081Z] SSH_AGENT_PID=77 [2022-06-20T17:30:15.086Z] Running ssh-add (command line suppressed) [2022-06-20T17:30:15.191Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-43@tmp/private_key_8658623953804420484.key (/w/workspace/xfoundry_device-usb-camera_PR-43@tmp/private_key_8658623953804420484.key) [2022-06-20T17:30:15.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T17:30:15.536Z] + git semver init [2022-06-20T17:30:15.799Z] 2022-06-20 17:30:15,717 [run_init] DEBUG init version:0.0.0 force:False [2022-06-20T17:30:15.799Z] 2022-06-20 17:30:15,717 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-43/.semver [2022-06-20T17:30:15.799Z] 2022-06-20 17:30:15,718 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-43/.semver [2022-06-20T17:30:15.799Z] 2022-06-20 17:30:15,718 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-43/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-43, universal_newlines=False, shell=None, istream=None) [2022-06-20T17:30:16.371Z] 2022-06-20 17:30:16,239 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-43/.git/info/exclude [2022-06-20T17:30:16.371Z] 2022-06-20 17:30:16,239 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-43/.semver/PR-43 with force:False [2022-06-20T17:30:16.371Z] 2022-06-20 17:30:16,239 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-43/.semver/PR-43 [2022-06-20T17:30:16.371Z] 2022-06-20 17:30:16,243 [execute] INFO git cat-file --batch-check [2022-06-20T17:30:16.371Z] 2022-06-20 17:30:16,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-43/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T17:30:16.371Z] 2022-06-20 17:30:16,250 [execute] INFO git cat-file --batch [2022-06-20T17:30:16.371Z] 2022-06-20 17:30:16,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-43/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T17:30:16.371Z] 2022-06-20 17:30:16,256 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-43/.semver/PR-43 [2022-06-20T17:30:16.371Z] 0.0.0 [Pipeline] } [2022-06-20T17:30:16.402Z] $ docker exec --env ******** --env ******** f8fd22b5c588f1287d992917e7e28f5a877b1caffddb360f24f57baf3e915450 ssh-agent -k [2022-06-20T17:30:16.517Z] unset SSH_AUTH_SOCK; [2022-06-20T17:30:16.517Z] unset SSH_AGENT_PID; [2022-06-20T17:30:16.517Z] echo Agent pid 77 killed; [2022-06-20T17:30:16.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-20T17:30:16.959Z] + git semver [Pipeline] } [2022-06-20T17:30:17.250Z] $ docker stop --time=1 f8fd22b5c588f1287d992917e7e28f5a877b1caffddb360f24f57baf3e915450 [2022-06-20T17:30:18.546Z] $ docker rm -f f8fd22b5c588f1287d992917e7e28f5a877b1caffddb360f24f57baf3e915450 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T17:30:18.964Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-20T17:30:19.263Z] Stashed 1 file(s) [Pipeline] echo [2022-06-20T17:30:19.281Z] [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 [2022-06-20T17:30:19.860Z] provisioning config files... [2022-06-20T17:30:19.871Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-43@tmp/config2458219016575352453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:30:20.215Z] ---> docker-login.sh [2022-06-20T17:30:20.215Z] nexus3.edgexfoundry.org:10001 [2022-06-20T17:30:20.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:20.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:20.215Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:20.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:20.215Z] [2022-06-20T17:30:20.215Z] Login Succeeded [2022-06-20T17:30:20.215Z] nexus3.edgexfoundry.org:10002 [2022-06-20T17:30:20.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:20.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:20.475Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:20.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:20.475Z] [2022-06-20T17:30:20.475Z] Login Succeeded [2022-06-20T17:30:20.475Z] nexus3.edgexfoundry.org:10003 [2022-06-20T17:30:20.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:20.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:20.475Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:20.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:20.475Z] [2022-06-20T17:30:20.475Z] Login Succeeded [2022-06-20T17:30:20.475Z] nexus3.edgexfoundry.org:10004 [2022-06-20T17:30:20.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:20.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:20.735Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:20.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:20.735Z] [2022-06-20T17:30:20.735Z] Login Succeeded [2022-06-20T17:30:20.735Z] docker.io [2022-06-20T17:30:20.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:30:20.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:30:20.996Z] Configure a credential helper to remove this warning. See [2022-06-20T17:30:20.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:30:20.996Z] [2022-06-20T17:30:20.996Z] Login Succeeded [2022-06-20T17:30:20.996Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T17:30:21.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T17:30:21.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T17:30:21.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T17:30:21.281Z] ========================================================= [2022-06-20T17:30:21.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-20T17:30:21.281Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:30:21.737Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-20T17:30:21.737Z] Sending build context to Docker daemon 636.9kB [2022-06-20T17:30:21.737Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T17:30:21.737Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T17:30:21.737Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-20T17:30:21.737Z] 59bf1c3509f3: Pulling fs layer [2022-06-20T17:30:21.737Z] 666ba61612fd: Pulling fs layer [2022-06-20T17:30:21.737Z] 8ed8ca486205: Pulling fs layer [2022-06-20T17:30:21.737Z] cc1cd167ecdc: Pulling fs layer [2022-06-20T17:30:21.737Z] c516ae0d96e1: Pulling fs layer [2022-06-20T17:30:21.737Z] 684cea983483: Pulling fs layer [2022-06-20T17:30:21.737Z] dd3240ac7de5: Pulling fs layer [2022-06-20T17:30:21.737Z] b1e948a4e11c: Pulling fs layer [2022-06-20T17:30:21.737Z] a8fd76ee1af6: Pulling fs layer [2022-06-20T17:30:21.737Z] 646ad004c059: Pulling fs layer [2022-06-20T17:30:21.737Z] dd3240ac7de5: Waiting [2022-06-20T17:30:21.737Z] cc1cd167ecdc: Waiting [2022-06-20T17:30:21.737Z] b1e948a4e11c: Waiting [2022-06-20T17:30:21.737Z] 646ad004c059: Waiting [2022-06-20T17:30:21.737Z] c516ae0d96e1: Waiting [2022-06-20T17:30:21.737Z] a8fd76ee1af6: Waiting [2022-06-20T17:30:21.737Z] 684cea983483: Waiting [2022-06-20T17:30:21.737Z] 8ed8ca486205: Download complete [2022-06-20T17:30:21.737Z] 666ba61612fd: Verifying Checksum [2022-06-20T17:30:21.737Z] 666ba61612fd: Download complete [2022-06-20T17:30:21.737Z] c516ae0d96e1: Verifying Checksum [2022-06-20T17:30:21.737Z] c516ae0d96e1: Download complete [2022-06-20T17:30:21.737Z] 684cea983483: Download complete [2022-06-20T17:30:21.998Z] dd3240ac7de5: Verifying Checksum [2022-06-20T17:30:21.998Z] dd3240ac7de5: Download complete [2022-06-20T17:30:21.998Z] 59bf1c3509f3: Verifying Checksum [2022-06-20T17:30:21.998Z] 59bf1c3509f3: Download complete [2022-06-20T17:30:21.998Z] b1e948a4e11c: Verifying Checksum [2022-06-20T17:30:21.998Z] b1e948a4e11c: Download complete [2022-06-20T17:30:21.998Z] 59bf1c3509f3: Pull complete [2022-06-20T17:30:22.264Z] 666ba61612fd: Pull complete [2022-06-20T17:30:22.264Z] 8ed8ca486205: Pull complete [2022-06-20T17:30:22.524Z] 646ad004c059: Verifying Checksum [2022-06-20T17:30:22.524Z] 646ad004c059: Download complete [2022-06-20T17:30:22.524Z] a8fd76ee1af6: Verifying Checksum [2022-06-20T17:30:22.524Z] a8fd76ee1af6: Download complete [2022-06-20T17:30:22.524Z] cc1cd167ecdc: Verifying Checksum [2022-06-20T17:30:22.524Z] cc1cd167ecdc: Download complete [2022-06-20T17:30:25.806Z] cc1cd167ecdc: Pull complete [2022-06-20T17:30:25.806Z] c516ae0d96e1: Pull complete [2022-06-20T17:30:26.065Z] 684cea983483: Pull complete [2022-06-20T17:30:26.065Z] dd3240ac7de5: Pull complete [2022-06-20T17:30:26.065Z] b1e948a4e11c: Pull complete [2022-06-20T17:30:27.970Z] a8fd76ee1af6: Pull complete [2022-06-20T17:30:28.907Z] 646ad004c059: Pull complete [2022-06-20T17:30:28.907Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-20T17:30:28.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T17:30:28.907Z] ---> 8f69c11f6b0c [2022-06-20T17:30:28.907Z] Step 3/12 : ARG MAKE="make build" [2022-06-20T17:30:30.840Z] ---> Running in b7dd8696f8c7 [2022-06-20T17:30:30.840Z] Removing intermediate container b7dd8696f8c7 [2022-06-20T17:30:30.840Z] ---> 07e62f37ef90 [2022-06-20T17:30:30.840Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T17:30:30.840Z] ---> Running in 925ab7c625e6 [2022-06-20T17:30:30.840Z] Removing intermediate container 925ab7c625e6 [2022-06-20T17:30:30.840Z] ---> 8f6e2e174dec [2022-06-20T17:30:30.840Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-20T17:30:31.101Z] ---> Running in 3be584530c90 [2022-06-20T17:30:31.101Z] Removing intermediate container 3be584530c90 [2022-06-20T17:30:31.101Z] ---> 88b17be6a890 [2022-06-20T17:30:31.101Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T17:30:31.101Z] ---> Running in a0838857092d [2022-06-20T17:30:31.676Z] Removing intermediate container a0838857092d [2022-06-20T17:30:31.676Z] ---> 05e5e8deba39 [2022-06-20T17:30:31.676Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T17:30:31.676Z] ---> Running in 2a6bcc2a6504 [2022-06-20T17:30:31.939Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T17:30:32.881Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T17:30:33.141Z] (1/81) Installing mesa (21.2.6-r0) [2022-06-20T17:30:33.141Z] (2/81) Installing libxau (1.0.9-r0) [2022-06-20T17:30:33.401Z] (3/81) Installing libmd (1.0.3-r0) [2022-06-20T17:30:33.401Z] (4/81) Installing libbsd (0.11.3-r1) [2022-06-20T17:30:33.401Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-06-20T17:30:33.661Z] (6/81) Installing libxcb (1.14-r2) [2022-06-20T17:30:33.661Z] (7/81) Installing libx11 (1.7.2-r0) [2022-06-20T17:30:33.920Z] (8/81) Installing libxext (1.3.4-r0) [2022-06-20T17:30:33.920Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-06-20T17:30:33.920Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-06-20T17:30:34.182Z] (11/81) Installing libpciaccess (0.16-r0) [2022-06-20T17:30:34.182Z] (12/81) Installing libdrm (2.4.109-r0) [2022-06-20T17:30:34.182Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-06-20T17:30:34.446Z] (14/81) Installing libxshmfence (1.3-r1) [2022-06-20T17:30:34.446Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-06-20T17:30:34.446Z] (16/81) Installing libice (1.0.10-r0) [2022-06-20T17:30:34.446Z] (17/81) Installing libuuid (2.37.4-r0) [2022-06-20T17:30:34.683Z] Still waiting to schedule task [2022-06-20T17:30:34.684Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-20T17:30:34.708Z] (18/81) Installing libsm (1.2.3-r0) [2022-06-20T17:30:34.708Z] (19/81) Installing libxt (1.2.1-r0) [2022-06-20T17:30:34.708Z] (20/81) Installing libxmu (1.1.3-r0) [2022-06-20T17:30:34.968Z] (21/81) Installing xset (1.2.4-r0) [2022-06-20T17:30:34.968Z] (22/81) Installing xprop (1.2.5-r0) [2022-06-20T17:30:34.968Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-06-20T17:30:35.230Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-06-20T17:30:35.230Z] (25/81) Installing libffi (3.4.2-r1) [2022-06-20T17:30:35.230Z] (26/81) Installing libintl (0.21-r0) [2022-06-20T17:30:35.493Z] (27/81) Installing libblkid (2.37.4-r0) [2022-06-20T17:30:35.493Z] (28/81) Installing libmount (2.37.4-r0) [2022-06-20T17:30:35.493Z] (29/81) Installing pcre (8.45-r1) [2022-06-20T17:30:35.754Z] (30/81) Installing glib (2.70.1-r0) [2022-06-20T17:30:35.754Z] (31/81) Installing icu-libs (69.1-r1) [2022-06-20T17:30:37.682Z] (32/81) Installing libpcre2-16 (10.40-r0) [2022-06-20T17:30:37.682Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-06-20T17:30:37.682Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-06-20T17:30:39.065Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-06-20T17:30:39.065Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-06-20T17:30:39.325Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-06-20T17:30:39.325Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-06-20T17:30:39.325Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-06-20T17:30:39.585Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-06-20T17:30:39.846Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-06-20T17:30:39.846Z] (42/81) Installing libpng (1.6.37-r1) [2022-06-20T17:30:39.846Z] (43/81) Installing freetype (2.11.1-r2) [2022-06-20T17:30:40.107Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-06-20T17:30:40.107Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-06-20T17:30:40.107Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-06-20T17:30:40.370Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-06-20T17:30:40.370Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-06-20T17:30:40.632Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-06-20T17:30:40.632Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-06-20T17:30:40.632Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-06-20T17:30:40.893Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-06-20T17:30:40.893Z] (53/81) Installing avahi-libs (0.8-r5) [2022-06-20T17:30:40.893Z] (54/81) Installing nettle (3.7.3-r0) [2022-06-20T17:30:41.153Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-06-20T17:30:41.153Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-06-20T17:30:41.153Z] (57/81) Installing libunistring (0.9.10-r1) [2022-06-20T17:30:41.413Z] (58/81) Installing gnutls (3.7.1-r0) [2022-06-20T17:30:41.413Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-06-20T17:30:41.674Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-06-20T17:30:41.674Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-06-20T17:30:41.674Z] (62/81) Installing libevdev (1.12.0-r0) [2022-06-20T17:30:41.935Z] (63/81) Installing mtdev (1.1.6-r0) [2022-06-20T17:30:41.935Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-20T17:30:41.935Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-06-20T17:30:42.196Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-06-20T17:30:42.196Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-06-20T17:30:42.196Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-06-20T17:30:42.457Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-06-20T17:30:42.457Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-06-20T17:30:42.457Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-06-20T17:30:42.725Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-06-20T17:30:42.725Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-06-20T17:30:43.298Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-06-20T17:30:43.298Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-06-20T17:30:43.298Z] (76/81) Installing udev-init-scripts (35-r0) [2022-06-20T17:30:43.558Z] Executing udev-init-scripts-35-r0.post-install [2022-06-20T17:30:43.558Z] (77/81) Installing kmod-libs (29-r2) [2022-06-20T17:30:43.558Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-06-20T17:30:43.558Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-20T17:30:43.820Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-20T17:30:43.820Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-06-20T17:30:44.082Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T17:30:44.082Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-20T17:30:44.082Z] OK: 335 MiB in 133 packages [2022-06-20T17:30:45.994Z] Removing intermediate container 2a6bcc2a6504 [2022-06-20T17:30:45.994Z] ---> ff4473a7f4f8 [2022-06-20T17:30:45.994Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-20T17:30:45.994Z] ---> Running in 048e9527532a [2022-06-20T17:30:46.257Z] Removing intermediate container 048e9527532a [2022-06-20T17:30:46.257Z] ---> 71c1ac331d70 [2022-06-20T17:30:46.257Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-20T17:30:46.257Z] ---> 0b1bb779c4f5 [2022-06-20T17:30:46.257Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T17:30:46.257Z] ---> Running in ca9bde9adf44 [2022-06-20T17:31:04.363Z] Removing intermediate container ca9bde9adf44 [2022-06-20T17:31:04.363Z] ---> 28113f33a9b4 [2022-06-20T17:31:04.363Z] Step 11/12 : COPY . . [2022-06-20T17:31:04.363Z] ---> 78c8ac212c0a [2022-06-20T17:31:04.363Z] Step 12/12 : RUN ${MAKE} [2022-06-20T17:31:04.363Z] ---> Running in e3277c03e175 [2022-06-20T17:31:04.363Z] noop [2022-06-20T17:31:04.363Z] Removing intermediate container e3277c03e175 [2022-06-20T17:31:04.363Z] ---> 05a712628c34 [2022-06-20T17:31:04.363Z] Successfully built 05a712628c34 [2022-06-20T17:31:04.363Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:31:04.807Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T17:31:04.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T17:31:04.968Z] prd-ubuntu20.04-docker-8c-8g-15172 does not seem to be running inside a container [2022-06-20T17:31:05.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-43 -v /w/workspace/xfoundry_device-usb-camera_PR-43:/w/workspace/xfoundry_device-usb-camera_PR-43:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-43@tmp:/w/workspace/xfoundry_device-usb-camera_PR-43@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 ******** ci-base-image-x86_64 cat [2022-06-20T17:31:05.371Z] $ docker top 2a8b7927cbfcf40e44675b7a6917d0b6e4d4d1aa77986c804501c1d50ac48c8c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T17:31:05.833Z] + go version [2022-06-20T17:31:05.833Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-20T17:31:05.866Z] $ docker stop --time=1 2a8b7927cbfcf40e44675b7a6917d0b6e4d4d1aa77986c804501c1d50ac48c8c [2022-06-20T17:31:07.170Z] $ docker rm -f 2a8b7927cbfcf40e44675b7a6917d0b6e4d4d1aa77986c804501c1d50ac48c8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:31:07.863Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T17:31:07.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T17:31:08.009Z] prd-ubuntu20.04-docker-8c-8g-15172 does not seem to be running inside a container [2022-06-20T17:31:08.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-43 -v /w/workspace/xfoundry_device-usb-camera_PR-43:/w/workspace/xfoundry_device-usb-camera_PR-43:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-43@tmp:/w/workspace/xfoundry_device-usb-camera_PR-43@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 ******** ci-base-image-x86_64 cat [2022-06-20T17:31:08.372Z] $ docker top 62d2eb8e8930506fc534fbefc200a378f10ebeb59c8753dc9cd4543f15bbd895 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T17:31:08.806Z] + make test [2022-06-20T17:31:08.806Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-20T17:31:09.065Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-20T17:31:19.049Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-20T17:31:19.049Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-20T17:31:24.321Z] CGO_ENABLED=1 go vet ./... [2022-06-20T17:31:27.608Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T17:31:27.608Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T17:31:27.608Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T17:31:27.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T17:31:27.923Z] $ docker stop --time=1 62d2eb8e8930506fc534fbefc200a378f10ebeb59c8753dc9cd4543f15bbd895 [2022-06-20T17:31:29.788Z] $ docker rm -f 62d2eb8e8930506fc534fbefc200a378f10ebeb59c8753dc9cd4543f15bbd895 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T17:31:30.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T17:31:30.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-20T17:31:31.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T17:31:31.340Z] + ls -al . [2022-06-20T17:31:31.340Z] total 164 [2022-06-20T17:31:31.340Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 20 17:31 . [2022-06-20T17:31:31.340Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 17:29 .. [2022-06-20T17:31:31.340Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 17:30 .git [2022-06-20T17:31:31.340Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 17:29 .github [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 349 Jun 20 17:29 .gitignore [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 20 17:29 .golangci.yml [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 20 17:29 .hadolint.yml [2022-06-20T17:31:31.340Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 17:30 .semver [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 8834 Jun 20 17:29 Attribution.txt [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 20 17:29 CHANGELOG.md [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 20 17:29 Dockerfile [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 20 17:29 GOVERNANCE.md [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 20 17:29 Jenkinsfile [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 20 17:29 LICENSE [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 20 17:29 Makefile [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 20 17:29 OWNERS.md [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 20 17:29 README.md [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 17:30 VERSION [2022-06-20T17:31:31.340Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 17:29 bin [2022-06-20T17:31:31.340Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 17:29 cmd [2022-06-20T17:31:31.340Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 20 17:31 coverage.out [2022-06-20T17:31:31.340Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 17:29 docker-compose [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 20 17:29 docker-entrypoint.sh [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 3357 Jun 20 17:29 go.mod [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 36325 Jun 20 17:29 go.sum [2022-06-20T17:31:31.340Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 17:29 internal [2022-06-20T17:31:31.340Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 20 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:31:31.741Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9026b2acc714bf388fda805db91a35ec4a7f1573 --label arch=amd64 --label version=0.0.0 . [2022-06-20T17:31:31.741Z] Sending build context to Docker daemon 638kB [2022-06-20T17:31:31.741Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T17:31:31.741Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-20T17:31:31.741Z] ---> 05a712628c34 [2022-06-20T17:31:31.741Z] Step 3/29 : ARG MAKE="make build" [2022-06-20T17:31:31.741Z] ---> Running in 8dec45db2dac [2022-06-20T17:31:32.002Z] Removing intermediate container 8dec45db2dac [2022-06-20T17:31:32.002Z] ---> c39ebaa51e3f [2022-06-20T17:31:32.002Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T17:31:32.002Z] ---> Running in 7a64e7af1715 [2022-06-20T17:31:32.002Z] Removing intermediate container 7a64e7af1715 [2022-06-20T17:31:32.002Z] ---> 592ae01a3676 [2022-06-20T17:31:32.002Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-20T17:31:32.002Z] ---> Running in 068b213e17ed [2022-06-20T17:31:32.261Z] Removing intermediate container 068b213e17ed [2022-06-20T17:31:32.261Z] ---> 7d2021504e6e [2022-06-20T17:31:32.261Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T17:31:32.261Z] ---> Running in ca2fbbe013f4 [2022-06-20T17:31:32.833Z] Removing intermediate container ca2fbbe013f4 [2022-06-20T17:31:32.833Z] ---> 7f1301e4892c [2022-06-20T17:31:32.833Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T17:31:32.833Z] ---> Running in b00132bdea59 [2022-06-20T17:31:33.094Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T17:31:34.034Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T17:31:34.293Z] OK: 335 MiB in 133 packages [2022-06-20T17:31:34.551Z] Removing intermediate container b00132bdea59 [2022-06-20T17:31:34.551Z] ---> acd5f57b63fb [2022-06-20T17:31:34.551Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-20T17:31:34.551Z] ---> Running in a8c3dfbdc8f4 [2022-06-20T17:31:34.809Z] Removing intermediate container a8c3dfbdc8f4 [2022-06-20T17:31:34.809Z] ---> 7b2bc8a597bd [2022-06-20T17:31:34.809Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-20T17:31:34.809Z] ---> cd420122efdc [2022-06-20T17:31:34.809Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T17:31:34.809Z] ---> Running in f20c4e413319 [2022-06-20T17:31:35.749Z] Removing intermediate container f20c4e413319 [2022-06-20T17:31:35.749Z] ---> 04df957c53d2 [2022-06-20T17:31:35.749Z] Step 11/29 : COPY . . [2022-06-20T17:31:35.749Z] ---> a3f8302378a5 [2022-06-20T17:31:35.749Z] Step 12/29 : RUN ${MAKE} [2022-06-20T17:31:35.749Z] ---> Running in 6e4dc12c4118 [2022-06-20T17:31:36.009Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-06-20T17:31:57.950Z] Removing intermediate container 6e4dc12c4118 [2022-06-20T17:31:57.950Z] ---> 4dc3e933c93a [2022-06-20T17:31:57.950Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-20T17:31:57.950Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-20T17:31:57.950Z] af6660deedbd: Pulling fs layer [2022-06-20T17:31:57.950Z] 97cd0a44c592: Pulling fs layer [2022-06-20T17:31:57.950Z] 97cd0a44c592: Download complete [2022-06-20T17:31:57.950Z] af6660deedbd: Download complete [2022-06-20T17:31:57.950Z] af6660deedbd: Pull complete [2022-06-20T17:31:57.950Z] 97cd0a44c592: Pull complete [2022-06-20T17:31:57.950Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-20T17:31:57.950Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-20T17:31:57.950Z] ---> fea57e182299 [2022-06-20T17:31:57.950Z] Step 14/29 : FROM alpine:3.15 [2022-06-20T17:31:57.950Z] 3.15: Pulling from library/alpine [2022-06-20T17:31:57.950Z] df9b9388f04a: Pulling fs layer [2022-06-20T17:31:57.950Z] df9b9388f04a: Verifying Checksum [2022-06-20T17:31:57.950Z] df9b9388f04a: Download complete [2022-06-20T17:31:57.950Z] df9b9388f04a: Pull complete [2022-06-20T17:31:57.950Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-20T17:31:57.950Z] Status: Downloaded newer image for alpine:3.15 [2022-06-20T17:31:57.950Z] ---> 0ac33e5f5afa [2022-06-20T17:31:57.950Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-20T17:31:57.950Z] ---> Running in 30fa78630307 [2022-06-20T17:31:57.950Z] Removing intermediate container 30fa78630307 [2022-06-20T17:31:57.950Z] ---> b4adafe17d1b [2022-06-20T17:31:57.950Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-20T17:31:57.950Z] ---> Running in f1c2b78d1701 [2022-06-20T17:31:58.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T17:31:58.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T17:31:58.475Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-06-20T17:31:58.475Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-06-20T17:31:58.475Z] (3/74) Installing libxau (1.0.9-r0) [2022-06-20T17:31:58.475Z] (4/74) Installing libmd (1.0.3-r0) [2022-06-20T17:31:58.475Z] (5/74) Installing libbsd (0.11.3-r1) [2022-06-20T17:31:58.475Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-06-20T17:31:58.475Z] (7/74) Installing libxcb (1.14-r2) [2022-06-20T17:31:58.475Z] (8/74) Installing libx11 (1.7.2-r0) [2022-06-20T17:31:58.475Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-06-20T17:31:58.475Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-06-20T17:31:58.735Z] (11/74) Installing expat (2.4.7-r0) [2022-06-20T17:31:58.735Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-06-20T17:31:58.735Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-06-20T17:31:58.735Z] (14/74) Installing libpng (1.6.37-r1) [2022-06-20T17:31:58.735Z] (15/74) Installing freetype (2.11.1-r2) [2022-06-20T17:31:58.735Z] (16/74) Installing libuuid (2.37.4-r0) [2022-06-20T17:31:58.735Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-06-20T17:31:58.735Z] (18/74) Installing fribidi (1.0.11-r0) [2022-06-20T17:31:58.735Z] (19/74) Installing libffi (3.4.2-r1) [2022-06-20T17:31:58.735Z] (20/74) Installing libintl (0.21-r0) [2022-06-20T17:31:58.735Z] (21/74) Installing libblkid (2.37.4-r0) [2022-06-20T17:31:58.735Z] (22/74) Installing libmount (2.37.4-r0) [2022-06-20T17:31:58.735Z] (23/74) Installing pcre (8.45-r1) [2022-06-20T17:31:58.735Z] (24/74) Installing glib (2.70.1-r0) [2022-06-20T17:31:58.735Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-06-20T17:31:58.735Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-06-20T17:31:58.735Z] (27/74) Installing libass (0.15.2-r0) [2022-06-20T17:31:58.735Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-06-20T17:31:58.735Z] (29/74) Installing gmp (6.2.1-r1) [2022-06-20T17:31:58.735Z] (30/74) Installing nettle (3.7.3-r0) [2022-06-20T17:31:58.735Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-06-20T17:31:58.735Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-06-20T17:31:58.735Z] (33/74) Installing libunistring (0.9.10-r1) [2022-06-20T17:31:58.995Z] (34/74) Installing gnutls (3.7.1-r0) [2022-06-20T17:31:58.995Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-20T17:31:58.996Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-20T17:31:58.996Z] (37/74) Installing lame (3.100-r0) [2022-06-20T17:31:58.996Z] (38/74) Installing opus (1.3.1-r1) [2022-06-20T17:31:58.996Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-06-20T17:31:58.996Z] (40/74) Installing soxr (0.1.3-r2) [2022-06-20T17:31:58.996Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-06-20T17:31:58.996Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-20T17:31:58.996Z] (43/74) Installing libsrt (1.4.2-r1) [2022-06-20T17:31:58.996Z] (44/74) Installing libssh (0.9.6-r1) [2022-06-20T17:31:58.996Z] (45/74) Installing libogg (1.3.5-r0) [2022-06-20T17:31:58.996Z] (46/74) Installing libtheora (1.1.1-r16) [2022-06-20T17:31:58.996Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-06-20T17:31:58.996Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-06-20T17:31:58.996Z] (49/74) Installing libxext (1.3.4-r0) [2022-06-20T17:31:58.996Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-06-20T17:31:58.996Z] (51/74) Installing libpciaccess (0.16-r0) [2022-06-20T17:31:58.996Z] (52/74) Installing libdrm (2.4.109-r0) [2022-06-20T17:31:59.255Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-06-20T17:31:59.255Z] (54/74) Installing libva (2.13.0-r0) [2022-06-20T17:31:59.255Z] (55/74) Installing libvdpau (1.4-r0) [2022-06-20T17:31:59.255Z] (56/74) Installing vidstab (1.1.0-r1) [2022-06-20T17:31:59.255Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-06-20T17:31:59.255Z] (58/74) Installing libvpx (1.10.0-r0) [2022-06-20T17:31:59.255Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-06-20T17:31:59.255Z] (60/74) Installing libwebp (1.2.2-r0) [2022-06-20T17:31:59.255Z] (61/74) Installing x264-libs (20210613-r0) [2022-06-20T17:31:59.255Z] (62/74) Installing x265-libs (3.5-r0) [2022-06-20T17:31:59.255Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-06-20T17:31:59.255Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-06-20T17:31:59.514Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-06-20T17:31:59.514Z] (66/74) Installing udev-init-scripts (35-r0) [2022-06-20T17:31:59.773Z] Executing udev-init-scripts-35-r0.post-install [2022-06-20T17:31:59.773Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-20T17:31:59.773Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-06-20T17:31:59.773Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-06-20T17:31:59.773Z] (70/74) Installing kmod-libs (29-r2) [2022-06-20T17:31:59.773Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-06-20T17:31:59.773Z] (72/74) Installing libsodium (1.0.18-r0) [2022-06-20T17:31:59.773Z] (73/74) Installing libzmq (4.3.4-r0) [2022-06-20T17:31:59.773Z] (74/74) Installing zeromq (4.3.4-r0) [2022-06-20T17:31:59.773Z] Executing busybox-1.34.1-r5.trigger [2022-06-20T17:31:59.773Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-20T17:31:59.773Z] OK: 78 MiB in 88 packages [2022-06-20T17:32:01.688Z] Removing intermediate container f1c2b78d1701 [2022-06-20T17:32:01.688Z] ---> 0c57f18fe57e [2022-06-20T17:32:01.688Z] Step 17/29 : WORKDIR / [2022-06-20T17:32:01.688Z] ---> Running in a40a8440157f [2022-06-20T17:32:01.688Z] Removing intermediate container a40a8440157f [2022-06-20T17:32:01.688Z] ---> 084e9ac0da2d [2022-06-20T17:32:01.688Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-20T17:32:02.257Z] ---> 8e49551f2f2e [2022-06-20T17:32:02.257Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-20T17:32:02.257Z] ---> a600d277dd31 [2022-06-20T17:32:02.257Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-20T17:32:02.518Z] ---> b1834f081d75 [2022-06-20T17:32:02.518Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-20T17:32:02.518Z] ---> 125f50dc73aa [2022-06-20T17:32:02.518Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-20T17:32:02.776Z] ---> d0e834898329 [2022-06-20T17:32:02.776Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-20T17:32:03.040Z] ---> 6d300e888798 [2022-06-20T17:32:03.040Z] Step 24/29 : EXPOSE 59983 [2022-06-20T17:32:03.298Z] ---> Running in ee7e0b1bc71a [2022-06-20T17:32:03.298Z] Removing intermediate container ee7e0b1bc71a [2022-06-20T17:32:03.298Z] ---> 9d6d56370083 [2022-06-20T17:32:03.298Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-20T17:32:03.298Z] ---> Running in 4a228c8cd076 [2022-06-20T17:32:03.298Z] Removing intermediate container 4a228c8cd076 [2022-06-20T17:32:03.298Z] ---> 588f223cae10 [2022-06-20T17:32:03.298Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-20T17:32:03.298Z] ---> Running in 090d3edba167 [2022-06-20T17:32:03.558Z] Removing intermediate container 090d3edba167 [2022-06-20T17:32:03.558Z] ---> 68c6281c9d57 [2022-06-20T17:32:03.558Z] Step 27/29 : LABEL arch=amd64 [2022-06-20T17:32:03.558Z] ---> Running in c5def4be2f04 [2022-06-20T17:32:03.558Z] Removing intermediate container c5def4be2f04 [2022-06-20T17:32:03.558Z] ---> b2e747877748 [2022-06-20T17:32:03.558Z] Step 28/29 : LABEL git_sha=9026b2acc714bf388fda805db91a35ec4a7f1573 [2022-06-20T17:32:03.558Z] ---> Running in f5abc8859f20 [2022-06-20T17:32:03.818Z] Removing intermediate container f5abc8859f20 [2022-06-20T17:32:03.818Z] ---> e490ef55e86f [2022-06-20T17:32:03.818Z] Step 29/29 : LABEL version=0.0.0 [2022-06-20T17:32:03.818Z] ---> Running in 261e4ec35dc3 [2022-06-20T17:32:03.818Z] Removing intermediate container 261e4ec35dc3 [2022-06-20T17:32:03.818Z] ---> 413a46f24abf [2022-06-20T17:32:03.818Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T17:32:03.818Z] Successfully built 413a46f24abf [2022-06-20T17:32:03.818Z] Successfully tagged device-usb-camera: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 [2022-06-20T17:32:04.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T17:32:04.674Z] [2022-06-20T17:32:04.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:32:05.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T17:32:05.048Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-20T17:32:05.048Z] 5eb5b503b376: Pulling fs layer [2022-06-20T17:32:05.048Z] 5c69ac0246d0: Pulling fs layer [2022-06-20T17:32:05.048Z] ec43610c2a17: Pulling fs layer [2022-06-20T17:32:05.048Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-20T17:32:05.048Z] 33b1e0a273af: Pulling fs layer [2022-06-20T17:32:05.048Z] 5d3b04190fa2: Pulling fs layer [2022-06-20T17:32:05.048Z] 2f39f015ded8: Pulling fs layer [2022-06-20T17:32:05.048Z] 3a2ae6a8a46f: Waiting [2022-06-20T17:32:05.048Z] 5d3b04190fa2: Waiting [2022-06-20T17:32:05.048Z] 2f39f015ded8: Waiting [2022-06-20T17:32:05.048Z] 33b1e0a273af: Waiting [2022-06-20T17:32:05.048Z] 5c69ac0246d0: Verifying Checksum [2022-06-20T17:32:05.048Z] 5c69ac0246d0: Download complete [2022-06-20T17:32:05.048Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-20T17:32:05.048Z] 33b1e0a273af: Verifying Checksum [2022-06-20T17:32:05.048Z] 33b1e0a273af: Download complete [2022-06-20T17:32:05.048Z] 5d3b04190fa2: Download complete [2022-06-20T17:32:05.048Z] ec43610c2a17: Verifying Checksum [2022-06-20T17:32:05.048Z] ec43610c2a17: Download complete [2022-06-20T17:32:05.310Z] 5eb5b503b376: Verifying Checksum [2022-06-20T17:32:05.310Z] 5eb5b503b376: Download complete [2022-06-20T17:32:05.879Z] 2f39f015ded8: Download complete [2022-06-20T17:32:06.445Z] 5eb5b503b376: Pull complete [2022-06-20T17:32:06.705Z] 5c69ac0246d0: Pull complete [2022-06-20T17:32:06.964Z] ec43610c2a17: Pull complete [2022-06-20T17:32:06.964Z] 3a2ae6a8a46f: Pull complete [2022-06-20T17:32:07.223Z] 33b1e0a273af: Pull complete [2022-06-20T17:32:07.223Z] 5d3b04190fa2: Pull complete [2022-06-20T17:32:11.351Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15173 in /w/workspace/xfoundry_device-usb-camera_PR-43 [Pipeline] { [Pipeline] ws [2022-06-20T17:32:11.394Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [2022-06-20T17:32:11.414Z] 2f39f015ded8: Pull complete [2022-06-20T17:32:11.414Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-20T17:32:11.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T17:32:11.414Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] checkout [2022-06-20T17:32:11.520Z] Selected Git installation does not exist. Using Default [2022-06-20T17:32:11.521Z] The recommended git tool is: NONE [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T17:32:11.617Z] prd-ubuntu20.04-docker-8c-8g-15172 does not seem to be running inside a container [2022-06-20T17:32:11.653Z] $ 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/xfoundry_device-usb-camera_PR-43 -v /w/workspace/xfoundry_device-usb-camera_PR-43:/w/workspace/xfoundry_device-usb-camera_PR-43:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-43@tmp:/w/workspace/xfoundry_device-usb-camera_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T17:32:13.681Z] $ docker top fea97cf7b07618ac8ccd89289f80f5f39b9e18683bcda531bc5765cd5861bdb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:32:14.208Z] ---> job-cost.sh [2022-06-20T17:32:14.208Z] lf-activate-venv: SKIPPING [2022-06-20T17:32:14.208Z] INFO: No Stack... [2022-06-20T17:32:14.777Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T17:32:15.038Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T17:32:15.353Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-43/archives/cost.csv [2022-06-20T17:32:15.354Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T17:32:15.391Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-43-1-stack-cost] [2022-06-20T17:32:15.397Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-43-1-stack-cost] did not exist. Created. [2022-06-20T17:32:15.397Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-43-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T17:32:15.815Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-20T17:32:15.897Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T17:32:15.925Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-43-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T17:32:16.013Z] $ docker stop --time=1 fea97cf7b07618ac8ccd89289f80f5f39b9e18683bcda531bc5765cd5861bdb1 [2022-06-20T17:32:16.803Z] using credential edgex-jenkins-ssh [2022-06-20T17:32:16.818Z] Cloning the remote Git repository [2022-06-20T17:32:17.170Z] $ docker rm -f fea97cf7b07618ac8ccd89289f80f5f39b9e18683bcda531bc5765cd5861bdb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-20T17:32:16.867Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-06-20T17:32:16.939Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-06-20T17:32:17.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-20T17:32:17.022Z] > git --version # timeout=10 [2022-06-20T17:32:17.040Z] > git --version # 'git version 2.25.1' [2022-06-20T17:32:17.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T17:32:17.106Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T17:32:17.632Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-20T17:32:17.651Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T17:32:17.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-06-20T17:32:17.710Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-06-20T17:32:17.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T17:32:17.724Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-20T17:32:18.165Z] Merging remotes/origin/main commit 4dfceff4e3635e4a98b2ef8b67003446cda03de4 into PR head commit 9026b2acc714bf388fda805db91a35ec4a7f1573 [2022-06-20T17:32:18.359Z] Merge succeeded, producing 9026b2acc714bf388fda805db91a35ec4a7f1573 [2022-06-20T17:32:18.360Z] Checking out Revision 9026b2acc714bf388fda805db91a35ec4a7f1573 (PR-43) [2022-06-20T17:32:18.183Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T17:32:18.196Z] > git checkout -f 9026b2acc714bf388fda805db91a35ec4a7f1573 # timeout=10 [2022-06-20T17:32:18.273Z] > git remote # timeout=10 [2022-06-20T17:32:18.288Z] > git config --get remote.origin.url # timeout=10 [2022-06-20T17:32:18.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T17:32:18.316Z] > git merge 4dfceff4e3635e4a98b2ef8b67003446cda03de4 # timeout=10 [2022-06-20T17:32:18.340Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-20T17:32:18.367Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T17:32:18.379Z] > git checkout -f 9026b2acc714bf388fda805db91a35ec4a7f1573 # timeout=10 [2022-06-20T17:32:22.472Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-06-20T17:32:22.526Z] > git --version # timeout=10 [2022-06-20T17:32:22.540Z] > git --version # 'git version 2.25.1' [2022-06-20T17:32:22.554Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T17:32:23.612Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-20T17:32:23.612Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T17:32:23.612Z] Dload Upload Total Spent Left Speed [2022-06-20T17:32:23.612Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 60359 0 --:--:-- --:--:-- --:--:-- 60658 [Pipeline] sh [2022-06-20T17:32:24.624Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-20T17:32:24.979Z] + sudo tee /etc/docker/daemon.new [2022-06-20T17:32:24.979Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-20T17:32:24.979Z] { [2022-06-20T17:32:24.979Z] "registry-mirrors": [ [2022-06-20T17:32:24.979Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-20T17:32:24.979Z] ], [2022-06-20T17:32:24.979Z] "bip": "10.250.0.254/24", [2022-06-20T17:32:24.979Z] "hosts": [ [2022-06-20T17:32:24.979Z] "tcp://0.0.0.0:5555", [2022-06-20T17:32:24.979Z] "unix:///var/run/docker.sock" [2022-06-20T17:32:24.979Z] ], [2022-06-20T17:32:24.979Z] "mtu": 1458, [2022-06-20T17:32:24.979Z] "selinux-enabled": true, [2022-06-20T17:32:24.979Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-20T17:32:24.979Z] } [Pipeline] sh [2022-06-20T17:32:25.336Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-20T17:32:25.692Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T17:32:44.084Z] provisioning config files... [2022-06-20T17:32:44.109Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config4530501313294406027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:32:44.511Z] ---> docker-login.sh [2022-06-20T17:32:44.511Z] nexus3.edgexfoundry.org:10001 [2022-06-20T17:32:45.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:32:45.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:32:45.376Z] Configure a credential helper to remove this warning. See [2022-06-20T17:32:45.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:32:45.376Z] [2022-06-20T17:32:45.376Z] Login Succeeded [2022-06-20T17:32:45.376Z] nexus3.edgexfoundry.org:10002 [2022-06-20T17:32:45.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:32:45.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:32:45.649Z] Configure a credential helper to remove this warning. See [2022-06-20T17:32:45.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:32:45.649Z] [2022-06-20T17:32:45.649Z] Login Succeeded [2022-06-20T17:32:45.924Z] nexus3.edgexfoundry.org:10003 [2022-06-20T17:32:46.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:32:46.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:32:46.203Z] Configure a credential helper to remove this warning. See [2022-06-20T17:32:46.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:32:46.203Z] [2022-06-20T17:32:46.203Z] Login Succeeded [2022-06-20T17:32:46.203Z] nexus3.edgexfoundry.org:10004 [2022-06-20T17:32:46.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:32:46.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:32:46.754Z] Configure a credential helper to remove this warning. See [2022-06-20T17:32:46.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:32:46.754Z] [2022-06-20T17:32:46.754Z] Login Succeeded [2022-06-20T17:32:46.754Z] docker.io [2022-06-20T17:32:47.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T17:32:47.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T17:32:47.622Z] Configure a credential helper to remove this warning. See [2022-06-20T17:32:47.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T17:32:47.622Z] [2022-06-20T17:32:47.622Z] Login Succeeded [2022-06-20T17:32:47.622Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T17:32:47.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T17:32:48.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T17:32:48.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T17:32:48.081Z] ========================================================= [2022-06-20T17:32:48.081Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-20T17:32:48.081Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:32:48.581Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-20T17:32:48.856Z] Sending build context to Docker daemon 428kB [2022-06-20T17:32:48.856Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T17:32:48.856Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T17:32:49.131Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-20T17:32:49.131Z] 9b3977197b4f: Pulling fs layer [2022-06-20T17:32:49.131Z] 1a89e8eeedd5: Pulling fs layer [2022-06-20T17:32:49.131Z] 94645a83ff95: Pulling fs layer [2022-06-20T17:32:49.131Z] e6fb740bc735: Pulling fs layer [2022-06-20T17:32:49.131Z] 3a77bd46dcc9: Pulling fs layer [2022-06-20T17:32:49.131Z] 355e64cbe906: Pulling fs layer [2022-06-20T17:32:49.131Z] 63ab81a10011: Pulling fs layer [2022-06-20T17:32:49.131Z] 555d1d1c4555: Pulling fs layer [2022-06-20T17:32:49.131Z] 7d9057610161: Pulling fs layer [2022-06-20T17:32:49.131Z] e6fb740bc735: Waiting [2022-06-20T17:32:49.131Z] 555d1d1c4555: Waiting [2022-06-20T17:32:49.131Z] 3a77bd46dcc9: Waiting [2022-06-20T17:32:49.131Z] 7d9057610161: Waiting [2022-06-20T17:32:49.131Z] 355e64cbe906: Waiting [2022-06-20T17:32:49.131Z] 63ab81a10011: Waiting [2022-06-20T17:32:49.131Z] 94645a83ff95: Verifying Checksum [2022-06-20T17:32:49.131Z] 94645a83ff95: Download complete [2022-06-20T17:32:49.131Z] 1a89e8eeedd5: Download complete [2022-06-20T17:32:49.131Z] 3a77bd46dcc9: Verifying Checksum [2022-06-20T17:32:49.131Z] 3a77bd46dcc9: Download complete [2022-06-20T17:32:49.131Z] 355e64cbe906: Verifying Checksum [2022-06-20T17:32:49.131Z] 355e64cbe906: Download complete [2022-06-20T17:32:49.131Z] 9b3977197b4f: Verifying Checksum [2022-06-20T17:32:49.131Z] 63ab81a10011: Verifying Checksum [2022-06-20T17:32:49.131Z] 63ab81a10011: Download complete [2022-06-20T17:32:50.126Z] 9b3977197b4f: Pull complete [2022-06-20T17:32:50.126Z] 7d9057610161: Verifying Checksum [2022-06-20T17:32:50.126Z] 7d9057610161: Download complete [2022-06-20T17:32:50.729Z] 1a89e8eeedd5: Pull complete [2022-06-20T17:32:51.004Z] 94645a83ff95: Pull complete [2022-06-20T17:32:51.277Z] 555d1d1c4555: Verifying Checksum [2022-06-20T17:32:51.277Z] 555d1d1c4555: Download complete [2022-06-20T17:32:51.871Z] e6fb740bc735: Verifying Checksum [2022-06-20T17:32:51.871Z] e6fb740bc735: Download complete [2022-06-20T17:33:04.274Z] e6fb740bc735: Pull complete [2022-06-20T17:33:04.274Z] 3a77bd46dcc9: Pull complete [2022-06-20T17:33:04.274Z] 355e64cbe906: Pull complete [2022-06-20T17:33:04.548Z] 63ab81a10011: Pull complete [2022-06-20T17:33:11.256Z] 555d1d1c4555: Pull complete [2022-06-20T17:33:12.692Z] 7d9057610161: Pull complete [2022-06-20T17:33:12.692Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-20T17:33:12.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T17:33:12.692Z] ---> 819e984ddca1 [2022-06-20T17:33:12.692Z] Step 3/12 : ARG MAKE="make build" [2022-06-20T17:33:14.706Z] ---> Running in c70fd14b9fd6 [2022-06-20T17:33:14.706Z] Removing intermediate container c70fd14b9fd6 [2022-06-20T17:33:14.706Z] ---> 3289c603ce0c [2022-06-20T17:33:14.706Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T17:33:14.706Z] ---> Running in 544ba7db6a29 [2022-06-20T17:33:15.322Z] Removing intermediate container 544ba7db6a29 [2022-06-20T17:33:15.322Z] ---> e98457a69afa [2022-06-20T17:33:15.322Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-20T17:33:15.322Z] ---> Running in e305d19df335 [2022-06-20T17:33:16.763Z] Removing intermediate container e305d19df335 [2022-06-20T17:33:16.763Z] ---> 099d5d288b26 [2022-06-20T17:33:16.763Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T17:33:16.763Z] ---> Running in 9764d68d3118 [2022-06-20T17:33:18.207Z] Removing intermediate container 9764d68d3118 [2022-06-20T17:33:18.207Z] ---> 039e37b5a3dc [2022-06-20T17:33:18.207Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T17:33:18.483Z] ---> Running in 4db28e0152f4 [2022-06-20T17:33:19.462Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T17:33:20.054Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T17:33:21.030Z] (1/14) Installing libintl (0.21-r0) [2022-06-20T17:33:21.030Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-20T17:33:21.030Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-06-20T17:33:21.302Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-06-20T17:33:21.302Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-06-20T17:33:21.577Z] (6/14) Installing udev-init-scripts (35-r0) [2022-06-20T17:33:21.577Z] Executing udev-init-scripts-35-r0.post-install [2022-06-20T17:33:21.577Z] (7/14) Installing libblkid (2.37.4-r0) [2022-06-20T17:33:21.856Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-06-20T17:33:21.856Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-06-20T17:33:21.856Z] (10/14) Installing kmod-libs (29-r2) [2022-06-20T17:33:22.128Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-06-20T17:33:22.128Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-06-20T17:33:22.128Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-06-20T17:33:22.413Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-06-20T17:33:22.413Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T17:33:22.413Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-20T17:33:22.413Z] OK: 228 MiB in 66 packages [2022-06-20T17:33:23.851Z] Removing intermediate container 4db28e0152f4 [2022-06-20T17:33:23.851Z] ---> 2e793da7fc45 [2022-06-20T17:33:23.851Z] Step 8/12 : WORKDIR /device-usb-camera [2022-06-20T17:33:23.851Z] ---> Running in f2db2122a07b [2022-06-20T17:33:23.851Z] Removing intermediate container f2db2122a07b [2022-06-20T17:33:23.851Z] ---> 703d1365d8b7 [2022-06-20T17:33:23.851Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-20T17:33:24.448Z] ---> 7c8a83a6ac0a [2022-06-20T17:33:24.448Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T17:33:24.448Z] ---> Running in bd76fcdc8700 [2022-06-20T17:34:11.445Z] Removing intermediate container bd76fcdc8700 [2022-06-20T17:34:11.445Z] ---> 6dc1da443fc1 [2022-06-20T17:34:11.445Z] Step 11/12 : COPY . . [2022-06-20T17:34:11.445Z] ---> 6d49242c39a9 [2022-06-20T17:34:11.445Z] Step 12/12 : RUN ${MAKE} [2022-06-20T17:34:11.445Z] ---> Running in 1cfc0676c5ab [2022-06-20T17:34:11.445Z] noop [2022-06-20T17:34:11.445Z] Removing intermediate container 1cfc0676c5ab [2022-06-20T17:34:11.445Z] ---> d5ab7e0cc117 [2022-06-20T17:34:11.445Z] Successfully built d5ab7e0cc117 [2022-06-20T17:34:11.445Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:34:11.970Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T17:34:11.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T17:34:12.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-15173 does not seem to be running inside a container [2022-06-20T17:34:12.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/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 ******** ci-base-image-arm64 cat [2022-06-20T17:34:13.722Z] $ docker top 678a39ae42de2e9de92469383511d67a7b0a0a54ce739059e4d48cfdc0b68c4a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T17:34:14.687Z] + go version [2022-06-20T17:34:14.687Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-20T17:34:14.726Z] $ docker stop --time=1 678a39ae42de2e9de92469383511d67a7b0a0a54ce739059e4d48cfdc0b68c4a [2022-06-20T17:34:16.358Z] $ docker rm -f 678a39ae42de2e9de92469383511d67a7b0a0a54ce739059e4d48cfdc0b68c4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:34:17.305Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T17:34:17.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T17:34:17.613Z] prd-ubuntu20.04-docker-arm64-4c-16g-15173 does not seem to be running inside a container [2022-06-20T17:34:17.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/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 ******** ci-base-image-arm64 cat [2022-06-20T17:34:18.994Z] $ docker top 9685e3f752d7eb5ed42add56d1516ad9b071544908227f98663694c1c3dd32d5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T17:34:19.990Z] + make test [2022-06-20T17:34:19.990Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-06-20T17:34:21.435Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-06-20T17:35:43.261Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-06-20T17:35:43.261Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-06-20T17:35:43.261Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-20T17:35:43.261Z] CGO_ENABLED=1 go vet ./... [2022-06-20T17:36:05.474Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T17:36:05.474Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T17:36:05.474Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T17:36:06.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T17:36:06.138Z] $ docker stop --time=1 9685e3f752d7eb5ed42add56d1516ad9b071544908227f98663694c1c3dd32d5 [2022-06-20T17:36:07.907Z] $ docker rm -f 9685e3f752d7eb5ed42add56d1516ad9b071544908227f98663694c1c3dd32d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T17:36:08.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T17:36:08.908Z] Warning: overwriting stash ‘coverage-report’ [2022-06-20T17:36:09.331Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T17:36:09.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T17:36:10.266Z] + ls -al . [2022-06-20T17:36:10.266Z] total 160 [2022-06-20T17:36:10.266Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 17:36 . [2022-06-20T17:36:10.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 17:32 .. [2022-06-20T17:36:10.266Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 17:32 .git [2022-06-20T17:36:10.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 17:32 .github [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 349 Jun 20 17:32 .gitignore [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 20 17:32 .golangci.yml [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 20 17:32 .hadolint.yml [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 8834 Jun 20 17:32 Attribution.txt [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 181 Jun 20 17:32 CHANGELOG.md [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jun 20 17:32 Dockerfile [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 20 17:32 GOVERNANCE.md [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 20 17:32 Jenkinsfile [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 20 17:32 LICENSE [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jun 20 17:32 Makefile [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 20 17:32 OWNERS.md [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 10754 Jun 20 17:32 README.md [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 17:30 VERSION [2022-06-20T17:36:10.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 17:32 bin [2022-06-20T17:36:10.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 17:32 cmd [2022-06-20T17:36:10.266Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 20 17:34 coverage.out [2022-06-20T17:36:10.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 17:32 docker-compose [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 20 17:32 docker-entrypoint.sh [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 3357 Jun 20 17:32 go.mod [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 36325 Jun 20 17:32 go.sum [2022-06-20T17:36:10.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 17:32 internal [2022-06-20T17:36:10.266Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 20 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:36:10.683Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9026b2acc714bf388fda805db91a35ec4a7f1573 --label arch=arm64 --label version=0.0.0 . [2022-06-20T17:36:10.962Z] Sending build context to Docker daemon 429.1kB [2022-06-20T17:36:10.962Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T17:36:10.962Z] Step 2/29 : FROM ${BASE} AS builder [2022-06-20T17:36:10.962Z] ---> d5ab7e0cc117 [2022-06-20T17:36:10.962Z] Step 3/29 : ARG MAKE="make build" [2022-06-20T17:36:11.239Z] ---> Running in 67fee0147b18 [2022-06-20T17:36:11.524Z] Removing intermediate container 67fee0147b18 [2022-06-20T17:36:11.524Z] ---> bc9d0863573a [2022-06-20T17:36:11.524Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T17:36:11.524Z] ---> Running in abe1dd4c6f0a [2022-06-20T17:36:11.795Z] Removing intermediate container abe1dd4c6f0a [2022-06-20T17:36:11.795Z] ---> d44a30b886ba [2022-06-20T17:36:11.795Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-06-20T17:36:11.795Z] ---> Running in bb06ede42c90 [2022-06-20T17:36:12.072Z] Removing intermediate container bb06ede42c90 [2022-06-20T17:36:12.072Z] ---> b62f7d27e30a [2022-06-20T17:36:12.072Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T17:36:12.347Z] ---> Running in 25766a1e4796 [2022-06-20T17:36:13.798Z] Removing intermediate container 25766a1e4796 [2022-06-20T17:36:13.798Z] ---> 587f27a5902c [2022-06-20T17:36:13.798Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T17:36:14.072Z] ---> Running in d0551db02321 [2022-06-20T17:36:15.049Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T17:36:16.027Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T17:36:16.626Z] OK: 228 MiB in 66 packages [2022-06-20T17:36:17.607Z] Removing intermediate container d0551db02321 [2022-06-20T17:36:17.607Z] ---> 6ade2bb81836 [2022-06-20T17:36:17.607Z] Step 8/29 : WORKDIR /device-usb-camera [2022-06-20T17:36:17.607Z] ---> Running in e8bc9074d30e [2022-06-20T17:36:17.880Z] Removing intermediate container e8bc9074d30e [2022-06-20T17:36:17.880Z] ---> ad8064728e99 [2022-06-20T17:36:17.880Z] Step 9/29 : COPY go.mod vendor* ./ [2022-06-20T17:36:18.478Z] ---> 64431a1fc7ca [2022-06-20T17:36:18.478Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T17:36:18.478Z] ---> Running in f5097168e840 [2022-06-20T17:36:20.454Z] Removing intermediate container f5097168e840 [2022-06-20T17:36:20.454Z] ---> 02040487a725 [2022-06-20T17:36:20.454Z] Step 11/29 : COPY . . [2022-06-20T17:36:21.057Z] ---> 48fce329361d [2022-06-20T17:36:21.057Z] Step 12/29 : RUN ${MAKE} [2022-06-20T17:36:21.057Z] ---> Running in d6de34fd4cdd [2022-06-20T17:36:22.040Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-06-20T17:38:28.972Z] Removing intermediate container d6de34fd4cdd [2022-06-20T17:38:28.972Z] ---> d1ee5a50cbcb [2022-06-20T17:38:28.972Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-06-20T17:38:28.972Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-06-20T17:38:28.972Z] eab2503cf8f4: Pulling fs layer [2022-06-20T17:38:28.972Z] 97cd0a44c592: Pulling fs layer [2022-06-20T17:38:28.972Z] 97cd0a44c592: Verifying Checksum [2022-06-20T17:38:28.972Z] 97cd0a44c592: Download complete [2022-06-20T17:38:28.972Z] eab2503cf8f4: Verifying Checksum [2022-06-20T17:38:28.972Z] eab2503cf8f4: Download complete [2022-06-20T17:38:28.972Z] eab2503cf8f4: Pull complete [2022-06-20T17:38:28.972Z] 97cd0a44c592: Pull complete [2022-06-20T17:38:28.972Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-06-20T17:38:28.972Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-06-20T17:38:28.972Z] ---> 7f763cca56b3 [2022-06-20T17:38:28.972Z] Step 14/29 : FROM alpine:3.15 [2022-06-20T17:38:28.972Z] 3.15: Pulling from library/alpine [2022-06-20T17:38:28.972Z] 9981e73032c8: Pulling fs layer [2022-06-20T17:38:28.972Z] 9981e73032c8: Verifying Checksum [2022-06-20T17:38:28.972Z] 9981e73032c8: Download complete [2022-06-20T17:38:28.972Z] 9981e73032c8: Pull complete [2022-06-20T17:38:28.972Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-20T17:38:28.972Z] Status: Downloaded newer image for alpine:3.15 [2022-06-20T17:38:28.972Z] ---> 3fb3c9af89a9 [2022-06-20T17:38:28.972Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-20T17:38:28.972Z] ---> Running in fb561be87b8c [2022-06-20T17:38:28.972Z] Removing intermediate container fb561be87b8c [2022-06-20T17:38:28.972Z] ---> d5de530abb42 [2022-06-20T17:38:28.972Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-06-20T17:38:28.972Z] ---> Running in d380efb43056 [2022-06-20T17:38:28.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T17:38:28.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T17:38:28.972Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-06-20T17:38:28.972Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-06-20T17:38:28.972Z] (3/73) Installing libxau (1.0.9-r0) [2022-06-20T17:38:28.972Z] (4/73) Installing libmd (1.0.3-r0) [2022-06-20T17:38:28.972Z] (5/73) Installing libbsd (0.11.3-r1) [2022-06-20T17:38:28.972Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-06-20T17:38:28.972Z] (7/73) Installing libxcb (1.14-r2) [2022-06-20T17:38:28.972Z] (8/73) Installing libx11 (1.7.2-r0) [2022-06-20T17:38:28.972Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-06-20T17:38:28.972Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-06-20T17:38:28.972Z] (11/73) Installing expat (2.4.7-r0) [2022-06-20T17:38:28.972Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-06-20T17:38:28.972Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-06-20T17:38:28.972Z] (14/73) Installing libpng (1.6.37-r1) [2022-06-20T17:38:28.972Z] (15/73) Installing freetype (2.11.1-r2) [2022-06-20T17:38:28.972Z] (16/73) Installing libuuid (2.37.4-r0) [2022-06-20T17:38:28.972Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-06-20T17:38:28.972Z] (18/73) Installing fribidi (1.0.11-r0) [2022-06-20T17:38:28.972Z] (19/73) Installing libffi (3.4.2-r1) [2022-06-20T17:38:28.972Z] (20/73) Installing libintl (0.21-r0) [2022-06-20T17:38:28.972Z] (21/73) Installing libblkid (2.37.4-r0) [2022-06-20T17:38:28.972Z] (22/73) Installing libmount (2.37.4-r0) [2022-06-20T17:38:28.972Z] (23/73) Installing pcre (8.45-r1) [2022-06-20T17:38:28.972Z] (24/73) Installing glib (2.70.1-r0) [2022-06-20T17:38:28.972Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-06-20T17:38:28.972Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-06-20T17:38:28.972Z] (27/73) Installing libass (0.15.2-r0) [2022-06-20T17:38:28.972Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-06-20T17:38:28.972Z] (29/73) Installing gmp (6.2.1-r1) [2022-06-20T17:38:28.972Z] (30/73) Installing nettle (3.7.3-r0) [2022-06-20T17:38:28.972Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-06-20T17:38:28.972Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-06-20T17:38:28.972Z] (33/73) Installing libunistring (0.9.10-r1) [2022-06-20T17:38:28.972Z] (34/73) Installing gnutls (3.7.1-r0) [2022-06-20T17:38:28.972Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-06-20T17:38:28.972Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-06-20T17:38:28.972Z] (37/73) Installing lame (3.100-r0) [2022-06-20T17:38:28.972Z] (38/73) Installing opus (1.3.1-r1) [2022-06-20T17:38:28.972Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-06-20T17:38:28.972Z] (40/73) Installing soxr (0.1.3-r2) [2022-06-20T17:38:28.972Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-06-20T17:38:28.972Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-20T17:38:28.972Z] (43/73) Installing libsrt (1.4.2-r1) [2022-06-20T17:38:28.972Z] (44/73) Installing libssh (0.9.6-r1) [2022-06-20T17:38:28.972Z] (45/73) Installing libogg (1.3.5-r0) [2022-06-20T17:38:28.972Z] (46/73) Installing libtheora (1.1.1-r16) [2022-06-20T17:38:28.972Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-06-20T17:38:28.972Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-06-20T17:38:28.972Z] (49/73) Installing libxext (1.3.4-r0) [2022-06-20T17:38:28.972Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-06-20T17:38:28.972Z] (51/73) Installing libdrm (2.4.109-r0) [2022-06-20T17:38:28.972Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-06-20T17:38:28.972Z] (53/73) Installing libva (2.13.0-r0) [2022-06-20T17:38:28.972Z] (54/73) Installing libvdpau (1.4-r0) [2022-06-20T17:38:28.972Z] (55/73) Installing vidstab (1.1.0-r1) [2022-06-20T17:38:28.972Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-06-20T17:38:28.972Z] (57/73) Installing libvpx (1.10.0-r0) [2022-06-20T17:38:28.972Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-06-20T17:38:28.972Z] (59/73) Installing libwebp (1.2.2-r0) [2022-06-20T17:38:28.972Z] (60/73) Installing x264-libs (20210613-r0) [2022-06-20T17:38:28.972Z] (61/73) Installing x265-libs (3.5-r0) [2022-06-20T17:38:28.972Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-06-20T17:38:28.972Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-06-20T17:38:28.972Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-06-20T17:38:28.972Z] (65/73) Installing udev-init-scripts (35-r0) [2022-06-20T17:38:28.972Z] Executing udev-init-scripts-35-r0.post-install [2022-06-20T17:38:28.972Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-06-20T17:38:28.972Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-06-20T17:38:28.972Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-06-20T17:38:28.972Z] (69/73) Installing kmod-libs (29-r2) [2022-06-20T17:38:28.972Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-06-20T17:38:28.972Z] (71/73) Installing libsodium (1.0.18-r0) [2022-06-20T17:38:28.972Z] (72/73) Installing libzmq (4.3.4-r0) [2022-06-20T17:38:28.972Z] (73/73) Installing zeromq (4.3.4-r0) [2022-06-20T17:38:28.972Z] Executing busybox-1.34.1-r5.trigger [2022-06-20T17:38:28.972Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-06-20T17:38:28.972Z] OK: 67 MiB in 87 packages [2022-06-20T17:38:29.573Z] Removing intermediate container d380efb43056 [2022-06-20T17:38:29.573Z] ---> 63c1aebe6e63 [2022-06-20T17:38:29.573Z] Step 17/29 : WORKDIR / [2022-06-20T17:38:29.573Z] ---> Running in 885f49362773 [2022-06-20T17:38:30.171Z] Removing intermediate container 885f49362773 [2022-06-20T17:38:30.171Z] ---> 3d0d3898e826 [2022-06-20T17:38:30.171Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-06-20T17:38:31.606Z] ---> 7680f6135cee [2022-06-20T17:38:31.606Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-06-20T17:38:31.879Z] ---> 8002a62f00c7 [2022-06-20T17:38:31.880Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-06-20T17:38:32.478Z] ---> d1db11976a68 [2022-06-20T17:38:32.478Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-06-20T17:38:33.076Z] ---> 536213bbb496 [2022-06-20T17:38:33.076Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-06-20T17:38:33.349Z] ---> 47f9af3ca269 [2022-06-20T17:38:33.349Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-06-20T17:38:34.778Z] ---> 69a12cb6613b [2022-06-20T17:38:34.778Z] Step 24/29 : EXPOSE 59983 [2022-06-20T17:38:34.778Z] ---> Running in dc77dea00bc1 [2022-06-20T17:38:35.050Z] Removing intermediate container dc77dea00bc1 [2022-06-20T17:38:35.050Z] ---> 9c2e3316a9ef [2022-06-20T17:38:35.050Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-06-20T17:38:35.050Z] ---> Running in 26699129f242 [2022-06-20T17:38:35.328Z] Removing intermediate container 26699129f242 [2022-06-20T17:38:35.328Z] ---> 7c5ed1bc9dde [2022-06-20T17:38:35.328Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-06-20T17:38:35.328Z] ---> Running in 9ab085df2d74 [2022-06-20T17:38:35.602Z] Removing intermediate container 9ab085df2d74 [2022-06-20T17:38:35.602Z] ---> c9eab67ec15e [2022-06-20T17:38:35.602Z] Step 27/29 : LABEL arch=arm64 [2022-06-20T17:38:35.885Z] ---> Running in 880dfbdef6a2 [2022-06-20T17:38:36.343Z] Removing intermediate container 880dfbdef6a2 [2022-06-20T17:38:36.343Z] ---> 4535a83dec85 [2022-06-20T17:38:36.343Z] Step 28/29 : LABEL git_sha=9026b2acc714bf388fda805db91a35ec4a7f1573 [2022-06-20T17:38:36.343Z] ---> Running in 6b07b394881e [2022-06-20T17:38:36.343Z] Removing intermediate container 6b07b394881e [2022-06-20T17:38:36.343Z] ---> 6495b206b56b [2022-06-20T17:38:36.343Z] Step 29/29 : LABEL version=0.0.0 [2022-06-20T17:38:36.618Z] ---> Running in 12ad62e5c652 [2022-06-20T17:38:36.891Z] Removing intermediate container 12ad62e5c652 [2022-06-20T17:38:36.891Z] ---> 5b220c7f85aa [2022-06-20T17:38:36.891Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T17:38:36.891Z] Successfully built 5b220c7f85aa [2022-06-20T17:38:36.891Z] Successfully tagged device-usb-camera-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 [2022-06-20T17:38:37.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T17:38:37.662Z] [2022-06-20T17:38:37.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:38:38.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T17:38:38.070Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-20T17:38:38.070Z] 8998bd30e6a1: Pulling fs layer [2022-06-20T17:38:38.070Z] 04944245beec: Pulling fs layer [2022-06-20T17:38:38.070Z] 699f458cf7ca: Pulling fs layer [2022-06-20T17:38:38.070Z] 765212b225bb: Pulling fs layer [2022-06-20T17:38:38.070Z] f23df028b6ca: Pulling fs layer [2022-06-20T17:38:38.070Z] d65c8cfc05b1: Pulling fs layer [2022-06-20T17:38:38.070Z] 2437ff75d9bd: Pulling fs layer [2022-06-20T17:38:38.070Z] f23df028b6ca: Waiting [2022-06-20T17:38:38.070Z] d65c8cfc05b1: Waiting [2022-06-20T17:38:38.070Z] 2437ff75d9bd: Waiting [2022-06-20T17:38:38.070Z] 765212b225bb: Waiting [2022-06-20T17:38:38.343Z] 04944245beec: Verifying Checksum [2022-06-20T17:38:38.343Z] 04944245beec: Download complete [2022-06-20T17:38:38.343Z] 765212b225bb: Verifying Checksum [2022-06-20T17:38:38.343Z] 765212b225bb: Download complete [2022-06-20T17:38:38.343Z] f23df028b6ca: Verifying Checksum [2022-06-20T17:38:38.343Z] f23df028b6ca: Download complete [2022-06-20T17:38:38.343Z] d65c8cfc05b1: Verifying Checksum [2022-06-20T17:38:38.343Z] d65c8cfc05b1: Download complete [2022-06-20T17:38:38.619Z] 699f458cf7ca: Verifying Checksum [2022-06-20T17:38:38.619Z] 699f458cf7ca: Download complete [2022-06-20T17:38:38.894Z] 8998bd30e6a1: Verifying Checksum [2022-06-20T17:38:38.894Z] 8998bd30e6a1: Download complete [2022-06-20T17:38:40.879Z] 2437ff75d9bd: Verifying Checksum [2022-06-20T17:38:40.879Z] 2437ff75d9bd: Download complete [2022-06-20T17:38:42.857Z] 8998bd30e6a1: Pull complete [2022-06-20T17:38:43.451Z] 04944245beec: Pull complete [2022-06-20T17:38:44.904Z] 699f458cf7ca: Pull complete [2022-06-20T17:38:45.180Z] 765212b225bb: Pull complete [2022-06-20T17:38:45.781Z] f23df028b6ca: Pull complete [2022-06-20T17:38:46.058Z] d65c8cfc05b1: Pull complete [2022-06-20T17:39:01.153Z] 2437ff75d9bd: Pull complete [2022-06-20T17:39:01.153Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-20T17:39:01.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T17:39:01.153Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T17:39:01.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-15173 does not seem to be running inside a container [2022-06-20T17:39:01.598Z] $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-20T17:39:04.019Z] $ docker top 40003c266a3648f05027b878acce95a98b1aac3c421586f8764a87e17156a452 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:39:04.961Z] ---> job-cost.sh [2022-06-20T17:39:04.961Z] lf-activate-venv: SKIPPING [2022-06-20T17:39:04.961Z] INFO: No Stack... [2022-06-20T17:39:05.231Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-20T17:39:06.201Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T17:39:06.879Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-06-20T17:39:06.879Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T17:39:06.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-43-1-stack-cost] [2022-06-20T17:39:06.962Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-43-1-stack-cost] did not exist. Created. [2022-06-20T17:39:06.962Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-43-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T17:39:07.702Z] /w/workspace/device-usb-camera/1@tmp/durable-5f485b49/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-20T17:39:08.388Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-20T17:39:08.423Z] Warning: overwriting stash ‘stack-cost’ [2022-06-20T17:39:08.462Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T17:39:08.480Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-43-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T17:39:08.557Z] $ docker stop --time=1 40003c266a3648f05027b878acce95a98b1aac3c421586f8764a87e17156a452 [2022-06-20T17:39:10.052Z] $ docker rm -f 40003c266a3648f05027b878acce95a98b1aac3c421586f8764a87e17156a452 [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 [2022-06-20T17:39:11.039Z] provisioning config files... [2022-06-20T17:39:11.048Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-43@tmp/config672877601752167002tmp [Pipeline] { [Pipeline] sh [2022-06-20T17:39:11.387Z] + set +x [2022-06-20T17:39:11.388Z] + curl -s https://codecov.io/bash [2022-06-20T17:39:11.388Z] + bash -s -- [2022-06-20T17:39:11.388Z] [2022-06-20T17:39:11.388Z] _____ _ [2022-06-20T17:39:11.388Z] / ____| | | [2022-06-20T17:39:11.388Z] | | ___ __| | ___ ___ _____ __ [2022-06-20T17:39:11.388Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-20T17:39:11.388Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-20T17:39:11.388Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-20T17:39:11.388Z] Bash-1.0.6 [2022-06-20T17:39:11.388Z] [2022-06-20T17:39:11.388Z] [2022-06-20T17:39:11.388Z] ==> git version 2.25.1 found [2022-06-20T17:39:11.388Z] ==> 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 [2022-06-20T17:39:11.388Z] Release-Date: 2020-01-08 [2022-06-20T17:39:11.388Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-20T17:39:11.388Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-20T17:39:11.388Z] ==> Jenkins CI detected. [2022-06-20T17:39:11.388Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-43 [2022-06-20T17:39:11.388Z] project root: . [2022-06-20T17:39:11.388Z] --> token set from env [2022-06-20T17:39:11.388Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-20T17:39:11.388Z] ==> Running gcov in . (disable via -X gcov) [2022-06-20T17:39:11.388Z] ==> Python coveragepy not found [2022-06-20T17:39:11.388Z] ==> Searching for coverage reports in: [2022-06-20T17:39:11.388Z] + . [2022-06-20T17:39:11.388Z] -> Found 1 reports [2022-06-20T17:39:11.388Z] ==> Detecting git/mercurial file structure [2022-06-20T17:39:11.648Z] ==> Reading reports [2022-06-20T17:39:11.648Z] + ./coverage.out bytes=10 [2022-06-20T17:39:11.648Z] ==> Appending adjustments [2022-06-20T17:39:11.648Z] https://docs.codecov.io/docs/fixing-reports [2022-06-20T17:39:11.648Z] + Found adjustments [2022-06-20T17:39:11.648Z] ==> Gzipping contents [2022-06-20T17:39:11.648Z] 4.0K /tmp/codecov.GMglYz.gz [2022-06-20T17:39:11.648Z] ==> Uploading reports [2022-06-20T17:39:11.648Z] url: https://codecov.io [2022-06-20T17:39:11.648Z] query: branch=PR-43&commit=9026b2acc714bf388fda805db91a35ec4a7f1573&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-43%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=43&job=&cmd_args= [2022-06-20T17:39:11.648Z] -> Pinging Codecov [2022-06-20T17:39:11.648Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-43&commit=9026b2acc714bf388fda805db91a35ec4a7f1573&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-43%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=43&job=&cmd_args= [2022-06-20T17:39:11.908Z] -> Uploading to [2022-06-20T17:39:11.908Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-20/73D8F5FF140700D3E01443B452E23636/9026b2acc714bf388fda805db91a35ec4a7f1573/eeee85fd-ee9e-49f3-b3d4-35658faf742e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T173911Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a522dd07debcbd3213bb1350d43c8de56d172f93ce0e53c11a3c6e0da2e7aca4 [2022-06-20T17:39:11.908Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T17:39:11.908Z] Dload Upload Total Spent Left Speed [2022-06-20T17:39:12.167Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1019 0 0 100 1019 0 4159 --:--:-- --:--:-- --:--:-- 4176 [2022-06-20T17:39:12.167Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/9026b2acc714bf388fda805db91a35ec4a7f1573 [Pipeline] } [2022-06-20T17:39:12.194Z] 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 [2022-06-20T17:39:13.882Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-43/archives ] [2022-06-20T17:39:13.882Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-43/archives [2022-06-20T17:39:13.882Z] total 16 [2022-06-20T17:39:13.882Z] drwxr-xr-x 3 root root 4096 Jun 20 17:32 . [2022-06-20T17:39:13.882Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 17:32 .. [2022-06-20T17:39:13.882Z] drwxr-xr-x 2 root root 4096 Jun 20 17:32 cost [2022-06-20T17:39:13.882Z] -rw-r--r-- 1 root root 87 Jun 20 17:32 cost.csv [2022-06-20T17:39:13.882Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-43/archives [2022-06-20T17:39:13.882Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-43/archives [2022-06-20T17:39:13.882Z] total 16 [2022-06-20T17:39:13.882Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 17:32 . [2022-06-20T17:39:13.882Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 17:32 .. [2022-06-20T17:39:13.882Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 17:32 cost [2022-06-20T17:39:13.882Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 20 17:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:39:14.210Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:39:15.101Z] ---> package-listing.sh [2022-06-20T17:39:15.101Z] ++ facter osfamily [2022-06-20T17:39:15.101Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-20T17:39:15.360Z] + OS_FAMILY=debian [2022-06-20T17:39:15.360Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-43 [2022-06-20T17:39:15.360Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-20T17:39:15.360Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-20T17:39:15.360Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-20T17:39:15.360Z] + PACKAGES=/tmp/packages_start.txt [2022-06-20T17:39:15.360Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-43 ']' [2022-06-20T17:39:15.360Z] + PACKAGES=/tmp/packages_end.txt [2022-06-20T17:39:15.360Z] + case "${OS_FAMILY}" in [2022-06-20T17:39:15.360Z] + dpkg -l [2022-06-20T17:39:15.360Z] + grep '^ii' [2022-06-20T17:39:15.360Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-20T17:39:15.360Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-20T17:39:15.360Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-20T17:39:15.360Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-43 ']' [2022-06-20T17:39:15.360Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-43/archives/ [2022-06-20T17:39:15.360Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-43/archives/ [Pipeline] echo [2022-06-20T17:39:15.390Z] 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/xfoundry_device-usb-camera_PR-43/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-20T17:39:15.684Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T17:39:16.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T17:39:16.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T17:39:16.447Z] prd-ubuntu20.04-docker-8c-8g-15172 does not seem to be running inside a container [2022-06-20T17:39:16.481Z] $ 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/xfoundry_device-usb-camera_PR-43/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-43 -v /w/workspace/xfoundry_device-usb-camera_PR-43:/w/workspace/xfoundry_device-usb-camera_PR-43:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-43@tmp:/w/workspace/xfoundry_device-usb-camera_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T17:39:16.741Z] $ docker top 706ad5a83baf3d4c6594217e4cf1740806bb4bf833c36b1f562e63980a9a3ea3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T17:39:17.145Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-20T17:39:17.456Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-20T17:39:17.765Z] + ls /var/log/sa-host [2022-06-20T17:39:17.765Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T17:39:17.979Z] provisioning config files... [2022-06-20T17:39:17.989Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-43@tmp/config8492073708663927224tmp [Pipeline] { [Pipeline] echo [2022-06-20T17:39:18.049Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:39:18.361Z] ---> create-netrc.sh [Pipeline] } [2022-06-20T17:39:18.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:39:18.803Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-20T17:39:18.835Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:39:19.151Z] ---> sudo-logs.sh [2022-06-20T17:39:19.151Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-20T17:39:19.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:39:19.549Z] ---> job-cost.sh [2022-06-20T17:39:19.550Z] lf-activate-venv: SKIPPING [2022-06-20T17:39:19.550Z] DEBUG: total: 0.2199999988079071 [2022-06-20T17:39:19.550Z] INFO: Retrieving Stack Cost... [2022-06-20T17:39:20.121Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T17:39:20.382Z] INFO: Archiving Costs [Pipeline] echo [2022-06-20T17:39:20.415Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T17:39:20.729Z] ---> logs-deploy.sh [2022-06-20T17:39:20.729Z] lf-activate-venv: SKIPPING [2022-06-20T17:39:20.729Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-43/1 [2022-06-20T17:39:20.729Z] INFO: archiving workspace using pattern(s): [2022-06-20T17:39:21.671Z] Archives upload complete. [2022-06-20T17:39:21.671Z] INFO: archiving logs to Nexus