Pull request #70 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at fa6315a9dc6abe5875e1ce461ca165c4afc43fa4 rather than ba862768035d435e0de85e577ed06ca7e87df0f9 Obtained Jenkinsfile from fa6315a9dc6abe5875e1ce461ca165c4afc43fa4 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-ssh4724135921491884447.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh7389808585203692925.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-70/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-70/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10290692132986671100.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-70/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14926028919547397901.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11980182098052774197.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-70/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-70/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8847214891251654107.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21180 in /w/workspace/xfoundry_device-usb-camera_PR-70 [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-70 # 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/70/head:refs/remotes/origin/PR-70 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fa6315a9dc6abe5875e1ce461ca165c4afc43fa4 into PR head commit ba862768035d435e0de85e577ed06ca7e87df0f9 Merge succeeded, producing ba862768035d435e0de85e577ed06ca7e87df0f9 Checking out Revision ba862768035d435e0de85e577ed06ca7e87df0f9 (PR-70) > git config core.sparsecheckout # timeout=10 > git checkout -f ba862768035d435e0de85e577ed06ca7e87df0f9 # 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 fa6315a9dc6abe5875e1ce461ca165c4afc43fa4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba862768035d435e0de85e577ed06ca7e87df0f9 # timeout=10 Commit message: "docs: add missing license headers to go files" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-27T00:26:30.003Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-27T00:26:30.179Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-27T00:26:30.286Z] ========================================================= [2022-07-27T00:26:30.286Z] EdgeX Global Pipelines Version Info [2022-07-27T00:26:30.286Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:26:31.126Z] ------------------- [2022-07-27T00:26:31.126Z] stable info: [2022-07-27T00:26:31.126Z] ------------------- [2022-07-27T00:26:31.126Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T00:26:31.126Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T00:26:31.126Z] Message: update stable to v1.0.238 [2022-07-27T00:26:31.701Z] ------------------- [2022-07-27T00:26:31.701Z] experimental info: [2022-07-27T00:26:31.701Z] ------------------- [2022-07-27T00:26:31.701Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T00:26:31.701Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T00:26:31.701Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-27T00:26:32.095Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-27T00:26:32.137Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-27T00:26:32.182Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-27T00:26:32.233Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-27T00:26:32.274Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-27T00:26:32.317Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-27T00:26:32.363Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-27T00:26:32.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-27T00:26:32.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-27T00:26:32.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-27T00:26:32.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-27T00:26:32.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-27T00:26:32.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-27T00:26:32.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-27T00:26:32.695Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-27T00:26:32.735Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-27T00:26:32.773Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T00:26:32.810Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T00:26:32.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-27T00:26:32.893Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-27T00:26:32.933Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-27T00:26:32.980Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-27T00:26:33.031Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-27T00:26:33.068Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-27T00:26:33.108Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-27T00:26:33.159Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-27T00:26:33.201Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-27T00:26:33.241Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-70 [Pipeline] echo [2022-07-27T00:26:33.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-70 [Pipeline] echo [2022-07-27T00:26:33.321Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-70 [Pipeline] echo [2022-07-27T00:26:33.360Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba862768035d435e0de85e577ed06ca7e87df0f9 [Pipeline] echo [2022-07-27T00:26:33.404Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba86276 [Pipeline] echo [2022-07-27T00:26:33.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T00:26:33.563Z] provisioning config files... [2022-07-27T00:26:33.586Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-70@tmp/config6491200722630936094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:26:33.956Z] ---> docker-login.sh [2022-07-27T00:26:33.956Z] nexus3.edgexfoundry.org:10001 [2022-07-27T00:26:34.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:34.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:34.218Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:34.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:34.218Z] [2022-07-27T00:26:34.218Z] Login Succeeded [2022-07-27T00:26:34.218Z] nexus3.edgexfoundry.org:10002 [2022-07-27T00:26:34.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:34.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:34.478Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:34.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:34.478Z] [2022-07-27T00:26:34.478Z] Login Succeeded [2022-07-27T00:26:34.478Z] nexus3.edgexfoundry.org:10003 [2022-07-27T00:26:34.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:34.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:34.478Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:34.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:34.478Z] [2022-07-27T00:26:34.478Z] Login Succeeded [2022-07-27T00:26:34.478Z] nexus3.edgexfoundry.org:10004 [2022-07-27T00:26:34.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:34.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:34.746Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:34.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:34.746Z] [2022-07-27T00:26:34.746Z] Login Succeeded [2022-07-27T00:26:34.746Z] docker.io [2022-07-27T00:26:34.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:35.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:35.009Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:35.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:35.009Z] [2022-07-27T00:26:35.009Z] Login Succeeded [2022-07-27T00:26:35.009Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T00:26:35.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-27T00:26:35.667Z] + git rev-list -1 --merges ba862768035d435e0de85e577ed06ca7e87df0f9~1..ba862768035d435e0de85e577ed06ca7e87df0f9 [Pipeline] echo [2022-07-27T00:26:35.717Z] -----------> git rev-list -1 --merges ba862768035d435e0de85e577ed06ca7e87df0f9~1..ba862768035d435e0de85e577ed06ca7e87df0f9 ba862768035d435e0de85e577ed06ca7e87df0f9 [false] [Pipeline] sh [2022-07-27T00:26:36.028Z] + git log --format=format:%s -1 ba862768035d435e0de85e577ed06ca7e87df0f9 [Pipeline] echo [2022-07-27T00:26:36.068Z] ========================================================= [2022-07-27T00:26:36.068Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-27T00:26:36.068Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T00:26:36.509Z] + git log --format=format:%s -1 ba862768035d435e0de85e577ed06ca7e87df0f9 [Pipeline] echo [2022-07-27T00:26:36.542Z] [semverPrep] GIT_COMMIT: ba862768035d435e0de85e577ed06ca7e87df0f9, Commit Message: docs: add missing license headers to go files [Pipeline] echo [2022-07-27T00:26:36.571Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-27T00:26:36.951Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-27T00:26:36.951Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-27T00:26:36.951Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-27T00:26:36.951Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-27T00:26:36.951Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-27T00:26:36.951Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-27T00:26:36.951Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:26:37.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T00:26:37.378Z] [2022-07-27T00:26:37.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:26:37.750Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T00:26:37.750Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-27T00:26:37.750Z] b85a868b505f: Pulling fs layer [2022-07-27T00:26:37.750Z] e2be974225ed: Pulling fs layer [2022-07-27T00:26:37.750Z] 339a4e72a1f5: Pulling fs layer [2022-07-27T00:26:37.750Z] 988bab9f4d93: Pulling fs layer [2022-07-27T00:26:37.750Z] 1469e6f7b9e6: Pulling fs layer [2022-07-27T00:26:37.750Z] eaf3925da568: Pulling fs layer [2022-07-27T00:26:37.750Z] bab4dde63d76: Pulling fs layer [2022-07-27T00:26:37.750Z] bde34c3a00c8: Pulling fs layer [2022-07-27T00:26:37.750Z] b352a97aabf1: Pulling fs layer [2022-07-27T00:26:37.750Z] 4872d77fe225: Pulling fs layer [2022-07-27T00:26:37.750Z] 5851b861e8e6: Pulling fs layer [2022-07-27T00:26:37.750Z] bde34c3a00c8: Waiting [2022-07-27T00:26:37.750Z] 988bab9f4d93: Waiting [2022-07-27T00:26:37.750Z] b352a97aabf1: Waiting [2022-07-27T00:26:37.750Z] 4872d77fe225: Waiting [2022-07-27T00:26:37.750Z] 5851b861e8e6: Waiting [2022-07-27T00:26:37.750Z] 1469e6f7b9e6: Waiting [2022-07-27T00:26:37.750Z] eaf3925da568: Waiting [2022-07-27T00:26:37.750Z] bab4dde63d76: Waiting [2022-07-27T00:26:37.750Z] e2be974225ed: Verifying Checksum [2022-07-27T00:26:37.750Z] e2be974225ed: Download complete [2022-07-27T00:26:37.750Z] 988bab9f4d93: Verifying Checksum [2022-07-27T00:26:37.750Z] 988bab9f4d93: Download complete [2022-07-27T00:26:38.011Z] 1469e6f7b9e6: Verifying Checksum [2022-07-27T00:26:38.011Z] 1469e6f7b9e6: Download complete [2022-07-27T00:26:38.011Z] eaf3925da568: Download complete [2022-07-27T00:26:38.011Z] 339a4e72a1f5: Verifying Checksum [2022-07-27T00:26:38.011Z] 339a4e72a1f5: Download complete [2022-07-27T00:26:38.011Z] bde34c3a00c8: Verifying Checksum [2022-07-27T00:26:38.011Z] bde34c3a00c8: Download complete [2022-07-27T00:26:38.011Z] b352a97aabf1: Download complete [2022-07-27T00:26:38.011Z] 4872d77fe225: Verifying Checksum [2022-07-27T00:26:38.011Z] 4872d77fe225: Download complete [2022-07-27T00:26:38.011Z] 5851b861e8e6: Verifying Checksum [2022-07-27T00:26:38.011Z] 5851b861e8e6: Download complete [2022-07-27T00:26:38.011Z] b85a868b505f: Verifying Checksum [2022-07-27T00:26:38.011Z] b85a868b505f: Download complete [2022-07-27T00:26:38.271Z] bab4dde63d76: Verifying Checksum [2022-07-27T00:26:38.271Z] bab4dde63d76: Download complete [2022-07-27T00:26:39.211Z] b85a868b505f: Pull complete [2022-07-27T00:26:39.472Z] e2be974225ed: Pull complete [2022-07-27T00:26:40.043Z] 339a4e72a1f5: Pull complete [2022-07-27T00:26:40.044Z] 988bab9f4d93: Pull complete [2022-07-27T00:26:40.612Z] 1469e6f7b9e6: Pull complete [2022-07-27T00:26:40.612Z] eaf3925da568: Pull complete [2022-07-27T00:26:43.152Z] bab4dde63d76: Pull complete [2022-07-27T00:26:43.152Z] bde34c3a00c8: Pull complete [2022-07-27T00:26:43.152Z] b352a97aabf1: Pull complete [2022-07-27T00:26:43.152Z] 4872d77fe225: Pull complete [2022-07-27T00:26:43.152Z] 5851b861e8e6: Pull complete [2022-07-27T00:26:43.152Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-27T00:26:43.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T00:26:43.152Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T00:26:43.389Z] prd-ubuntu20.04-docker-8c-8g-21180 does not seem to be running inside a container [2022-07-27T00:26:43.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-70 -v /w/workspace/xfoundry_device-usb-camera_PR-70:/w/workspace/xfoundry_device-usb-camera_PR-70:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-70@tmp:/w/workspace/xfoundry_device-usb-camera_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-27T00:26:44.891Z] $ docker top 8ea9c94d1f060c469a555509dd64d399eb3775c5396afed485109792da863cb4 -eo pid,comm [2022-07-27T00:26:44.963Z] 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-07-27T00:26:44.963Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-27T00:26:45.093Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T00:26:45.093Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T00:26:45.225Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T00:26:45.228Z] $ docker exec 8ea9c94d1f060c469a555509dd64d399eb3775c5396afed485109792da863cb4 ssh-agent [2022-07-27T00:26:45.383Z] SSH_AUTH_SOCK=/tmp/ssh-6OH0eupfwSQv/agent.34 [2022-07-27T00:26:45.383Z] SSH_AGENT_PID=40 [2022-07-27T00:26:45.390Z] Running ssh-add (command line suppressed) [2022-07-27T00:26:45.518Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-70@tmp/private_key_3621224750288609380.key (/w/workspace/xfoundry_device-usb-camera_PR-70@tmp/private_key_3621224750288609380.key) [2022-07-27T00:26:45.534Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T00:26:45.869Z] + git tag --points-at HEAD [Pipeline] } [2022-07-27T00:26:45.895Z] $ docker exec --env ******** --env ******** 8ea9c94d1f060c469a555509dd64d399eb3775c5396afed485109792da863cb4 ssh-agent -k [2022-07-27T00:26:46.012Z] unset SSH_AUTH_SOCK; [2022-07-27T00:26:46.013Z] unset SSH_AGENT_PID; [2022-07-27T00:26:46.013Z] echo Agent pid 40 killed; [2022-07-27T00:26:46.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-27T00:26:46.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T00:26:46.117Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T00:26:46.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T00:26:46.250Z] $ docker exec 8ea9c94d1f060c469a555509dd64d399eb3775c5396afed485109792da863cb4 ssh-agent [2022-07-27T00:26:46.373Z] SSH_AUTH_SOCK=/tmp/ssh-GPAQgvErvJrN/agent.72 [2022-07-27T00:26:46.373Z] SSH_AGENT_PID=79 [2022-07-27T00:26:46.379Z] Running ssh-add (command line suppressed) [2022-07-27T00:26:46.494Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-70@tmp/private_key_7252117251013623665.key (/w/workspace/xfoundry_device-usb-camera_PR-70@tmp/private_key_7252117251013623665.key) [2022-07-27T00:26:46.509Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T00:26:46.842Z] + git semver init [2022-07-27T00:26:47.102Z] 2022-07-27 00:26:47,088 [run_init] DEBUG init version:0.0.0 force:False [2022-07-27T00:26:47.102Z] 2022-07-27 00:26:47,088 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-70/.semver [2022-07-27T00:26:47.102Z] 2022-07-27 00:26:47,089 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-70/.semver [2022-07-27T00:26:47.102Z] 2022-07-27 00:26:47,089 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-70/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-70, universal_newlines=False, shell=None, istream=None) [2022-07-27T00:26:47.675Z] 2022-07-27 00:26:47,672 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-70/.git/info/exclude [2022-07-27T00:26:47.675Z] 2022-07-27 00:26:47,673 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-70/.semver/PR-70 with force:False [2022-07-27T00:26:47.675Z] 2022-07-27 00:26:47,673 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-70/.semver/PR-70 [2022-07-27T00:26:47.935Z] 2022-07-27 00:26:47,678 [execute] INFO git cat-file --batch-check [2022-07-27T00:26:47.935Z] 2022-07-27 00:26:47,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-70/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T00:26:47.935Z] 2022-07-27 00:26:47,685 [execute] INFO git cat-file --batch [2022-07-27T00:26:47.935Z] 2022-07-27 00:26:47,685 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-70/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T00:26:47.935Z] 2022-07-27 00:26:47,692 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-70/.semver/PR-70 [2022-07-27T00:26:47.935Z] 0.0.0 [Pipeline] } [2022-07-27T00:26:47.961Z] $ docker exec --env ******** --env ******** 8ea9c94d1f060c469a555509dd64d399eb3775c5396afed485109792da863cb4 ssh-agent -k [2022-07-27T00:26:48.076Z] unset SSH_AUTH_SOCK; [2022-07-27T00:26:48.077Z] unset SSH_AGENT_PID; [2022-07-27T00:26:48.077Z] echo Agent pid 79 killed; [2022-07-27T00:26:48.087Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-27T00:26:48.511Z] + git semver [Pipeline] } [2022-07-27T00:26:49.117Z] $ docker stop --time=1 8ea9c94d1f060c469a555509dd64d399eb3775c5396afed485109792da863cb4 [2022-07-27T00:26:50.460Z] $ docker rm -f 8ea9c94d1f060c469a555509dd64d399eb3775c5396afed485109792da863cb4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T00:26:50.865Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-27T00:26:51.207Z] Stashed 1 file(s) [Pipeline] echo [2022-07-27T00:26:51.223Z] [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-07-27T00:26:51.780Z] provisioning config files... [2022-07-27T00:26:51.792Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-70@tmp/config3636449820989056986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:26:52.142Z] ---> docker-login.sh [2022-07-27T00:26:52.142Z] nexus3.edgexfoundry.org:10001 [2022-07-27T00:26:52.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:52.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:52.142Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:52.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:52.142Z] [2022-07-27T00:26:52.142Z] Login Succeeded [2022-07-27T00:26:52.142Z] nexus3.edgexfoundry.org:10002 [2022-07-27T00:26:52.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:52.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:52.404Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:52.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:52.404Z] [2022-07-27T00:26:52.404Z] Login Succeeded [2022-07-27T00:26:52.404Z] nexus3.edgexfoundry.org:10003 [2022-07-27T00:26:52.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:52.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:52.404Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:52.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:52.404Z] [2022-07-27T00:26:52.404Z] Login Succeeded [2022-07-27T00:26:52.404Z] nexus3.edgexfoundry.org:10004 [2022-07-27T00:26:52.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:52.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:52.665Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:52.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:52.665Z] [2022-07-27T00:26:52.665Z] Login Succeeded [2022-07-27T00:26:52.665Z] docker.io [2022-07-27T00:26:52.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:26:52.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:26:52.926Z] Configure a credential helper to remove this warning. See [2022-07-27T00:26:52.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:26:52.926Z] [2022-07-27T00:26:52.926Z] Login Succeeded [2022-07-27T00:26:52.926Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T00:26:52.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T00:26:53.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T00:26:53.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T00:26:53.239Z] ========================================================= [2022-07-27T00:26:53.239Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-27T00:26:53.239Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:26:53.696Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-27T00:26:53.696Z] Sending build context to Docker daemon 735.2kB [2022-07-27T00:26:53.696Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-27T00:26:53.696Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-27T00:26:53.696Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-27T00:26:53.696Z] 2408cc74d12b: Pulling fs layer [2022-07-27T00:26:53.696Z] ea60b727a1ce: Pulling fs layer [2022-07-27T00:26:53.696Z] 30c4a7721957: Pulling fs layer [2022-07-27T00:26:53.696Z] 370296b7ddb6: Pulling fs layer [2022-07-27T00:26:53.696Z] 7c6cee850709: Pulling fs layer [2022-07-27T00:26:53.696Z] 39a5fcdaea64: Pulling fs layer [2022-07-27T00:26:53.696Z] d94ebbe4e438: Pulling fs layer [2022-07-27T00:26:53.696Z] bcfd1f05c69d: Pulling fs layer [2022-07-27T00:26:53.696Z] 59ccb84bbe0f: Pulling fs layer [2022-07-27T00:26:53.696Z] d94ebbe4e438: Waiting [2022-07-27T00:26:53.696Z] 370296b7ddb6: Waiting [2022-07-27T00:26:53.696Z] 7c6cee850709: Waiting [2022-07-27T00:26:53.696Z] 39a5fcdaea64: Waiting [2022-07-27T00:26:53.696Z] bcfd1f05c69d: Waiting [2022-07-27T00:26:53.696Z] 59ccb84bbe0f: Waiting [2022-07-27T00:26:53.696Z] 30c4a7721957: Download complete [2022-07-27T00:26:53.696Z] ea60b727a1ce: Download complete [2022-07-27T00:26:53.696Z] 7c6cee850709: Verifying Checksum [2022-07-27T00:26:53.696Z] 7c6cee850709: Download complete [2022-07-27T00:26:53.696Z] 39a5fcdaea64: Download complete [2022-07-27T00:26:53.959Z] 2408cc74d12b: Verifying Checksum [2022-07-27T00:26:53.959Z] 2408cc74d12b: Download complete [2022-07-27T00:26:53.959Z] d94ebbe4e438: Download complete [2022-07-27T00:26:53.959Z] 2408cc74d12b: Pull complete [2022-07-27T00:26:54.222Z] ea60b727a1ce: Pull complete [2022-07-27T00:26:54.222Z] 30c4a7721957: Pull complete [2022-07-27T00:26:54.222Z] 59ccb84bbe0f: Verifying Checksum [2022-07-27T00:26:54.222Z] 59ccb84bbe0f: Download complete [2022-07-27T00:26:54.483Z] bcfd1f05c69d: Verifying Checksum [2022-07-27T00:26:54.483Z] bcfd1f05c69d: Download complete [2022-07-27T00:26:54.743Z] 370296b7ddb6: Verifying Checksum [2022-07-27T00:26:54.743Z] 370296b7ddb6: Download complete [2022-07-27T00:26:58.941Z] 370296b7ddb6: Pull complete [2022-07-27T00:26:59.200Z] 7c6cee850709: Pull complete [2022-07-27T00:26:59.200Z] 39a5fcdaea64: Pull complete [2022-07-27T00:26:59.200Z] d94ebbe4e438: Pull complete [2022-07-27T00:27:01.738Z] bcfd1f05c69d: Pull complete [2022-07-27T00:27:02.309Z] 59ccb84bbe0f: Pull complete [2022-07-27T00:27:02.309Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-27T00:27:02.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-27T00:27:02.309Z] ---> a4fb48ad2a94 [2022-07-27T00:27:02.309Z] Step 3/13 : ARG MAKE="make build" [2022-07-27T00:27:04.229Z] ---> Running in b350db502d43 [2022-07-27T00:27:04.229Z] Removing intermediate container b350db502d43 [2022-07-27T00:27:04.229Z] ---> b62e65497865 [2022-07-27T00:27:04.229Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-27T00:27:04.229Z] ---> Running in 3de1a45036ca [2022-07-27T00:27:04.229Z] Removing intermediate container 3de1a45036ca [2022-07-27T00:27:04.229Z] ---> 93a58daae247 [2022-07-27T00:27:04.229Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-27T00:27:04.229Z] ---> Running in d96333ec8ea5 [2022-07-27T00:27:04.490Z] Removing intermediate container d96333ec8ea5 [2022-07-27T00:27:04.490Z] ---> 974241b3fad0 [2022-07-27T00:27:04.490Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T00:27:04.490Z] ---> Running in 0ef799f4b355 [2022-07-27T00:27:05.065Z] Removing intermediate container 0ef799f4b355 [2022-07-27T00:27:05.065Z] ---> be248692fda4 [2022-07-27T00:27:05.065Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-27T00:27:05.065Z] ---> Running in 92d5ab1bff61 [2022-07-27T00:27:05.326Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T00:27:06.269Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T00:27:06.530Z] (1/80) Installing mesa (21.3.8-r1) [2022-07-27T00:27:06.613Z] Still waiting to schedule task [2022-07-27T00:27:06.613Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-27T00:27:06.791Z] (2/80) Installing libxau (1.0.9-r0) [2022-07-27T00:27:06.791Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-07-27T00:27:07.052Z] (4/80) Installing libxcb (1.15-r0) [2022-07-27T00:27:07.052Z] (5/80) Installing libx11 (1.8-r0) [2022-07-27T00:27:07.052Z] (6/80) Installing libxext (1.3.4-r0) [2022-07-27T00:27:07.315Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-07-27T00:27:07.315Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-07-27T00:27:07.315Z] (9/80) Installing libpciaccess (0.16-r0) [2022-07-27T00:27:07.583Z] (10/80) Installing libdrm (2.4.110-r0) [2022-07-27T00:27:07.583Z] (11/80) Installing mesa-glapi (21.3.8-r1) [2022-07-27T00:27:07.583Z] (12/80) Installing libxshmfence (1.3-r1) [2022-07-27T00:27:07.845Z] (13/80) Installing mesa-gl (21.3.8-r1) [2022-07-27T00:27:07.845Z] (14/80) Installing icu-data-full (71.1-r2) [2022-07-27T00:27:08.426Z] (15/80) Installing libice (1.0.10-r0) [2022-07-27T00:27:08.691Z] (16/80) Installing libuuid (2.38-r1) [2022-07-27T00:27:08.691Z] (17/80) Installing libsm (1.2.3-r0) [2022-07-27T00:27:08.691Z] (18/80) Installing libxt (1.2.1-r0) [2022-07-27T00:27:08.954Z] (19/80) Installing libxmu (1.1.3-r0) [2022-07-27T00:27:08.954Z] (20/80) Installing xset (1.2.4-r0) [2022-07-27T00:27:08.954Z] (21/80) Installing xprop (1.2.5-r0) [2022-07-27T00:27:09.217Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-07-27T00:27:09.217Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-07-27T00:27:09.217Z] (24/80) Installing libffi (3.4.2-r1) [2022-07-27T00:27:09.481Z] (25/80) Installing libintl (0.21-r2) [2022-07-27T00:27:09.481Z] (26/80) Installing libblkid (2.38-r1) [2022-07-27T00:27:09.481Z] (27/80) Installing libmount (2.38-r1) [2022-07-27T00:27:09.742Z] (28/80) Installing pcre (8.45-r2) [2022-07-27T00:27:09.742Z] (29/80) Installing glib (2.72.1-r0) [2022-07-27T00:27:10.005Z] (30/80) Installing icu-libs (71.1-r2) [2022-07-27T00:27:10.576Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-07-27T00:27:10.576Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-07-27T00:27:10.576Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) [2022-07-27T00:27:11.146Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-07-27T00:27:11.146Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-07-27T00:27:11.146Z] (36/80) Installing mesa-gbm (21.3.8-r1) [2022-07-27T00:27:11.405Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-07-27T00:27:11.405Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) [2022-07-27T00:27:11.976Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-07-27T00:27:11.976Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-07-27T00:27:11.976Z] (41/80) Installing libpng (1.6.37-r1) [2022-07-27T00:27:12.236Z] (42/80) Installing freetype (2.12.1-r0) [2022-07-27T00:27:12.236Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-07-27T00:27:12.236Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-07-27T00:27:12.495Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-07-27T00:27:12.495Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-07-27T00:27:12.755Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-07-27T00:27:12.755Z] (48/80) Installing libxml2 (2.9.14-r0) [2022-07-27T00:27:12.755Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-07-27T00:27:13.014Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-07-27T00:27:13.014Z] (51/80) Installing mesa-egl (21.3.8-r1) [2022-07-27T00:27:13.275Z] (52/80) Installing avahi-libs (0.8-r6) [2022-07-27T00:27:13.275Z] (53/80) Installing nettle (3.7.3-r0) [2022-07-27T00:27:13.275Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-07-27T00:27:13.536Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-07-27T00:27:13.536Z] (56/80) Installing libunistring (1.0-r0) [2022-07-27T00:27:13.796Z] (57/80) Installing gnutls (3.7.6-r0) [2022-07-27T00:27:13.796Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-07-27T00:27:13.796Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-07-27T00:27:14.057Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-07-27T00:27:14.057Z] (61/80) Installing libevdev (1.12.1-r0) [2022-07-27T00:27:14.057Z] (62/80) Installing mtdev (1.1.6-r0) [2022-07-27T00:27:14.317Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-07-27T00:27:14.317Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-07-27T00:27:14.577Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-07-27T00:27:14.577Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-07-27T00:27:14.577Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-07-27T00:27:14.838Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-07-27T00:27:14.838Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-07-27T00:27:14.838Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-07-27T00:27:15.100Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-07-27T00:27:15.100Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) [2022-07-27T00:27:15.670Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-07-27T00:27:15.670Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-07-27T00:27:15.932Z] (75/80) Installing udev-init-scripts (35-r0) [2022-07-27T00:27:15.932Z] Executing udev-init-scripts-35-r0.post-install [2022-07-27T00:27:15.932Z] (76/80) Installing kmod-libs (29-r2) [2022-07-27T00:27:16.192Z] (77/80) Installing eudev (3.2.11-r0) [2022-07-27T00:27:16.192Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-07-27T00:27:16.192Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-27T00:27:16.455Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-07-27T00:27:16.455Z] Executing busybox-1.35.0-r13.trigger [2022-07-27T00:27:16.455Z] Executing eudev-3.2.11-r0.trigger [2022-07-27T00:27:16.455Z] OK: 330 MiB in 131 packages [2022-07-27T00:27:19.001Z] Removing intermediate container 92d5ab1bff61 [2022-07-27T00:27:19.001Z] ---> 7a4a9443ccee [2022-07-27T00:27:19.001Z] Step 8/13 : WORKDIR /device-usb-camera [2022-07-27T00:27:19.001Z] ---> Running in f3ce7622416d [2022-07-27T00:27:19.001Z] Removing intermediate container f3ce7622416d [2022-07-27T00:27:19.001Z] ---> 7dc45a756029 [2022-07-27T00:27:19.001Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-27T00:27:19.001Z] ---> b3852c13cb22 [2022-07-27T00:27:19.001Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T00:27:19.001Z] ---> Running in cc9c3b345180 [2022-07-27T00:27:37.125Z] Removing intermediate container cc9c3b345180 [2022-07-27T00:27:37.125Z] ---> f7bdfbae5511 [2022-07-27T00:27:37.125Z] Step 11/13 : COPY . . [2022-07-27T00:27:37.125Z] ---> 7f7efb9bfa45 [2022-07-27T00:27:37.125Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-27T00:27:37.125Z] ---> Running in 16eb7af3c21d [2022-07-27T00:27:37.125Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T00:27:37.125Z] Dload Upload Total Spent Left Speed [2022-07-27T00:27:37.125Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11855 0 --:--:-- --:--:-- --:--:-- 11932 [2022-07-27T00:27:37.125Z] Removing intermediate container 16eb7af3c21d [2022-07-27T00:27:37.125Z] ---> d23d4c5c2317 [2022-07-27T00:27:37.125Z] Step 13/13 : RUN ${MAKE} [2022-07-27T00:27:37.125Z] ---> Running in 04442287a5e3 [2022-07-27T00:27:37.125Z] noop [2022-07-27T00:27:37.125Z] Removing intermediate container 04442287a5e3 [2022-07-27T00:27:37.125Z] ---> bab56a14648b [2022-07-27T00:27:37.125Z] Successfully built bab56a14648b [2022-07-27T00:27:37.125Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:27:37.632Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T00:27:37.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T00:27:37.824Z] prd-ubuntu20.04-docker-8c-8g-21180 does not seem to be running inside a container [2022-07-27T00:27:37.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-70 -v /w/workspace/xfoundry_device-usb-camera_PR-70:/w/workspace/xfoundry_device-usb-camera_PR-70:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-70@tmp:/w/workspace/xfoundry_device-usb-camera_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-27T00:27:38.316Z] $ docker top 286527a2e974acfff56ac206c403bc6040e40c489f11a16def7807405687e52b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T00:27:38.731Z] + go version [2022-07-27T00:27:38.731Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-27T00:27:38.770Z] $ docker stop --time=1 286527a2e974acfff56ac206c403bc6040e40c489f11a16def7807405687e52b [2022-07-27T00:27:40.071Z] $ docker rm -f 286527a2e974acfff56ac206c403bc6040e40c489f11a16def7807405687e52b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:27:40.809Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T00:27:40.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T00:27:40.980Z] prd-ubuntu20.04-docker-8c-8g-21180 does not seem to be running inside a container [2022-07-27T00:27:41.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-70 -v /w/workspace/xfoundry_device-usb-camera_PR-70:/w/workspace/xfoundry_device-usb-camera_PR-70:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-70@tmp:/w/workspace/xfoundry_device-usb-camera_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-27T00:27:41.446Z] $ docker top 29fb5fb57c4e34b7611f23703f7aba627632bdb123ff3c288c0be0e576339a35 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T00:27:41.860Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-70 [Pipeline] fileExists [Pipeline] sh [2022-07-27T00:27:42.221Z] + make test [2022-07-27T00:27:42.221Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-27T00:27:42.481Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-27T00:27:52.471Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-27T00:27:53.412Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 2.0% of statements [2022-07-27T00:28:01.540Z] CGO_ENABLED=1 go vet ./... [2022-07-27T00:28:04.849Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T00:28:04.849Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T00:28:04.849Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-27T00:28:05.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T00:28:05.169Z] $ docker stop --time=1 29fb5fb57c4e34b7611f23703f7aba627632bdb123ff3c288c0be0e576339a35 [2022-07-27T00:28:07.135Z] $ docker rm -f 29fb5fb57c4e34b7611f23703f7aba627632bdb123ff3c288c0be0e576339a35 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T00:28:07.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T00:28:07.723Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-27T00:28:08.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T00:28:08.653Z] + ls -al . [2022-07-27T00:28:08.653Z] total 188 [2022-07-27T00:28:08.653Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 00:28 . [2022-07-27T00:28:08.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:26 .. [2022-07-27T00:28:08.653Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:27 .git [2022-07-27T00:28:08.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:26 .github [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 00:26 .gitignore [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 00:26 .golangci.yml [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 00:26 .hadolint.yml [2022-07-27T00:28:08.653Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 00:26 .semver [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 9065 Jul 27 00:26 Attribution.txt [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 27 00:26 CHANGELOG.md [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 2410 Jul 27 00:26 Dockerfile [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 00:26 GOVERNANCE.md [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 00:26 Jenkinsfile [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 00:26 LICENSE [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 27 00:26 Makefile [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 00:26 OWNERS.md [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 11382 Jul 27 00:26 README.md [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 00:26 VERSION [2022-07-27T00:28:08.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:26 bin [2022-07-27T00:28:08.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:26 cmd [2022-07-27T00:28:08.653Z] -rw-r--r-- 1 jenkins jenkins 26814 Jul 27 00:27 coverage.out [2022-07-27T00:28:08.653Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 00:26 docker-entrypoint.sh [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 3382 Jul 27 00:26 go.mod [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 35824 Jul 27 00:26 go.sum [2022-07-27T00:28:08.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:26 internal [2022-07-27T00:28:08.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:26 snap [2022-07-27T00:28:08.653Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 00:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:28:09.044Z] + 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=ba862768035d435e0de85e577ed06ca7e87df0f9 --label arch=amd64 --label version=0.0.0 . [2022-07-27T00:28:09.045Z] Sending build context to Docker daemon 762.9kB [2022-07-27T00:28:09.045Z] Step 1/35 : ARG BASE=golang:1.17-alpine3.15 [2022-07-27T00:28:09.045Z] Step 2/35 : FROM ${BASE} AS builder [2022-07-27T00:28:09.045Z] ---> bab56a14648b [2022-07-27T00:28:09.045Z] Step 3/35 : ARG MAKE="make build" [2022-07-27T00:28:09.045Z] ---> Running in c439ff6e3b64 [2022-07-27T00:28:09.306Z] Removing intermediate container c439ff6e3b64 [2022-07-27T00:28:09.306Z] ---> 52c0cfdb0368 [2022-07-27T00:28:09.306Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-27T00:28:09.306Z] ---> Running in 9d602d43adc9 [2022-07-27T00:28:09.306Z] Removing intermediate container 9d602d43adc9 [2022-07-27T00:28:09.306Z] ---> 810e65d31e82 [2022-07-27T00:28:09.306Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-27T00:28:09.306Z] ---> Running in 6ae2b5e0a9bf [2022-07-27T00:28:09.567Z] Removing intermediate container 6ae2b5e0a9bf [2022-07-27T00:28:09.567Z] ---> 5bf2dfa5565f [2022-07-27T00:28:09.567Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T00:28:09.567Z] ---> Running in 7da527be19b5 [2022-07-27T00:28:10.137Z] Removing intermediate container 7da527be19b5 [2022-07-27T00:28:10.137Z] ---> 5783d4a64e98 [2022-07-27T00:28:10.137Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-27T00:28:10.137Z] ---> Running in f17f4ec53c37 [2022-07-27T00:28:10.397Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T00:28:11.340Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T00:28:11.602Z] OK: 330 MiB in 131 packages [2022-07-27T00:28:12.177Z] Removing intermediate container f17f4ec53c37 [2022-07-27T00:28:12.177Z] ---> 8d6f1a200cdc [2022-07-27T00:28:12.177Z] Step 8/35 : WORKDIR /device-usb-camera [2022-07-27T00:28:12.177Z] ---> Running in 33cfa902ae27 [2022-07-27T00:28:12.177Z] Removing intermediate container 33cfa902ae27 [2022-07-27T00:28:12.177Z] ---> 84172ef21277 [2022-07-27T00:28:12.177Z] Step 9/35 : COPY go.mod vendor* ./ [2022-07-27T00:28:12.438Z] ---> e52ed16514f7 [2022-07-27T00:28:12.438Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T00:28:12.438Z] ---> Running in 53cb448aee01 [2022-07-27T00:28:13.011Z] Removing intermediate container 53cb448aee01 [2022-07-27T00:28:13.011Z] ---> 56c1805ccfd6 [2022-07-27T00:28:13.011Z] Step 11/35 : COPY . . [2022-07-27T00:28:13.273Z] ---> 1a608fac4d74 [2022-07-27T00:28:13.274Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-27T00:28:13.274Z] ---> Running in 66f8cb27e7d3 [2022-07-27T00:28:13.533Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T00:28:13.533Z] Dload Upload Total Spent Left Speed [2022-07-27T00:28:13.533Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0     0  51331      0 --:--:-- --:--:-- --:--:-- 53100 [2022-07-27T00:28:13.796Z] Removing intermediate container 66f8cb27e7d3 [2022-07-27T00:28:13.796Z] ---> 66c6c8c079b8 [2022-07-27T00:28:13.796Z] Step 13/35 : RUN ${MAKE} [2022-07-27T00:28:13.796Z] ---> Running in db06ede91206 [2022-07-27T00:28:14.366Z] 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-07-27T00:28:36.320Z] Removing intermediate container db06ede91206 [2022-07-27T00:28:36.320Z] ---> 46f293ed0188 [2022-07-27T00:28:36.320Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-27T00:28:36.320Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-27T00:28:36.580Z] af6660deedbd: Pulling fs layer [2022-07-27T00:28:36.580Z] 97cd0a44c592: Pulling fs layer [2022-07-27T00:28:36.842Z] 97cd0a44c592: Verifying Checksum [2022-07-27T00:28:36.842Z] 97cd0a44c592: Download complete [2022-07-27T00:28:36.842Z] af6660deedbd: Verifying Checksum [2022-07-27T00:28:36.842Z] af6660deedbd: Download complete [2022-07-27T00:28:37.105Z] af6660deedbd: Pull complete [2022-07-27T00:28:37.105Z] 97cd0a44c592: Pull complete [2022-07-27T00:28:37.105Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-27T00:28:37.105Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-27T00:28:37.105Z] ---> fea57e182299 [2022-07-27T00:28:37.105Z] Step 15/35 : FROM alpine:3.15 [2022-07-27T00:28:37.677Z] 3.15: Pulling from library/alpine [2022-07-27T00:28:37.677Z] ab6db1bc80d0: Pulling fs layer [2022-07-27T00:28:37.942Z] ab6db1bc80d0: Verifying Checksum [2022-07-27T00:28:37.942Z] ab6db1bc80d0: Download complete [2022-07-27T00:28:38.206Z] ab6db1bc80d0: Pull complete [2022-07-27T00:28:38.206Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-27T00:28:38.206Z] Status: Downloaded newer image for alpine:3.15 [2022-07-27T00:28:38.206Z] ---> 2720e26172a0 [2022-07-27T00:28:38.206Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-27T00:28:38.206Z] ---> Running in 620ef21d613c [2022-07-27T00:28:38.206Z] Removing intermediate container 620ef21d613c [2022-07-27T00:28:38.206Z] ---> 355c40ee0580 [2022-07-27T00:28:38.206Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-27T00:28:38.467Z] ---> Running in 0fd508caf17e [2022-07-27T00:28:38.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-27T00:28:38.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-27T00:28:38.991Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-07-27T00:28:38.991Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-07-27T00:28:38.991Z] (3/74) Installing libxau (1.0.9-r0) [2022-07-27T00:28:38.991Z] (4/74) Installing libmd (1.0.3-r0) [2022-07-27T00:28:38.991Z] (5/74) Installing libbsd (0.11.3-r1) [2022-07-27T00:28:38.991Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-07-27T00:28:38.991Z] (7/74) Installing libxcb (1.14-r2) [2022-07-27T00:28:38.991Z] (8/74) Installing libx11 (1.7.2-r0) [2022-07-27T00:28:38.991Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-07-27T00:28:39.250Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-07-27T00:28:39.250Z] (11/74) Installing expat (2.4.7-r0) [2022-07-27T00:28:39.250Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-07-27T00:28:39.250Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-07-27T00:28:39.250Z] (14/74) Installing libpng (1.6.37-r1) [2022-07-27T00:28:39.250Z] (15/74) Installing freetype (2.11.1-r2) [2022-07-27T00:28:39.250Z] (16/74) Installing libuuid (2.37.4-r0) [2022-07-27T00:28:39.250Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-07-27T00:28:39.250Z] (18/74) Installing fribidi (1.0.11-r0) [2022-07-27T00:28:39.250Z] (19/74) Installing libffi (3.4.2-r1) [2022-07-27T00:28:39.250Z] (20/74) Installing libintl (0.21-r0) [2022-07-27T00:28:39.250Z] (21/74) Installing libblkid (2.37.4-r0) [2022-07-27T00:28:39.250Z] (22/74) Installing libmount (2.37.4-r0) [2022-07-27T00:28:39.250Z] (23/74) Installing pcre (8.45-r1) [2022-07-27T00:28:39.250Z] (24/74) Installing glib (2.70.1-r0) [2022-07-27T00:28:39.250Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-07-27T00:28:39.250Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-07-27T00:28:39.250Z] (27/74) Installing libass (0.15.2-r0) [2022-07-27T00:28:39.250Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-07-27T00:28:39.250Z] (29/74) Installing gmp (6.2.1-r1) [2022-07-27T00:28:39.250Z] (30/74) Installing nettle (3.7.3-r0) [2022-07-27T00:28:39.250Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-07-27T00:28:39.250Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-07-27T00:28:39.514Z] (33/74) Installing libunistring (0.9.10-r1) [2022-07-27T00:28:39.514Z] (34/74) Installing gnutls (3.7.1-r0) [2022-07-27T00:28:39.514Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-27T00:28:39.514Z] (36/74) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-27T00:28:39.514Z] (37/74) Installing lame (3.100-r0) [2022-07-27T00:28:39.514Z] (38/74) Installing opus (1.3.1-r1) [2022-07-27T00:28:39.514Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-07-27T00:28:39.514Z] (40/74) Installing soxr (0.1.3-r2) [2022-07-27T00:28:39.514Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-07-27T00:28:39.514Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-27T00:28:39.514Z] (43/74) Installing libsrt (1.4.2-r1) [2022-07-27T00:28:39.514Z] (44/74) Installing libssh (0.9.6-r1) [2022-07-27T00:28:39.514Z] (45/74) Installing libogg (1.3.5-r0) [2022-07-27T00:28:39.514Z] (46/74) Installing libtheora (1.1.1-r16) [2022-07-27T00:28:39.514Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-07-27T00:28:39.514Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-07-27T00:28:39.514Z] (49/74) Installing libxext (1.3.4-r0) [2022-07-27T00:28:39.514Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-07-27T00:28:39.514Z] (51/74) Installing libpciaccess (0.16-r0) [2022-07-27T00:28:39.514Z] (52/74) Installing libdrm (2.4.109-r0) [2022-07-27T00:28:39.514Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-07-27T00:28:39.514Z] (54/74) Installing libva (2.13.0-r0) [2022-07-27T00:28:39.514Z] (55/74) Installing libvdpau (1.4-r0) [2022-07-27T00:28:39.514Z] (56/74) Installing vidstab (1.1.0-r1) [2022-07-27T00:28:39.514Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-07-27T00:28:39.514Z] (58/74) Installing libvpx (1.10.0-r0) [2022-07-27T00:28:39.514Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-07-27T00:28:39.514Z] (60/74) Installing libwebp (1.2.2-r0) [2022-07-27T00:28:39.774Z] (61/74) Installing x264-libs (20210613-r0) [2022-07-27T00:28:39.774Z] (62/74) Installing x265-libs (3.5-r0) [2022-07-27T00:28:39.774Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-07-27T00:28:39.774Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-07-27T00:28:39.774Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-07-27T00:28:39.774Z] (66/74) Installing udev-init-scripts (35-r0) [2022-07-27T00:28:39.774Z] Executing udev-init-scripts-35-r0.post-install [2022-07-27T00:28:39.774Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-27T00:28:39.774Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-07-27T00:28:39.774Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-07-27T00:28:39.774Z] (70/74) Installing kmod-libs (29-r2) [2022-07-27T00:28:40.035Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-07-27T00:28:40.035Z] (72/74) Installing libsodium (1.0.18-r0) [2022-07-27T00:28:40.035Z] (73/74) Installing libzmq (4.3.4-r0) [2022-07-27T00:28:40.035Z] (74/74) Installing zeromq (4.3.4-r0) [2022-07-27T00:28:40.035Z] Executing busybox-1.34.1-r7.trigger [2022-07-27T00:28:40.035Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-27T00:28:40.035Z] OK: 78 MiB in 88 packages [2022-07-27T00:28:41.419Z] Removing intermediate container 0fd508caf17e [2022-07-27T00:28:41.419Z] ---> 9b1521838521 [2022-07-27T00:28:41.419Z] Step 18/35 : WORKDIR / [2022-07-27T00:28:41.419Z] ---> Running in d7e3525056dd [2022-07-27T00:28:41.680Z] Removing intermediate container d7e3525056dd [2022-07-27T00:28:41.680Z] ---> d8cb071ecf97 [2022-07-27T00:28:41.680Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-07-27T00:28:42.253Z] ---> 81b19560a0ca [2022-07-27T00:28:42.253Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-27T00:28:42.253Z] ---> 022243084f6c [2022-07-27T00:28:42.253Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-07-27T00:28:42.513Z] ---> 0890f5902d19 [2022-07-27T00:28:42.513Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-27T00:28:42.775Z] ---> 25aa1185b10e [2022-07-27T00:28:42.775Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-27T00:28:42.775Z] ---> 073f7f3dfba3 [2022-07-27T00:28:42.775Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-27T00:28:43.035Z] ---> 979585479987 [2022-07-27T00:28:43.035Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-07-27T00:28:43.657Z] ---> c312f7941df1 [2022-07-27T00:28:43.657Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-07-27T00:28:43.657Z] ---> Running in 87eaea3e24f1 [2022-07-27T00:28:44.262Z] Removing intermediate container 87eaea3e24f1 [2022-07-27T00:28:44.262Z] ---> 84049a9118dd [2022-07-27T00:28:44.262Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-07-27T00:28:44.262Z] ---> Running in a02ca272f40e [2022-07-27T00:28:44.840Z] Removing intermediate container a02ca272f40e [2022-07-27T00:28:44.840Z] ---> f039b068c41a [2022-07-27T00:28:44.840Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-07-27T00:28:44.840Z] ---> Running in ae216287ed1b [2022-07-27T00:28:45.412Z] Removing intermediate container ae216287ed1b [2022-07-27T00:28:45.412Z] ---> 2329f1a3f00c [2022-07-27T00:28:45.412Z] Step 29/35 : EXPOSE 59983 [2022-07-27T00:28:45.412Z] ---> Running in 7e1f594485cf [2022-07-27T00:28:45.412Z] Removing intermediate container 7e1f594485cf [2022-07-27T00:28:45.412Z] ---> 9293d2e9c16d [2022-07-27T00:28:45.412Z] Step 30/35 : EXPOSE 8554 [2022-07-27T00:28:45.675Z] ---> Running in 38a98e261ddd [2022-07-27T00:28:45.675Z] Removing intermediate container 38a98e261ddd [2022-07-27T00:28:45.675Z] ---> 88f05c046a7f [2022-07-27T00:28:45.675Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-27T00:28:45.675Z] ---> Running in 8763d997ed3b [2022-07-27T00:28:45.938Z] Removing intermediate container 8763d997ed3b [2022-07-27T00:28:45.938Z] ---> 956755ca0169 [2022-07-27T00:28:45.938Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-27T00:28:45.938Z] ---> Running in 5e2ad4b250b5 [2022-07-27T00:28:45.938Z] Removing intermediate container 5e2ad4b250b5 [2022-07-27T00:28:45.938Z] ---> 4a094495312b [2022-07-27T00:28:45.938Z] Step 33/35 : LABEL arch=amd64 [2022-07-27T00:28:45.938Z] ---> Running in 4f2311274759 [2022-07-27T00:28:46.207Z] Removing intermediate container 4f2311274759 [2022-07-27T00:28:46.207Z] ---> 468a684f9537 [2022-07-27T00:28:46.207Z] Step 34/35 : LABEL git_sha=ba862768035d435e0de85e577ed06ca7e87df0f9 [2022-07-27T00:28:46.207Z] ---> Running in 74f2b6b67753 [2022-07-27T00:28:46.207Z] Removing intermediate container 74f2b6b67753 [2022-07-27T00:28:46.207Z] ---> 3cd5998010db [2022-07-27T00:28:46.207Z] Step 35/35 : LABEL version=0.0.0 [2022-07-27T00:28:46.207Z] ---> Running in 2be5458e0117 [2022-07-27T00:28:46.467Z] Removing intermediate container 2be5458e0117 [2022-07-27T00:28:46.467Z] ---> 882fdd196093 [2022-07-27T00:28:46.467Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T00:28:46.467Z] Successfully built 882fdd196093 [2022-07-27T00:28:46.467Z] 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-07-27T00:28:47.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T00:28:47.306Z] [2022-07-27T00:28:47.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:28:47.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T00:28:47.677Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-27T00:28:47.677Z] 5eb5b503b376: Pulling fs layer [2022-07-27T00:28:47.677Z] 5c69ac0246d0: Pulling fs layer [2022-07-27T00:28:47.677Z] ec43610c2a17: Pulling fs layer [2022-07-27T00:28:47.677Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-27T00:28:47.677Z] 33b1e0a273af: Pulling fs layer [2022-07-27T00:28:47.677Z] 5d3b04190fa2: Pulling fs layer [2022-07-27T00:28:47.677Z] 2f39f015ded8: Pulling fs layer [2022-07-27T00:28:47.677Z] 33b1e0a273af: Waiting [2022-07-27T00:28:47.677Z] 2f39f015ded8: Waiting [2022-07-27T00:28:47.677Z] 5d3b04190fa2: Waiting [2022-07-27T00:28:47.677Z] 3a2ae6a8a46f: Waiting [2022-07-27T00:28:47.677Z] 5c69ac0246d0: Download complete [2022-07-27T00:28:47.677Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-27T00:28:47.677Z] 3a2ae6a8a46f: Download complete [2022-07-27T00:28:47.677Z] 33b1e0a273af: Verifying Checksum [2022-07-27T00:28:47.677Z] 33b1e0a273af: Download complete [2022-07-27T00:28:47.677Z] 5d3b04190fa2: Verifying Checksum [2022-07-27T00:28:47.677Z] 5d3b04190fa2: Download complete [2022-07-27T00:28:47.937Z] ec43610c2a17: Verifying Checksum [2022-07-27T00:28:47.937Z] ec43610c2a17: Download complete [2022-07-27T00:28:47.937Z] 5eb5b503b376: Verifying Checksum [2022-07-27T00:28:47.937Z] 5eb5b503b376: Download complete [2022-07-27T00:28:48.507Z] 2f39f015ded8: Download complete [2022-07-27T00:28:49.448Z] 5eb5b503b376: Pull complete [2022-07-27T00:28:49.448Z] 5c69ac0246d0: Pull complete [2022-07-27T00:28:50.017Z] ec43610c2a17: Pull complete [2022-07-27T00:28:50.017Z] 3a2ae6a8a46f: Pull complete [2022-07-27T00:28:50.276Z] 33b1e0a273af: Pull complete [2022-07-27T00:28:50.276Z] 5d3b04190fa2: Pull complete [2022-07-27T00:28:55.549Z] 2f39f015ded8: Pull complete [2022-07-27T00:28:55.550Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-27T00:28:55.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T00:28:55.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T00:28:55.778Z] prd-ubuntu20.04-docker-8c-8g-21180 does not seem to be running inside a container [2022-07-27T00:28:55.815Z] $ 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-70 -v /w/workspace/xfoundry_device-usb-camera_PR-70:/w/workspace/xfoundry_device-usb-camera_PR-70:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-70@tmp:/w/workspace/xfoundry_device-usb-camera_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-27T00:28:57.647Z] $ docker top fcbef035c57f4458b30885c84122254e13e2404ec306e412bffc06780e63294a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:28:58.107Z] ---> job-cost.sh [2022-07-27T00:28:58.107Z] lf-activate-venv: SKIPPING [2022-07-27T00:28:58.107Z] INFO: No Stack... [2022-07-27T00:28:58.369Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T00:28:58.946Z] INFO: Archiving Costs [Pipeline] sh [2022-07-27T00:28:59.269Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-70/archives/cost.csv [2022-07-27T00:28:59.269Z] + cut -d, -f6 [Pipeline] lock [2022-07-27T00:28:59.309Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-70-1-stack-cost] [2022-07-27T00:28:59.314Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-70-1-stack-cost] did not exist. Created. [2022-07-27T00:28:59.314Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-70-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T00:28:59.713Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-27T00:28:59.761Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T00:28:59.785Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-70-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T00:28:59.844Z] $ docker stop --time=1 fcbef035c57f4458b30885c84122254e13e2404ec306e412bffc06780e63294a [2022-07-27T00:29:01.034Z] $ docker rm -f fcbef035c57f4458b30885c84122254e13e2404ec306e412bffc06780e63294a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-27T00:31:03.899Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21181 in /w/workspace/xfoundry_device-usb-camera_PR-70 [Pipeline] { [Pipeline] ws [2022-07-27T00:31:03.940Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-27T00:31:04.020Z] Selected Git installation does not exist. Using Default [2022-07-27T00:31:04.020Z] The recommended git tool is: NONE [2022-07-27T00:31:10.876Z] using credential edgex-jenkins-ssh [2022-07-27T00:31:10.894Z] Cloning the remote Git repository [2022-07-27T00:31:10.971Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-07-27T00:31:11.074Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-07-27T00:31:11.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-27T00:31:11.162Z] > git --version # timeout=10 [2022-07-27T00:31:11.186Z] > git --version # 'git version 2.25.1' [2022-07-27T00:31:11.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T00:31:11.267Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T00:31:11.906Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-27T00:31:11.926Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T00:31:11.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-27T00:31:11.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-27T00:31:11.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T00:31:12.014Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/70/head:refs/remotes/origin/PR-70 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-27T00:31:12.515Z] Merging remotes/origin/main commit fa6315a9dc6abe5875e1ce461ca165c4afc43fa4 into PR head commit ba862768035d435e0de85e577ed06ca7e87df0f9 [2022-07-27T00:31:12.737Z] Merge succeeded, producing ba862768035d435e0de85e577ed06ca7e87df0f9 [2022-07-27T00:31:12.738Z] Checking out Revision ba862768035d435e0de85e577ed06ca7e87df0f9 (PR-70) [2022-07-27T00:31:12.537Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T00:31:12.559Z] > git checkout -f ba862768035d435e0de85e577ed06ca7e87df0f9 # timeout=10 [2022-07-27T00:31:12.647Z] > git remote # timeout=10 [2022-07-27T00:31:12.667Z] > git config --get remote.origin.url # timeout=10 [2022-07-27T00:31:12.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T00:31:12.697Z] > git merge fa6315a9dc6abe5875e1ce461ca165c4afc43fa4 # timeout=10 [2022-07-27T00:31:12.722Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-27T00:31:12.747Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T00:31:12.761Z] > git checkout -f ba862768035d435e0de85e577ed06ca7e87df0f9 # timeout=10 [2022-07-27T00:31:16.979Z] Commit message: "docs: add missing license headers to go files" [2022-07-27T00:31:17.047Z] > git --version # timeout=10 [2022-07-27T00:31:17.062Z] > git --version # 'git version 2.25.1' [2022-07-27T00:31:17.080Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T00:31:18.212Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-27T00:31:18.212Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T00:31:18.212Z] Dload Upload Total Spent Left Speed [2022-07-27T00:31:18.212Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 96343 0 --:--:-- --:--:-- --:--:-- 96343 [Pipeline] sh [2022-07-27T00:31:18.977Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-27T00:31:19.331Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-27T00:31:19.331Z] + sudo tee /etc/docker/daemon.new [2022-07-27T00:31:19.331Z] { [2022-07-27T00:31:19.331Z] "registry-mirrors": [ [2022-07-27T00:31:19.331Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-27T00:31:19.331Z] ], [2022-07-27T00:31:19.331Z] "bip": "10.250.0.254/24", [2022-07-27T00:31:19.331Z] "hosts": [ [2022-07-27T00:31:19.331Z] "tcp://0.0.0.0:5555", [2022-07-27T00:31:19.331Z] "unix:///var/run/docker.sock" [2022-07-27T00:31:19.331Z] ], [2022-07-27T00:31:19.331Z] "mtu": 1458, [2022-07-27T00:31:19.331Z] "selinux-enabled": true, [2022-07-27T00:31:19.331Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-27T00:31:19.331Z] } [Pipeline] sh [2022-07-27T00:31:19.691Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-27T00:31:20.042Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T00:31:38.595Z] provisioning config files... [2022-07-27T00:31:38.622Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config3233011089200658256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:31:39.022Z] ---> docker-login.sh [2022-07-27T00:31:39.022Z] nexus3.edgexfoundry.org:10001 [2022-07-27T00:31:39.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:31:39.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:31:39.891Z] Configure a credential helper to remove this warning. See [2022-07-27T00:31:39.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:31:39.891Z] [2022-07-27T00:31:39.891Z] Login Succeeded [2022-07-27T00:31:39.891Z] nexus3.edgexfoundry.org:10002 [2022-07-27T00:31:40.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:31:40.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:31:40.162Z] Configure a credential helper to remove this warning. See [2022-07-27T00:31:40.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:31:40.162Z] [2022-07-27T00:31:40.162Z] Login Succeeded [2022-07-27T00:31:40.436Z] nexus3.edgexfoundry.org:10003 [2022-07-27T00:31:40.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:31:40.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:31:40.714Z] Configure a credential helper to remove this warning. See [2022-07-27T00:31:40.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:31:40.714Z] [2022-07-27T00:31:40.714Z] Login Succeeded [2022-07-27T00:31:40.714Z] nexus3.edgexfoundry.org:10004 [2022-07-27T00:31:40.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:31:41.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:31:41.259Z] Configure a credential helper to remove this warning. See [2022-07-27T00:31:41.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:31:41.259Z] [2022-07-27T00:31:41.259Z] Login Succeeded [2022-07-27T00:31:41.259Z] docker.io [2022-07-27T00:31:41.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T00:31:41.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T00:31:41.811Z] Configure a credential helper to remove this warning. See [2022-07-27T00:31:41.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T00:31:41.811Z] [2022-07-27T00:31:41.811Z] Login Succeeded [2022-07-27T00:31:41.811Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T00:31:41.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T00:31:42.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T00:31:42.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T00:31:42.320Z] ========================================================= [2022-07-27T00:31:42.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-27T00:31:42.320Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:31:42.829Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-27T00:31:43.101Z] Sending build context to Docker daemon 487.4kB [2022-07-27T00:31:43.101Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-27T00:31:43.101Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-27T00:31:43.384Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-27T00:31:43.384Z] b3c136eddcbf: Pulling fs layer [2022-07-27T00:31:43.384Z] c0a3192eca97: Pulling fs layer [2022-07-27T00:31:43.384Z] a050256f5b6f: Pulling fs layer [2022-07-27T00:31:43.384Z] 656be50a0ddc: Pulling fs layer [2022-07-27T00:31:43.384Z] 2bbca73fdf42: Pulling fs layer [2022-07-27T00:31:43.384Z] 46d945488cbd: Pulling fs layer [2022-07-27T00:31:43.384Z] 8a5474983e97: Pulling fs layer [2022-07-27T00:31:43.384Z] 329c88fbcd65: Pulling fs layer [2022-07-27T00:31:43.384Z] 656be50a0ddc: Waiting [2022-07-27T00:31:43.384Z] 46d945488cbd: Waiting [2022-07-27T00:31:43.384Z] 2bbca73fdf42: Waiting [2022-07-27T00:31:43.384Z] 8a5474983e97: Waiting [2022-07-27T00:31:43.384Z] a050256f5b6f: Verifying Checksum [2022-07-27T00:31:43.384Z] a050256f5b6f: Download complete [2022-07-27T00:31:43.384Z] c0a3192eca97: Verifying Checksum [2022-07-27T00:31:43.384Z] c0a3192eca97: Download complete [2022-07-27T00:31:43.384Z] 2bbca73fdf42: Download complete [2022-07-27T00:31:43.384Z] 46d945488cbd: Verifying Checksum [2022-07-27T00:31:43.384Z] 46d945488cbd: Download complete [2022-07-27T00:31:43.384Z] b3c136eddcbf: Verifying Checksum [2022-07-27T00:31:43.384Z] b3c136eddcbf: Download complete [2022-07-27T00:31:44.387Z] b3c136eddcbf: Pull complete [2022-07-27T00:31:44.670Z] 329c88fbcd65: Verifying Checksum [2022-07-27T00:31:44.670Z] 329c88fbcd65: Download complete [2022-07-27T00:31:44.946Z] c0a3192eca97: Pull complete [2022-07-27T00:31:45.552Z] a050256f5b6f: Pull complete [2022-07-27T00:31:45.552Z] 8a5474983e97: Verifying Checksum [2022-07-27T00:31:45.552Z] 8a5474983e97: Download complete [2022-07-27T00:31:46.534Z] 656be50a0ddc: Verifying Checksum [2022-07-27T00:31:46.534Z] 656be50a0ddc: Download complete [2022-07-27T00:31:58.927Z] 656be50a0ddc: Pull complete [2022-07-27T00:31:58.927Z] 2bbca73fdf42: Pull complete [2022-07-27T00:31:58.927Z] 46d945488cbd: Pull complete [2022-07-27T00:32:05.646Z] 8a5474983e97: Pull complete [2022-07-27T00:32:07.626Z] 329c88fbcd65: Pull complete [2022-07-27T00:32:07.626Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-27T00:32:07.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-27T00:32:07.626Z] ---> ff4287adb874 [2022-07-27T00:32:07.626Z] Step 3/13 : ARG MAKE="make build" [2022-07-27T00:32:08.219Z] ---> Running in 6d14d3ba418b [2022-07-27T00:32:08.823Z] Removing intermediate container 6d14d3ba418b [2022-07-27T00:32:08.823Z] ---> 943c562d2fc1 [2022-07-27T00:32:08.823Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-27T00:32:08.823Z] ---> Running in 497939d4f3bd [2022-07-27T00:32:09.098Z] Removing intermediate container 497939d4f3bd [2022-07-27T00:32:09.098Z] ---> 7e914085b13d [2022-07-27T00:32:09.098Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-27T00:32:09.098Z] ---> Running in 7beb4b996c88 [2022-07-27T00:32:09.374Z] Removing intermediate container 7beb4b996c88 [2022-07-27T00:32:09.374Z] ---> a3b652eb2a61 [2022-07-27T00:32:09.374Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T00:32:09.656Z] ---> Running in a377c95e9a2e [2022-07-27T00:32:12.287Z] Removing intermediate container a377c95e9a2e [2022-07-27T00:32:12.287Z] ---> ad1da3f20a41 [2022-07-27T00:32:12.287Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-27T00:32:12.287Z] ---> Running in 1ff5441d35f3 [2022-07-27T00:32:13.268Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T00:32:14.247Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T00:32:15.229Z] (1/14) Installing libintl (0.21-r2) [2022-07-27T00:32:15.229Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-07-27T00:32:15.229Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-07-27T00:32:15.504Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-07-27T00:32:15.504Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-07-27T00:32:15.778Z] (6/14) Installing udev-init-scripts (35-r0) [2022-07-27T00:32:15.778Z] Executing udev-init-scripts-35-r0.post-install [2022-07-27T00:32:15.778Z] (7/14) Installing libblkid (2.38-r1) [2022-07-27T00:32:16.052Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-07-27T00:32:16.052Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-07-27T00:32:16.052Z] (10/14) Installing kmod-libs (29-r2) [2022-07-27T00:32:16.325Z] (11/14) Installing eudev (3.2.11-r0) [2022-07-27T00:32:16.325Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-07-27T00:32:16.325Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-27T00:32:16.601Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-07-27T00:32:16.601Z] Executing busybox-1.35.0-r13.trigger [2022-07-27T00:32:16.601Z] Executing eudev-3.2.11-r0.trigger [2022-07-27T00:32:16.601Z] OK: 228 MiB in 65 packages [2022-07-27T00:32:18.045Z] Removing intermediate container 1ff5441d35f3 [2022-07-27T00:32:18.045Z] ---> 3863067b87aa [2022-07-27T00:32:18.045Z] Step 8/13 : WORKDIR /device-usb-camera [2022-07-27T00:32:18.045Z] ---> Running in acec29f2d05b [2022-07-27T00:32:18.045Z] Removing intermediate container acec29f2d05b [2022-07-27T00:32:18.045Z] ---> cf57db2084c8 [2022-07-27T00:32:18.045Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-27T00:32:18.643Z] ---> 3b4f69a85fa1 [2022-07-27T00:32:18.643Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T00:32:18.643Z] ---> Running in ffbb84cc4702 [2022-07-27T00:33:05.617Z] Removing intermediate container ffbb84cc4702 [2022-07-27T00:33:05.617Z] ---> ad6a35faa995 [2022-07-27T00:33:05.617Z] Step 11/13 : COPY . . [2022-07-27T00:33:05.617Z] ---> 8b0a041cc934 [2022-07-27T00:33:05.617Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-27T00:33:05.617Z] ---> Running in 4e24b824ec08 [2022-07-27T00:33:05.617Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T00:33:05.617Z] Dload Upload Total Spent Left Speed [2022-07-27T00:33:05.617Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0 0 5757 0 --:--:-- --:--:-- --:--:-- 5740 100 1062 100 1062 0 0 5735 0 --:--:-- --:--:-- --:--:-- 5740 [2022-07-27T00:33:05.617Z] Removing intermediate container 4e24b824ec08 [2022-07-27T00:33:05.617Z] ---> 53b2ac7de5e8 [2022-07-27T00:33:05.617Z] Step 13/13 : RUN ${MAKE} [2022-07-27T00:33:05.617Z] ---> Running in 1af0123752fc [2022-07-27T00:33:05.893Z] noop [2022-07-27T00:33:06.491Z] Removing intermediate container 1af0123752fc [2022-07-27T00:33:06.491Z] ---> bdcc6e917a88 [2022-07-27T00:33:06.491Z] Successfully built bdcc6e917a88 [2022-07-27T00:33:06.491Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:33:06.959Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T00:33:06.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T00:33:07.258Z] prd-ubuntu20.04-docker-arm64-4c-16g-21181 does not seem to be running inside a container [2022-07-27T00:33:07.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-27T00:33:08.597Z] $ docker top 1115006591c27a1394561b99e5c2e63c2a574074da5ce7b1f2f126da8e276c47 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T00:33:09.549Z] + go version [2022-07-27T00:33:09.549Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-27T00:33:09.585Z] $ docker stop --time=1 1115006591c27a1394561b99e5c2e63c2a574074da5ce7b1f2f126da8e276c47 [2022-07-27T00:33:11.263Z] $ docker rm -f 1115006591c27a1394561b99e5c2e63c2a574074da5ce7b1f2f126da8e276c47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:33:12.137Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T00:33:12.137Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T00:33:12.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-21181 does not seem to be running inside a container [2022-07-27T00:33:12.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-27T00:33:13.782Z] $ docker top 560da4e2bc8c0fda18030907f9779882b83483df30bd469b54cf5f75fa1f92b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T00:33:14.733Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-27T00:33:15.463Z] + make test [2022-07-27T00:33:15.463Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-27T00:33:16.967Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-27T00:34:38.834Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-27T00:34:42.228Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.067s coverage: 2.0% of statements [2022-07-27T00:34:42.824Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-27T00:34:42.824Z] CGO_ENABLED=1 go vet ./... [2022-07-27T00:35:05.024Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T00:35:05.024Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T00:35:05.024Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-27T00:35:05.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T00:35:05.093Z] $ docker stop --time=1 560da4e2bc8c0fda18030907f9779882b83483df30bd469b54cf5f75fa1f92b8 [2022-07-27T00:35:06.925Z] $ docker rm -f 560da4e2bc8c0fda18030907f9779882b83483df30bd469b54cf5f75fa1f92b8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T00:35:07.963Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T00:35:07.996Z] Warning: overwriting stash ‘coverage-report’ [2022-07-27T00:35:08.466Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T00:35:09.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T00:35:09.420Z] + ls -al . [2022-07-27T00:35:09.420Z] total 184 [2022-07-27T00:35:09.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:35 . [2022-07-27T00:35:09.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:31 .. [2022-07-27T00:35:09.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:31 .git [2022-07-27T00:35:09.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:31 .github [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 00:31 .gitignore [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 00:31 .golangci.yml [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 00:31 .hadolint.yml [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 9065 Jul 27 00:31 Attribution.txt [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 27 00:31 CHANGELOG.md [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 2410 Jul 27 00:31 Dockerfile [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 00:31 GOVERNANCE.md [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 00:31 Jenkinsfile [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 00:31 LICENSE [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 27 00:31 Makefile [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 00:31 OWNERS.md [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 11382 Jul 27 00:31 README.md [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 00:26 VERSION [2022-07-27T00:35:09.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:31 bin [2022-07-27T00:35:09.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:31 cmd [2022-07-27T00:35:09.420Z] -rw-r--r-- 1 jenkins jenkins 26814 Jul 27 00:34 coverage.out [2022-07-27T00:35:09.420Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 00:31 docker-entrypoint.sh [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 3382 Jul 27 00:31 go.mod [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 35824 Jul 27 00:31 go.sum [2022-07-27T00:35:09.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:31 internal [2022-07-27T00:35:09.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:31 snap [2022-07-27T00:35:09.420Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 00:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:35:09.847Z] + 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=ba862768035d435e0de85e577ed06ca7e87df0f9 --label arch=arm64 --label version=0.0.0 . [2022-07-27T00:35:10.121Z] Sending build context to Docker daemon 515.1kB [2022-07-27T00:35:10.121Z] Step 1/35 : ARG BASE=golang:1.17-alpine3.15 [2022-07-27T00:35:10.121Z] Step 2/35 : FROM ${BASE} AS builder [2022-07-27T00:35:10.121Z] ---> bdcc6e917a88 [2022-07-27T00:35:10.121Z] Step 3/35 : ARG MAKE="make build" [2022-07-27T00:35:10.394Z] ---> Running in 936a946c7257 [2022-07-27T00:35:10.668Z] Removing intermediate container 936a946c7257 [2022-07-27T00:35:10.668Z] ---> cfe0946bb6b1 [2022-07-27T00:35:10.668Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-27T00:35:10.668Z] ---> Running in a943ff646dc8 [2022-07-27T00:35:10.943Z] Removing intermediate container a943ff646dc8 [2022-07-27T00:35:10.943Z] ---> 3c5155b11d8d [2022-07-27T00:35:10.943Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-27T00:35:10.943Z] ---> Running in dd5c62c95c77 [2022-07-27T00:35:11.220Z] Removing intermediate container dd5c62c95c77 [2022-07-27T00:35:11.220Z] ---> 040bd5ee170c [2022-07-27T00:35:11.220Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T00:35:11.498Z] ---> Running in 492f23c1c463 [2022-07-27T00:35:12.947Z] Removing intermediate container 492f23c1c463 [2022-07-27T00:35:12.947Z] ---> 788d4b4a91f6 [2022-07-27T00:35:12.947Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-27T00:35:13.223Z] ---> Running in 1801cadaba62 [2022-07-27T00:35:14.207Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T00:35:15.185Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T00:35:16.170Z] OK: 228 MiB in 65 packages [2022-07-27T00:35:16.771Z] Removing intermediate container 1801cadaba62 [2022-07-27T00:35:16.771Z] ---> 7a21afa030be [2022-07-27T00:35:16.771Z] Step 8/35 : WORKDIR /device-usb-camera [2022-07-27T00:35:17.045Z] ---> Running in 829bd756a9c3 [2022-07-27T00:35:17.320Z] Removing intermediate container 829bd756a9c3 [2022-07-27T00:35:17.320Z] ---> 7a7621e25e1a [2022-07-27T00:35:17.320Z] Step 9/35 : COPY go.mod vendor* ./ [2022-07-27T00:35:17.920Z] ---> 7ae254299348 [2022-07-27T00:35:17.920Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T00:35:17.920Z] ---> Running in 00bdbe3a774d [2022-07-27T00:35:19.904Z] Removing intermediate container 00bdbe3a774d [2022-07-27T00:35:19.904Z] ---> 606bb5e0409b [2022-07-27T00:35:19.904Z] Step 11/35 : COPY . . [2022-07-27T00:35:20.503Z] ---> c191dd6666e2 [2022-07-27T00:35:20.503Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-27T00:35:20.503Z] ---> Running in bd33d3d4ea4b [2022-07-27T00:35:21.488Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T00:35:21.488Z] Dload Upload Total Spent Left Speed [2022-07-27T00:35:21.488Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 15816 0 --:--:-- --:--:-- --:--:-- 16090 [2022-07-27T00:35:22.099Z] Removing intermediate container bd33d3d4ea4b [2022-07-27T00:35:22.099Z] ---> b5f862b063f0 [2022-07-27T00:35:22.099Z] Step 13/35 : RUN ${MAKE} [2022-07-27T00:35:22.374Z] ---> Running in a9046ba07a3b [2022-07-27T00:35:23.359Z] 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-07-27T00:37:45.295Z] Removing intermediate container a9046ba07a3b [2022-07-27T00:37:45.295Z] ---> d637b4ffc32a [2022-07-27T00:37:45.295Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-27T00:37:45.295Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-27T00:37:45.295Z] eab2503cf8f4: Pulling fs layer [2022-07-27T00:37:45.295Z] 97cd0a44c592: Pulling fs layer [2022-07-27T00:37:45.295Z] 97cd0a44c592: Download complete [2022-07-27T00:37:45.295Z] eab2503cf8f4: Verifying Checksum [2022-07-27T00:37:45.295Z] eab2503cf8f4: Download complete [2022-07-27T00:37:45.295Z] eab2503cf8f4: Pull complete [2022-07-27T00:37:45.295Z] 97cd0a44c592: Pull complete [2022-07-27T00:37:45.295Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-27T00:37:45.295Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-27T00:37:45.295Z] ---> 7f763cca56b3 [2022-07-27T00:37:45.295Z] Step 15/35 : FROM alpine:3.15 [2022-07-27T00:37:45.295Z] 3.15: Pulling from library/alpine [2022-07-27T00:37:45.295Z] e0295fd11fe2: Pulling fs layer [2022-07-27T00:37:45.295Z] e0295fd11fe2: Verifying Checksum [2022-07-27T00:37:45.295Z] e0295fd11fe2: Download complete [2022-07-27T00:37:45.295Z] e0295fd11fe2: Pull complete [2022-07-27T00:37:45.295Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-27T00:37:45.295Z] Status: Downloaded newer image for alpine:3.15 [2022-07-27T00:37:45.295Z] ---> 60f2846fe774 [2022-07-27T00:37:45.295Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-27T00:37:45.295Z] ---> Running in 0d5609c792ef [2022-07-27T00:37:45.295Z] Removing intermediate container 0d5609c792ef [2022-07-27T00:37:45.295Z] ---> 31a9ec90f80e [2022-07-27T00:37:45.295Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-27T00:37:45.295Z] ---> Running in c6eac8a3c905 [2022-07-27T00:37:45.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-27T00:37:45.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-27T00:37:45.295Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-07-27T00:37:45.295Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-07-27T00:37:45.295Z] (3/73) Installing libxau (1.0.9-r0) [2022-07-27T00:37:45.295Z] (4/73) Installing libmd (1.0.3-r0) [2022-07-27T00:37:45.295Z] (5/73) Installing libbsd (0.11.3-r1) [2022-07-27T00:37:45.295Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-07-27T00:37:45.295Z] (7/73) Installing libxcb (1.14-r2) [2022-07-27T00:37:45.295Z] (8/73) Installing libx11 (1.7.2-r0) [2022-07-27T00:37:45.295Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-07-27T00:37:45.295Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-07-27T00:37:45.295Z] (11/73) Installing expat (2.4.7-r0) [2022-07-27T00:37:45.295Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-07-27T00:37:45.295Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-07-27T00:37:45.295Z] (14/73) Installing libpng (1.6.37-r1) [2022-07-27T00:37:45.295Z] (15/73) Installing freetype (2.11.1-r2) [2022-07-27T00:37:45.295Z] (16/73) Installing libuuid (2.37.4-r0) [2022-07-27T00:37:45.295Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-07-27T00:37:45.295Z] (18/73) Installing fribidi (1.0.11-r0) [2022-07-27T00:37:45.295Z] (19/73) Installing libffi (3.4.2-r1) [2022-07-27T00:37:45.295Z] (20/73) Installing libintl (0.21-r0) [2022-07-27T00:37:45.295Z] (21/73) Installing libblkid (2.37.4-r0) [2022-07-27T00:37:45.295Z] (22/73) Installing libmount (2.37.4-r0) [2022-07-27T00:37:45.296Z] (23/73) Installing pcre (8.45-r1) [2022-07-27T00:37:45.296Z] (24/73) Installing glib (2.70.1-r0) [2022-07-27T00:37:45.296Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-07-27T00:37:45.296Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-07-27T00:37:45.296Z] (27/73) Installing libass (0.15.2-r0) [2022-07-27T00:37:45.296Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-07-27T00:37:45.296Z] (29/73) Installing gmp (6.2.1-r1) [2022-07-27T00:37:45.296Z] (30/73) Installing nettle (3.7.3-r0) [2022-07-27T00:37:45.296Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-07-27T00:37:45.296Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-07-27T00:37:45.296Z] (33/73) Installing libunistring (0.9.10-r1) [2022-07-27T00:37:45.296Z] (34/73) Installing gnutls (3.7.1-r0) [2022-07-27T00:37:45.296Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-27T00:37:45.296Z] (36/73) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-27T00:37:45.296Z] (37/73) Installing lame (3.100-r0) [2022-07-27T00:37:45.296Z] (38/73) Installing opus (1.3.1-r1) [2022-07-27T00:37:45.296Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-07-27T00:37:45.296Z] (40/73) Installing soxr (0.1.3-r2) [2022-07-27T00:37:45.296Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-07-27T00:37:45.296Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-27T00:37:45.296Z] (43/73) Installing libsrt (1.4.2-r1) [2022-07-27T00:37:45.296Z] (44/73) Installing libssh (0.9.6-r1) [2022-07-27T00:37:45.296Z] (45/73) Installing libogg (1.3.5-r0) [2022-07-27T00:37:45.296Z] (46/73) Installing libtheora (1.1.1-r16) [2022-07-27T00:37:45.296Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-07-27T00:37:45.296Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-07-27T00:37:45.296Z] (49/73) Installing libxext (1.3.4-r0) [2022-07-27T00:37:45.296Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-07-27T00:37:45.296Z] (51/73) Installing libdrm (2.4.109-r0) [2022-07-27T00:37:45.296Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-07-27T00:37:45.296Z] (53/73) Installing libva (2.13.0-r0) [2022-07-27T00:37:45.296Z] (54/73) Installing libvdpau (1.4-r0) [2022-07-27T00:37:45.296Z] (55/73) Installing vidstab (1.1.0-r1) [2022-07-27T00:37:45.296Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-07-27T00:37:45.296Z] (57/73) Installing libvpx (1.10.0-r0) [2022-07-27T00:37:45.296Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-07-27T00:37:45.296Z] (59/73) Installing libwebp (1.2.2-r0) [2022-07-27T00:37:45.296Z] (60/73) Installing x264-libs (20210613-r0) [2022-07-27T00:37:45.296Z] (61/73) Installing x265-libs (3.5-r0) [2022-07-27T00:37:45.296Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-07-27T00:37:45.296Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-07-27T00:37:45.296Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-07-27T00:37:45.296Z] (65/73) Installing udev-init-scripts (35-r0) [2022-07-27T00:37:45.296Z] Executing udev-init-scripts-35-r0.post-install [2022-07-27T00:37:45.296Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-27T00:37:45.296Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-07-27T00:37:45.296Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-07-27T00:37:45.296Z] (69/73) Installing kmod-libs (29-r2) [2022-07-27T00:37:45.296Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-07-27T00:37:45.296Z] (71/73) Installing libsodium (1.0.18-r0) [2022-07-27T00:37:45.296Z] (72/73) Installing libzmq (4.3.4-r0) [2022-07-27T00:37:45.296Z] (73/73) Installing zeromq (4.3.4-r0) [2022-07-27T00:37:45.296Z] Executing busybox-1.34.1-r7.trigger [2022-07-27T00:37:45.296Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-27T00:37:45.296Z] OK: 67 MiB in 87 packages [2022-07-27T00:37:45.296Z] Removing intermediate container c6eac8a3c905 [2022-07-27T00:37:45.296Z] ---> ed8e43970701 [2022-07-27T00:37:45.296Z] Step 18/35 : WORKDIR / [2022-07-27T00:37:45.296Z] ---> Running in c4065ec34a1b [2022-07-27T00:37:45.296Z] Removing intermediate container c4065ec34a1b [2022-07-27T00:37:45.296Z] ---> 54bd9724220e [2022-07-27T00:37:45.296Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-07-27T00:37:45.296Z] ---> b23182614e54 [2022-07-27T00:37:45.296Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-27T00:37:45.890Z] ---> db741a362198 [2022-07-27T00:37:45.890Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-07-27T00:37:46.488Z] ---> ff2d0c2814e3 [2022-07-27T00:37:46.488Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-27T00:37:47.087Z] ---> d2ea34054a72 [2022-07-27T00:37:47.087Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-27T00:37:47.361Z] ---> 7ae792332b37 [2022-07-27T00:37:47.361Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-27T00:37:47.959Z] ---> 5af9921a3c2e [2022-07-27T00:37:47.959Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-07-27T00:37:49.400Z] ---> 048868e15c88 [2022-07-27T00:37:49.400Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-07-27T00:37:49.400Z] ---> Running in b2a0d1d046ad [2022-07-27T00:37:50.862Z] Removing intermediate container b2a0d1d046ad [2022-07-27T00:37:50.862Z] ---> 8eafe97de18b [2022-07-27T00:37:50.862Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-07-27T00:37:50.862Z] ---> Running in 0d51720cba0f [2022-07-27T00:37:52.835Z] Removing intermediate container 0d51720cba0f [2022-07-27T00:37:52.835Z] ---> 0c0447553e59 [2022-07-27T00:37:52.836Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-07-27T00:37:52.836Z] ---> Running in 7530ff8bd244 [2022-07-27T00:37:54.269Z] Removing intermediate container 7530ff8bd244 [2022-07-27T00:37:54.269Z] ---> d0248ad92097 [2022-07-27T00:37:54.269Z] Step 29/35 : EXPOSE 59983 [2022-07-27T00:37:54.269Z] ---> Running in b2fff0dbba80 [2022-07-27T00:37:54.541Z] Removing intermediate container b2fff0dbba80 [2022-07-27T00:37:54.541Z] ---> a03ad74f16e7 [2022-07-27T00:37:54.541Z] Step 30/35 : EXPOSE 8554 [2022-07-27T00:37:54.541Z] ---> Running in 7f339d5bd9f3 [2022-07-27T00:37:54.815Z] Removing intermediate container 7f339d5bd9f3 [2022-07-27T00:37:54.815Z] ---> b6ff156a6dd0 [2022-07-27T00:37:54.815Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-27T00:37:54.815Z] ---> Running in 8f02079c70ef [2022-07-27T00:37:55.411Z] Removing intermediate container 8f02079c70ef [2022-07-27T00:37:55.411Z] ---> 8cd10c0c6cd7 [2022-07-27T00:37:55.411Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-27T00:37:55.411Z] ---> Running in 233b4e680a76 [2022-07-27T00:37:55.686Z] Removing intermediate container 233b4e680a76 [2022-07-27T00:37:55.686Z] ---> d431e7bd7fef [2022-07-27T00:37:55.686Z] Step 33/35 : LABEL arch=arm64 [2022-07-27T00:37:55.686Z] ---> Running in 882a2acadab0 [2022-07-27T00:37:55.959Z] Removing intermediate container 882a2acadab0 [2022-07-27T00:37:55.959Z] ---> ae9e6960d0ab [2022-07-27T00:37:55.959Z] Step 34/35 : LABEL git_sha=ba862768035d435e0de85e577ed06ca7e87df0f9 [2022-07-27T00:37:55.959Z] ---> Running in 85705cc90514 [2022-07-27T00:37:56.232Z] Removing intermediate container 85705cc90514 [2022-07-27T00:37:56.232Z] ---> bacd6a772f5b [2022-07-27T00:37:56.232Z] Step 35/35 : LABEL version=0.0.0 [2022-07-27T00:37:56.505Z] ---> Running in 8eb1cee88bfe [2022-07-27T00:37:56.777Z] Removing intermediate container 8eb1cee88bfe [2022-07-27T00:37:56.777Z] ---> 03f5cb821cb0 [2022-07-27T00:37:56.777Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T00:37:56.777Z] Successfully built 03f5cb821cb0 [2022-07-27T00:37:56.777Z] 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-07-27T00:37:57.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T00:37:57.575Z] [2022-07-27T00:37:57.575Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:37:57.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T00:37:58.270Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-27T00:37:58.270Z] 8998bd30e6a1: Pulling fs layer [2022-07-27T00:37:58.270Z] 04944245beec: Pulling fs layer [2022-07-27T00:37:58.270Z] 699f458cf7ca: Pulling fs layer [2022-07-27T00:37:58.270Z] 765212b225bb: Pulling fs layer [2022-07-27T00:37:58.270Z] f23df028b6ca: Pulling fs layer [2022-07-27T00:37:58.270Z] d65c8cfc05b1: Pulling fs layer [2022-07-27T00:37:58.270Z] 2437ff75d9bd: Pulling fs layer [2022-07-27T00:37:58.270Z] 765212b225bb: Waiting [2022-07-27T00:37:58.270Z] f23df028b6ca: Waiting [2022-07-27T00:37:58.270Z] d65c8cfc05b1: Waiting [2022-07-27T00:37:58.270Z] 2437ff75d9bd: Waiting [2022-07-27T00:37:58.270Z] 04944245beec: Verifying Checksum [2022-07-27T00:37:58.270Z] 04944245beec: Download complete [2022-07-27T00:37:58.270Z] 765212b225bb: Verifying Checksum [2022-07-27T00:37:58.270Z] 765212b225bb: Download complete [2022-07-27T00:37:58.270Z] f23df028b6ca: Verifying Checksum [2022-07-27T00:37:58.270Z] f23df028b6ca: Download complete [2022-07-27T00:37:58.270Z] d65c8cfc05b1: Verifying Checksum [2022-07-27T00:37:58.270Z] d65c8cfc05b1: Download complete [2022-07-27T00:37:58.544Z] 699f458cf7ca: Verifying Checksum [2022-07-27T00:37:58.544Z] 699f458cf7ca: Download complete [2022-07-27T00:37:58.820Z] 8998bd30e6a1: Verifying Checksum [2022-07-27T00:37:58.820Z] 8998bd30e6a1: Download complete [2022-07-27T00:38:01.448Z] 2437ff75d9bd: Verifying Checksum [2022-07-27T00:38:01.448Z] 2437ff75d9bd: Download complete [2022-07-27T00:38:03.427Z] 8998bd30e6a1: Pull complete [2022-07-27T00:38:03.700Z] 04944245beec: Pull complete [2022-07-27T00:38:05.139Z] 699f458cf7ca: Pull complete [2022-07-27T00:38:05.413Z] 765212b225bb: Pull complete [2022-07-27T00:38:06.013Z] f23df028b6ca: Pull complete [2022-07-27T00:38:06.289Z] d65c8cfc05b1: Pull complete [2022-07-27T00:38:21.407Z] 2437ff75d9bd: Pull complete [2022-07-27T00:38:21.407Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-27T00:38:21.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T00:38:21.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T00:38:21.775Z] prd-ubuntu20.04-docker-arm64-4c-16g-21181 does not seem to be running inside a container [2022-07-27T00:38:21.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-27T00:38:24.432Z] $ docker top 5360e32ddb14949638bcf6a5e213bf84928faae203420e3ea089f626b55499b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:38:25.403Z] ---> job-cost.sh [2022-07-27T00:38:25.403Z] lf-activate-venv: SKIPPING [2022-07-27T00:38:25.403Z] INFO: No Stack... [2022-07-27T00:38:25.998Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-27T00:38:26.979Z] INFO: Archiving Costs [Pipeline] sh [2022-07-27T00:38:27.659Z] + cut -d, -f6 [2022-07-27T00:38:27.659Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2022-07-27T00:38:27.741Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-70-1-stack-cost] [2022-07-27T00:38:27.745Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-70-1-stack-cost] did not exist. Created. [2022-07-27T00:38:27.745Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-70-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T00:38:28.494Z] /w/workspace/device-usb-camera/1@tmp/durable-d4b60488/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-27T00:38:29.194Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-27T00:38:29.236Z] Warning: overwriting stash ‘stack-cost’ [2022-07-27T00:38:29.281Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T00:38:29.296Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-70-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T00:38:29.433Z] $ docker stop --time=1 5360e32ddb14949638bcf6a5e213bf84928faae203420e3ea089f626b55499b8 [2022-07-27T00:38:30.952Z] $ docker rm -f 5360e32ddb14949638bcf6a5e213bf84928faae203420e3ea089f626b55499b8 [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-07-27T00:38:31.992Z] provisioning config files... [2022-07-27T00:38:32.001Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-70@tmp/config3635333588859520253tmp [Pipeline] { [Pipeline] sh [2022-07-27T00:38:32.339Z] + set +x [2022-07-27T00:38:32.339Z] + curl -s https://codecov.io/bash [2022-07-27T00:38:32.339Z] + bash -s -- [2022-07-27T00:38:32.339Z] [2022-07-27T00:38:32.339Z] _____ _ [2022-07-27T00:38:32.339Z] / ____| | | [2022-07-27T00:38:32.339Z] | | ___ __| | ___ ___ _____ __ [2022-07-27T00:38:32.339Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-27T00:38:32.339Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-27T00:38:32.339Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-27T00:38:32.339Z] Bash-1.0.6 [2022-07-27T00:38:32.339Z] [2022-07-27T00:38:32.339Z] [2022-07-27T00:38:32.339Z] ==> git version 2.25.1 found [2022-07-27T00:38:32.339Z] ==> 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-07-27T00:38:32.339Z] Release-Date: 2020-01-08 [2022-07-27T00:38:32.339Z] 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-07-27T00:38:32.339Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-27T00:38:32.339Z] ==> Jenkins CI detected. [2022-07-27T00:38:32.339Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-70 [2022-07-27T00:38:32.339Z] project root: . [2022-07-27T00:38:32.339Z] --> token set from env [2022-07-27T00:38:32.339Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-27T00:38:32.339Z] ==> Running gcov in . (disable via -X gcov) [2022-07-27T00:38:32.339Z] ==> Python coveragepy not found [2022-07-27T00:38:32.339Z] ==> Searching for coverage reports in: [2022-07-27T00:38:32.339Z] + . [2022-07-27T00:38:32.339Z] -> Found 1 reports [2022-07-27T00:38:32.339Z] ==> Detecting git/mercurial file structure [2022-07-27T00:38:32.339Z] ==> Reading reports [2022-07-27T00:38:32.339Z] + ./coverage.out bytes=26814 [2022-07-27T00:38:32.339Z] ==> Appending adjustments [2022-07-27T00:38:32.339Z] https://docs.codecov.io/docs/fixing-reports [2022-07-27T00:38:32.599Z] + Found adjustments [2022-07-27T00:38:32.599Z] ==> Gzipping contents [2022-07-27T00:38:32.599Z] 4.0K /tmp/codecov.WI3cRW.gz [2022-07-27T00:38:32.599Z] ==> Uploading reports [2022-07-27T00:38:32.599Z] url: https://codecov.io [2022-07-27T00:38:32.599Z] query: branch=PR-70&commit=ba862768035d435e0de85e577ed06ca7e87df0f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=70&job=&cmd_args= [2022-07-27T00:38:32.599Z] -> Pinging Codecov [2022-07-27T00:38:32.599Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-70&commit=ba862768035d435e0de85e577ed06ca7e87df0f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-70%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=70&job=&cmd_args= [2022-07-27T00:38:32.860Z] -> Uploading to [2022-07-27T00:38:32.860Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-27/73D8F5FF140700D3E01443B452E23636/ba862768035d435e0de85e577ed06ca7e87df0f9/0c473a90-e9ef-4649-9902-3647eaf939c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T003832Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=51d36263560d23f616b4d1bf4bddc6b3c14f2ffb070e635706e201df8861423e [2022-07-27T00:38:32.860Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T00:38:32.860Z] Dload Upload Total Spent Left Speed [2022-07-27T00:38:33.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3729 0 0 100 3729 0 15158 --:--:-- --:--:-- --:--:-- 15158 [2022-07-27T00:38:33.119Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/ba862768035d435e0de85e577ed06ca7e87df0f9 [Pipeline] } [2022-07-27T00:38:33.149Z] 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-07-27T00:38:34.813Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-70/archives ] [2022-07-27T00:38:34.813Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-70/archives [2022-07-27T00:38:34.813Z] total 16 [2022-07-27T00:38:34.813Z] drwxr-xr-x 3 root root 4096 Jul 27 00:28 . [2022-07-27T00:38:34.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 00:28 .. [2022-07-27T00:38:34.813Z] drwxr-xr-x 2 root root 4096 Jul 27 00:28 cost [2022-07-27T00:38:34.813Z] -rw-r--r-- 1 root root 88 Jul 27 00:28 cost.csv [2022-07-27T00:38:34.813Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-70/archives [2022-07-27T00:38:34.813Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-70/archives [2022-07-27T00:38:34.813Z] total 16 [2022-07-27T00:38:34.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 00:28 . [2022-07-27T00:38:34.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 00:28 .. [2022-07-27T00:38:34.813Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 00:28 cost [2022-07-27T00:38:34.813Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 27 00:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:38:35.140Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:38:36.029Z] ---> package-listing.sh [2022-07-27T00:38:36.029Z] ++ facter osfamily [2022-07-27T00:38:36.029Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-27T00:38:36.289Z] + OS_FAMILY=debian [2022-07-27T00:38:36.289Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-70 [2022-07-27T00:38:36.289Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-27T00:38:36.289Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-27T00:38:36.289Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-27T00:38:36.289Z] + PACKAGES=/tmp/packages_start.txt [2022-07-27T00:38:36.289Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-70 ']' [2022-07-27T00:38:36.289Z] + PACKAGES=/tmp/packages_end.txt [2022-07-27T00:38:36.289Z] + case "${OS_FAMILY}" in [2022-07-27T00:38:36.289Z] + dpkg -l [2022-07-27T00:38:36.289Z] + grep '^ii' [2022-07-27T00:38:36.289Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-27T00:38:36.289Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-27T00:38:36.289Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-27T00:38:36.289Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-70 ']' [2022-07-27T00:38:36.289Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-70/archives/ [2022-07-27T00:38:36.289Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-70/archives/ [Pipeline] echo [2022-07-27T00:38:36.322Z] 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-70/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-27T00:38:36.616Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T00:38:37.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T00:38:37.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T00:38:37.398Z] prd-ubuntu20.04-docker-8c-8g-21180 does not seem to be running inside a container [2022-07-27T00:38:37.433Z] $ 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-70/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-70 -v /w/workspace/xfoundry_device-usb-camera_PR-70:/w/workspace/xfoundry_device-usb-camera_PR-70:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-70@tmp:/w/workspace/xfoundry_device-usb-camera_PR-70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-27T00:38:37.745Z] $ docker top 53d7ad17aa93548664d9d43793ba5810bc46878356e57a4278cd45aab2db9361 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T00:38:38.155Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-27T00:38:38.463Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-27T00:38:38.775Z] + ls /var/log/sa-host [2022-07-27T00:38:38.775Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T00:38:38.901Z] provisioning config files... [2022-07-27T00:38:38.913Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-70@tmp/config1167076858950653935tmp [Pipeline] { [Pipeline] echo [2022-07-27T00:38:39.000Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:38:39.314Z] ---> create-netrc.sh [Pipeline] } [2022-07-27T00:38:39.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:38:39.749Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-27T00:38:39.785Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:38:40.104Z] ---> sudo-logs.sh [2022-07-27T00:38:40.104Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-27T00:38:40.193Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:38:40.519Z] ---> job-cost.sh [2022-07-27T00:38:40.519Z] lf-activate-venv: SKIPPING [2022-07-27T00:38:40.519Z] DEBUG: total: 0.2199999988079071 [2022-07-27T00:38:40.519Z] INFO: Retrieving Stack Cost... [2022-07-27T00:38:40.780Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T00:38:41.352Z] INFO: Archiving Costs [Pipeline] echo [2022-07-27T00:38:41.385Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T00:38:41.699Z] ---> logs-deploy.sh [2022-07-27T00:38:41.699Z] lf-activate-venv: SKIPPING [2022-07-27T00:38:41.699Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-70/1 [2022-07-27T00:38:41.699Z] INFO: archiving workspace using pattern(s): [2022-07-27T00:38:42.639Z] Archives upload complete. [2022-07-27T00:38:42.899Z] INFO: archiving logs to Nexus