Pull request #30 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 4df80eefb8af4e7f598d31ac79e90a8636e25008+f39f8737115c4aee3eed177658c873badef7abfd (aaf9f7735f65c96ae04cd719b44a8e68e7498ab5) 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-ssh7931689646976897011.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh14734205225562895527.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10907493424645787371.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14203424038351913175.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13317735623609798386.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-430 in /w/workspace/xfoundry_device-usb-camera_PR-30 [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-30 # 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/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f39f8737115c4aee3eed177658c873badef7abfd into PR head commit 4df80eefb8af4e7f598d31ac79e90a8636e25008 Merge succeeded, producing 4df80eefb8af4e7f598d31ac79e90a8636e25008 Checking out Revision 4df80eefb8af4e7f598d31ac79e90a8636e25008 (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f 4df80eefb8af4e7f598d31ac79e90a8636e25008 # 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 f39f8737115c4aee3eed177658c873badef7abfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4df80eefb8af4e7f598d31ac79e90a8636e25008 # timeout=10 Commit message: "fix: add missing curl build dependency" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-30T07:36:08.588Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-30T07:36:08.649Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-30T07:36:08.665Z] ========================================================= [2022-05-30T07:36:08.665Z] EdgeX Global Pipelines Version Info [2022-05-30T07:36:08.665Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ae28bf414831169012e1364a4a9cfce9f93a3b1f # timeout=10 [2022-05-30T07:36:09.411Z] ------------------- [2022-05-30T07:36:09.411Z] stable info: [2022-05-30T07:36:09.411Z] ------------------- [2022-05-30T07:36:09.411Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-30T07:36:09.411Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-30T07:36:09.411Z] Message: update stable to v1.0.230 [2022-05-30T07:36:09.984Z] ------------------- [2022-05-30T07:36:09.984Z] experimental info: [2022-05-30T07:36:09.984Z] ------------------- [2022-05-30T07:36:09.984Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-30T07:36:09.984Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-05-30T07:36:09.984Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-30T07:36:10.247Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-05-30T07:36:10.262Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-05-30T07:36:10.272Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-30T07:36:10.284Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-30T07:36:10.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-30T07:36:10.309Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-30T07:36:10.321Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-30T07:36:10.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-30T07:36:10.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-30T07:36:10.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-30T07:36:10.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-30T07:36:10.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-05-30T07:36:10.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-30T07:36:10.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-30T07:36:10.391Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-30T07:36:10.399Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-30T07:36:10.410Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-30T07:36:10.420Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-30T07:36:10.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-30T07:36:10.438Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-30T07:36:10.446Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-30T07:36:10.455Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-30T07:36:10.469Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-30T07:36:10.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-30T07:36:10.505Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-30T07:36:10.518Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-30T07:36:10.533Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo [2022-05-30T07:36:10.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo [2022-05-30T07:36:10.557Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo [2022-05-30T07:36:10.567Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4df80eefb8af4e7f598d31ac79e90a8636e25008 [Pipeline] echo [2022-05-30T07:36:10.579Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4df80ee [Pipeline] echo [2022-05-30T07:36:10.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-30T07:36:10.638Z] provisioning config files... [2022-05-30T07:36:10.651Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config5580384569413120097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:36:10.960Z] ---> docker-login.sh [2022-05-30T07:36:10.960Z] nexus3.edgexfoundry.org:10001 [2022-05-30T07:36:11.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:11.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:11.222Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:11.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:11.222Z] [2022-05-30T07:36:11.222Z] Login Succeeded [2022-05-30T07:36:11.482Z] nexus3.edgexfoundry.org:10002 [2022-05-30T07:36:11.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:11.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:11.483Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:11.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:11.483Z] [2022-05-30T07:36:11.483Z] Login Succeeded [2022-05-30T07:36:11.483Z] nexus3.edgexfoundry.org:10003 [2022-05-30T07:36:11.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:11.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:11.483Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:11.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:11.483Z] [2022-05-30T07:36:11.483Z] Login Succeeded [2022-05-30T07:36:11.742Z] nexus3.edgexfoundry.org:10004 [2022-05-30T07:36:11.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:11.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:11.743Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:11.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:11.743Z] [2022-05-30T07:36:11.743Z] Login Succeeded [2022-05-30T07:36:11.743Z] docker.io [2022-05-30T07:36:11.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:12.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:12.003Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:12.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:12.003Z] [2022-05-30T07:36:12.003Z] Login Succeeded [2022-05-30T07:36:12.003Z] ---> docker-login.sh ends [Pipeline] } [2022-05-30T07:36:12.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-30T07:36:12.404Z] + git rev-list -1 --merges 4df80eefb8af4e7f598d31ac79e90a8636e25008~1..4df80eefb8af4e7f598d31ac79e90a8636e25008 [Pipeline] echo [2022-05-30T07:36:12.439Z] -----------> git rev-list -1 --merges 4df80eefb8af4e7f598d31ac79e90a8636e25008~1..4df80eefb8af4e7f598d31ac79e90a8636e25008 4df80eefb8af4e7f598d31ac79e90a8636e25008 [false] [Pipeline] sh [2022-05-30T07:36:12.730Z] + git log --format=format:%s -1 4df80eefb8af4e7f598d31ac79e90a8636e25008 [Pipeline] echo [2022-05-30T07:36:12.748Z] ========================================================= [2022-05-30T07:36:12.748Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-30T07:36:12.748Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-30T07:36:13.092Z] + git log --format=format:%s -1 4df80eefb8af4e7f598d31ac79e90a8636e25008 [Pipeline] echo [2022-05-30T07:36:13.106Z] [semverPrep] GIT_COMMIT: 4df80eefb8af4e7f598d31ac79e90a8636e25008, Commit Message: fix: add missing curl build dependency [Pipeline] echo [2022-05-30T07:36:13.115Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-30T07:36:13.472Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-30T07:36:13.472Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-30T07:36:13.472Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-30T07:36:13.472Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-30T07:36:13.472Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-30T07:36:13.472Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-30T07:36:13.472Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:36:13.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-30T07:36:13.888Z] [2022-05-30T07:36:13.889Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:36:14.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-30T07:36:14.191Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-30T07:36:14.191Z] 1fe172e4850f: Pulling fs layer [2022-05-30T07:36:14.191Z] caf521ccaac6: Pulling fs layer [2022-05-30T07:36:14.191Z] 3ead6fa29328: Pulling fs layer [2022-05-30T07:36:14.191Z] 5c2a1cbceb83: Pulling fs layer [2022-05-30T07:36:14.191Z] a8d5f1318db7: Pulling fs layer [2022-05-30T07:36:14.191Z] c427282e49a2: Pulling fs layer [2022-05-30T07:36:14.191Z] 1827001aaf11: Pulling fs layer [2022-05-30T07:36:14.191Z] 0714d37db230: Pulling fs layer [2022-05-30T07:36:14.191Z] ac28cf19c067: Pulling fs layer [2022-05-30T07:36:14.191Z] ca983d60f3e2: Pulling fs layer [2022-05-30T07:36:14.191Z] 9f894cec8388: Pulling fs layer [2022-05-30T07:36:14.191Z] 5c2a1cbceb83: Waiting [2022-05-30T07:36:14.191Z] a8d5f1318db7: Waiting [2022-05-30T07:36:14.191Z] c427282e49a2: Waiting [2022-05-30T07:36:14.191Z] 1827001aaf11: Waiting [2022-05-30T07:36:14.191Z] 0714d37db230: Waiting [2022-05-30T07:36:14.191Z] ac28cf19c067: Waiting [2022-05-30T07:36:14.191Z] 9f894cec8388: Waiting [2022-05-30T07:36:14.191Z] caf521ccaac6: Verifying Checksum [2022-05-30T07:36:14.191Z] caf521ccaac6: Download complete [2022-05-30T07:36:14.191Z] 5c2a1cbceb83: Verifying Checksum [2022-05-30T07:36:14.191Z] 5c2a1cbceb83: Download complete [2022-05-30T07:36:14.452Z] 3ead6fa29328: Verifying Checksum [2022-05-30T07:36:14.452Z] 3ead6fa29328: Download complete [2022-05-30T07:36:14.452Z] a8d5f1318db7: Verifying Checksum [2022-05-30T07:36:14.452Z] a8d5f1318db7: Download complete [2022-05-30T07:36:14.452Z] c427282e49a2: Download complete [2022-05-30T07:36:14.452Z] 0714d37db230: Verifying Checksum [2022-05-30T07:36:14.452Z] 0714d37db230: Download complete [2022-05-30T07:36:14.452Z] ac28cf19c067: Verifying Checksum [2022-05-30T07:36:14.452Z] ac28cf19c067: Download complete [2022-05-30T07:36:14.452Z] ca983d60f3e2: Verifying Checksum [2022-05-30T07:36:14.452Z] ca983d60f3e2: Download complete [2022-05-30T07:36:14.452Z] 9f894cec8388: Verifying Checksum [2022-05-30T07:36:14.452Z] 9f894cec8388: Download complete [2022-05-30T07:36:14.452Z] 1fe172e4850f: Verifying Checksum [2022-05-30T07:36:14.452Z] 1fe172e4850f: Download complete [2022-05-30T07:36:14.710Z] 1827001aaf11: Verifying Checksum [2022-05-30T07:36:14.710Z] 1827001aaf11: Download complete [2022-05-30T07:36:15.650Z] 1fe172e4850f: Pull complete [2022-05-30T07:36:15.909Z] caf521ccaac6: Pull complete [2022-05-30T07:36:16.478Z] 3ead6fa29328: Pull complete [2022-05-30T07:36:16.478Z] 5c2a1cbceb83: Pull complete [2022-05-30T07:36:16.738Z] a8d5f1318db7: Pull complete [2022-05-30T07:36:16.998Z] c427282e49a2: Pull complete [2022-05-30T07:36:18.913Z] 1827001aaf11: Pull complete [2022-05-30T07:36:18.913Z] 0714d37db230: Pull complete [2022-05-30T07:36:18.913Z] ac28cf19c067: Pull complete [2022-05-30T07:36:18.913Z] ca983d60f3e2: Pull complete [2022-05-30T07:36:19.176Z] 9f894cec8388: Pull complete [2022-05-30T07:36:19.176Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-30T07:36:19.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-30T07:36:19.176Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-30T07:36:19.278Z] prd-ubuntu20.04-docker-8c-8g-430 does not seem to be running inside a container [2022-05-30T07:36:19.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-30T07:36:20.984Z] $ docker top 8f99942eac4253fdd92648f512f55df9a276ab7524a2566bc42937effd3066c4 -eo pid,comm [2022-05-30T07:36:21.052Z] 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-05-30T07:36:21.052Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-30T07:36:21.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-30T07:36:21.086Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-30T07:36:21.214Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-30T07:36:21.224Z] $ docker exec 8f99942eac4253fdd92648f512f55df9a276ab7524a2566bc42937effd3066c4 ssh-agent [2022-05-30T07:36:21.341Z] SSH_AUTH_SOCK=/tmp/ssh-86kryG0vr2rU/agent.32 [2022-05-30T07:36:21.341Z] SSH_AGENT_PID=38 [2022-05-30T07:36:21.348Z] Running ssh-add (command line suppressed) [2022-05-30T07:36:21.494Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_7952099026081548251.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_7952099026081548251.key) [2022-05-30T07:36:21.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-30T07:36:21.793Z] + git tag --points-at HEAD [Pipeline] } [2022-05-30T07:36:21.813Z] $ docker exec --env ******** --env ******** 8f99942eac4253fdd92648f512f55df9a276ab7524a2566bc42937effd3066c4 ssh-agent -k [2022-05-30T07:36:21.914Z] unset SSH_AUTH_SOCK; [2022-05-30T07:36:21.914Z] unset SSH_AGENT_PID; [2022-05-30T07:36:21.914Z] echo Agent pid 38 killed; [2022-05-30T07:36:21.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-30T07:36:21.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-30T07:36:21.943Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-30T07:36:22.062Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-30T07:36:22.071Z] $ docker exec 8f99942eac4253fdd92648f512f55df9a276ab7524a2566bc42937effd3066c4 ssh-agent [2022-05-30T07:36:22.183Z] SSH_AUTH_SOCK=/tmp/ssh-WQb9R3rK6pyR/agent.72 [2022-05-30T07:36:22.183Z] SSH_AGENT_PID=78 [2022-05-30T07:36:22.187Z] Running ssh-add (command line suppressed) [2022-05-30T07:36:22.301Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6851028855562809204.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6851028855562809204.key) [2022-05-30T07:36:22.309Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-30T07:36:22.597Z] + git semver init [2022-05-30T07:36:22.861Z] 2022-05-30 07:36:22,788 [run_init] DEBUG init version:0.0.0 force:False [2022-05-30T07:36:22.861Z] 2022-05-30 07:36:22,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-05-30T07:36:22.861Z] 2022-05-30 07:36:22,789 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver [2022-05-30T07:36:22.861Z] 2022-05-30 07:36:22,789 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) [2022-05-30T07:36:23.434Z] 2022-05-30 07:36:23,345 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude [2022-05-30T07:36:23.434Z] 2022-05-30 07:36:23,346 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False [2022-05-30T07:36:23.434Z] 2022-05-30 07:36:23,346 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-05-30T07:36:23.434Z] 2022-05-30 07:36:23,350 [execute] INFO git cat-file --batch-check [2022-05-30T07:36:23.434Z] 2022-05-30 07:36:23,350 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-05-30T07:36:23.434Z] 2022-05-30 07:36:23,355 [execute] INFO git cat-file --batch [2022-05-30T07:36:23.434Z] 2022-05-30 07:36:23,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) [2022-05-30T07:36:23.434Z] 2022-05-30 07:36:23,360 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 [2022-05-30T07:36:23.434Z] 0.0.0 [Pipeline] } [2022-05-30T07:36:23.451Z] $ docker exec --env ******** --env ******** 8f99942eac4253fdd92648f512f55df9a276ab7524a2566bc42937effd3066c4 ssh-agent -k [2022-05-30T07:36:23.568Z] unset SSH_AUTH_SOCK; [2022-05-30T07:36:23.568Z] unset SSH_AGENT_PID; [2022-05-30T07:36:23.568Z] echo Agent pid 78 killed; [2022-05-30T07:36:23.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-30T07:36:23.887Z] + git semver [Pipeline] } [2022-05-30T07:36:24.169Z] $ docker stop --time=1 8f99942eac4253fdd92648f512f55df9a276ab7524a2566bc42937effd3066c4 [2022-05-30T07:36:25.447Z] $ docker rm -f 8f99942eac4253fdd92648f512f55df9a276ab7524a2566bc42937effd3066c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-30T07:36:25.790Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-30T07:36:26.035Z] Stashed 1 file(s) [Pipeline] echo [2022-05-30T07:36:26.037Z] [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-05-30T07:36:26.147Z] provisioning config files... [2022-05-30T07:36:26.161Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config2974064734343591918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:36:26.459Z] ---> docker-login.sh [2022-05-30T07:36:26.459Z] nexus3.edgexfoundry.org:10001 [2022-05-30T07:36:26.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:26.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:26.459Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:26.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:26.459Z] [2022-05-30T07:36:26.459Z] Login Succeeded [2022-05-30T07:36:26.459Z] nexus3.edgexfoundry.org:10002 [2022-05-30T07:36:26.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:26.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:26.720Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:26.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:26.720Z] [2022-05-30T07:36:26.720Z] Login Succeeded [2022-05-30T07:36:26.720Z] nexus3.edgexfoundry.org:10003 [2022-05-30T07:36:26.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:26.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:26.720Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:26.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:26.720Z] [2022-05-30T07:36:26.720Z] Login Succeeded [2022-05-30T07:36:26.720Z] nexus3.edgexfoundry.org:10004 [2022-05-30T07:36:26.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:26.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:26.981Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:26.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:26.981Z] [2022-05-30T07:36:26.981Z] Login Succeeded [2022-05-30T07:36:26.981Z] docker.io [2022-05-30T07:36:26.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:36:27.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:36:27.242Z] Configure a credential helper to remove this warning. See [2022-05-30T07:36:27.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:36:27.242Z] [2022-05-30T07:36:27.242Z] Login Succeeded [2022-05-30T07:36:27.242Z] ---> docker-login.sh ends [Pipeline] } [2022-05-30T07:36:27.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-30T07:36:27.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-30T07:36:27.329Z] ========================================================= [2022-05-30T07:36:27.329Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-30T07:36:27.329Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:36:27.647Z] + 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-05-30T07:36:27.647Z] Sending build context to Docker daemon 684kB [2022-05-30T07:36:27.647Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-30T07:36:27.647Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-30T07:36:27.647Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-30T07:36:27.647Z] 59bf1c3509f3: Pulling fs layer [2022-05-30T07:36:27.647Z] 666ba61612fd: Pulling fs layer [2022-05-30T07:36:27.647Z] 8ed8ca486205: Pulling fs layer [2022-05-30T07:36:27.647Z] 4fe6c5a15a65: Pulling fs layer [2022-05-30T07:36:27.647Z] 22a0e8bec74d: Pulling fs layer [2022-05-30T07:36:27.647Z] ca2b28591e48: Pulling fs layer [2022-05-30T07:36:27.648Z] a51346096db8: Pulling fs layer [2022-05-30T07:36:27.648Z] daebc70d1ce1: Pulling fs layer [2022-05-30T07:36:27.648Z] 0e18a0eac166: Pulling fs layer [2022-05-30T07:36:27.648Z] 22a0e8bec74d: Waiting [2022-05-30T07:36:27.648Z] ca2b28591e48: Waiting [2022-05-30T07:36:27.648Z] a51346096db8: Waiting [2022-05-30T07:36:27.648Z] daebc70d1ce1: Waiting [2022-05-30T07:36:27.648Z] 0e18a0eac166: Waiting [2022-05-30T07:36:27.648Z] 4fe6c5a15a65: Waiting [2022-05-30T07:36:27.648Z] 8ed8ca486205: Verifying Checksum [2022-05-30T07:36:27.648Z] 8ed8ca486205: Download complete [2022-05-30T07:36:27.648Z] 666ba61612fd: Verifying Checksum [2022-05-30T07:36:27.648Z] 666ba61612fd: Download complete [2022-05-30T07:36:27.648Z] 22a0e8bec74d: Verifying Checksum [2022-05-30T07:36:27.648Z] 22a0e8bec74d: Download complete [2022-05-30T07:36:27.648Z] 59bf1c3509f3: Verifying Checksum [2022-05-30T07:36:27.648Z] 59bf1c3509f3: Download complete [2022-05-30T07:36:27.648Z] ca2b28591e48: Verifying Checksum [2022-05-30T07:36:27.648Z] ca2b28591e48: Download complete [2022-05-30T07:36:27.913Z] a51346096db8: Verifying Checksum [2022-05-30T07:36:27.913Z] a51346096db8: Download complete [2022-05-30T07:36:27.913Z] daebc70d1ce1: Download complete [2022-05-30T07:36:27.913Z] 59bf1c3509f3: Pull complete [2022-05-30T07:36:28.174Z] 666ba61612fd: Pull complete [2022-05-30T07:36:28.174Z] 8ed8ca486205: Pull complete [2022-05-30T07:36:28.434Z] 0e18a0eac166: Verifying Checksum [2022-05-30T07:36:28.434Z] 0e18a0eac166: Download complete [2022-05-30T07:36:28.434Z] 4fe6c5a15a65: Verifying Checksum [2022-05-30T07:36:28.434Z] 4fe6c5a15a65: Download complete [2022-05-30T07:36:32.632Z] 4fe6c5a15a65: Pull complete [2022-05-30T07:36:32.632Z] 22a0e8bec74d: Pull complete [2022-05-30T07:36:32.632Z] ca2b28591e48: Pull complete [2022-05-30T07:36:32.632Z] a51346096db8: Pull complete [2022-05-30T07:36:32.891Z] daebc70d1ce1: Pull complete [2022-05-30T07:36:34.802Z] 0e18a0eac166: Pull complete [2022-05-30T07:36:34.802Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-30T07:36:34.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-30T07:36:34.802Z] ---> f018257e8ee9 [2022-05-30T07:36:34.802Z] Step 3/12 : ARG MAKE="make build" [2022-05-30T07:36:36.717Z] ---> Running in 06b0eff78773 [2022-05-30T07:36:36.717Z] Removing intermediate container 06b0eff78773 [2022-05-30T07:36:36.717Z] ---> 5f21b75645b4 [2022-05-30T07:36:36.717Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-30T07:36:36.717Z] ---> Running in 839e04a652e0 [2022-05-30T07:36:36.717Z] Removing intermediate container 839e04a652e0 [2022-05-30T07:36:36.717Z] ---> e63cc66e7fdd [2022-05-30T07:36:36.717Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-30T07:36:36.717Z] ---> Running in 2e03d415e75b [2022-05-30T07:36:36.717Z] Removing intermediate container 2e03d415e75b [2022-05-30T07:36:36.717Z] ---> b526f6c9f43a [2022-05-30T07:36:36.717Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-30T07:36:36.717Z] ---> Running in 7c14fcd1a89e [2022-05-30T07:36:37.288Z] Removing intermediate container 7c14fcd1a89e [2022-05-30T07:36:37.288Z] ---> f5e66ab625e6 [2022-05-30T07:36:37.288Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-30T07:36:37.288Z] ---> Running in 2638082bd2b4 [2022-05-30T07:36:37.547Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-30T07:36:38.487Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-30T07:36:38.746Z] (1/81) Installing mesa (21.2.6-r0) [2022-05-30T07:36:39.007Z] (2/81) Installing libxau (1.0.9-r0) [2022-05-30T07:36:39.007Z] (3/81) Installing libmd (1.0.3-r0) [2022-05-30T07:36:39.007Z] (4/81) Installing libbsd (0.11.3-r1) [2022-05-30T07:36:39.268Z] (5/81) Installing libxdmcp (1.1.3-r0) [2022-05-30T07:36:39.268Z] (6/81) Installing libxcb (1.14-r2) [2022-05-30T07:36:39.268Z] (7/81) Installing libx11 (1.7.2-r0) [2022-05-30T07:36:39.528Z] (8/81) Installing libxext (1.3.4-r0) [2022-05-30T07:36:39.528Z] (9/81) Installing libxfixes (6.0.0-r0) [2022-05-30T07:36:39.528Z] (10/81) Installing libxxf86vm (1.1.4-r2) [2022-05-30T07:36:39.790Z] (11/81) Installing libpciaccess (0.16-r0) [2022-05-30T07:36:39.790Z] (12/81) Installing libdrm (2.4.109-r0) [2022-05-30T07:36:39.790Z] (13/81) Installing mesa-glapi (21.2.6-r0) [2022-05-30T07:36:40.051Z] (14/81) Installing libxshmfence (1.3-r1) [2022-05-30T07:36:40.051Z] (15/81) Installing mesa-gl (21.2.6-r0) [2022-05-30T07:36:40.051Z] (16/81) Installing libice (1.0.10-r0) [2022-05-30T07:36:40.312Z] (17/81) Installing libuuid (2.37.4-r0) [2022-05-30T07:36:40.312Z] (18/81) Installing libsm (1.2.3-r0) [2022-05-30T07:36:40.312Z] (19/81) Installing libxt (1.2.1-r0) [2022-05-30T07:36:40.573Z] (20/81) Installing libxmu (1.1.3-r0) [2022-05-30T07:36:40.573Z] (21/81) Installing xset (1.2.4-r0) [2022-05-30T07:36:40.573Z] (22/81) Installing xprop (1.2.5-r0) [2022-05-30T07:36:40.832Z] (23/81) Installing xdg-utils (1.1.3-r0) [2022-05-30T07:36:40.832Z] (24/81) Installing dbus-libs (1.12.20-r4) [2022-05-30T07:36:40.832Z] (25/81) Installing libffi (3.4.2-r1) [2022-05-30T07:36:41.094Z] (26/81) Installing libintl (0.21-r0) [2022-05-30T07:36:41.094Z] (27/81) Installing libblkid (2.37.4-r0) [2022-05-30T07:36:41.094Z] (28/81) Installing libmount (2.37.4-r0) [2022-05-30T07:36:41.121Z] Still waiting to schedule task [2022-05-30T07:36:41.122Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-30T07:36:41.354Z] (29/81) Installing pcre (8.45-r1) [2022-05-30T07:36:41.355Z] (30/81) Installing glib (2.70.1-r0) [2022-05-30T07:36:41.614Z] (31/81) Installing icu-libs (69.1-r1) [2022-05-30T07:36:42.185Z] (32/81) Installing libpcre2-16 (10.39-r0) [2022-05-30T07:36:42.445Z] (33/81) Installing zstd-libs (1.5.0-r0) [2022-05-30T07:36:42.445Z] (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) [2022-05-30T07:36:43.828Z] (35/81) Installing hicolor-icon-theme (0.17-r1) [2022-05-30T07:36:43.828Z] (36/81) Installing wayland-libs-server (1.19.0-r1) [2022-05-30T07:36:43.828Z] (37/81) Installing mesa-gbm (21.2.6-r0) [2022-05-30T07:36:44.088Z] (38/81) Installing wayland-libs-client (1.19.0-r1) [2022-05-30T07:36:44.088Z] (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) [2022-05-30T07:36:44.347Z] (40/81) Installing libxcomposite (0.4.5-r0) [2022-05-30T07:36:44.606Z] (41/81) Installing libbz2 (1.0.8-r1) [2022-05-30T07:36:44.606Z] (42/81) Installing libpng (1.6.37-r1) [2022-05-30T07:36:44.606Z] (43/81) Installing freetype (2.11.1-r2) [2022-05-30T07:36:44.865Z] (44/81) Installing fontconfig (2.13.1-r4) [2022-05-30T07:36:44.865Z] (45/81) Installing wayland-libs-cursor (1.19.0-r1) [2022-05-30T07:36:45.127Z] (46/81) Installing wayland-libs-egl (1.19.0-r1) [2022-05-30T07:36:45.127Z] (47/81) Installing xkeyboard-config (2.34-r0) [2022-05-30T07:36:45.127Z] (48/81) Installing xz-libs (5.2.5-r1) [2022-05-30T07:36:45.388Z] (49/81) Installing libxml2 (2.9.14-r0) [2022-05-30T07:36:45.388Z] (50/81) Installing libxkbcommon (1.3.1-r0) [2022-05-30T07:36:45.388Z] (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) [2022-05-30T07:36:45.649Z] (52/81) Installing mesa-egl (21.2.6-r0) [2022-05-30T07:36:45.649Z] (53/81) Installing avahi-libs (0.8-r5) [2022-05-30T07:36:45.909Z] (54/81) Installing nettle (3.7.3-r0) [2022-05-30T07:36:45.909Z] (55/81) Installing p11-kit (0.24.0-r1) [2022-05-30T07:36:45.909Z] (56/81) Installing libtasn1 (4.18.0-r0) [2022-05-30T07:36:46.170Z] (57/81) Installing libunistring (0.9.10-r1) [2022-05-30T07:36:46.170Z] (58/81) Installing gnutls (3.7.1-r0) [2022-05-30T07:36:46.430Z] (59/81) Installing cups-libs (2.3.3-r6) [2022-05-30T07:36:46.430Z] (60/81) Installing graphite2 (1.3.14-r0) [2022-05-30T07:36:46.691Z] (61/81) Installing harfbuzz (3.0.0-r2) [2022-05-30T07:36:46.691Z] (62/81) Installing libevdev (1.12.0-r0) [2022-05-30T07:36:46.691Z] (63/81) Installing mtdev (1.1.6-r0) [2022-05-30T07:36:46.951Z] (64/81) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-30T07:36:46.951Z] (65/81) Installing libinput-libs (1.19.4-r0) [2022-05-30T07:36:46.951Z] (66/81) Installing libjpeg-turbo (2.1.2-r0) [2022-05-30T07:36:47.212Z] (67/81) Installing xcb-util-wm (0.4.1-r1) [2022-05-30T07:36:47.212Z] (68/81) Installing xcb-util (0.4.0-r3) [2022-05-30T07:36:47.212Z] (69/81) Installing xcb-util-image (0.4.0-r1) [2022-05-30T07:36:47.473Z] (70/81) Installing xcb-util-keysyms (0.4.0-r1) [2022-05-30T07:36:47.473Z] (71/81) Installing xcb-util-renderutil (0.3.9-r1) [2022-05-30T07:36:47.473Z] (72/81) Installing libxkbcommon-x11 (1.3.1-r0) [2022-05-30T07:36:47.733Z] (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) [2022-05-30T07:36:48.304Z] (74/81) Installing v4l-utils-libs (1.22.1-r1) [2022-05-30T07:36:48.304Z] (75/81) Installing v4l-utils (1.22.1-r1) [2022-05-30T07:36:48.304Z] (76/81) Installing udev-init-scripts (35-r0) [2022-05-30T07:36:48.565Z] Executing udev-init-scripts-35-r0.post-install [2022-05-30T07:36:48.565Z] (77/81) Installing kmod-libs (29-r2) [2022-05-30T07:36:48.565Z] (78/81) Installing eudev (3.2.11_pre1-r0) [2022-05-30T07:36:48.565Z] (79/81) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-30T07:36:48.826Z] (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-30T07:36:48.826Z] (81/81) Installing v4l-utils-dev (1.22.1-r1) [2022-05-30T07:36:48.826Z] Executing busybox-1.34.1-r3.trigger [2022-05-30T07:36:48.826Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-30T07:36:49.088Z] OK: 335 MiB in 133 packages [2022-05-30T07:36:50.998Z] Removing intermediate container 2638082bd2b4 [2022-05-30T07:36:50.998Z] ---> 06bc34d73ac5 [2022-05-30T07:36:50.998Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-30T07:36:50.998Z] ---> Running in d5ed311296b1 [2022-05-30T07:36:50.998Z] Removing intermediate container d5ed311296b1 [2022-05-30T07:36:50.998Z] ---> 587b044579d2 [2022-05-30T07:36:50.998Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-30T07:36:50.998Z] ---> 84a5dfc2f5b5 [2022-05-30T07:36:50.998Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-30T07:36:50.998Z] ---> Running in 9017c117a85a [2022-05-30T07:37:09.109Z] Removing intermediate container 9017c117a85a [2022-05-30T07:37:09.109Z] ---> 7e933bce2e9b [2022-05-30T07:37:09.109Z] Step 11/12 : COPY . . [2022-05-30T07:37:09.109Z] ---> 42da9072a111 [2022-05-30T07:37:09.109Z] Step 12/12 : RUN ${MAKE} [2022-05-30T07:37:09.109Z] ---> Running in e933dd2fb842 [2022-05-30T07:37:09.109Z] noop [2022-05-30T07:37:09.109Z] Removing intermediate container e933dd2fb842 [2022-05-30T07:37:09.109Z] ---> 37a6f78d1e61 [2022-05-30T07:37:09.109Z] Successfully built 37a6f78d1e61 [2022-05-30T07:37:09.109Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:37:09.431Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-30T07:37:09.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-30T07:37:09.509Z] prd-ubuntu20.04-docker-8c-8g-430 does not seem to be running inside a container [2022-05-30T07:37:09.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-30T07:37:10.020Z] $ docker top 318a46d26799aea8f9d7fce519c933a8783457203b481763f7eeb45a393d412a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-30T07:37:10.500Z] + go version [2022-05-30T07:37:10.500Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-30T07:37:10.518Z] $ docker stop --time=1 318a46d26799aea8f9d7fce519c933a8783457203b481763f7eeb45a393d412a [2022-05-30T07:37:11.810Z] $ docker rm -f 318a46d26799aea8f9d7fce519c933a8783457203b481763f7eeb45a393d412a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:37:12.214Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-30T07:37:12.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-30T07:37:12.309Z] prd-ubuntu20.04-docker-8c-8g-430 does not seem to be running inside a container [2022-05-30T07:37:12.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-30T07:37:12.750Z] $ docker top 7b0992322d5233d61478446884af66ea5f3828f9ca5f0266d2e5416208273ab3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-30T07:37:13.108Z] + make test [2022-05-30T07:37:13.108Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-30T07:37:13.366Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-30T07:37:23.349Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-30T07:37:23.349Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-30T07:37:28.634Z] CGO_ENABLED=1 go vet ./... [2022-05-30T07:37:32.833Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-30T07:37:32.833Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-30T07:37:32.833Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-30T07:37:33.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-30T07:37:33.123Z] $ docker stop --time=1 7b0992322d5233d61478446884af66ea5f3828f9ca5f0266d2e5416208273ab3 [2022-05-30T07:37:34.901Z] $ docker rm -f 7b0992322d5233d61478446884af66ea5f3828f9ca5f0266d2e5416208273ab3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-30T07:37:35.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-30T07:37:35.386Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-30T07:37:35.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-30T07:37:36.178Z] + ls -al . [2022-05-30T07:37:36.178Z] total 168 [2022-05-30T07:37:36.178Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:37 . [2022-05-30T07:37:36.178Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:36 .. [2022-05-30T07:37:36.178Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:36 .git [2022-05-30T07:37:36.178Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:36 .github [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 414 May 30 07:36 .gitignore [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 42 May 30 07:36 .golangci.yml [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 77 May 30 07:36 .hadolint.yml [2022-05-30T07:37:36.178Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:36 .semver [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 30 07:36 Attribution.txt [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 181 May 30 07:36 CHANGELOG.md [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 30 07:36 Dockerfile [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 678 May 30 07:36 GOVERNANCE.md [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 659 May 30 07:36 Jenkinsfile [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 30 07:36 LICENSE [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 2345 May 30 07:36 Makefile [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 622 May 30 07:36 OWNERS.md [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 8912 May 30 07:36 README.md [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 5 May 30 07:36 VERSION [2022-05-30T07:37:36.178Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:36 bin [2022-05-30T07:37:36.178Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:36 cmd [2022-05-30T07:37:36.178Z] -rw-r--r-- 1 jenkins jenkins 10 May 30 07:37 coverage.out [2022-05-30T07:37:36.178Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:36 docker-compose [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 140 May 30 07:36 docker-entrypoint.sh [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 30 07:36 go.mod [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 30 07:36 go.sum [2022-05-30T07:37:36.178Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:36 internal [2022-05-30T07:37:36.178Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:36 snap [2022-05-30T07:37:36.178Z] -rw-rw-r-- 1 jenkins jenkins 231 May 30 07:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:37:36.490Z] + 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=4df80eefb8af4e7f598d31ac79e90a8636e25008 --label arch=amd64 --label version=0.0.0 . [2022-05-30T07:37:36.490Z] Sending build context to Docker daemon 685.1kB [2022-05-30T07:37:36.490Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-30T07:37:36.490Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-30T07:37:36.490Z] ---> 37a6f78d1e61 [2022-05-30T07:37:36.490Z] Step 3/29 : ARG MAKE="make build" [2022-05-30T07:37:36.490Z] ---> Running in 61c4a55a24c4 [2022-05-30T07:37:36.490Z] Removing intermediate container 61c4a55a24c4 [2022-05-30T07:37:36.490Z] ---> 9e19fefa5cff [2022-05-30T07:37:36.490Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-30T07:37:36.751Z] ---> Running in 22d370b1477f [2022-05-30T07:37:36.751Z] Removing intermediate container 22d370b1477f [2022-05-30T07:37:36.751Z] ---> 34160fbe2243 [2022-05-30T07:37:36.751Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-30T07:37:36.751Z] ---> Running in 853755511a8d [2022-05-30T07:37:36.751Z] Removing intermediate container 853755511a8d [2022-05-30T07:37:36.751Z] ---> 9f25a2f32ccb [2022-05-30T07:37:36.751Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-30T07:37:37.010Z] ---> Running in c33af8b8df4d [2022-05-30T07:37:37.585Z] Removing intermediate container c33af8b8df4d [2022-05-30T07:37:37.585Z] ---> 412e2a37def2 [2022-05-30T07:37:37.585Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-30T07:37:37.585Z] ---> Running in 729a3143cedb [2022-05-30T07:37:37.844Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-30T07:37:38.413Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-30T07:37:38.987Z] OK: 335 MiB in 133 packages [2022-05-30T07:37:39.245Z] Removing intermediate container 729a3143cedb [2022-05-30T07:37:39.245Z] ---> cd212a33349f [2022-05-30T07:37:39.245Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-30T07:37:39.245Z] ---> Running in 16b1d0509a8a [2022-05-30T07:37:39.245Z] Removing intermediate container 16b1d0509a8a [2022-05-30T07:37:39.245Z] ---> f0c3133fc1f6 [2022-05-30T07:37:39.245Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-30T07:37:39.504Z] ---> c5f28c2bd60f [2022-05-30T07:37:39.504Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-30T07:37:39.504Z] ---> Running in a82db63edd61 [2022-05-30T07:37:40.072Z] Removing intermediate container a82db63edd61 [2022-05-30T07:37:40.072Z] ---> d7a87a5a3d46 [2022-05-30T07:37:40.072Z] Step 11/29 : COPY . . [2022-05-30T07:37:40.333Z] ---> cc45c7be9138 [2022-05-30T07:37:40.333Z] Step 12/29 : RUN ${MAKE} [2022-05-30T07:37:40.333Z] ---> Running in a6d8f5db43d8 [2022-05-30T07:37:40.592Z] 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.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-05-30T07:38:02.544Z] Removing intermediate container a6d8f5db43d8 [2022-05-30T07:38:02.544Z] ---> 466e510fd402 [2022-05-30T07:38:02.544Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-30T07:38:02.544Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-30T07:38:02.544Z] af6660deedbd: Pulling fs layer [2022-05-30T07:38:02.544Z] 97cd0a44c592: Pulling fs layer [2022-05-30T07:38:02.544Z] 97cd0a44c592: Verifying Checksum [2022-05-30T07:38:02.544Z] 97cd0a44c592: Download complete [2022-05-30T07:38:02.544Z] af6660deedbd: Verifying Checksum [2022-05-30T07:38:02.544Z] af6660deedbd: Download complete [2022-05-30T07:38:02.544Z] af6660deedbd: Pull complete [2022-05-30T07:38:02.544Z] 97cd0a44c592: Pull complete [2022-05-30T07:38:02.544Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-30T07:38:02.544Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-30T07:38:02.544Z] ---> fea57e182299 [2022-05-30T07:38:02.544Z] Step 14/29 : FROM alpine:3.15 [2022-05-30T07:38:02.544Z] 3.15: Pulling from library/alpine [2022-05-30T07:38:02.544Z] df9b9388f04a: Pulling fs layer [2022-05-30T07:38:02.544Z] df9b9388f04a: Verifying Checksum [2022-05-30T07:38:02.544Z] df9b9388f04a: Download complete [2022-05-30T07:38:02.544Z] df9b9388f04a: Pull complete [2022-05-30T07:38:02.544Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-30T07:38:02.544Z] Status: Downloaded newer image for alpine:3.15 [2022-05-30T07:38:02.544Z] ---> 0ac33e5f5afa [2022-05-30T07:38:02.544Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-30T07:38:02.544Z] ---> Running in 0e51ba6aa563 [2022-05-30T07:38:02.544Z] Removing intermediate container 0e51ba6aa563 [2022-05-30T07:38:02.544Z] ---> 77c6063e79bf [2022-05-30T07:38:02.544Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-30T07:38:02.544Z] ---> Running in 532bc8b0afe7 [2022-05-30T07:38:02.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-30T07:38:02.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-30T07:38:02.806Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-05-30T07:38:02.806Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-05-30T07:38:02.806Z] (3/74) Installing libxau (1.0.9-r0) [2022-05-30T07:38:02.806Z] (4/74) Installing libmd (1.0.3-r0) [2022-05-30T07:38:02.806Z] (5/74) Installing libbsd (0.11.3-r1) [2022-05-30T07:38:02.806Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-05-30T07:38:02.806Z] (7/74) Installing libxcb (1.14-r2) [2022-05-30T07:38:02.806Z] (8/74) Installing libx11 (1.7.2-r0) [2022-05-30T07:38:03.067Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-05-30T07:38:03.067Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-05-30T07:38:03.067Z] (11/74) Installing expat (2.4.7-r0) [2022-05-30T07:38:03.067Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-05-30T07:38:03.067Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-05-30T07:38:03.067Z] (14/74) Installing libpng (1.6.37-r1) [2022-05-30T07:38:03.067Z] (15/74) Installing freetype (2.11.1-r2) [2022-05-30T07:38:03.067Z] (16/74) Installing libuuid (2.37.4-r0) [2022-05-30T07:38:03.067Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-05-30T07:38:03.067Z] (18/74) Installing fribidi (1.0.11-r0) [2022-05-30T07:38:03.067Z] (19/74) Installing libffi (3.4.2-r1) [2022-05-30T07:38:03.067Z] (20/74) Installing libintl (0.21-r0) [2022-05-30T07:38:03.067Z] (21/74) Installing libblkid (2.37.4-r0) [2022-05-30T07:38:03.067Z] (22/74) Installing libmount (2.37.4-r0) [2022-05-30T07:38:03.067Z] (23/74) Installing pcre (8.45-r1) [2022-05-30T07:38:03.067Z] (24/74) Installing glib (2.70.1-r0) [2022-05-30T07:38:03.067Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-05-30T07:38:03.067Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-05-30T07:38:03.067Z] (27/74) Installing libass (0.15.2-r0) [2022-05-30T07:38:03.067Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-05-30T07:38:03.067Z] (29/74) Installing gmp (6.2.1-r1) [2022-05-30T07:38:03.067Z] (30/74) Installing nettle (3.7.3-r0) [2022-05-30T07:38:03.067Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-05-30T07:38:03.067Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-05-30T07:38:03.067Z] (33/74) Installing libunistring (0.9.10-r1) [2022-05-30T07:38:03.328Z] (34/74) Installing gnutls (3.7.1-r0) [2022-05-30T07:38:03.328Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-30T07:38:03.328Z] (36/74) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-30T07:38:03.328Z] (37/74) Installing lame (3.100-r0) [2022-05-30T07:38:03.328Z] (38/74) Installing opus (1.3.1-r1) [2022-05-30T07:38:03.328Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-05-30T07:38:03.328Z] (40/74) Installing soxr (0.1.3-r2) [2022-05-30T07:38:03.328Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-05-30T07:38:03.328Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-30T07:38:03.328Z] (43/74) Installing libsrt (1.4.2-r1) [2022-05-30T07:38:03.328Z] (44/74) Installing libssh (0.9.6-r1) [2022-05-30T07:38:03.328Z] (45/74) Installing libogg (1.3.5-r0) [2022-05-30T07:38:03.328Z] (46/74) Installing libtheora (1.1.1-r16) [2022-05-30T07:38:03.328Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-05-30T07:38:03.328Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-05-30T07:38:03.328Z] (49/74) Installing libxext (1.3.4-r0) [2022-05-30T07:38:03.328Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-05-30T07:38:03.328Z] (51/74) Installing libpciaccess (0.16-r0) [2022-05-30T07:38:03.328Z] (52/74) Installing libdrm (2.4.109-r0) [2022-05-30T07:38:03.328Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-05-30T07:38:03.328Z] (54/74) Installing libva (2.13.0-r0) [2022-05-30T07:38:03.328Z] (55/74) Installing libvdpau (1.4-r0) [2022-05-30T07:38:03.328Z] (56/74) Installing vidstab (1.1.0-r1) [2022-05-30T07:38:03.328Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-05-30T07:38:03.328Z] (58/74) Installing libvpx (1.10.0-r0) [2022-05-30T07:38:03.328Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-05-30T07:38:03.328Z] (60/74) Installing libwebp (1.2.2-r0) [2022-05-30T07:38:03.328Z] (61/74) Installing x264-libs (20210613-r0) [2022-05-30T07:38:03.328Z] (62/74) Installing x265-libs (3.5-r0) [2022-05-30T07:38:03.590Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-05-30T07:38:03.590Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-05-30T07:38:03.590Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-05-30T07:38:03.590Z] (66/74) Installing udev-init-scripts (35-r0) [2022-05-30T07:38:03.590Z] Executing udev-init-scripts-35-r0.post-install [2022-05-30T07:38:03.590Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-30T07:38:03.590Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-05-30T07:38:03.590Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-05-30T07:38:03.590Z] (70/74) Installing kmod-libs (29-r2) [2022-05-30T07:38:03.590Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-05-30T07:38:03.590Z] (72/74) Installing libsodium (1.0.18-r0) [2022-05-30T07:38:03.590Z] (73/74) Installing libzmq (4.3.4-r0) [2022-05-30T07:38:03.851Z] (74/74) Installing zeromq (4.3.4-r0) [2022-05-30T07:38:03.851Z] Executing busybox-1.34.1-r5.trigger [2022-05-30T07:38:03.851Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-30T07:38:03.851Z] OK: 78 MiB in 88 packages [2022-05-30T07:38:05.230Z] Removing intermediate container 532bc8b0afe7 [2022-05-30T07:38:05.230Z] ---> b144b8ae353e [2022-05-30T07:38:05.230Z] Step 17/29 : WORKDIR / [2022-05-30T07:38:05.230Z] ---> Running in be40456e03cb [2022-05-30T07:38:05.230Z] Removing intermediate container be40456e03cb [2022-05-30T07:38:05.230Z] ---> 8b901ce5e7f3 [2022-05-30T07:38:05.230Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-30T07:38:05.800Z] ---> 3ab97a7befd5 [2022-05-30T07:38:05.800Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-30T07:38:05.800Z] ---> d4343b1dac59 [2022-05-30T07:38:05.800Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-30T07:38:06.058Z] ---> 8af6b15561bf [2022-05-30T07:38:06.059Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-30T07:38:06.059Z] ---> 59a360231a2a [2022-05-30T07:38:06.059Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-30T07:38:06.318Z] ---> 162fca8ccd0a [2022-05-30T07:38:06.318Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-30T07:38:06.578Z] ---> 63731921ba0c [2022-05-30T07:38:06.578Z] Step 24/29 : EXPOSE 59983 [2022-05-30T07:38:06.837Z] ---> Running in ea303586ae81 [2022-05-30T07:38:06.837Z] Removing intermediate container ea303586ae81 [2022-05-30T07:38:06.837Z] ---> 8c6297c1d10f [2022-05-30T07:38:06.837Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-30T07:38:06.837Z] ---> Running in bbf547929b91 [2022-05-30T07:38:06.837Z] Removing intermediate container bbf547929b91 [2022-05-30T07:38:06.837Z] ---> cd5f8a2a1752 [2022-05-30T07:38:06.837Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-30T07:38:06.837Z] ---> Running in 78b72a8bad26 [2022-05-30T07:38:07.098Z] Removing intermediate container 78b72a8bad26 [2022-05-30T07:38:07.098Z] ---> 4636362c87bc [2022-05-30T07:38:07.098Z] Step 27/29 : LABEL arch=amd64 [2022-05-30T07:38:07.098Z] ---> Running in b62672bce94f [2022-05-30T07:38:07.098Z] Removing intermediate container b62672bce94f [2022-05-30T07:38:07.098Z] ---> e959d432513a [2022-05-30T07:38:07.098Z] Step 28/29 : LABEL git_sha=4df80eefb8af4e7f598d31ac79e90a8636e25008 [2022-05-30T07:38:07.098Z] ---> Running in 9733f2612a3f [2022-05-30T07:38:07.358Z] Removing intermediate container 9733f2612a3f [2022-05-30T07:38:07.358Z] ---> 10b5825168a6 [2022-05-30T07:38:07.358Z] Step 29/29 : LABEL version=0.0.0 [2022-05-30T07:38:07.358Z] ---> Running in 4c4a6600b597 [2022-05-30T07:38:07.358Z] Removing intermediate container 4c4a6600b597 [2022-05-30T07:38:07.358Z] ---> c8062a0c55f6 [2022-05-30T07:38:07.358Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-30T07:38:07.358Z] Successfully built c8062a0c55f6 [2022-05-30T07:38:07.358Z] 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-05-30T07:38:07.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-30T07:38:07.787Z] [2022-05-30T07:38:07.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:38:08.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-30T07:38:08.088Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-30T07:38:08.088Z] 5eb5b503b376: Pulling fs layer [2022-05-30T07:38:08.088Z] 5c69ac0246d0: Pulling fs layer [2022-05-30T07:38:08.088Z] ec43610c2a17: Pulling fs layer [2022-05-30T07:38:08.088Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-30T07:38:08.088Z] 33b1e0a273af: Pulling fs layer [2022-05-30T07:38:08.088Z] 5d3b04190fa2: Pulling fs layer [2022-05-30T07:38:08.088Z] 2f39f015ded8: Pulling fs layer [2022-05-30T07:38:08.088Z] 2f39f015ded8: Waiting [2022-05-30T07:38:08.088Z] 33b1e0a273af: Waiting [2022-05-30T07:38:08.088Z] 5d3b04190fa2: Waiting [2022-05-30T07:38:08.088Z] 3a2ae6a8a46f: Waiting [2022-05-30T07:38:08.088Z] 5c69ac0246d0: Verifying Checksum [2022-05-30T07:38:08.088Z] 5c69ac0246d0: Download complete [2022-05-30T07:38:08.088Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-30T07:38:08.088Z] 3a2ae6a8a46f: Download complete [2022-05-30T07:38:08.088Z] 33b1e0a273af: Verifying Checksum [2022-05-30T07:38:08.088Z] 33b1e0a273af: Download complete [2022-05-30T07:38:08.088Z] 5d3b04190fa2: Verifying Checksum [2022-05-30T07:38:08.088Z] 5d3b04190fa2: Download complete [2022-05-30T07:38:08.089Z] ec43610c2a17: Verifying Checksum [2022-05-30T07:38:08.089Z] ec43610c2a17: Download complete [2022-05-30T07:38:08.348Z] 5eb5b503b376: Verifying Checksum [2022-05-30T07:38:08.348Z] 5eb5b503b376: Download complete [2022-05-30T07:38:08.916Z] 2f39f015ded8: Verifying Checksum [2022-05-30T07:38:08.916Z] 2f39f015ded8: Download complete [2022-05-30T07:38:09.482Z] 5eb5b503b376: Pull complete [2022-05-30T07:38:09.482Z] 5c69ac0246d0: Pull complete [2022-05-30T07:38:10.048Z] ec43610c2a17: Pull complete [2022-05-30T07:38:10.048Z] 3a2ae6a8a46f: Pull complete [2022-05-30T07:38:10.361Z] 33b1e0a273af: Pull complete [2022-05-30T07:38:10.361Z] 5d3b04190fa2: Pull complete [2022-05-30T07:38:14.546Z] 2f39f015ded8: Pull complete [2022-05-30T07:38:14.546Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-30T07:38:14.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-30T07:38:14.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-30T07:38:14.631Z] prd-ubuntu20.04-docker-8c-8g-430 does not seem to be running inside a container [2022-05-30T07:38:14.669Z] $ 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-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-30T07:38:16.296Z] $ docker top e626e5989060bd87c64fc450017ccc1cafe48a2018d0d2f3c19f88053367e2cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:38:16.696Z] ---> job-cost.sh [2022-05-30T07:38:16.696Z] lf-activate-venv: SKIPPING [2022-05-30T07:38:16.696Z] INFO: No Stack... [2022-05-30T07:38:17.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-30T07:38:17.852Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-431 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws [2022-05-30T07:38:17.863Z] Running in /w/workspace/device-usb-camera/14 [Pipeline] { [Pipeline] checkout [2022-05-30T07:38:17.924Z] Selected Git installation does not exist. Using Default [2022-05-30T07:38:17.924Z] The recommended git tool is: NONE [2022-05-30T07:38:18.649Z] INFO: Archiving Costs [Pipeline] sh [2022-05-30T07:38:18.939Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [2022-05-30T07:38:18.940Z] + cut -d, -f6 [Pipeline] lock [2022-05-30T07:38:18.954Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-14-stack-cost] [2022-05-30T07:38:18.961Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-14-stack-cost] did not exist. Created. [2022-05-30T07:38:18.961Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-30T07:38:19.265Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-30T07:38:19.297Z] Stashed 1 file(s) [Pipeline] } [2022-05-30T07:38:19.303Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-30T07:38:19.327Z] $ docker stop --time=1 e626e5989060bd87c64fc450017ccc1cafe48a2018d0d2f3c19f88053367e2cd [2022-05-30T07:38:20.487Z] $ docker rm -f e626e5989060bd87c64fc450017ccc1cafe48a2018d0d2f3c19f88053367e2cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-30T07:38:24.449Z] using credential edgex-jenkins-ssh [2022-05-30T07:38:24.466Z] Cloning the remote Git repository [2022-05-30T07:38:24.524Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-05-30T07:38:24.596Z] > git init /w/workspace/device-usb-camera/14 # timeout=10 [2022-05-30T07:38:24.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-30T07:38:24.688Z] > git --version # timeout=10 [2022-05-30T07:38:24.709Z] > git --version # 'git version 2.25.1' [2022-05-30T07:38:24.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-30T07:38:24.851Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-30T07:38:25.777Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-30T07:38:25.798Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-30T07:38:25.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-05-30T07:38:25.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-05-30T07:38:25.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-30T07:38:25.880Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-30T07:38:26.387Z] Merging remotes/origin/main commit f39f8737115c4aee3eed177658c873badef7abfd into PR head commit 4df80eefb8af4e7f598d31ac79e90a8636e25008 [2022-05-30T07:38:26.591Z] Merge succeeded, producing 4df80eefb8af4e7f598d31ac79e90a8636e25008 [2022-05-30T07:38:26.591Z] Checking out Revision 4df80eefb8af4e7f598d31ac79e90a8636e25008 (PR-30) [2022-05-30T07:38:26.410Z] > git config core.sparsecheckout # timeout=10 [2022-05-30T07:38:26.426Z] > git checkout -f 4df80eefb8af4e7f598d31ac79e90a8636e25008 # timeout=10 [2022-05-30T07:38:26.506Z] > git remote # timeout=10 [2022-05-30T07:38:26.524Z] > git config --get remote.origin.url # timeout=10 [2022-05-30T07:38:26.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-30T07:38:26.551Z] > git merge f39f8737115c4aee3eed177658c873badef7abfd # timeout=10 [2022-05-30T07:38:26.577Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-30T07:38:26.603Z] > git config core.sparsecheckout # timeout=10 [2022-05-30T07:38:26.616Z] > git checkout -f 4df80eefb8af4e7f598d31ac79e90a8636e25008 # timeout=10 [2022-05-30T07:38:30.715Z] Commit message: "fix: add missing curl build dependency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-30T07:38:31.592Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-30T07:38:31.592Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-30T07:38:31.592Z] Dload Upload Total Spent Left Speed [2022-05-30T07:38:31.592Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50012 0 --:--:-- --:--:-- --:--:-- 50012 [Pipeline] sh [2022-05-30T07:38:32.318Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-30T07:38:32.659Z] + sudo tee+ /etc/docker/daemon.newsudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-05-30T07:38:32.659Z] /etc/docker/daemon.json [2022-05-30T07:38:32.659Z] { [2022-05-30T07:38:32.659Z] "registry-mirrors": [ [2022-05-30T07:38:32.659Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-30T07:38:32.659Z] ], [2022-05-30T07:38:32.659Z] "bip": "10.250.0.254/24", [2022-05-30T07:38:32.659Z] "hosts": [ [2022-05-30T07:38:32.659Z] "tcp://0.0.0.0:5555", [2022-05-30T07:38:32.659Z] "unix:///var/run/docker.sock" [2022-05-30T07:38:32.659Z] ], [2022-05-30T07:38:32.659Z] "mtu": 1458, [2022-05-30T07:38:32.659Z] "selinux-enabled": true, [2022-05-30T07:38:32.659Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-30T07:38:32.659Z] } [Pipeline] sh [2022-05-30T07:38:33.004Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-30T07:38:33.354Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-30T07:38:51.705Z] provisioning config files... [2022-05-30T07:38:51.728Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/14@tmp/config2188215544684245514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:38:52.268Z] ---> docker-login.sh [2022-05-30T07:38:52.268Z] nexus3.edgexfoundry.org:10001 [2022-05-30T07:38:52.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:38:53.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:38:53.137Z] Configure a credential helper to remove this warning. See [2022-05-30T07:38:53.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:38:53.137Z] [2022-05-30T07:38:53.137Z] Login Succeeded [2022-05-30T07:38:53.137Z] nexus3.edgexfoundry.org:10002 [2022-05-30T07:38:53.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:38:53.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:38:53.412Z] Configure a credential helper to remove this warning. See [2022-05-30T07:38:53.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:38:53.412Z] [2022-05-30T07:38:53.412Z] Login Succeeded [2022-05-30T07:38:53.687Z] nexus3.edgexfoundry.org:10003 [2022-05-30T07:38:53.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:38:53.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:38:53.961Z] Configure a credential helper to remove this warning. See [2022-05-30T07:38:53.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:38:53.961Z] [2022-05-30T07:38:53.961Z] Login Succeeded [2022-05-30T07:38:53.961Z] nexus3.edgexfoundry.org:10004 [2022-05-30T07:38:54.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:38:54.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:38:54.508Z] Configure a credential helper to remove this warning. See [2022-05-30T07:38:54.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:38:54.508Z] [2022-05-30T07:38:54.508Z] Login Succeeded [2022-05-30T07:38:54.508Z] docker.io [2022-05-30T07:38:54.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-30T07:38:55.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-30T07:38:55.053Z] Configure a credential helper to remove this warning. See [2022-05-30T07:38:55.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-30T07:38:55.053Z] [2022-05-30T07:38:55.053Z] Login Succeeded [2022-05-30T07:38:55.053Z] ---> docker-login.sh ends [Pipeline] } [2022-05-30T07:38:55.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-30T07:38:55.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-30T07:38:55.322Z] ========================================================= [2022-05-30T07:38:55.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-30T07:38:55.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:38:55.671Z] + 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-05-30T07:38:55.944Z] Sending build context to Docker daemon 487.4kB [2022-05-30T07:38:55.944Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-30T07:38:55.944Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-30T07:38:56.219Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-30T07:38:56.219Z] 9b3977197b4f: Pulling fs layer [2022-05-30T07:38:56.219Z] 1a89e8eeedd5: Pulling fs layer [2022-05-30T07:38:56.219Z] 94645a83ff95: Pulling fs layer [2022-05-30T07:38:56.219Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-30T07:38:56.219Z] 0c92f367c5e7: Pulling fs layer [2022-05-30T07:38:56.219Z] 3096ccb668a1: Pulling fs layer [2022-05-30T07:38:56.219Z] e8cf19c19ddd: Pulling fs layer [2022-05-30T07:38:56.219Z] a4caa8a26152: Pulling fs layer [2022-05-30T07:38:56.219Z] 3096ccb668a1: Waiting [2022-05-30T07:38:56.219Z] e8cf19c19ddd: Waiting [2022-05-30T07:38:56.219Z] a4caa8a26152: Waiting [2022-05-30T07:38:56.219Z] 3f3a8bcf1eab: Waiting [2022-05-30T07:38:56.219Z] 0c92f367c5e7: Waiting [2022-05-30T07:38:56.219Z] 94645a83ff95: Verifying Checksum [2022-05-30T07:38:56.219Z] 94645a83ff95: Download complete [2022-05-30T07:38:56.219Z] 1a89e8eeedd5: Verifying Checksum [2022-05-30T07:38:56.219Z] 1a89e8eeedd5: Download complete [2022-05-30T07:38:56.219Z] 0c92f367c5e7: Verifying Checksum [2022-05-30T07:38:56.219Z] 0c92f367c5e7: Download complete [2022-05-30T07:38:56.219Z] 3096ccb668a1: Verifying Checksum [2022-05-30T07:38:56.219Z] 3096ccb668a1: Download complete [2022-05-30T07:38:56.219Z] 9b3977197b4f: Download complete [2022-05-30T07:38:56.219Z] e8cf19c19ddd: Verifying Checksum [2022-05-30T07:38:56.219Z] e8cf19c19ddd: Download complete [2022-05-30T07:38:56.838Z] 9b3977197b4f: Pull complete [2022-05-30T07:38:57.449Z] 1a89e8eeedd5: Pull complete [2022-05-30T07:38:57.727Z] 94645a83ff95: Pull complete [2022-05-30T07:38:58.330Z] a4caa8a26152: Verifying Checksum [2022-05-30T07:38:58.330Z] a4caa8a26152: Download complete [2022-05-30T07:38:58.925Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-30T07:38:58.925Z] 3f3a8bcf1eab: Download complete [2022-05-30T07:39:11.343Z] 3f3a8bcf1eab: Pull complete [2022-05-30T07:39:11.343Z] 0c92f367c5e7: Pull complete [2022-05-30T07:39:11.343Z] 3096ccb668a1: Pull complete [2022-05-30T07:39:11.343Z] e8cf19c19ddd: Pull complete [2022-05-30T07:39:18.071Z] a4caa8a26152: Pull complete [2022-05-30T07:39:18.071Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-30T07:39:18.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-30T07:39:18.071Z] ---> 725f1c02e7f9 [2022-05-30T07:39:18.071Z] Step 3/12 : ARG MAKE="make build" [2022-05-30T07:39:19.057Z] ---> Running in 7602d026e8e6 [2022-05-30T07:39:19.332Z] Removing intermediate container 7602d026e8e6 [2022-05-30T07:39:19.332Z] ---> 6f4bf7f99a43 [2022-05-30T07:39:19.332Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-30T07:39:19.332Z] ---> Running in b27c832c8a5e [2022-05-30T07:39:19.606Z] Removing intermediate container b27c832c8a5e [2022-05-30T07:39:19.606Z] ---> 81d0684e2fe9 [2022-05-30T07:39:19.606Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-30T07:39:19.606Z] ---> Running in 26721b1d2190 [2022-05-30T07:39:20.208Z] Removing intermediate container 26721b1d2190 [2022-05-30T07:39:20.209Z] ---> 9154e47a74d5 [2022-05-30T07:39:20.209Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-30T07:39:20.209Z] ---> Running in 9c6051e0c52e [2022-05-30T07:39:21.651Z] Removing intermediate container 9c6051e0c52e [2022-05-30T07:39:21.651Z] ---> f2c7c2d7e07f [2022-05-30T07:39:21.651Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-30T07:39:21.926Z] ---> Running in 47c6a26672bb [2022-05-30T07:39:22.915Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-30T07:39:23.894Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-30T07:39:24.497Z] (1/14) Installing libintl (0.21-r0) [2022-05-30T07:39:24.497Z] (2/14) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-30T07:39:24.770Z] (3/14) Installing libjpeg-turbo (2.1.2-r0) [2022-05-30T07:39:24.770Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-05-30T07:39:24.770Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-05-30T07:39:25.043Z] (6/14) Installing udev-init-scripts (35-r0) [2022-05-30T07:39:25.043Z] Executing udev-init-scripts-35-r0.post-install [2022-05-30T07:39:25.043Z] (7/14) Installing libblkid (2.37.4-r0) [2022-05-30T07:39:25.316Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-05-30T07:39:25.316Z] (9/14) Installing zstd-libs (1.5.0-r0) [2022-05-30T07:39:25.912Z] (10/14) Installing kmod-libs (29-r2) [2022-05-30T07:39:25.912Z] (11/14) Installing eudev (3.2.11_pre1-r0) [2022-05-30T07:39:25.912Z] (12/14) Installing eudev-dev (3.2.11_pre1-r0) [2022-05-30T07:39:25.912Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-05-30T07:39:26.188Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-05-30T07:39:26.188Z] Executing busybox-1.34.1-r3.trigger [2022-05-30T07:39:26.188Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-30T07:39:26.188Z] OK: 227 MiB in 66 packages [2022-05-30T07:39:27.646Z] Removing intermediate container 47c6a26672bb [2022-05-30T07:39:27.646Z] ---> 9cb06d0f6562 [2022-05-30T07:39:27.646Z] Step 8/12 : WORKDIR /device-usb-camera [2022-05-30T07:39:27.646Z] ---> Running in 5644f6c9b0cf [2022-05-30T07:39:27.921Z] Removing intermediate container 5644f6c9b0cf [2022-05-30T07:39:27.921Z] ---> 9894d4b4a83f [2022-05-30T07:39:27.921Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-30T07:39:28.517Z] ---> c78c9344077b [2022-05-30T07:39:28.517Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-30T07:39:28.517Z] ---> Running in ab0d822b669a [2022-05-30T07:40:15.525Z] Removing intermediate container ab0d822b669a [2022-05-30T07:40:15.525Z] ---> 1acdc9f91ec5 [2022-05-30T07:40:15.525Z] Step 11/12 : COPY . . [2022-05-30T07:40:15.525Z] ---> 3ad0b9cfc51a [2022-05-30T07:40:15.525Z] Step 12/12 : RUN ${MAKE} [2022-05-30T07:40:15.525Z] ---> Running in 38a4cc05b290 [2022-05-30T07:40:15.525Z] noop [2022-05-30T07:40:15.525Z] Removing intermediate container 38a4cc05b290 [2022-05-30T07:40:15.525Z] ---> 2c3f0142cda2 [2022-05-30T07:40:15.525Z] Successfully built 2c3f0142cda2 [2022-05-30T07:40:15.525Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:40:15.884Z] + docker inspect -f . ci-base-image-arm64 [2022-05-30T07:40:15.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-30T07:40:16.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-431 does not seem to be running inside a container [2022-05-30T07:40:16.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/14 -v /w/workspace/device-usb-camera/14:/w/workspace/device-usb-camera/14:rw,z -v /w/workspace/device-usb-camera/14@tmp:/w/workspace/device-usb-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-30T07:40:17.538Z] $ docker top bf0b433a59eb0a9999b2c11f89639dbec4aad29bdae60d467f41de3b0f974573 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-30T07:40:18.463Z] + go version [2022-05-30T07:40:18.463Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-30T07:40:18.494Z] $ docker stop --time=1 bf0b433a59eb0a9999b2c11f89639dbec4aad29bdae60d467f41de3b0f974573 [2022-05-30T07:40:20.125Z] $ docker rm -f bf0b433a59eb0a9999b2c11f89639dbec4aad29bdae60d467f41de3b0f974573 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:40:20.722Z] + docker inspect -f . ci-base-image-arm64 [2022-05-30T07:40:20.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-30T07:40:20.972Z] prd-ubuntu20.04-docker-arm64-4c-16g-431 does not seem to be running inside a container [2022-05-30T07:40:21.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/14 -v /w/workspace/device-usb-camera/14:/w/workspace/device-usb-camera/14:rw,z -v /w/workspace/device-usb-camera/14@tmp:/w/workspace/device-usb-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-30T07:40:22.348Z] $ docker top 8348c4e5f0c62049b04e8303491a0c5ead7b3cd660022fba9a31a1752f310b47 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-30T07:40:23.259Z] + make test [2022-05-30T07:40:23.259Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-05-30T07:40:24.692Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-05-30T07:41:46.557Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-05-30T07:41:46.557Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-05-30T07:41:46.557Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-30T07:41:46.557Z] CGO_ENABLED=1 go vet ./... [2022-05-30T07:42:08.800Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-30T07:42:08.800Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-30T07:42:08.800Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-30T07:42:09.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-30T07:42:09.828Z] $ docker stop --time=1 8348c4e5f0c62049b04e8303491a0c5ead7b3cd660022fba9a31a1752f310b47 [2022-05-30T07:42:11.565Z] $ docker rm -f 8348c4e5f0c62049b04e8303491a0c5ead7b3cd660022fba9a31a1752f310b47 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-30T07:42:12.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-30T07:42:12.510Z] Warning: overwriting stash ‘coverage-report’ [2022-05-30T07:42:12.918Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-30T07:42:13.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-30T07:42:13.636Z] + ls -al . [2022-05-30T07:42:13.636Z] total 164 [2022-05-30T07:42:13.636Z] drwxrwxr-x 9 jenkins jenkins 4096 May 30 07:42 . [2022-05-30T07:42:13.636Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:38 .. [2022-05-30T07:42:13.636Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:38 .git [2022-05-30T07:42:13.636Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:38 .github [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 414 May 30 07:38 .gitignore [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 42 May 30 07:38 .golangci.yml [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 77 May 30 07:38 .hadolint.yml [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 8706 May 30 07:38 Attribution.txt [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 181 May 30 07:38 CHANGELOG.md [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 1891 May 30 07:38 Dockerfile [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 678 May 30 07:38 GOVERNANCE.md [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 659 May 30 07:38 Jenkinsfile [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 30 07:38 LICENSE [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 2345 May 30 07:38 Makefile [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 622 May 30 07:38 OWNERS.md [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 8912 May 30 07:38 README.md [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 5 May 30 07:36 VERSION [2022-05-30T07:42:13.636Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:38 bin [2022-05-30T07:42:13.636Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:38 cmd [2022-05-30T07:42:13.636Z] -rw-r--r-- 1 jenkins jenkins 10 May 30 07:40 coverage.out [2022-05-30T07:42:13.636Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:38 docker-compose [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 140 May 30 07:38 docker-entrypoint.sh [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 3307 May 30 07:38 go.mod [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 35656 May 30 07:38 go.sum [2022-05-30T07:42:13.636Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:38 internal [2022-05-30T07:42:13.636Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:38 snap [2022-05-30T07:42:13.636Z] -rw-rw-r-- 1 jenkins jenkins 231 May 30 07:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:42:14.022Z] + 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=4df80eefb8af4e7f598d31ac79e90a8636e25008 --label arch=arm64 --label version=0.0.0 . [2022-05-30T07:42:14.301Z] Sending build context to Docker daemon 488.4kB [2022-05-30T07:42:14.301Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-05-30T07:42:14.301Z] Step 2/29 : FROM ${BASE} AS builder [2022-05-30T07:42:14.301Z] ---> 2c3f0142cda2 [2022-05-30T07:42:14.301Z] Step 3/29 : ARG MAKE="make build" [2022-05-30T07:42:14.587Z] ---> Running in 05984f337b0f [2022-05-30T07:42:14.869Z] Removing intermediate container 05984f337b0f [2022-05-30T07:42:14.869Z] ---> be814451a98c [2022-05-30T07:42:14.869Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-30T07:42:14.869Z] ---> Running in 624196f1ecc4 [2022-05-30T07:42:15.147Z] Removing intermediate container 624196f1ecc4 [2022-05-30T07:42:15.147Z] ---> 3ea9d0c52a59 [2022-05-30T07:42:15.147Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-05-30T07:42:15.448Z] ---> Running in 359fc8b89089 [2022-05-30T07:42:15.728Z] Removing intermediate container 359fc8b89089 [2022-05-30T07:42:15.728Z] ---> 0231cb868db4 [2022-05-30T07:42:15.728Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-30T07:42:15.728Z] ---> Running in 6187b658749e [2022-05-30T07:42:17.700Z] Removing intermediate container 6187b658749e [2022-05-30T07:42:17.700Z] ---> c905691c3bde [2022-05-30T07:42:17.700Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-30T07:42:17.700Z] ---> Running in 00c7bc4aee80 [2022-05-30T07:42:18.298Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-30T07:42:19.272Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-30T07:42:20.252Z] OK: 227 MiB in 66 packages [2022-05-30T07:42:20.851Z] Removing intermediate container 00c7bc4aee80 [2022-05-30T07:42:20.852Z] ---> 91a5ab574d20 [2022-05-30T07:42:20.852Z] Step 8/29 : WORKDIR /device-usb-camera [2022-05-30T07:42:20.852Z] ---> Running in c4eb0a32db14 [2022-05-30T07:42:21.124Z] Removing intermediate container c4eb0a32db14 [2022-05-30T07:42:21.124Z] ---> 28cab830ce84 [2022-05-30T07:42:21.124Z] Step 9/29 : COPY go.mod vendor* ./ [2022-05-30T07:42:21.719Z] ---> 0ede586513e4 [2022-05-30T07:42:21.720Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-30T07:42:21.720Z] ---> Running in d1d2983b3d7a [2022-05-30T07:42:23.710Z] Removing intermediate container d1d2983b3d7a [2022-05-30T07:42:23.710Z] ---> 63dead501eda [2022-05-30T07:42:23.710Z] Step 11/29 : COPY . . [2022-05-30T07:42:24.309Z] ---> c41b8aa85a20 [2022-05-30T07:42:24.309Z] Step 12/29 : RUN ${MAKE} [2022-05-30T07:42:24.309Z] ---> Running in 6de39175a510 [2022-05-30T07:42:25.291Z] 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.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-05-30T07:44:32.164Z] Removing intermediate container 6de39175a510 [2022-05-30T07:44:32.164Z] ---> 663499671300 [2022-05-30T07:44:32.164Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-05-30T07:44:32.164Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-05-30T07:44:32.164Z] eab2503cf8f4: Pulling fs layer [2022-05-30T07:44:32.164Z] 97cd0a44c592: Pulling fs layer [2022-05-30T07:44:32.164Z] 97cd0a44c592: Download complete [2022-05-30T07:44:32.164Z] eab2503cf8f4: Verifying Checksum [2022-05-30T07:44:32.164Z] eab2503cf8f4: Download complete [2022-05-30T07:44:32.164Z] eab2503cf8f4: Pull complete [2022-05-30T07:44:32.164Z] 97cd0a44c592: Pull complete [2022-05-30T07:44:32.164Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-05-30T07:44:32.164Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-05-30T07:44:32.164Z] ---> 7f763cca56b3 [2022-05-30T07:44:32.164Z] Step 14/29 : FROM alpine:3.15 [2022-05-30T07:44:32.164Z] 3.15: Pulling from library/alpine [2022-05-30T07:44:32.164Z] 9981e73032c8: Pulling fs layer [2022-05-30T07:44:32.164Z] 9981e73032c8: Download complete [2022-05-30T07:44:32.164Z] 9981e73032c8: Pull complete [2022-05-30T07:44:32.164Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-30T07:44:32.164Z] Status: Downloaded newer image for alpine:3.15 [2022-05-30T07:44:32.164Z] ---> 3fb3c9af89a9 [2022-05-30T07:44:32.164Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-30T07:44:32.164Z] ---> Running in 391c43963e50 [2022-05-30T07:44:32.164Z] Removing intermediate container 391c43963e50 [2022-05-30T07:44:32.164Z] ---> 086931eaa68d [2022-05-30T07:44:32.164Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-05-30T07:44:32.164Z] ---> Running in 659171edcaed [2022-05-30T07:44:32.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-30T07:44:32.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-30T07:44:32.164Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-05-30T07:44:32.164Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-05-30T07:44:32.164Z] (3/73) Installing libxau (1.0.9-r0) [2022-05-30T07:44:32.164Z] (4/73) Installing libmd (1.0.3-r0) [2022-05-30T07:44:32.164Z] (5/73) Installing libbsd (0.11.3-r1) [2022-05-30T07:44:32.164Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-05-30T07:44:32.164Z] (7/73) Installing libxcb (1.14-r2) [2022-05-30T07:44:32.164Z] (8/73) Installing libx11 (1.7.2-r0) [2022-05-30T07:44:32.164Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-05-30T07:44:32.164Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-05-30T07:44:32.164Z] (11/73) Installing expat (2.4.7-r0) [2022-05-30T07:44:32.164Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-05-30T07:44:32.164Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-05-30T07:44:32.164Z] (14/73) Installing libpng (1.6.37-r1) [2022-05-30T07:44:32.164Z] (15/73) Installing freetype (2.11.1-r2) [2022-05-30T07:44:32.164Z] (16/73) Installing libuuid (2.37.4-r0) [2022-05-30T07:44:32.164Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-05-30T07:44:32.164Z] (18/73) Installing fribidi (1.0.11-r0) [2022-05-30T07:44:32.164Z] (19/73) Installing libffi (3.4.2-r1) [2022-05-30T07:44:32.164Z] (20/73) Installing libintl (0.21-r0) [2022-05-30T07:44:32.164Z] (21/73) Installing libblkid (2.37.4-r0) [2022-05-30T07:44:32.164Z] (22/73) Installing libmount (2.37.4-r0) [2022-05-30T07:44:32.164Z] (23/73) Installing pcre (8.45-r1) [2022-05-30T07:44:32.164Z] (24/73) Installing glib (2.70.1-r0) [2022-05-30T07:44:32.164Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-05-30T07:44:32.164Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-05-30T07:44:32.164Z] (27/73) Installing libass (0.15.2-r0) [2022-05-30T07:44:32.164Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-05-30T07:44:32.164Z] (29/73) Installing gmp (6.2.1-r1) [2022-05-30T07:44:32.164Z] (30/73) Installing nettle (3.7.3-r0) [2022-05-30T07:44:32.164Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-05-30T07:44:32.164Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-05-30T07:44:32.164Z] (33/73) Installing libunistring (0.9.10-r1) [2022-05-30T07:44:32.164Z] (34/73) Installing gnutls (3.7.1-r0) [2022-05-30T07:44:32.164Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-05-30T07:44:32.164Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-05-30T07:44:32.164Z] (37/73) Installing lame (3.100-r0) [2022-05-30T07:44:32.164Z] (38/73) Installing opus (1.3.1-r1) [2022-05-30T07:44:32.164Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-05-30T07:44:32.164Z] (40/73) Installing soxr (0.1.3-r2) [2022-05-30T07:44:32.164Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-05-30T07:44:32.164Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-30T07:44:32.164Z] (43/73) Installing libsrt (1.4.2-r1) [2022-05-30T07:44:32.164Z] (44/73) Installing libssh (0.9.6-r1) [2022-05-30T07:44:32.164Z] (45/73) Installing libogg (1.3.5-r0) [2022-05-30T07:44:32.164Z] (46/73) Installing libtheora (1.1.1-r16) [2022-05-30T07:44:32.164Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-05-30T07:44:32.164Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-05-30T07:44:32.164Z] (49/73) Installing libxext (1.3.4-r0) [2022-05-30T07:44:32.164Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-05-30T07:44:32.164Z] (51/73) Installing libdrm (2.4.109-r0) [2022-05-30T07:44:32.164Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-05-30T07:44:32.164Z] (53/73) Installing libva (2.13.0-r0) [2022-05-30T07:44:32.164Z] (54/73) Installing libvdpau (1.4-r0) [2022-05-30T07:44:32.164Z] (55/73) Installing vidstab (1.1.0-r1) [2022-05-30T07:44:32.164Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-05-30T07:44:32.164Z] (57/73) Installing libvpx (1.10.0-r0) [2022-05-30T07:44:32.164Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-05-30T07:44:32.164Z] (59/73) Installing libwebp (1.2.2-r0) [2022-05-30T07:44:32.164Z] (60/73) Installing x264-libs (20210613-r0) [2022-05-30T07:44:32.164Z] (61/73) Installing x265-libs (3.5-r0) [2022-05-30T07:44:32.164Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-05-30T07:44:32.164Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-05-30T07:44:32.164Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-05-30T07:44:32.164Z] (65/73) Installing udev-init-scripts (35-r0) [2022-05-30T07:44:32.164Z] Executing udev-init-scripts-35-r0.post-install [2022-05-30T07:44:32.164Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-05-30T07:44:32.164Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-05-30T07:44:32.164Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-05-30T07:44:32.164Z] (69/73) Installing kmod-libs (29-r2) [2022-05-30T07:44:32.164Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-05-30T07:44:32.164Z] (71/73) Installing libsodium (1.0.18-r0) [2022-05-30T07:44:32.164Z] (72/73) Installing libzmq (4.3.4-r0) [2022-05-30T07:44:32.164Z] (73/73) Installing zeromq (4.3.4-r0) [2022-05-30T07:44:32.164Z] Executing busybox-1.34.1-r5.trigger [2022-05-30T07:44:32.164Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-05-30T07:44:32.164Z] OK: 67 MiB in 87 packages [2022-05-30T07:44:33.143Z] Removing intermediate container 659171edcaed [2022-05-30T07:44:33.143Z] ---> e153ac9da052 [2022-05-30T07:44:33.143Z] Step 17/29 : WORKDIR / [2022-05-30T07:44:33.143Z] ---> Running in 7f77524594ea [2022-05-30T07:44:33.743Z] Removing intermediate container 7f77524594ea [2022-05-30T07:44:33.743Z] ---> 6ad2b96a3b57 [2022-05-30T07:44:33.743Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-05-30T07:44:35.182Z] ---> db61b848e8f2 [2022-05-30T07:44:35.182Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-05-30T07:44:35.780Z] ---> 67148f8b8c2a [2022-05-30T07:44:35.780Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-05-30T07:44:36.058Z] ---> 3eba365f1e00 [2022-05-30T07:44:36.058Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-05-30T07:44:36.660Z] ---> 5caf7e15b985 [2022-05-30T07:44:36.660Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-05-30T07:44:37.259Z] ---> 040abee0065b [2022-05-30T07:44:37.259Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-05-30T07:44:38.701Z] ---> cd0e1d9bbdad [2022-05-30T07:44:38.701Z] Step 24/29 : EXPOSE 59983 [2022-05-30T07:44:38.701Z] ---> Running in 94cb880c392e [2022-05-30T07:44:38.701Z] Removing intermediate container 94cb880c392e [2022-05-30T07:44:38.701Z] ---> e75b29ec8c46 [2022-05-30T07:44:38.701Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-05-30T07:44:38.975Z] ---> Running in 293890b46266 [2022-05-30T07:44:39.263Z] Removing intermediate container 293890b46266 [2022-05-30T07:44:39.263Z] ---> 845bc9400d9b [2022-05-30T07:44:39.263Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-05-30T07:44:39.263Z] ---> Running in 74b6142570a4 [2022-05-30T07:44:39.536Z] Removing intermediate container 74b6142570a4 [2022-05-30T07:44:39.536Z] ---> 6ddf650a8e46 [2022-05-30T07:44:39.536Z] Step 27/29 : LABEL arch=arm64 [2022-05-30T07:44:39.536Z] ---> Running in 5247755253bc [2022-05-30T07:44:39.807Z] Removing intermediate container 5247755253bc [2022-05-30T07:44:39.807Z] ---> c198a2a1fca3 [2022-05-30T07:44:39.807Z] Step 28/29 : LABEL git_sha=4df80eefb8af4e7f598d31ac79e90a8636e25008 [2022-05-30T07:44:40.082Z] ---> Running in 304eddb81ee1 [2022-05-30T07:44:40.353Z] Removing intermediate container 304eddb81ee1 [2022-05-30T07:44:40.353Z] ---> 98ad5072d831 [2022-05-30T07:44:40.353Z] Step 29/29 : LABEL version=0.0.0 [2022-05-30T07:44:40.353Z] ---> Running in 239f5b60255c [2022-05-30T07:44:40.626Z] Removing intermediate container 239f5b60255c [2022-05-30T07:44:40.626Z] ---> 3c7d2c5174ee [2022-05-30T07:44:40.626Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-30T07:44:40.626Z] Successfully built 3c7d2c5174ee [2022-05-30T07:44:40.626Z] 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-05-30T07:44:41.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-30T07:44:41.083Z] [2022-05-30T07:44:41.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:44:41.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-30T07:44:41.703Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-30T07:44:41.703Z] 8998bd30e6a1: Pulling fs layer [2022-05-30T07:44:41.703Z] 04944245beec: Pulling fs layer [2022-05-30T07:44:41.703Z] 699f458cf7ca: Pulling fs layer [2022-05-30T07:44:41.703Z] 765212b225bb: Pulling fs layer [2022-05-30T07:44:41.703Z] f23df028b6ca: Pulling fs layer [2022-05-30T07:44:41.703Z] d65c8cfc05b1: Pulling fs layer [2022-05-30T07:44:41.703Z] 2437ff75d9bd: Pulling fs layer [2022-05-30T07:44:41.703Z] 765212b225bb: Waiting [2022-05-30T07:44:41.703Z] f23df028b6ca: Waiting [2022-05-30T07:44:41.703Z] 2437ff75d9bd: Waiting [2022-05-30T07:44:41.703Z] d65c8cfc05b1: Waiting [2022-05-30T07:44:41.703Z] 04944245beec: Verifying Checksum [2022-05-30T07:44:41.703Z] 04944245beec: Download complete [2022-05-30T07:44:41.703Z] 765212b225bb: Verifying Checksum [2022-05-30T07:44:41.703Z] 765212b225bb: Download complete [2022-05-30T07:44:41.703Z] f23df028b6ca: Verifying Checksum [2022-05-30T07:44:41.703Z] f23df028b6ca: Download complete [2022-05-30T07:44:41.703Z] d65c8cfc05b1: Verifying Checksum [2022-05-30T07:44:41.703Z] d65c8cfc05b1: Download complete [2022-05-30T07:44:41.976Z] 699f458cf7ca: Verifying Checksum [2022-05-30T07:44:41.976Z] 699f458cf7ca: Download complete [2022-05-30T07:44:42.249Z] 8998bd30e6a1: Download complete [2022-05-30T07:44:44.868Z] 2437ff75d9bd: Verifying Checksum [2022-05-30T07:44:44.868Z] 2437ff75d9bd: Download complete [2022-05-30T07:44:46.303Z] 8998bd30e6a1: Pull complete [2022-05-30T07:44:46.900Z] 04944245beec: Pull complete [2022-05-30T07:44:48.333Z] 699f458cf7ca: Pull complete [2022-05-30T07:44:48.333Z] 765212b225bb: Pull complete [2022-05-30T07:44:49.311Z] f23df028b6ca: Pull complete [2022-05-30T07:44:49.582Z] d65c8cfc05b1: Pull complete [2022-05-30T07:45:04.659Z] 2437ff75d9bd: Pull complete [2022-05-30T07:45:04.659Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-30T07:45:04.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-30T07:45:04.659Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-30T07:45:04.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-431 does not seem to be running inside a container [2022-05-30T07:45:05.005Z] $ 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/14 -v /w/workspace/device-usb-camera/14:/w/workspace/device-usb-camera/14:rw,z -v /w/workspace/device-usb-camera/14@tmp:/w/workspace/device-usb-camera/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-30T07:45:07.398Z] $ docker top 7ad875c0fdf6957644929e31b6692e1b28e3af6e5fdd6ae39d778c6e2e00a32c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:45:08.318Z] ---> job-cost.sh [2022-05-30T07:45:08.318Z] lf-activate-venv: SKIPPING [2022-05-30T07:45:08.318Z] INFO: No Stack... [2022-05-30T07:45:08.589Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-30T07:45:09.564Z] INFO: Archiving Costs [Pipeline] sh [2022-05-30T07:45:10.243Z] + cat /w/workspace/device-usb-camera/14/archives/cost.csv [2022-05-30T07:45:10.243Z] + cut -d, -f6 [Pipeline] lock [2022-05-30T07:45:10.305Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-14-stack-cost] [2022-05-30T07:45:10.312Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-14-stack-cost] did not exist. Created. [2022-05-30T07:45:10.312Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-30T07:45:10.992Z] /w/workspace/device-usb-camera/14@tmp/durable-4ef06b1c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-30T07:45:11.675Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-30T07:45:11.700Z] Warning: overwriting stash ‘stack-cost’ [2022-05-30T07:45:11.748Z] Stashed 1 file(s) [Pipeline] } [2022-05-30T07:45:11.757Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-30T07:45:11.783Z] $ docker stop --time=1 7ad875c0fdf6957644929e31b6692e1b28e3af6e5fdd6ae39d778c6e2e00a32c [2022-05-30T07:45:13.235Z] $ docker rm -f 7ad875c0fdf6957644929e31b6692e1b28e3af6e5fdd6ae39d778c6e2e00a32c [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-05-30T07:45:13.700Z] provisioning config files... [2022-05-30T07:45:13.710Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config2332053347646668046tmp [Pipeline] { [Pipeline] sh [2022-05-30T07:45:14.005Z] + set +x [2022-05-30T07:45:14.005Z] + curl -s https://codecov.io/bash [2022-05-30T07:45:14.005Z] + bash -s -- [2022-05-30T07:45:14.005Z] [2022-05-30T07:45:14.005Z] _____ _ [2022-05-30T07:45:14.005Z] / ____| | | [2022-05-30T07:45:14.005Z] | | ___ __| | ___ ___ _____ __ [2022-05-30T07:45:14.005Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-30T07:45:14.005Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-30T07:45:14.005Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-30T07:45:14.005Z] Bash-1.0.6 [2022-05-30T07:45:14.005Z] [2022-05-30T07:45:14.005Z] [2022-05-30T07:45:14.005Z] ==> git version 2.25.1 found [2022-05-30T07:45:14.005Z] ==> 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-05-30T07:45:14.005Z] Release-Date: 2020-01-08 [2022-05-30T07:45:14.005Z] 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-05-30T07:45:14.005Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-30T07:45:14.005Z] ==> Jenkins CI detected. [2022-05-30T07:45:14.005Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 [2022-05-30T07:45:14.005Z] project root: . [2022-05-30T07:45:14.005Z] --> token set from env [2022-05-30T07:45:14.005Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-30T07:45:14.005Z] ==> Running gcov in . (disable via -X gcov) [2022-05-30T07:45:14.005Z] ==> Python coveragepy not found [2022-05-30T07:45:14.005Z] ==> Searching for coverage reports in: [2022-05-30T07:45:14.005Z] + . [2022-05-30T07:45:14.005Z] -> Found 1 reports [2022-05-30T07:45:14.005Z] ==> Detecting git/mercurial file structure [2022-05-30T07:45:14.005Z] ==> Reading reports [2022-05-30T07:45:14.005Z] + ./coverage.out bytes=10 [2022-05-30T07:45:14.005Z] ==> Appending adjustments [2022-05-30T07:45:14.005Z] https://docs.codecov.io/docs/fixing-reports [2022-05-30T07:45:14.265Z] + Found adjustments [2022-05-30T07:45:14.265Z] ==> Gzipping contents [2022-05-30T07:45:14.265Z] 4.0K /tmp/codecov.nOgFV8.gz [2022-05-30T07:45:14.265Z] ==> Uploading reports [2022-05-30T07:45:14.265Z] url: https://codecov.io [2022-05-30T07:45:14.265Z] query: branch=PR-30&commit=4df80eefb8af4e7f598d31ac79e90a8636e25008&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-05-30T07:45:14.265Z] -> Pinging Codecov [2022-05-30T07:45:14.265Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=4df80eefb8af4e7f598d31ac79e90a8636e25008&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= [2022-05-30T07:45:14.526Z] -> Uploading to [2022-05-30T07:45:14.526Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-30/73D8F5FF140700D3E01443B452E23636/4df80eefb8af4e7f598d31ac79e90a8636e25008/61d27bd4-8359-467a-b48b-d262628c0ef9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220530T074514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ce72996733afa46490a674f55a3ed433d0caf4d346724c53189d0c9f79e9a76e [2022-05-30T07:45:14.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-30T07:45:14.526Z] Dload Upload Total Spent Left Speed [2022-05-30T07:45:14.785Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1201 0 0 100 1201 0 5004 --:--:-- --:--:-- --:--:-- 5004 [2022-05-30T07:45:14.785Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/4df80eefb8af4e7f598d31ac79e90a8636e25008 [Pipeline] } [2022-05-30T07:45:14.794Z] 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-05-30T07:45:15.514Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] [2022-05-30T07:45:15.514Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-05-30T07:45:15.514Z] total 16 [2022-05-30T07:45:15.514Z] drwxr-xr-x 3 root root 4096 May 30 07:38 . [2022-05-30T07:45:15.514Z] drwxrwxr-x 11 jenkins jenkins 4096 May 30 07:38 .. [2022-05-30T07:45:15.514Z] drwxr-xr-x 2 root root 4096 May 30 07:38 cost [2022-05-30T07:45:15.514Z] -rw-r--r-- 1 root root 88 May 30 07:38 cost.csv [2022-05-30T07:45:15.514Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-05-30T07:45:15.514Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives [2022-05-30T07:45:15.514Z] total 16 [2022-05-30T07:45:15.514Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:38 . [2022-05-30T07:45:15.514Z] drwxrwxr-x 11 jenkins jenkins 4096 May 30 07:38 .. [2022-05-30T07:45:15.514Z] drwxr-xr-x 2 jenkins jenkins 4096 May 30 07:38 cost [2022-05-30T07:45:15.514Z] -rw-r--r-- 1 jenkins jenkins 88 May 30 07:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:45:15.808Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:45:16.666Z] ---> package-listing.sh [2022-05-30T07:45:16.666Z] ++ facter osfamily [2022-05-30T07:45:16.666Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-30T07:45:16.926Z] + OS_FAMILY=debian [2022-05-30T07:45:16.926Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 [2022-05-30T07:45:16.926Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-30T07:45:16.926Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-30T07:45:16.926Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-30T07:45:16.926Z] + PACKAGES=/tmp/packages_start.txt [2022-05-30T07:45:16.926Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-05-30T07:45:16.926Z] + PACKAGES=/tmp/packages_end.txt [2022-05-30T07:45:16.926Z] + case "${OS_FAMILY}" in [2022-05-30T07:45:16.926Z] + dpkg -l [2022-05-30T07:45:16.926Z] + grep '^ii' [2022-05-30T07:45:16.926Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-30T07:45:16.926Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-30T07:45:16.926Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-30T07:45:16.926Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' [2022-05-30T07:45:16.926Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [2022-05-30T07:45:16.926Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo [2022-05-30T07:45:16.938Z] 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-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-30T07:45:17.218Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-30T07:45:17.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-30T07:45:17.784Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-30T07:45:17.869Z] prd-ubuntu20.04-docker-8c-8g-430 does not seem to be running inside a container [2022-05-30T07:45:17.909Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/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-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-30T07:45:18.133Z] $ docker top c0a989a5ba7bd8650f9660312596bd65a65b454f4343867f07714748eb00c3a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-30T07:45:18.484Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-30T07:45:18.770Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-30T07:45:19.059Z] + ls /var/log/sa-host [2022-05-30T07:45:19.059Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-30T07:45:19.190Z] provisioning config files... [2022-05-30T07:45:19.198Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config5430152160577509289tmp [Pipeline] { [Pipeline] echo [2022-05-30T07:45:19.210Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:45:19.496Z] ---> create-netrc.sh [Pipeline] } [2022-05-30T07:45:19.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:45:19.827Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-30T07:45:19.835Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:45:20.119Z] ---> sudo-logs.sh [2022-05-30T07:45:20.119Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-30T07:45:20.146Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:45:20.432Z] ---> job-cost.sh [2022-05-30T07:45:20.432Z] lf-activate-venv: SKIPPING [2022-05-30T07:45:20.432Z] DEBUG: total: 0.2199999988079071 [2022-05-30T07:45:20.432Z] INFO: Retrieving Stack Cost... [2022-05-30T07:45:20.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-30T07:45:21.264Z] INFO: Archiving Costs [Pipeline] echo [2022-05-30T07:45:21.276Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-30T07:45:21.558Z] ---> logs-deploy.sh [2022-05-30T07:45:21.559Z] lf-activate-venv: SKIPPING [2022-05-30T07:45:21.559Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/14 [2022-05-30T07:45:21.559Z] INFO: archiving workspace using pattern(s): [2022-05-30T07:45:22.498Z] Archives upload complete. [2022-05-30T07:45:22.498Z] INFO: archiving logs to Nexus