Pull request #67 event 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 940c6a2373dd85d734104e25f527154048d60c34 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-ssh17031710495211096848.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-ssh7414421535051346547.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-67/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-67/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2755113870289084060.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-67/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2521823094253105657.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 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-ssh16735645122574369270.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-67/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-67/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13856800551573415316.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 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-21170 in /w/workspace/xfoundry_device-usb-camera_PR-67 [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-67 # 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/67/head:refs/remotes/origin/PR-67 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fa6315a9dc6abe5875e1ce461ca165c4afc43fa4 into PR head commit 940c6a2373dd85d734104e25f527154048d60c34 Merge succeeded, producing 940c6a2373dd85d734104e25f527154048d60c34 Checking out Revision 940c6a2373dd85d734104e25f527154048d60c34 (PR-67) > git config core.sparsecheckout # timeout=10 > git checkout -f 940c6a2373dd85d734104e25f527154048d60c34 # 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 940c6a2373dd85d734104e25f527154048d60c34 # timeout=10 Commit message: "fix: remove all reserved chars from device name" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-26T23:43:19.620Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-26T23:43:19.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-26T23:43:19.916Z] ========================================================= [2022-07-26T23:43:19.916Z] EdgeX Global Pipelines Version Info [2022-07-26T23:43:19.916Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:43:20.720Z] ------------------- [2022-07-26T23:43:20.720Z] stable info: [2022-07-26T23:43:20.720Z] ------------------- [2022-07-26T23:43:20.720Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-26T23:43:20.720Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-26T23:43:20.720Z] Message: update stable to v1.0.238 [2022-07-26T23:43:21.296Z] ------------------- [2022-07-26T23:43:21.296Z] experimental info: [2022-07-26T23:43:21.296Z] ------------------- [2022-07-26T23:43:21.296Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-26T23:43:21.296Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-26T23:43:21.296Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-26T23:43:21.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-26T23:43:21.662Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-26T23:43:21.697Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-26T23:43:21.738Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-26T23:43:21.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-26T23:43:21.826Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-26T23:43:21.869Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-26T23:43:21.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-26T23:43:21.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-26T23:43:21.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-26T23:43:22.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-26T23:43:22.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-26T23:43:22.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-26T23:43:22.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-26T23:43:22.175Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-26T23:43:22.218Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-26T23:43:22.259Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-26T23:43:22.297Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-26T23:43:22.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-26T23:43:22.381Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-26T23:43:22.422Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-26T23:43:22.460Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-26T23:43:22.503Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-26T23:43:22.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-26T23:43:22.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-26T23:43:22.625Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-26T23:43:22.665Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-26T23:43:22.708Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-67 [Pipeline] echo [2022-07-26T23:43:22.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-67 [Pipeline] echo [2022-07-26T23:43:22.783Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-67 [Pipeline] echo [2022-07-26T23:43:22.817Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 940c6a2373dd85d734104e25f527154048d60c34 [Pipeline] echo [2022-07-26T23:43:22.854Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 940c6a2 [Pipeline] echo [2022-07-26T23:43:22.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-26T23:43:22.995Z] provisioning config files... [2022-07-26T23:43:23.010Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-67@tmp/config4895994480888249845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:43:23.360Z] ---> docker-login.sh [2022-07-26T23:43:23.360Z] nexus3.edgexfoundry.org:10001 [2022-07-26T23:43:23.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:23.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:23.623Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:23.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:23.623Z] [2022-07-26T23:43:23.623Z] Login Succeeded [2022-07-26T23:43:23.623Z] nexus3.edgexfoundry.org:10002 [2022-07-26T23:43:23.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:23.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:23.886Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:23.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:23.886Z] [2022-07-26T23:43:23.886Z] Login Succeeded [2022-07-26T23:43:23.886Z] nexus3.edgexfoundry.org:10003 [2022-07-26T23:43:23.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:23.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:23.886Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:23.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:23.886Z] [2022-07-26T23:43:23.886Z] Login Succeeded [2022-07-26T23:43:23.886Z] nexus3.edgexfoundry.org:10004 [2022-07-26T23:43:24.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:24.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:24.149Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:24.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:24.149Z] [2022-07-26T23:43:24.149Z] Login Succeeded [2022-07-26T23:43:24.149Z] docker.io [2022-07-26T23:43:24.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:24.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:24.413Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:24.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:24.413Z] [2022-07-26T23:43:24.413Z] Login Succeeded [2022-07-26T23:43:24.413Z] ---> docker-login.sh ends [Pipeline] } [2022-07-26T23:43:24.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-26T23:43:25.076Z] + git rev-list -1 --merges 940c6a2373dd85d734104e25f527154048d60c34~1..940c6a2373dd85d734104e25f527154048d60c34 [Pipeline] echo [2022-07-26T23:43:25.134Z] -----------> git rev-list -1 --merges 940c6a2373dd85d734104e25f527154048d60c34~1..940c6a2373dd85d734104e25f527154048d60c34 940c6a2373dd85d734104e25f527154048d60c34 [false] [Pipeline] sh [2022-07-26T23:43:25.456Z] + git log --format=format:%s -1 940c6a2373dd85d734104e25f527154048d60c34 [Pipeline] echo [2022-07-26T23:43:25.489Z] ========================================================= [2022-07-26T23:43:25.489Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-26T23:43:25.489Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-26T23:43:25.928Z] + git log --format=format:%s -1 940c6a2373dd85d734104e25f527154048d60c34 [Pipeline] echo [2022-07-26T23:43:25.964Z] [semverPrep] GIT_COMMIT: 940c6a2373dd85d734104e25f527154048d60c34, Commit Message: fix: remove all reserved chars from device name [Pipeline] echo [2022-07-26T23:43:25.994Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-26T23:43:26.386Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-26T23:43:26.386Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-26T23:43:26.386Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-26T23:43:26.386Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-26T23:43:26.386Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-26T23:43:26.386Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-26T23:43:26.386Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:43:26.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-26T23:43:26.862Z] [2022-07-26T23:43:26.862Z] 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-26T23:43:27.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-26T23:43:27.247Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-26T23:43:27.247Z] b85a868b505f: Pulling fs layer [2022-07-26T23:43:27.247Z] e2be974225ed: Pulling fs layer [2022-07-26T23:43:27.247Z] 339a4e72a1f5: Pulling fs layer [2022-07-26T23:43:27.247Z] 988bab9f4d93: Pulling fs layer [2022-07-26T23:43:27.247Z] 1469e6f7b9e6: Pulling fs layer [2022-07-26T23:43:27.247Z] eaf3925da568: Pulling fs layer [2022-07-26T23:43:27.247Z] bab4dde63d76: Pulling fs layer [2022-07-26T23:43:27.247Z] bde34c3a00c8: Pulling fs layer [2022-07-26T23:43:27.247Z] b352a97aabf1: Pulling fs layer [2022-07-26T23:43:27.247Z] 4872d77fe225: Pulling fs layer [2022-07-26T23:43:27.247Z] 5851b861e8e6: Pulling fs layer [2022-07-26T23:43:27.247Z] 988bab9f4d93: Waiting [2022-07-26T23:43:27.247Z] 1469e6f7b9e6: Waiting [2022-07-26T23:43:27.247Z] eaf3925da568: Waiting [2022-07-26T23:43:27.247Z] bab4dde63d76: Waiting [2022-07-26T23:43:27.247Z] bde34c3a00c8: Waiting [2022-07-26T23:43:27.247Z] b352a97aabf1: Waiting [2022-07-26T23:43:27.247Z] 4872d77fe225: Waiting [2022-07-26T23:43:27.247Z] 5851b861e8e6: Waiting [2022-07-26T23:43:27.247Z] e2be974225ed: Download complete [2022-07-26T23:43:27.247Z] 988bab9f4d93: Download complete [2022-07-26T23:43:27.509Z] 1469e6f7b9e6: Verifying Checksum [2022-07-26T23:43:27.509Z] 1469e6f7b9e6: Download complete [2022-07-26T23:43:27.509Z] 339a4e72a1f5: Verifying Checksum [2022-07-26T23:43:27.509Z] 339a4e72a1f5: Download complete [2022-07-26T23:43:27.509Z] eaf3925da568: Verifying Checksum [2022-07-26T23:43:27.509Z] eaf3925da568: Download complete [2022-07-26T23:43:27.509Z] bde34c3a00c8: Verifying Checksum [2022-07-26T23:43:27.509Z] b352a97aabf1: Verifying Checksum [2022-07-26T23:43:27.509Z] b352a97aabf1: Download complete [2022-07-26T23:43:27.509Z] 4872d77fe225: Verifying Checksum [2022-07-26T23:43:27.509Z] 4872d77fe225: Download complete [2022-07-26T23:43:27.509Z] 5851b861e8e6: Download complete [2022-07-26T23:43:27.509Z] b85a868b505f: Download complete [2022-07-26T23:43:27.770Z] bab4dde63d76: Verifying Checksum [2022-07-26T23:43:27.770Z] bab4dde63d76: Download complete [2022-07-26T23:43:29.157Z] b85a868b505f: Pull complete [2022-07-26T23:43:29.157Z] e2be974225ed: Pull complete [2022-07-26T23:43:29.731Z] 339a4e72a1f5: Pull complete [2022-07-26T23:43:29.731Z] 988bab9f4d93: Pull complete [2022-07-26T23:43:29.992Z] 1469e6f7b9e6: Pull complete [2022-07-26T23:43:29.992Z] eaf3925da568: Pull complete [2022-07-26T23:43:32.540Z] bab4dde63d76: Pull complete [2022-07-26T23:43:32.540Z] bde34c3a00c8: Pull complete [2022-07-26T23:43:32.540Z] b352a97aabf1: Pull complete [2022-07-26T23:43:32.540Z] 4872d77fe225: Pull complete [2022-07-26T23:43:32.540Z] 5851b861e8e6: Pull complete [2022-07-26T23:43:32.540Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-26T23:43:32.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-26T23:43:32.540Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-26T23:43:32.762Z] prd-ubuntu20.04-docker-8c-8g-21170 does not seem to be running inside a container [2022-07-26T23:43:32.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-67 -v /w/workspace/xfoundry_device-usb-camera_PR-67:/w/workspace/xfoundry_device-usb-camera_PR-67:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-67@tmp:/w/workspace/xfoundry_device-usb-camera_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-26T23:43:35.113Z] $ docker top 1a592f4827a14c85a4c4fc0ef006a8c02204d04adba305854c5807129c90ba22 -eo pid,comm [2022-07-26T23:43:35.179Z] 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-26T23:43:35.179Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-26T23:43:35.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-26T23:43:35.305Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-26T23:43:35.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-26T23:43:35.449Z] $ docker exec 1a592f4827a14c85a4c4fc0ef006a8c02204d04adba305854c5807129c90ba22 ssh-agent [2022-07-26T23:43:35.578Z] SSH_AUTH_SOCK=/tmp/ssh-bJQIPi95QaeT/agent.32 [2022-07-26T23:43:35.578Z] SSH_AGENT_PID=38 [2022-07-26T23:43:35.587Z] Running ssh-add (command line suppressed) [2022-07-26T23:43:35.700Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-67@tmp/private_key_8878818469243301541.key (/w/workspace/xfoundry_device-usb-camera_PR-67@tmp/private_key_8878818469243301541.key) [2022-07-26T23:43:35.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-26T23:43:36.045Z] + git tag --points-at HEAD [Pipeline] } [2022-07-26T23:43:36.074Z] $ docker exec --env ******** --env ******** 1a592f4827a14c85a4c4fc0ef006a8c02204d04adba305854c5807129c90ba22 ssh-agent -k [2022-07-26T23:43:36.180Z] unset SSH_AUTH_SOCK; [2022-07-26T23:43:36.180Z] unset SSH_AGENT_PID; [2022-07-26T23:43:36.180Z] echo Agent pid 38 killed; [2022-07-26T23:43:36.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-26T23:43:36.279Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-26T23:43:36.279Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-26T23:43:36.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-26T23:43:36.414Z] $ docker exec 1a592f4827a14c85a4c4fc0ef006a8c02204d04adba305854c5807129c90ba22 ssh-agent [2022-07-26T23:43:36.540Z] SSH_AUTH_SOCK=/tmp/ssh-6wlAE54ck11P/agent.70 [2022-07-26T23:43:36.540Z] SSH_AGENT_PID=76 [2022-07-26T23:43:36.546Z] Running ssh-add (command line suppressed) [2022-07-26T23:43:36.666Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-67@tmp/private_key_6069345042956750026.key (/w/workspace/xfoundry_device-usb-camera_PR-67@tmp/private_key_6069345042956750026.key) [2022-07-26T23:43:36.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-26T23:43:37.013Z] + git semver init [2022-07-26T23:43:37.282Z] 2022-07-26 23:43:37,259 [run_init] DEBUG init version:0.0.0 force:False [2022-07-26T23:43:37.282Z] 2022-07-26 23:43:37,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-67/.semver [2022-07-26T23:43:37.282Z] 2022-07-26 23:43:37,260 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-67/.semver [2022-07-26T23:43:37.282Z] 2022-07-26 23:43:37,260 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-67/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-67, universal_newlines=False, shell=None, istream=None) [2022-07-26T23:43:37.856Z] 2022-07-26 23:43:37,771 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-67/.git/info/exclude [2022-07-26T23:43:37.856Z] 2022-07-26 23:43:37,771 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-67/.semver/PR-67 with force:False [2022-07-26T23:43:37.856Z] 2022-07-26 23:43:37,771 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-67/.semver/PR-67 [2022-07-26T23:43:37.856Z] 2022-07-26 23:43:37,775 [execute] INFO git cat-file --batch-check [2022-07-26T23:43:37.856Z] 2022-07-26 23:43:37,776 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-67/.semver, universal_newlines=False, shell=None, istream=) [2022-07-26T23:43:37.856Z] 2022-07-26 23:43:37,781 [execute] INFO git cat-file --batch [2022-07-26T23:43:37.856Z] 2022-07-26 23:43:37,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-67/.semver, universal_newlines=False, shell=None, istream=) [2022-07-26T23:43:37.856Z] 2022-07-26 23:43:37,787 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-67/.semver/PR-67 [2022-07-26T23:43:37.856Z] 0.0.0 [Pipeline] } [2022-07-26T23:43:37.888Z] $ docker exec --env ******** --env ******** 1a592f4827a14c85a4c4fc0ef006a8c02204d04adba305854c5807129c90ba22 ssh-agent -k [2022-07-26T23:43:38.017Z] unset SSH_AUTH_SOCK; [2022-07-26T23:43:38.017Z] unset SSH_AGENT_PID; [2022-07-26T23:43:38.017Z] echo Agent pid 76 killed; [2022-07-26T23:43:38.026Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-26T23:43:38.451Z] + git semver [Pipeline] } [2022-07-26T23:43:38.746Z] $ docker stop --time=1 1a592f4827a14c85a4c4fc0ef006a8c02204d04adba305854c5807129c90ba22 [2022-07-26T23:43:40.078Z] $ docker rm -f 1a592f4827a14c85a4c4fc0ef006a8c02204d04adba305854c5807129c90ba22 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-26T23:43:40.509Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-26T23:43:40.818Z] Stashed 1 file(s) [Pipeline] echo [2022-07-26T23:43:40.835Z] [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-26T23:43:41.470Z] provisioning config files... [2022-07-26T23:43:41.482Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-67@tmp/config1117486894764329347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:43:41.824Z] ---> docker-login.sh [2022-07-26T23:43:41.824Z] nexus3.edgexfoundry.org:10001 [2022-07-26T23:43:41.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:41.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:41.824Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:41.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:41.824Z] [2022-07-26T23:43:41.824Z] Login Succeeded [2022-07-26T23:43:41.824Z] nexus3.edgexfoundry.org:10002 [2022-07-26T23:43:41.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:42.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:42.084Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:42.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:42.084Z] [2022-07-26T23:43:42.084Z] Login Succeeded [2022-07-26T23:43:42.084Z] nexus3.edgexfoundry.org:10003 [2022-07-26T23:43:42.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:42.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:42.084Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:42.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:42.084Z] [2022-07-26T23:43:42.084Z] Login Succeeded [2022-07-26T23:43:42.084Z] nexus3.edgexfoundry.org:10004 [2022-07-26T23:43:42.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:42.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:42.346Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:42.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:42.346Z] [2022-07-26T23:43:42.346Z] Login Succeeded [2022-07-26T23:43:42.346Z] docker.io [2022-07-26T23:43:42.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:43:42.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:43:42.608Z] Configure a credential helper to remove this warning. See [2022-07-26T23:43:42.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:43:42.608Z] [2022-07-26T23:43:42.608Z] Login Succeeded [2022-07-26T23:43:42.615Z] ---> docker-login.sh ends [Pipeline] } [2022-07-26T23:43:42.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-26T23:43:42.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-26T23:43:42.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-26T23:43:42.889Z] ========================================================= [2022-07-26T23:43:42.889Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-26T23:43:42.889Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:43:43.343Z] + 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-26T23:43:43.343Z] Sending build context to Docker daemon 758.8kB [2022-07-26T23:43:43.343Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-26T23:43:43.343Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-26T23:43:43.343Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-26T23:43:43.343Z] 2408cc74d12b: Pulling fs layer [2022-07-26T23:43:43.343Z] ea60b727a1ce: Pulling fs layer [2022-07-26T23:43:43.343Z] 30c4a7721957: Pulling fs layer [2022-07-26T23:43:43.343Z] 370296b7ddb6: Pulling fs layer [2022-07-26T23:43:43.343Z] 7c6cee850709: Pulling fs layer [2022-07-26T23:43:43.343Z] 39a5fcdaea64: Pulling fs layer [2022-07-26T23:43:43.343Z] d94ebbe4e438: Pulling fs layer [2022-07-26T23:43:43.343Z] bcfd1f05c69d: Pulling fs layer [2022-07-26T23:43:43.343Z] 59ccb84bbe0f: Pulling fs layer [2022-07-26T23:43:43.343Z] d94ebbe4e438: Waiting [2022-07-26T23:43:43.343Z] 370296b7ddb6: Waiting [2022-07-26T23:43:43.343Z] bcfd1f05c69d: Waiting [2022-07-26T23:43:43.343Z] 59ccb84bbe0f: Waiting [2022-07-26T23:43:43.343Z] 7c6cee850709: Waiting [2022-07-26T23:43:43.343Z] 30c4a7721957: Download complete [2022-07-26T23:43:43.343Z] ea60b727a1ce: Verifying Checksum [2022-07-26T23:43:43.343Z] ea60b727a1ce: Download complete [2022-07-26T23:43:43.606Z] 7c6cee850709: Verifying Checksum [2022-07-26T23:43:43.606Z] 7c6cee850709: Download complete [2022-07-26T23:43:43.606Z] 2408cc74d12b: Verifying Checksum [2022-07-26T23:43:43.606Z] 2408cc74d12b: Download complete [2022-07-26T23:43:43.606Z] 39a5fcdaea64: Verifying Checksum [2022-07-26T23:43:43.606Z] d94ebbe4e438: Verifying Checksum [2022-07-26T23:43:43.606Z] d94ebbe4e438: Download complete [2022-07-26T23:43:43.606Z] 2408cc74d12b: Pull complete [2022-07-26T23:43:43.870Z] ea60b727a1ce: Pull complete [2022-07-26T23:43:43.870Z] 30c4a7721957: Pull complete [2022-07-26T23:43:43.870Z] 59ccb84bbe0f: Verifying Checksum [2022-07-26T23:43:43.870Z] 59ccb84bbe0f: Download complete [2022-07-26T23:43:44.439Z] 370296b7ddb6: Verifying Checksum [2022-07-26T23:43:44.439Z] 370296b7ddb6: Download complete [2022-07-26T23:43:44.439Z] bcfd1f05c69d: Verifying Checksum [2022-07-26T23:43:44.439Z] bcfd1f05c69d: Download complete [2022-07-26T23:43:48.633Z] 370296b7ddb6: Pull complete [2022-07-26T23:43:48.633Z] 7c6cee850709: Pull complete [2022-07-26T23:43:48.633Z] 39a5fcdaea64: Pull complete [2022-07-26T23:43:48.633Z] d94ebbe4e438: Pull complete [2022-07-26T23:43:50.539Z] bcfd1f05c69d: Pull complete [2022-07-26T23:43:51.487Z] 59ccb84bbe0f: Pull complete [2022-07-26T23:43:51.487Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-26T23:43:51.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-26T23:43:51.487Z] ---> a4fb48ad2a94 [2022-07-26T23:43:51.487Z] Step 3/13 : ARG MAKE="make build" [2022-07-26T23:43:55.707Z] ---> Running in d5976a16bf45 [2022-07-26T23:43:55.707Z] Removing intermediate container d5976a16bf45 [2022-07-26T23:43:55.707Z] ---> 6804975be0b4 [2022-07-26T23:43:55.707Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-26T23:43:55.707Z] ---> Running in 3abd30435b49 [2022-07-26T23:43:55.707Z] Removing intermediate container 3abd30435b49 [2022-07-26T23:43:55.707Z] ---> 19669a3f14c4 [2022-07-26T23:43:55.707Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-26T23:43:55.707Z] ---> Running in 25752626f930 [2022-07-26T23:43:55.707Z] Removing intermediate container 25752626f930 [2022-07-26T23:43:55.707Z] ---> 3ea832a2de85 [2022-07-26T23:43:55.707Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-26T23:43:55.707Z] ---> Running in 69773f435dda [2022-07-26T23:43:55.969Z] Removing intermediate container 69773f435dda [2022-07-26T23:43:55.969Z] ---> d8be5d4c0c9e [2022-07-26T23:43:55.969Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-26T23:43:55.969Z] ---> Running in a9eec7db8f52 [2022-07-26T23:43:56.230Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-26T23:43:56.302Z] Still waiting to schedule task [2022-07-26T23:43:56.302Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-26T23:43:57.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-26T23:43:57.172Z] (1/80) Installing mesa (21.3.8-r1) [2022-07-26T23:43:57.433Z] (2/80) Installing libxau (1.0.9-r0) [2022-07-26T23:43:57.433Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-07-26T23:43:57.433Z] (4/80) Installing libxcb (1.15-r0) [2022-07-26T23:43:57.697Z] (5/80) Installing libx11 (1.8-r0) [2022-07-26T23:43:57.697Z] (6/80) Installing libxext (1.3.4-r0) [2022-07-26T23:43:57.959Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-07-26T23:43:57.959Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-07-26T23:43:57.959Z] (9/80) Installing libpciaccess (0.16-r0) [2022-07-26T23:43:58.220Z] (10/80) Installing libdrm (2.4.110-r0) [2022-07-26T23:43:58.220Z] (11/80) Installing mesa-glapi (21.3.8-r1) [2022-07-26T23:43:58.220Z] (12/80) Installing libxshmfence (1.3-r1) [2022-07-26T23:43:58.480Z] (13/80) Installing mesa-gl (21.3.8-r1) [2022-07-26T23:43:58.480Z] (14/80) Installing icu-data-full (71.1-r2) [2022-07-26T23:43:59.436Z] (15/80) Installing libice (1.0.10-r0) [2022-07-26T23:43:59.436Z] (16/80) Installing libuuid (2.38-r1) [2022-07-26T23:43:59.436Z] (17/80) Installing libsm (1.2.3-r0) [2022-07-26T23:43:59.436Z] (18/80) Installing libxt (1.2.1-r0) [2022-07-26T23:43:59.698Z] (19/80) Installing libxmu (1.1.3-r0) [2022-07-26T23:43:59.698Z] (20/80) Installing xset (1.2.4-r0) [2022-07-26T23:43:59.698Z] (21/80) Installing xprop (1.2.5-r0) [2022-07-26T23:43:59.698Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-07-26T23:43:59.958Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-07-26T23:43:59.958Z] (24/80) Installing libffi (3.4.2-r1) [2022-07-26T23:43:59.958Z] (25/80) Installing libintl (0.21-r2) [2022-07-26T23:44:00.218Z] (26/80) Installing libblkid (2.38-r1) [2022-07-26T23:44:00.218Z] (27/80) Installing libmount (2.38-r1) [2022-07-26T23:44:00.479Z] (28/80) Installing pcre (8.45-r2) [2022-07-26T23:44:00.479Z] (29/80) Installing glib (2.72.1-r0) [2022-07-26T23:44:00.479Z] (30/80) Installing icu-libs (71.1-r2) [2022-07-26T23:44:00.742Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-07-26T23:44:00.742Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-07-26T23:44:00.742Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) [2022-07-26T23:44:01.313Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-07-26T23:44:01.313Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-07-26T23:44:01.313Z] (36/80) Installing mesa-gbm (21.3.8-r1) [2022-07-26T23:44:01.574Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-07-26T23:44:01.574Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) [2022-07-26T23:44:01.835Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-07-26T23:44:02.099Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-07-26T23:44:02.099Z] (41/80) Installing libpng (1.6.37-r1) [2022-07-26T23:44:02.099Z] (42/80) Installing freetype (2.12.1-r0) [2022-07-26T23:44:02.361Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-07-26T23:44:02.361Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-07-26T23:44:02.628Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-07-26T23:44:02.628Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-07-26T23:44:02.628Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-07-26T23:44:02.891Z] (48/80) Installing libxml2 (2.9.14-r0) [2022-07-26T23:44:02.891Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-07-26T23:44:02.891Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-07-26T23:44:03.153Z] (51/80) Installing mesa-egl (21.3.8-r1) [2022-07-26T23:44:03.153Z] (52/80) Installing avahi-libs (0.8-r6) [2022-07-26T23:44:03.413Z] (53/80) Installing nettle (3.7.3-r0) [2022-07-26T23:44:03.413Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-07-26T23:44:03.413Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-07-26T23:44:03.674Z] (56/80) Installing libunistring (1.0-r0) [2022-07-26T23:44:03.674Z] (57/80) Installing gnutls (3.7.6-r0) [2022-07-26T23:44:03.936Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-07-26T23:44:03.936Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-07-26T23:44:03.936Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-07-26T23:44:04.198Z] (61/80) Installing libevdev (1.12.1-r0) [2022-07-26T23:44:04.198Z] (62/80) Installing mtdev (1.1.6-r0) [2022-07-26T23:44:04.198Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-07-26T23:44:04.459Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-07-26T23:44:04.459Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-07-26T23:44:04.459Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-07-26T23:44:04.721Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-07-26T23:44:04.721Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-07-26T23:44:04.721Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-07-26T23:44:04.982Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-07-26T23:44:04.982Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-07-26T23:44:04.982Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) [2022-07-26T23:44:05.554Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-07-26T23:44:05.814Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-07-26T23:44:05.814Z] (75/80) Installing udev-init-scripts (35-r0) [2022-07-26T23:44:05.814Z] Executing udev-init-scripts-35-r0.post-install [2022-07-26T23:44:05.814Z] (76/80) Installing kmod-libs (29-r2) [2022-07-26T23:44:06.075Z] (77/80) Installing eudev (3.2.11-r0) [2022-07-26T23:44:06.075Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-07-26T23:44:06.075Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-26T23:44:06.342Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-07-26T23:44:06.342Z] Executing busybox-1.35.0-r13.trigger [2022-07-26T23:44:06.342Z] Executing eudev-3.2.11-r0.trigger [2022-07-26T23:44:06.342Z] OK: 330 MiB in 131 packages [2022-07-26T23:44:09.644Z] Removing intermediate container a9eec7db8f52 [2022-07-26T23:44:09.644Z] ---> c8c10baadc78 [2022-07-26T23:44:09.644Z] Step 8/13 : WORKDIR /device-usb-camera [2022-07-26T23:44:09.644Z] ---> Running in d64b7ff4b92b [2022-07-26T23:44:09.644Z] Removing intermediate container d64b7ff4b92b [2022-07-26T23:44:09.644Z] ---> 11dade91d3fa [2022-07-26T23:44:09.644Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-26T23:44:09.644Z] ---> 9bc3b1173405 [2022-07-26T23:44:09.644Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-26T23:44:09.644Z] ---> Running in d86d98484749 [2022-07-26T23:44:31.919Z] Removing intermediate container d86d98484749 [2022-07-26T23:44:31.919Z] ---> 753ad914133b [2022-07-26T23:44:31.919Z] Step 11/13 : COPY . . [2022-07-26T23:44:31.919Z] ---> 54052622201f [2022-07-26T23:44:31.919Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-26T23:44:31.919Z] ---> Running in 26b65848f275 [2022-07-26T23:44:31.919Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-26T23:44:31.919Z] Dload Upload Total Spent Left Speed [2022-07-26T23:44:31.919Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 43790 0 --:--:-- --:--:-- --:--:-- 44250 [2022-07-26T23:44:31.919Z] Removing intermediate container 26b65848f275 [2022-07-26T23:44:31.919Z] ---> 7c7d37cdbc52 [2022-07-26T23:44:31.919Z] Step 13/13 : RUN ${MAKE} [2022-07-26T23:44:31.919Z] ---> Running in 62a1dca9d7d7 [2022-07-26T23:44:31.919Z] noop [2022-07-26T23:44:31.919Z] Removing intermediate container 62a1dca9d7d7 [2022-07-26T23:44:31.919Z] ---> 50f51852c233 [2022-07-26T23:44:31.919Z] Successfully built 50f51852c233 [2022-07-26T23:44:31.919Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:44:32.373Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-26T23:44:32.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-26T23:44:32.538Z] prd-ubuntu20.04-docker-8c-8g-21170 does not seem to be running inside a container [2022-07-26T23:44:32.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-67 -v /w/workspace/xfoundry_device-usb-camera_PR-67:/w/workspace/xfoundry_device-usb-camera_PR-67:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-67@tmp:/w/workspace/xfoundry_device-usb-camera_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-26T23:44:32.941Z] $ docker top 8fb655d6d1c65d14dd9a355c31865f16aa497ece6eecbce81c59015520cf29a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-26T23:44:33.351Z] + go version [2022-07-26T23:44:33.351Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-26T23:44:33.388Z] $ docker stop --time=1 8fb655d6d1c65d14dd9a355c31865f16aa497ece6eecbce81c59015520cf29a3 [2022-07-26T23:44:34.789Z] $ docker rm -f 8fb655d6d1c65d14dd9a355c31865f16aa497ece6eecbce81c59015520cf29a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:44:35.510Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-26T23:44:35.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-26T23:44:35.686Z] prd-ubuntu20.04-docker-8c-8g-21170 does not seem to be running inside a container [2022-07-26T23:44:35.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-67 -v /w/workspace/xfoundry_device-usb-camera_PR-67:/w/workspace/xfoundry_device-usb-camera_PR-67:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-67@tmp:/w/workspace/xfoundry_device-usb-camera_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-26T23:44:36.077Z] $ docker top 661052419c08ae98e2364f8613868a9f6f06251ce7748892fb5b811ab3bd716c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-26T23:44:36.493Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-67 [Pipeline] fileExists [Pipeline] sh [2022-07-26T23:44:36.857Z] + make test [2022-07-26T23:44:36.857Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-26T23:44:37.117Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-26T23:44:47.103Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-26T23:44:47.103Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 2.2% of statements [2022-07-26T23:44:53.678Z] CGO_ENABLED=1 go vet ./... [2022-07-26T23:44:56.974Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-26T23:44:56.974Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-26T23:44:56.974Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-26T23:44:57.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-26T23:44:57.295Z] $ docker stop --time=1 661052419c08ae98e2364f8613868a9f6f06251ce7748892fb5b811ab3bd716c [2022-07-26T23:44:59.830Z] $ docker rm -f 661052419c08ae98e2364f8613868a9f6f06251ce7748892fb5b811ab3bd716c [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-26T23:45:00.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-26T23:45:00.411Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-26T23:45:01.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-26T23:45:01.399Z] + ls -al . [2022-07-26T23:45:01.399Z] total 188 [2022-07-26T23:45:01.399Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 23:44 . [2022-07-26T23:45:01.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:43 .. [2022-07-26T23:45:01.399Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 23:44 .git [2022-07-26T23:45:01.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:43 .github [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 23:43 .gitignore [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 26 23:43 .golangci.yml [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 23:43 .hadolint.yml [2022-07-26T23:45:01.399Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 23:43 .semver [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 9065 Jul 26 23:43 Attribution.txt [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 26 23:43 CHANGELOG.md [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 2410 Jul 26 23:43 Dockerfile [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 23:43 GOVERNANCE.md [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 23:43 Jenkinsfile [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 23:43 LICENSE [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 26 23:43 Makefile [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 23:43 OWNERS.md [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 11382 Jul 26 23:43 README.md [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 23:43 VERSION [2022-07-26T23:45:01.399Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:43 bin [2022-07-26T23:45:01.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:43 cmd [2022-07-26T23:45:01.399Z] -rw-r--r-- 1 jenkins jenkins 26812 Jul 26 23:44 coverage.out [2022-07-26T23:45:01.399Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 23:43 docker-entrypoint.sh [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 3382 Jul 26 23:43 go.mod [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 35824 Jul 26 23:43 go.sum [2022-07-26T23:45:01.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:43 internal [2022-07-26T23:45:01.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:43 snap [2022-07-26T23:45:01.399Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 23:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:45:01.834Z] + 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=940c6a2373dd85d734104e25f527154048d60c34 --label arch=amd64 --label version=0.0.0 . [2022-07-26T23:45:01.834Z] Sending build context to Docker daemon 786.4kB [2022-07-26T23:45:01.834Z] Step 1/35 : ARG BASE=golang:1.17-alpine3.15 [2022-07-26T23:45:01.834Z] Step 2/35 : FROM ${BASE} AS builder [2022-07-26T23:45:01.834Z] ---> 50f51852c233 [2022-07-26T23:45:01.834Z] Step 3/35 : ARG MAKE="make build" [2022-07-26T23:45:02.096Z] ---> Running in fc2689f8cbc1 [2022-07-26T23:45:02.096Z] Removing intermediate container fc2689f8cbc1 [2022-07-26T23:45:02.096Z] ---> 95c53738b3b9 [2022-07-26T23:45:02.096Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-26T23:45:02.096Z] ---> Running in d898e4e79c9a [2022-07-26T23:45:02.096Z] Removing intermediate container d898e4e79c9a [2022-07-26T23:45:02.096Z] ---> 1c01761f0374 [2022-07-26T23:45:02.096Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-26T23:45:02.096Z] ---> Running in a1ce841f03b0 [2022-07-26T23:45:02.356Z] Removing intermediate container a1ce841f03b0 [2022-07-26T23:45:02.356Z] ---> 0cbe17ead344 [2022-07-26T23:45:02.356Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-26T23:45:02.356Z] ---> Running in 1d3d917a8792 [2022-07-26T23:45:02.927Z] Removing intermediate container 1d3d917a8792 [2022-07-26T23:45:02.927Z] ---> 2e81c9bafd1c [2022-07-26T23:45:02.927Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-26T23:45:02.927Z] ---> Running in 325a1fa5e4cd [2022-07-26T23:45:03.187Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-26T23:45:04.131Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-26T23:45:04.392Z] OK: 330 MiB in 131 packages [2022-07-26T23:45:04.654Z] Removing intermediate container 325a1fa5e4cd [2022-07-26T23:45:04.654Z] ---> bd89134241a1 [2022-07-26T23:45:04.654Z] Step 8/35 : WORKDIR /device-usb-camera [2022-07-26T23:45:04.654Z] ---> Running in 2240f61a5a22 [2022-07-26T23:45:04.654Z] Removing intermediate container 2240f61a5a22 [2022-07-26T23:45:04.654Z] ---> 72be1f950417 [2022-07-26T23:45:04.654Z] Step 9/35 : COPY go.mod vendor* ./ [2022-07-26T23:45:04.913Z] ---> 7262574dd3ee [2022-07-26T23:45:04.913Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-26T23:45:04.913Z] ---> Running in 1b448347dc5a [2022-07-26T23:45:05.482Z] Removing intermediate container 1b448347dc5a [2022-07-26T23:45:05.482Z] ---> 2c852e4a7d9a [2022-07-26T23:45:05.482Z] Step 11/35 : COPY . . [2022-07-26T23:45:05.742Z] ---> c740d6335a32 [2022-07-26T23:45:05.742Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-26T23:45:05.742Z] ---> Running in 54361272b893 [2022-07-26T23:45:06.002Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-26T23:45:06.002Z] Dload Upload Total Spent Left Speed [2022-07-26T23:45:06.002Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 42743 0 --:--:-- --:--:-- --:--:-- 44250 [2022-07-26T23:45:06.262Z] Removing intermediate container 54361272b893 [2022-07-26T23:45:06.262Z] ---> 276ce236aaf9 [2022-07-26T23:45:06.262Z] Step 13/35 : RUN ${MAKE} [2022-07-26T23:45:06.262Z] ---> Running in 38ad65d1a67d [2022-07-26T23:45:06.833Z] 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-26T23:45:28.769Z] Removing intermediate container 38ad65d1a67d [2022-07-26T23:45:28.769Z] ---> 14e34a87fc67 [2022-07-26T23:45:28.769Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-26T23:45:28.769Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-26T23:45:28.769Z] af6660deedbd: Pulling fs layer [2022-07-26T23:45:28.769Z] 97cd0a44c592: Pulling fs layer [2022-07-26T23:45:28.769Z] 97cd0a44c592: Download complete [2022-07-26T23:45:28.769Z] af6660deedbd: Verifying Checksum [2022-07-26T23:45:28.769Z] af6660deedbd: Download complete [2022-07-26T23:45:28.770Z] af6660deedbd: Pull complete [2022-07-26T23:45:28.770Z] 97cd0a44c592: Pull complete [2022-07-26T23:45:28.770Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-26T23:45:28.770Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-26T23:45:28.770Z] ---> fea57e182299 [2022-07-26T23:45:28.770Z] Step 15/35 : FROM alpine:3.15 [2022-07-26T23:45:29.028Z] 3.15: Pulling from library/alpine [2022-07-26T23:45:29.288Z] ab6db1bc80d0: Pulling fs layer [2022-07-26T23:45:29.674Z] ab6db1bc80d0: Verifying Checksum [2022-07-26T23:45:29.674Z] ab6db1bc80d0: Download complete [2022-07-26T23:45:29.674Z] ab6db1bc80d0: Pull complete [2022-07-26T23:45:29.674Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-26T23:45:29.674Z] Status: Downloaded newer image for alpine:3.15 [2022-07-26T23:45:29.674Z] ---> 2720e26172a0 [2022-07-26T23:45:29.674Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-26T23:45:29.936Z] ---> Running in 5419a7b75c17 [2022-07-26T23:45:29.936Z] Removing intermediate container 5419a7b75c17 [2022-07-26T23:45:29.936Z] ---> d2800b377426 [2022-07-26T23:45:29.936Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-26T23:45:29.936Z] ---> Running in f101e50ec9dc [2022-07-26T23:45:30.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-26T23:45:30.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-26T23:45:30.457Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-07-26T23:45:30.457Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-07-26T23:45:30.457Z] (3/74) Installing libxau (1.0.9-r0) [2022-07-26T23:45:30.457Z] (4/74) Installing libmd (1.0.3-r0) [2022-07-26T23:45:30.457Z] (5/74) Installing libbsd (0.11.3-r1) [2022-07-26T23:45:30.457Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-07-26T23:45:30.457Z] (7/74) Installing libxcb (1.14-r2) [2022-07-26T23:45:30.457Z] (8/74) Installing libx11 (1.7.2-r0) [2022-07-26T23:45:30.716Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-07-26T23:45:30.716Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-07-26T23:45:30.716Z] (11/74) Installing expat (2.4.7-r0) [2022-07-26T23:45:30.716Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-07-26T23:45:30.716Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-07-26T23:45:30.716Z] (14/74) Installing libpng (1.6.37-r1) [2022-07-26T23:45:30.716Z] (15/74) Installing freetype (2.11.1-r2) [2022-07-26T23:45:30.716Z] (16/74) Installing libuuid (2.37.4-r0) [2022-07-26T23:45:30.716Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-07-26T23:45:30.716Z] (18/74) Installing fribidi (1.0.11-r0) [2022-07-26T23:45:30.716Z] (19/74) Installing libffi (3.4.2-r1) [2022-07-26T23:45:30.716Z] (20/74) Installing libintl (0.21-r0) [2022-07-26T23:45:30.716Z] (21/74) Installing libblkid (2.37.4-r0) [2022-07-26T23:45:30.716Z] (22/74) Installing libmount (2.37.4-r0) [2022-07-26T23:45:30.716Z] (23/74) Installing pcre (8.45-r1) [2022-07-26T23:45:30.716Z] (24/74) Installing glib (2.70.1-r0) [2022-07-26T23:45:30.716Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-07-26T23:45:30.716Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-07-26T23:45:30.716Z] (27/74) Installing libass (0.15.2-r0) [2022-07-26T23:45:30.716Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-07-26T23:45:30.716Z] (29/74) Installing gmp (6.2.1-r1) [2022-07-26T23:45:30.716Z] (30/74) Installing nettle (3.7.3-r0) [2022-07-26T23:45:30.716Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-07-26T23:45:30.716Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-07-26T23:45:30.716Z] (33/74) Installing libunistring (0.9.10-r1) [2022-07-26T23:45:30.716Z] (34/74) Installing gnutls (3.7.1-r0) [2022-07-26T23:45:30.977Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-26T23:45:30.977Z] (36/74) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-26T23:45:30.977Z] (37/74) Installing lame (3.100-r0) [2022-07-26T23:45:30.977Z] (38/74) Installing opus (1.3.1-r1) [2022-07-26T23:45:30.977Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-07-26T23:45:30.977Z] (40/74) Installing soxr (0.1.3-r2) [2022-07-26T23:45:30.977Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-07-26T23:45:30.977Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-26T23:45:30.977Z] (43/74) Installing libsrt (1.4.2-r1) [2022-07-26T23:45:30.977Z] (44/74) Installing libssh (0.9.6-r1) [2022-07-26T23:45:30.977Z] (45/74) Installing libogg (1.3.5-r0) [2022-07-26T23:45:30.977Z] (46/74) Installing libtheora (1.1.1-r16) [2022-07-26T23:45:30.977Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-07-26T23:45:30.977Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-07-26T23:45:30.977Z] (49/74) Installing libxext (1.3.4-r0) [2022-07-26T23:45:30.977Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-07-26T23:45:30.977Z] (51/74) Installing libpciaccess (0.16-r0) [2022-07-26T23:45:30.977Z] (52/74) Installing libdrm (2.4.109-r0) [2022-07-26T23:45:30.977Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-07-26T23:45:30.977Z] (54/74) Installing libva (2.13.0-r0) [2022-07-26T23:45:30.977Z] (55/74) Installing libvdpau (1.4-r0) [2022-07-26T23:45:30.977Z] (56/74) Installing vidstab (1.1.0-r1) [2022-07-26T23:45:30.977Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-07-26T23:45:30.977Z] (58/74) Installing libvpx (1.10.0-r0) [2022-07-26T23:45:30.977Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-07-26T23:45:30.977Z] (60/74) Installing libwebp (1.2.2-r0) [2022-07-26T23:45:31.237Z] (61/74) Installing x264-libs (20210613-r0) [2022-07-26T23:45:31.237Z] (62/74) Installing x265-libs (3.5-r0) [2022-07-26T23:45:31.237Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-07-26T23:45:31.237Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-07-26T23:45:31.237Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-07-26T23:45:31.237Z] (66/74) Installing udev-init-scripts (35-r0) [2022-07-26T23:45:31.237Z] Executing udev-init-scripts-35-r0.post-install [2022-07-26T23:45:31.237Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-26T23:45:31.237Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-07-26T23:45:31.237Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-07-26T23:45:31.237Z] (70/74) Installing kmod-libs (29-r2) [2022-07-26T23:45:31.237Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-07-26T23:45:31.237Z] (72/74) Installing libsodium (1.0.18-r0) [2022-07-26T23:45:31.237Z] (73/74) Installing libzmq (4.3.4-r0) [2022-07-26T23:45:31.237Z] (74/74) Installing zeromq (4.3.4-r0) [2022-07-26T23:45:31.237Z] Executing busybox-1.34.1-r7.trigger [2022-07-26T23:45:31.237Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-26T23:45:31.237Z] OK: 78 MiB in 88 packages [2022-07-26T23:45:33.798Z] Removing intermediate container f101e50ec9dc [2022-07-26T23:45:33.798Z] ---> 2a38d0e4ea6b [2022-07-26T23:45:33.798Z] Step 18/35 : WORKDIR / [2022-07-26T23:45:33.798Z] ---> Running in aa5ff5c9c1b3 [2022-07-26T23:45:33.798Z] Removing intermediate container aa5ff5c9c1b3 [2022-07-26T23:45:33.798Z] ---> 9c408e48c310 [2022-07-26T23:45:33.798Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-07-26T23:45:34.059Z] ---> 89333bd71a4b [2022-07-26T23:45:34.059Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-26T23:45:34.318Z] ---> cbfb28dfacdc [2022-07-26T23:45:34.318Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-07-26T23:45:34.318Z] ---> 854a365c4bc4 [2022-07-26T23:45:34.318Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-26T23:45:34.579Z] ---> b1f2b71b6271 [2022-07-26T23:45:34.579Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-26T23:45:34.579Z] ---> ff70af999e70 [2022-07-26T23:45:34.579Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-26T23:45:34.837Z] ---> 732be74be05c [2022-07-26T23:45:34.837Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-07-26T23:45:35.406Z] ---> 065db5137d06 [2022-07-26T23:45:35.406Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-07-26T23:45:35.406Z] ---> Running in dcf5f0ea9a2b [2022-07-26T23:45:35.975Z] Removing intermediate container dcf5f0ea9a2b [2022-07-26T23:45:35.975Z] ---> 74765ad91c32 [2022-07-26T23:45:35.975Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-07-26T23:45:35.975Z] ---> Running in 5cccb598ed4a [2022-07-26T23:45:36.235Z] Removing intermediate container 5cccb598ed4a [2022-07-26T23:45:36.235Z] ---> 6779d14cd458 [2022-07-26T23:45:36.235Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-07-26T23:45:36.235Z] ---> Running in bec1e33e3fb0 [2022-07-26T23:45:36.805Z] Removing intermediate container bec1e33e3fb0 [2022-07-26T23:45:36.805Z] ---> c80488fdc78a [2022-07-26T23:45:36.805Z] Step 29/35 : EXPOSE 59983 [2022-07-26T23:45:36.805Z] ---> Running in 567a30fbc8df [2022-07-26T23:45:37.065Z] Removing intermediate container 567a30fbc8df [2022-07-26T23:45:37.065Z] ---> 7b00ca5e9f13 [2022-07-26T23:45:37.065Z] Step 30/35 : EXPOSE 8554 [2022-07-26T23:45:37.065Z] ---> Running in 23220693e22c [2022-07-26T23:45:37.065Z] Removing intermediate container 23220693e22c [2022-07-26T23:45:37.065Z] ---> 5c907f353507 [2022-07-26T23:45:37.065Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-26T23:45:37.325Z] ---> Running in 20b90d5f6844 [2022-07-26T23:45:37.325Z] Removing intermediate container 20b90d5f6844 [2022-07-26T23:45:37.325Z] ---> 588f19ce8d35 [2022-07-26T23:45:37.325Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-26T23:45:37.325Z] ---> Running in 718f27e5cd00 [2022-07-26T23:45:37.325Z] Removing intermediate container 718f27e5cd00 [2022-07-26T23:45:37.325Z] ---> 4ad2d920f79d [2022-07-26T23:45:37.325Z] Step 33/35 : LABEL arch=amd64 [2022-07-26T23:45:37.325Z] ---> Running in d10b0e514831 [2022-07-26T23:45:37.587Z] Removing intermediate container d10b0e514831 [2022-07-26T23:45:37.587Z] ---> a939e819b057 [2022-07-26T23:45:37.587Z] Step 34/35 : LABEL git_sha=940c6a2373dd85d734104e25f527154048d60c34 [2022-07-26T23:45:37.587Z] ---> Running in 6f1492206e68 [2022-07-26T23:45:37.587Z] Removing intermediate container 6f1492206e68 [2022-07-26T23:45:37.587Z] ---> 558bac81f16a [2022-07-26T23:45:37.587Z] Step 35/35 : LABEL version=0.0.0 [2022-07-26T23:45:37.587Z] ---> Running in 2ca6515692f4 [2022-07-26T23:45:37.587Z] Removing intermediate container 2ca6515692f4 [2022-07-26T23:45:37.587Z] ---> a4cf82608d63 [2022-07-26T23:45:37.587Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-26T23:45:37.587Z] Successfully built a4cf82608d63 [2022-07-26T23:45:37.587Z] 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-26T23:45:38.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-26T23:45:38.441Z] [2022-07-26T23:45:38.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:45:38.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-26T23:45:38.820Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-26T23:45:38.820Z] 5eb5b503b376: Pulling fs layer [2022-07-26T23:45:38.820Z] 5c69ac0246d0: Pulling fs layer [2022-07-26T23:45:38.820Z] ec43610c2a17: Pulling fs layer [2022-07-26T23:45:38.820Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-26T23:45:38.820Z] 33b1e0a273af: Pulling fs layer [2022-07-26T23:45:38.820Z] 5d3b04190fa2: Pulling fs layer [2022-07-26T23:45:38.820Z] 2f39f015ded8: Pulling fs layer [2022-07-26T23:45:38.820Z] 3a2ae6a8a46f: Waiting [2022-07-26T23:45:38.820Z] 33b1e0a273af: Waiting [2022-07-26T23:45:38.820Z] 2f39f015ded8: Waiting [2022-07-26T23:45:38.820Z] 5c69ac0246d0: Download complete [2022-07-26T23:45:38.820Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-26T23:45:38.820Z] 3a2ae6a8a46f: Download complete [2022-07-26T23:45:38.820Z] 33b1e0a273af: Verifying Checksum [2022-07-26T23:45:38.820Z] 33b1e0a273af: Download complete [2022-07-26T23:45:38.820Z] 5d3b04190fa2: Download complete [2022-07-26T23:45:39.078Z] ec43610c2a17: Verifying Checksum [2022-07-26T23:45:39.078Z] ec43610c2a17: Download complete [2022-07-26T23:45:39.078Z] 5eb5b503b376: Verifying Checksum [2022-07-26T23:45:39.078Z] 5eb5b503b376: Download complete [2022-07-26T23:45:39.647Z] 2f39f015ded8: Download complete [2022-07-26T23:45:40.215Z] 5eb5b503b376: Pull complete [2022-07-26T23:45:40.493Z] 5c69ac0246d0: Pull complete [2022-07-26T23:45:41.077Z] ec43610c2a17: Pull complete [2022-07-26T23:45:41.077Z] 3a2ae6a8a46f: Pull complete [2022-07-26T23:45:41.339Z] 33b1e0a273af: Pull complete [2022-07-26T23:45:41.339Z] 5d3b04190fa2: Pull complete [2022-07-26T23:45:45.559Z] 2f39f015ded8: Pull complete [2022-07-26T23:45:45.560Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-26T23:45:45.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-26T23:45:45.560Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-26T23:45:45.789Z] prd-ubuntu20.04-docker-8c-8g-21170 does not seem to be running inside a container [2022-07-26T23:45:45.828Z] $ 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-67 -v /w/workspace/xfoundry_device-usb-camera_PR-67:/w/workspace/xfoundry_device-usb-camera_PR-67:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-67@tmp:/w/workspace/xfoundry_device-usb-camera_PR-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-26T23:45:50.568Z] $ docker top 6bef9de93a923537d44e0220dfbfa9434ae640b9ebcdc97dd3871506570f2ba0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:45:51.028Z] ---> job-cost.sh [2022-07-26T23:45:51.028Z] lf-activate-venv: SKIPPING [2022-07-26T23:45:51.028Z] INFO: No Stack... [2022-07-26T23:45:51.288Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-26T23:45:51.857Z] INFO: Archiving Costs [Pipeline] sh [2022-07-26T23:45:52.168Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-67/archives/cost.csv [2022-07-26T23:45:52.168Z] + cut -d, -f6 [Pipeline] lock [2022-07-26T23:45:52.207Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-67-2-stack-cost] [2022-07-26T23:45:52.212Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-67-2-stack-cost] did not exist. Created. [2022-07-26T23:45:52.212Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-67-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-26T23:45:52.595Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-26T23:45:52.645Z] Stashed 1 file(s) [Pipeline] } [2022-07-26T23:45:52.672Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-67-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-26T23:45:52.750Z] $ docker stop --time=1 6bef9de93a923537d44e0220dfbfa9434ae640b9ebcdc97dd3871506570f2ba0 [2022-07-26T23:45:53.897Z] $ docker rm -f 6bef9de93a923537d44e0220dfbfa9434ae640b9ebcdc97dd3871506570f2ba0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-26T23:47:24.417Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21171 in /w/workspace/xfoundry_device-usb-camera_PR-67 [Pipeline] { [Pipeline] ws [2022-07-26T23:47:24.460Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2022-07-26T23:47:24.543Z] Selected Git installation does not exist. Using Default [2022-07-26T23:47:24.543Z] The recommended git tool is: NONE [2022-07-26T23:47:30.502Z] using credential edgex-jenkins-ssh [2022-07-26T23:47:30.541Z] Cloning the remote Git repository [2022-07-26T23:47:30.664Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-07-26T23:47:30.787Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2022-07-26T23:47:30.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-26T23:47:30.889Z] > git --version # timeout=10 [2022-07-26T23:47:30.913Z] > git --version # 'git version 2.25.1' [2022-07-26T23:47:30.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-26T23:47:31.038Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-26T23:47:32.185Z] Merging remotes/origin/main commit fa6315a9dc6abe5875e1ce461ca165c4afc43fa4 into PR head commit 940c6a2373dd85d734104e25f527154048d60c34 [2022-07-26T23:47:31.572Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-26T23:47:31.598Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-26T23:47:31.625Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-26T23:47:31.674Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-26T23:47:31.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-26T23:47:31.695Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/67/head:refs/remotes/origin/PR-67 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-26T23:47:32.208Z] > git config core.sparsecheckout # timeout=10 [2022-07-26T23:47:32.229Z] > git checkout -f 940c6a2373dd85d734104e25f527154048d60c34 # timeout=10 [2022-07-26T23:47:32.315Z] > git remote # timeout=10 [2022-07-26T23:47:32.334Z] > git config --get remote.origin.url # timeout=10 [2022-07-26T23:47:32.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-26T23:47:32.410Z] Merge succeeded, producing 940c6a2373dd85d734104e25f527154048d60c34 [2022-07-26T23:47:32.410Z] Checking out Revision 940c6a2373dd85d734104e25f527154048d60c34 (PR-67) [2022-07-26T23:47:32.368Z] > git merge fa6315a9dc6abe5875e1ce461ca165c4afc43fa4 # timeout=10 [2022-07-26T23:47:32.394Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-26T23:47:32.421Z] > git config core.sparsecheckout # timeout=10 [2022-07-26T23:47:32.433Z] > git checkout -f 940c6a2373dd85d734104e25f527154048d60c34 # timeout=10 [2022-07-26T23:47:36.667Z] Commit message: "fix: remove all reserved chars from device name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-26T23:47:37.677Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-26T23:47:37.677Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-26T23:47:37.677Z] Dload Upload Total Spent Left Speed [2022-07-26T23:47:37.677Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97102 0 --:--:-- --:--:-- --:--:-- 97102 [Pipeline] sh [2022-07-26T23:47:38.502Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-26T23:47:38.858Z] + sudo tee /etc/docker/daemon.new [2022-07-26T23:47:38.858Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-26T23:47:38.858Z] { [2022-07-26T23:47:38.858Z] "registry-mirrors": [ [2022-07-26T23:47:38.858Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-26T23:47:38.858Z] ], [2022-07-26T23:47:38.858Z] "bip": "10.250.0.254/24", [2022-07-26T23:47:38.858Z] "hosts": [ [2022-07-26T23:47:38.858Z] "tcp://0.0.0.0:5555", [2022-07-26T23:47:38.858Z] "unix:///var/run/docker.sock" [2022-07-26T23:47:38.858Z] ], [2022-07-26T23:47:38.858Z] "mtu": 1458, [2022-07-26T23:47:38.858Z] "selinux-enabled": true, [2022-07-26T23:47:38.858Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-26T23:47:38.858Z] } [Pipeline] sh [2022-07-26T23:47:39.210Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-26T23:47:39.565Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-26T23:47:57.970Z] provisioning config files... [2022-07-26T23:47:57.996Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config6435019011912476522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:47:58.414Z] ---> docker-login.sh [2022-07-26T23:47:58.414Z] nexus3.edgexfoundry.org:10001 [2022-07-26T23:47:59.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:47:59.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:47:59.290Z] Configure a credential helper to remove this warning. See [2022-07-26T23:47:59.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:47:59.290Z] [2022-07-26T23:47:59.290Z] Login Succeeded [2022-07-26T23:47:59.290Z] nexus3.edgexfoundry.org:10002 [2022-07-26T23:47:59.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:47:59.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:47:59.838Z] Configure a credential helper to remove this warning. See [2022-07-26T23:47:59.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:47:59.838Z] [2022-07-26T23:47:59.838Z] Login Succeeded [2022-07-26T23:47:59.838Z] nexus3.edgexfoundry.org:10003 [2022-07-26T23:48:00.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:48:00.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:48:00.113Z] Configure a credential helper to remove this warning. See [2022-07-26T23:48:00.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:48:00.113Z] [2022-07-26T23:48:00.113Z] Login Succeeded [2022-07-26T23:48:00.113Z] nexus3.edgexfoundry.org:10004 [2022-07-26T23:48:00.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:48:00.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:48:00.717Z] Configure a credential helper to remove this warning. See [2022-07-26T23:48:00.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:48:00.717Z] [2022-07-26T23:48:00.717Z] Login Succeeded [2022-07-26T23:48:00.717Z] docker.io [2022-07-26T23:48:00.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-26T23:48:01.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-26T23:48:01.587Z] Configure a credential helper to remove this warning. See [2022-07-26T23:48:01.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-26T23:48:01.587Z] [2022-07-26T23:48:01.587Z] Login Succeeded [2022-07-26T23:48:01.587Z] ---> docker-login.sh ends [Pipeline] } [2022-07-26T23:48:01.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-26T23:48:02.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-26T23:48:02.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-26T23:48:02.279Z] ========================================================= [2022-07-26T23:48:02.279Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-26T23:48:02.279Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:48:02.793Z] + 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-26T23:48:03.069Z] Sending build context to Docker daemon 497.7kB [2022-07-26T23:48:03.069Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-26T23:48:03.069Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-26T23:48:03.361Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-26T23:48:03.361Z] b3c136eddcbf: Pulling fs layer [2022-07-26T23:48:03.361Z] c0a3192eca97: Pulling fs layer [2022-07-26T23:48:03.361Z] a050256f5b6f: Pulling fs layer [2022-07-26T23:48:03.361Z] 656be50a0ddc: Pulling fs layer [2022-07-26T23:48:03.361Z] 2bbca73fdf42: Pulling fs layer [2022-07-26T23:48:03.361Z] 46d945488cbd: Pulling fs layer [2022-07-26T23:48:03.361Z] 8a5474983e97: Pulling fs layer [2022-07-26T23:48:03.361Z] 329c88fbcd65: Pulling fs layer [2022-07-26T23:48:03.361Z] 656be50a0ddc: Waiting [2022-07-26T23:48:03.361Z] 2bbca73fdf42: Waiting [2022-07-26T23:48:03.361Z] 46d945488cbd: Waiting [2022-07-26T23:48:03.361Z] 8a5474983e97: Waiting [2022-07-26T23:48:03.361Z] 329c88fbcd65: Waiting [2022-07-26T23:48:03.361Z] a050256f5b6f: Verifying Checksum [2022-07-26T23:48:03.361Z] a050256f5b6f: Download complete [2022-07-26T23:48:03.361Z] c0a3192eca97: Verifying Checksum [2022-07-26T23:48:03.361Z] c0a3192eca97: Download complete [2022-07-26T23:48:03.361Z] 2bbca73fdf42: Verifying Checksum [2022-07-26T23:48:03.361Z] 2bbca73fdf42: Download complete [2022-07-26T23:48:03.361Z] 46d945488cbd: Verifying Checksum [2022-07-26T23:48:03.361Z] 46d945488cbd: Download complete [2022-07-26T23:48:03.361Z] b3c136eddcbf: Verifying Checksum [2022-07-26T23:48:03.361Z] b3c136eddcbf: Download complete [2022-07-26T23:48:04.350Z] b3c136eddcbf: Pull complete [2022-07-26T23:48:04.350Z] 329c88fbcd65: Verifying Checksum [2022-07-26T23:48:04.350Z] 329c88fbcd65: Download complete [2022-07-26T23:48:04.950Z] c0a3192eca97: Pull complete [2022-07-26T23:48:05.227Z] a050256f5b6f: Pull complete [2022-07-26T23:48:05.825Z] 8a5474983e97: Verifying Checksum [2022-07-26T23:48:05.825Z] 8a5474983e97: Download complete [2022-07-26T23:48:06.420Z] 656be50a0ddc: Verifying Checksum [2022-07-26T23:48:06.421Z] 656be50a0ddc: Download complete [2022-07-26T23:48:18.825Z] 656be50a0ddc: Pull complete [2022-07-26T23:48:19.098Z] 2bbca73fdf42: Pull complete [2022-07-26T23:48:19.371Z] 46d945488cbd: Pull complete [2022-07-26T23:48:26.107Z] 8a5474983e97: Pull complete [2022-07-26T23:48:28.091Z] 329c88fbcd65: Pull complete [2022-07-26T23:48:28.091Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-26T23:48:28.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-26T23:48:28.091Z] ---> ff4287adb874 [2022-07-26T23:48:28.091Z] Step 3/13 : ARG MAKE="make build" [2022-07-26T23:48:28.694Z] ---> Running in 91b2b8251448 [2022-07-26T23:48:30.137Z] Removing intermediate container 91b2b8251448 [2022-07-26T23:48:30.137Z] ---> 5ba43b481bc9 [2022-07-26T23:48:30.137Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-26T23:48:30.137Z] ---> Running in c870d86c07af [2022-07-26T23:48:30.412Z] Removing intermediate container c870d86c07af [2022-07-26T23:48:30.412Z] ---> 4bc2dc494731 [2022-07-26T23:48:30.412Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-26T23:48:30.412Z] ---> Running in 546fc5427dd4 [2022-07-26T23:48:30.689Z] Removing intermediate container 546fc5427dd4 [2022-07-26T23:48:30.689Z] ---> 35e024c2e41f [2022-07-26T23:48:30.689Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-26T23:48:30.964Z] ---> Running in 609a78bc24e4 [2022-07-26T23:48:32.944Z] Removing intermediate container 609a78bc24e4 [2022-07-26T23:48:32.944Z] ---> 8706e89e9fb7 [2022-07-26T23:48:32.944Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-26T23:48:32.944Z] ---> Running in fde319037a96 [2022-07-26T23:48:33.927Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-26T23:48:34.524Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-26T23:48:35.505Z] (1/14) Installing libintl (0.21-r2) [2022-07-26T23:48:35.505Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-07-26T23:48:35.784Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-07-26T23:48:35.784Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-07-26T23:48:35.784Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-07-26T23:48:36.058Z] (6/14) Installing udev-init-scripts (35-r0) [2022-07-26T23:48:36.058Z] Executing udev-init-scripts-35-r0.post-install [2022-07-26T23:48:36.058Z] (7/14) Installing libblkid (2.38-r1) [2022-07-26T23:48:36.334Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-07-26T23:48:36.334Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-07-26T23:48:36.611Z] (10/14) Installing kmod-libs (29-r2) [2022-07-26T23:48:36.611Z] (11/14) Installing eudev (3.2.11-r0) [2022-07-26T23:48:36.611Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-07-26T23:48:36.888Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-26T23:48:36.888Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-07-26T23:48:36.888Z] Executing busybox-1.35.0-r13.trigger [2022-07-26T23:48:37.163Z] Executing eudev-3.2.11-r0.trigger [2022-07-26T23:48:37.163Z] OK: 228 MiB in 65 packages [2022-07-26T23:48:38.156Z] Removing intermediate container fde319037a96 [2022-07-26T23:48:38.156Z] ---> 7493f3a8e56d [2022-07-26T23:48:38.156Z] Step 8/13 : WORKDIR /device-usb-camera [2022-07-26T23:48:38.156Z] ---> Running in 484a5ed062ce [2022-07-26T23:48:38.758Z] Removing intermediate container 484a5ed062ce [2022-07-26T23:48:38.758Z] ---> 6c033455b159 [2022-07-26T23:48:38.758Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-26T23:48:39.034Z] ---> cfa86bfdbe61 [2022-07-26T23:48:39.034Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-26T23:48:39.313Z] ---> Running in 2623162a3a0b [2022-07-26T23:49:26.315Z] Removing intermediate container 2623162a3a0b [2022-07-26T23:49:26.315Z] ---> 4c69358b95f4 [2022-07-26T23:49:26.315Z] Step 11/13 : COPY . . [2022-07-26T23:49:26.315Z] ---> a3404207be3e [2022-07-26T23:49:26.315Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-26T23:49:26.315Z] ---> Running in b536a9bdaaae [2022-07-26T23:49:26.315Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-26T23:49:26.315Z] Dload Upload Total Spent Left Speed [2022-07-26T23:49:26.315Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0  6714 0 --:--:-- --:--:-- --:--:-- 6721 [2022-07-26T23:49:26.315Z] Removing intermediate container b536a9bdaaae [2022-07-26T23:49:26.315Z] ---> 3d6aae405800 [2022-07-26T23:49:26.315Z] Step 13/13 : RUN ${MAKE} [2022-07-26T23:49:26.315Z] ---> Running in 01518f8328e4 [2022-07-26T23:49:26.315Z] noop [2022-07-26T23:49:26.315Z] Removing intermediate container 01518f8328e4 [2022-07-26T23:49:26.315Z] ---> ab72c8bfe588 [2022-07-26T23:49:26.315Z] Successfully built ab72c8bfe588 [2022-07-26T23:49:26.315Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:49:26.787Z] + docker inspect -f . ci-base-image-arm64 [2022-07-26T23:49:26.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-26T23:49:27.094Z] prd-ubuntu20.04-docker-arm64-4c-16g-21171 does not seem to be running inside a container [2022-07-26T23:49:27.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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-26T23:49:28.397Z] $ docker top 67c0d61e5a2cca63ebc75776493ba78c8f45345fda1f96b567bbd44fa1bf15a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-26T23:49:29.346Z] + go version [2022-07-26T23:49:29.347Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-26T23:49:29.387Z] $ docker stop --time=1 67c0d61e5a2cca63ebc75776493ba78c8f45345fda1f96b567bbd44fa1bf15a7 [2022-07-26T23:49:30.991Z] $ docker rm -f 67c0d61e5a2cca63ebc75776493ba78c8f45345fda1f96b567bbd44fa1bf15a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:49:31.849Z] + docker inspect -f . ci-base-image-arm64 [2022-07-26T23:49:31.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-26T23:49:32.152Z] prd-ubuntu20.04-docker-arm64-4c-16g-21171 does not seem to be running inside a container [2022-07-26T23:49:32.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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-26T23:49:33.468Z] $ docker top 38ac0aff9a4dfa4a3d03f3c803fd92ad3e6e5ab1b0f84da2041788e7f7e6b6ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-26T23:49:34.393Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-07-26T23:49:35.113Z] + make test [2022-07-26T23:49:35.114Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-26T23:49:36.560Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-26T23:50:58.405Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-26T23:51:01.036Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.065s coverage: 2.2% of statements [2022-07-26T23:51:01.319Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-26T23:51:01.319Z] CGO_ENABLED=1 go vet ./... [2022-07-26T23:51:23.526Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-26T23:51:23.526Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-26T23:51:23.526Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-26T23:51:23.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-26T23:51:23.603Z] $ docker stop --time=1 38ac0aff9a4dfa4a3d03f3c803fd92ad3e6e5ab1b0f84da2041788e7f7e6b6ff [2022-07-26T23:51:25.364Z] $ docker rm -f 38ac0aff9a4dfa4a3d03f3c803fd92ad3e6e5ab1b0f84da2041788e7f7e6b6ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-26T23:51:26.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-26T23:51:26.420Z] Warning: overwriting stash ‘coverage-report’ [2022-07-26T23:51:27.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-26T23:51:27.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-26T23:51:28.068Z] + ls -al . [2022-07-26T23:51:28.068Z] total 184 [2022-07-26T23:51:28.068Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 23:51 . [2022-07-26T23:51:28.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:47 .. [2022-07-26T23:51:28.068Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 23:47 .git [2022-07-26T23:51:28.068Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:47 .github [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 23:47 .gitignore [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 26 23:47 .golangci.yml [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 23:47 .hadolint.yml [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 9065 Jul 26 23:47 Attribution.txt [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 26 23:47 CHANGELOG.md [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 2410 Jul 26 23:47 Dockerfile [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 23:47 GOVERNANCE.md [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 23:47 Jenkinsfile [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 23:47 LICENSE [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 26 23:47 Makefile [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 23:47 OWNERS.md [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 11382 Jul 26 23:47 README.md [2022-07-26T23:51:28.068Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 23:43 VERSION [2022-07-26T23:51:28.068Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:47 bin [2022-07-26T23:51:28.068Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:47 cmd [2022-07-26T23:51:28.068Z] -rw-r--r-- 1 jenkins jenkins 26812 Jul 26 23:51 coverage.out [2022-07-26T23:51:28.069Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 23:47 docker-entrypoint.sh [2022-07-26T23:51:28.069Z] -rw-rw-r-- 1 jenkins jenkins 3382 Jul 26 23:47 go.mod [2022-07-26T23:51:28.069Z] -rw-rw-r-- 1 jenkins jenkins 35824 Jul 26 23:47 go.sum [2022-07-26T23:51:28.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:47 internal [2022-07-26T23:51:28.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:47 snap [2022-07-26T23:51:28.069Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 23:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:51:28.602Z] + 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=940c6a2373dd85d734104e25f527154048d60c34 --label arch=arm64 --label version=0.0.0 . [2022-07-26T23:51:28.883Z] Sending build context to Docker daemon 525.3kB [2022-07-26T23:51:28.883Z] Step 1/35 : ARG BASE=golang:1.17-alpine3.15 [2022-07-26T23:51:28.883Z] Step 2/35 : FROM ${BASE} AS builder [2022-07-26T23:51:28.883Z] ---> ab72c8bfe588 [2022-07-26T23:51:28.883Z] Step 3/35 : ARG MAKE="make build" [2022-07-26T23:51:29.155Z] ---> Running in 421a2d0acdd5 [2022-07-26T23:51:29.431Z] Removing intermediate container 421a2d0acdd5 [2022-07-26T23:51:29.431Z] ---> e96ca117ff02 [2022-07-26T23:51:29.431Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-26T23:51:29.431Z] ---> Running in 8bf90f5009b1 [2022-07-26T23:51:29.702Z] Removing intermediate container 8bf90f5009b1 [2022-07-26T23:51:29.702Z] ---> f5606edc7159 [2022-07-26T23:51:29.702Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-26T23:51:29.975Z] ---> Running in 005284b6a74f [2022-07-26T23:51:30.248Z] Removing intermediate container 005284b6a74f [2022-07-26T23:51:30.248Z] ---> a5dde1694a04 [2022-07-26T23:51:30.248Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-26T23:51:30.248Z] ---> Running in b5481d636203 [2022-07-26T23:51:31.683Z] Removing intermediate container b5481d636203 [2022-07-26T23:51:31.683Z] ---> 59c9e8958779 [2022-07-26T23:51:31.683Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-26T23:51:31.963Z] ---> Running in 93a57ca2186f [2022-07-26T23:51:32.939Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-26T23:51:33.913Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-26T23:51:34.893Z] OK: 228 MiB in 65 packages [2022-07-26T23:51:35.498Z] Removing intermediate container 93a57ca2186f [2022-07-26T23:51:35.498Z] ---> 51d13a54ffaf [2022-07-26T23:51:35.498Z] Step 8/35 : WORKDIR /device-usb-camera [2022-07-26T23:51:35.498Z] ---> Running in 142e3462e8c2 [2022-07-26T23:51:35.773Z] Removing intermediate container 142e3462e8c2 [2022-07-26T23:51:35.773Z] ---> 3dc084c762c6 [2022-07-26T23:51:35.773Z] Step 9/35 : COPY go.mod vendor* ./ [2022-07-26T23:51:36.379Z] ---> 0ecde21868bd [2022-07-26T23:51:36.379Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-26T23:51:36.379Z] ---> Running in 558284ecde4d [2022-07-26T23:51:38.397Z] Removing intermediate container 558284ecde4d [2022-07-26T23:51:38.397Z] ---> 9f881b2fc348 [2022-07-26T23:51:38.397Z] Step 11/35 : COPY . . [2022-07-26T23:51:39.376Z] ---> 225679e96c3e [2022-07-26T23:51:39.376Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-26T23:51:39.376Z] ---> Running in 7b430e8f3102 [2022-07-26T23:51:40.360Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-26T23:51:40.360Z]   Dload Upload Total Spent Left Speed [2022-07-26T23:51:40.360Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 16209 0 --:--:-- --:--:-- --:--:-- 16338 [2022-07-26T23:51:40.954Z] Removing intermediate container 7b430e8f3102 [2022-07-26T23:51:40.954Z] ---> ad9789a00594 [2022-07-26T23:51:40.954Z] Step 13/35 : RUN ${MAKE} [2022-07-26T23:51:40.954Z] ---> Running in 0f665542d456 [2022-07-26T23:51:41.939Z] 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-26T23:53:48.820Z] Removing intermediate container 0f665542d456 [2022-07-26T23:53:48.820Z] ---> a8e4a8dbba57 [2022-07-26T23:53:48.820Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-26T23:53:49.800Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-26T23:53:49.800Z] eab2503cf8f4: Pulling fs layer [2022-07-26T23:53:49.800Z] 97cd0a44c592: Pulling fs layer [2022-07-26T23:53:50.072Z] 97cd0a44c592: Verifying Checksum [2022-07-26T23:53:50.072Z] 97cd0a44c592: Download complete [2022-07-26T23:53:50.346Z] eab2503cf8f4: Verifying Checksum [2022-07-26T23:53:50.346Z] eab2503cf8f4: Download complete [2022-07-26T23:53:50.945Z] eab2503cf8f4: Pull complete [2022-07-26T23:53:51.217Z] 97cd0a44c592: Pull complete [2022-07-26T23:53:51.217Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-26T23:53:51.217Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-26T23:53:51.217Z] ---> 7f763cca56b3 [2022-07-26T23:53:51.217Z] Step 15/35 : FROM alpine:3.15 [2022-07-26T23:53:51.808Z] 3.15: Pulling from library/alpine [2022-07-26T23:53:51.808Z] e0295fd11fe2: Pulling fs layer [2022-07-26T23:53:52.082Z] e0295fd11fe2: Verifying Checksum [2022-07-26T23:53:52.082Z] e0295fd11fe2: Download complete [2022-07-26T23:53:52.678Z] e0295fd11fe2: Pull complete [2022-07-26T23:53:52.678Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-26T23:53:52.678Z] Status: Downloaded newer image for alpine:3.15 [2022-07-26T23:53:52.678Z] ---> 60f2846fe774 [2022-07-26T23:53:52.678Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-26T23:53:52.678Z] ---> Running in 2342626898c3 [2022-07-26T23:53:52.962Z] Removing intermediate container 2342626898c3 [2022-07-26T23:53:52.962Z] ---> 6e3c592da1a3 [2022-07-26T23:53:52.962Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-26T23:53:53.237Z] ---> Running in 5f306e31544c [2022-07-26T23:53:54.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-26T23:53:54.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-26T23:53:55.462Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-07-26T23:53:55.462Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-07-26T23:53:55.462Z] (3/73) Installing libxau (1.0.9-r0) [2022-07-26T23:53:55.462Z] (4/73) Installing libmd (1.0.3-r0) [2022-07-26T23:53:55.462Z] (5/73) Installing libbsd (0.11.3-r1) [2022-07-26T23:53:55.462Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-07-26T23:53:55.462Z] (7/73) Installing libxcb (1.14-r2) [2022-07-26T23:53:55.462Z] (8/73) Installing libx11 (1.7.2-r0) [2022-07-26T23:53:55.462Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-07-26T23:53:55.462Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-07-26T23:53:55.737Z] (11/73) Installing expat (2.4.7-r0) [2022-07-26T23:53:55.737Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-07-26T23:53:55.737Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-07-26T23:53:55.737Z] (14/73) Installing libpng (1.6.37-r1) [2022-07-26T23:53:55.737Z] (15/73) Installing freetype (2.11.1-r2) [2022-07-26T23:53:55.737Z] (16/73) Installing libuuid (2.37.4-r0) [2022-07-26T23:53:55.737Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-07-26T23:53:55.737Z] (18/73) Installing fribidi (1.0.11-r0) [2022-07-26T23:53:55.737Z] (19/73) Installing libffi (3.4.2-r1) [2022-07-26T23:53:55.737Z] (20/73) Installing libintl (0.21-r0) [2022-07-26T23:53:55.737Z] (21/73) Installing libblkid (2.37.4-r0) [2022-07-26T23:53:55.737Z] (22/73) Installing libmount (2.37.4-r0) [2022-07-26T23:53:55.737Z] (23/73) Installing pcre (8.45-r1) [2022-07-26T23:53:55.737Z] (24/73) Installing glib (2.70.1-r0) [2022-07-26T23:53:56.010Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-07-26T23:53:56.010Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-07-26T23:53:56.010Z] (27/73) Installing libass (0.15.2-r0) [2022-07-26T23:53:56.010Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-07-26T23:53:56.010Z] (29/73) Installing gmp (6.2.1-r1) [2022-07-26T23:53:56.010Z] (30/73) Installing nettle (3.7.3-r0) [2022-07-26T23:53:56.010Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-07-26T23:53:56.010Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-07-26T23:53:56.010Z] (33/73) Installing libunistring (0.9.10-r1) [2022-07-26T23:53:56.010Z] (34/73) Installing gnutls (3.7.1-r0) [2022-07-26T23:53:56.010Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-26T23:53:56.011Z] (36/73) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-26T23:53:56.284Z] (37/73) Installing lame (3.100-r0) [2022-07-26T23:53:56.284Z] (38/73) Installing opus (1.3.1-r1) [2022-07-26T23:53:56.284Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-07-26T23:53:56.284Z] (40/73) Installing soxr (0.1.3-r2) [2022-07-26T23:53:56.284Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-07-26T23:53:56.284Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-26T23:53:56.284Z] (43/73) Installing libsrt (1.4.2-r1) [2022-07-26T23:53:56.284Z] (44/73) Installing libssh (0.9.6-r1) [2022-07-26T23:53:56.284Z] (45/73) Installing libogg (1.3.5-r0) [2022-07-26T23:53:56.284Z] (46/73) Installing libtheora (1.1.1-r16) [2022-07-26T23:53:56.284Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-07-26T23:53:56.284Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-07-26T23:53:56.284Z] (49/73) Installing libxext (1.3.4-r0) [2022-07-26T23:53:56.284Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-07-26T23:53:56.284Z] (51/73) Installing libdrm (2.4.109-r0) [2022-07-26T23:53:56.284Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-07-26T23:53:56.284Z] (53/73) Installing libva (2.13.0-r0) [2022-07-26T23:53:56.284Z] (54/73) Installing libvdpau (1.4-r0) [2022-07-26T23:53:56.284Z] (55/73) Installing vidstab (1.1.0-r1) [2022-07-26T23:53:56.284Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-07-26T23:53:56.557Z] (57/73) Installing libvpx (1.10.0-r0) [2022-07-26T23:53:56.557Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-07-26T23:53:56.557Z] (59/73) Installing libwebp (1.2.2-r0) [2022-07-26T23:53:56.557Z] (60/73) Installing x264-libs (20210613-r0) [2022-07-26T23:53:56.557Z] (61/73) Installing x265-libs (3.5-r0) [2022-07-26T23:53:56.557Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-07-26T23:53:56.557Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-07-26T23:53:57.156Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-07-26T23:53:57.156Z] (65/73) Installing udev-init-scripts (35-r0) [2022-07-26T23:53:57.156Z] Executing udev-init-scripts-35-r0.post-install [2022-07-26T23:53:57.156Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-26T23:53:57.156Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-07-26T23:53:57.156Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-07-26T23:53:57.156Z] (69/73) Installing kmod-libs (29-r2) [2022-07-26T23:53:57.156Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-07-26T23:53:57.156Z] (71/73) Installing libsodium (1.0.18-r0) [2022-07-26T23:53:57.156Z] (72/73) Installing libzmq (4.3.4-r0) [2022-07-26T23:53:57.156Z] (73/73) Installing zeromq (4.3.4-r0) [2022-07-26T23:53:57.156Z] Executing busybox-1.34.1-r7.trigger [2022-07-26T23:53:57.156Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-26T23:53:57.156Z] OK: 67 MiB in 87 packages [2022-07-26T23:54:00.543Z] Removing intermediate container 5f306e31544c [2022-07-26T23:54:00.543Z] ---> 8a61249f571a [2022-07-26T23:54:00.543Z] Step 18/35 : WORKDIR / [2022-07-26T23:54:00.543Z] ---> Running in 0c3bf0a2061d [2022-07-26T23:54:00.543Z] Removing intermediate container 0c3bf0a2061d [2022-07-26T23:54:00.543Z] ---> ebd8c729de0a [2022-07-26T23:54:00.543Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-07-26T23:54:01.978Z] ---> c4da0bbe09f3 [2022-07-26T23:54:01.978Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-26T23:54:02.258Z] ---> 055627737585 [2022-07-26T23:54:02.258Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-07-26T23:54:02.866Z] ---> 68b62c79c7c7 [2022-07-26T23:54:02.866Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-26T23:54:03.464Z] ---> 3a675c4ff8c8 [2022-07-26T23:54:03.464Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-26T23:54:04.058Z] ---> 8c1a96c1fa77 [2022-07-26T23:54:04.058Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-26T23:54:04.661Z] ---> b2a146ef1e09 [2022-07-26T23:54:04.661Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-07-26T23:54:05.642Z] ---> e7ab22c4644e [2022-07-26T23:54:05.642Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-07-26T23:54:05.928Z] ---> Running in 0a153c5e4c83 [2022-07-26T23:54:07.383Z] Removing intermediate container 0a153c5e4c83 [2022-07-26T23:54:07.383Z] ---> da9afeda7928 [2022-07-26T23:54:07.383Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-07-26T23:54:07.383Z] ---> Running in 1fde22685f8a [2022-07-26T23:54:09.363Z] Removing intermediate container 1fde22685f8a [2022-07-26T23:54:09.363Z] ---> 03caa37463fa [2022-07-26T23:54:09.363Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-07-26T23:54:09.363Z] ---> Running in 3ebde8e4f983 [2022-07-26T23:54:10.799Z] Removing intermediate container 3ebde8e4f983 [2022-07-26T23:54:10.799Z] ---> d414297429d4 [2022-07-26T23:54:10.799Z] Step 29/35 : EXPOSE 59983 [2022-07-26T23:54:10.799Z] ---> Running in c8170f5210ba [2022-07-26T23:54:11.073Z] Removing intermediate container c8170f5210ba [2022-07-26T23:54:11.073Z] ---> f4438c45df88 [2022-07-26T23:54:11.073Z] Step 30/35 : EXPOSE 8554 [2022-07-26T23:54:11.073Z] ---> Running in 59cded10b4f0 [2022-07-26T23:54:11.351Z] Removing intermediate container 59cded10b4f0 [2022-07-26T23:54:11.351Z] ---> c17fa4fade6e [2022-07-26T23:54:11.351Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-26T23:54:11.624Z] ---> Running in d0bbb8b55c71 [2022-07-26T23:54:11.900Z] Removing intermediate container d0bbb8b55c71 [2022-07-26T23:54:11.900Z] ---> 7ebbbb15e811 [2022-07-26T23:54:11.900Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-26T23:54:11.900Z] ---> Running in ea146f595f79 [2022-07-26T23:54:12.172Z] Removing intermediate container ea146f595f79 [2022-07-26T23:54:12.172Z] ---> 18d780fd4850 [2022-07-26T23:54:12.172Z] Step 33/35 : LABEL arch=arm64 [2022-07-26T23:54:12.172Z] ---> Running in 651b4721d23c [2022-07-26T23:54:12.448Z] Removing intermediate container 651b4721d23c [2022-07-26T23:54:12.448Z] ---> 726170317658 [2022-07-26T23:54:12.448Z] Step 34/35 : LABEL git_sha=940c6a2373dd85d734104e25f527154048d60c34 [2022-07-26T23:54:12.733Z] ---> Running in ff80bbcd4aa4 [2022-07-26T23:54:13.005Z] Removing intermediate container ff80bbcd4aa4 [2022-07-26T23:54:13.005Z] ---> f95ff6cfdc3c [2022-07-26T23:54:13.006Z] Step 35/35 : LABEL version=0.0.0 [2022-07-26T23:54:13.006Z] ---> Running in afe046eab27d [2022-07-26T23:54:13.278Z] Removing intermediate container afe046eab27d [2022-07-26T23:54:13.278Z] ---> 0b329d0b132b [2022-07-26T23:54:13.278Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-26T23:54:13.278Z] Successfully built 0b329d0b132b [2022-07-26T23:54:13.278Z] 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-26T23:54:14.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-26T23:54:14.081Z] [2022-07-26T23:54:14.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:54:14.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-26T23:54:14.762Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-26T23:54:14.762Z] 8998bd30e6a1: Pulling fs layer [2022-07-26T23:54:14.762Z] 04944245beec: Pulling fs layer [2022-07-26T23:54:14.762Z] 699f458cf7ca: Pulling fs layer [2022-07-26T23:54:14.762Z] 765212b225bb: Pulling fs layer [2022-07-26T23:54:14.762Z] f23df028b6ca: Pulling fs layer [2022-07-26T23:54:14.762Z] d65c8cfc05b1: Pulling fs layer [2022-07-26T23:54:14.762Z] 2437ff75d9bd: Pulling fs layer [2022-07-26T23:54:14.762Z] 765212b225bb: Waiting [2022-07-26T23:54:14.762Z] f23df028b6ca: Waiting [2022-07-26T23:54:14.762Z] d65c8cfc05b1: Waiting [2022-07-26T23:54:14.762Z] 2437ff75d9bd: Waiting [2022-07-26T23:54:14.762Z] 04944245beec: Verifying Checksum [2022-07-26T23:54:14.762Z] 04944245beec: Download complete [2022-07-26T23:54:14.762Z] 765212b225bb: Verifying Checksum [2022-07-26T23:54:14.762Z] 765212b225bb: Download complete [2022-07-26T23:54:14.762Z] f23df028b6ca: Download complete [2022-07-26T23:54:14.762Z] d65c8cfc05b1: Verifying Checksum [2022-07-26T23:54:14.762Z] d65c8cfc05b1: Download complete [2022-07-26T23:54:15.037Z] 699f458cf7ca: Download complete [2022-07-26T23:54:15.311Z] 8998bd30e6a1: Verifying Checksum [2022-07-26T23:54:15.311Z] 8998bd30e6a1: Download complete [2022-07-26T23:54:17.957Z] 2437ff75d9bd: Verifying Checksum [2022-07-26T23:54:17.957Z] 2437ff75d9bd: Download complete [2022-07-26T23:54:19.401Z] 8998bd30e6a1: Pull complete [2022-07-26T23:54:19.999Z] 04944245beec: Pull complete [2022-07-26T23:54:21.433Z] 699f458cf7ca: Pull complete [2022-07-26T23:54:21.707Z] 765212b225bb: Pull complete [2022-07-26T23:54:22.692Z] f23df028b6ca: Pull complete [2022-07-26T23:54:22.692Z] d65c8cfc05b1: Pull complete [2022-07-26T23:54:41.104Z] 2437ff75d9bd: Pull complete [2022-07-26T23:54:41.104Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-26T23:54:41.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-26T23:54:41.104Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-26T23:54:41.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-21171 does not seem to be running inside a container [2022-07-26T23:54:41.567Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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-26T23:54:44.054Z] $ docker top 93d6cc6ab320803b30b9f58b1c17a5fff08bb6cfce9a65bad1900f6d78314430 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:54:45.047Z] ---> job-cost.sh [2022-07-26T23:54:45.047Z] lf-activate-venv: SKIPPING [2022-07-26T23:54:45.047Z] INFO: No Stack... [2022-07-26T23:54:45.322Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-26T23:54:46.297Z] INFO: Archiving Costs [Pipeline] sh [2022-07-26T23:54:46.972Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2022-07-26T23:54:46.972Z] + cut -d, -f6 [Pipeline] lock [2022-07-26T23:54:47.050Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-67-2-stack-cost] [2022-07-26T23:54:47.055Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-67-2-stack-cost] did not exist. Created. [2022-07-26T23:54:47.055Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-67-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-26T23:54:47.797Z] /w/workspace/device-usb-camera/2@tmp/durable-6583f0d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-26T23:54:48.490Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-26T23:54:48.529Z] Warning: overwriting stash ‘stack-cost’ [2022-07-26T23:54:48.575Z] Stashed 1 file(s) [Pipeline] } [2022-07-26T23:54:48.589Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-67-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-26T23:54:48.676Z] $ docker stop --time=1 93d6cc6ab320803b30b9f58b1c17a5fff08bb6cfce9a65bad1900f6d78314430 [2022-07-26T23:54:50.167Z] $ docker rm -f 93d6cc6ab320803b30b9f58b1c17a5fff08bb6cfce9a65bad1900f6d78314430 [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-26T23:54:51.197Z] provisioning config files... [2022-07-26T23:54:51.205Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-67@tmp/config6752101314197982606tmp [Pipeline] { [Pipeline] sh [2022-07-26T23:54:51.537Z] + set +x [2022-07-26T23:54:51.537Z] + curl -s https://codecov.io/bash [2022-07-26T23:54:51.537Z] + bash -s -- [2022-07-26T23:54:51.537Z] [2022-07-26T23:54:51.537Z] _____ _ [2022-07-26T23:54:51.537Z] / ____| | | [2022-07-26T23:54:51.537Z] | | ___ __| | ___ ___ _____ __ [2022-07-26T23:54:51.537Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-26T23:54:51.537Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-26T23:54:51.537Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-26T23:54:51.537Z] Bash-1.0.6 [2022-07-26T23:54:51.537Z] [2022-07-26T23:54:51.537Z] [2022-07-26T23:54:51.537Z] ==> git version 2.25.1 found [2022-07-26T23:54:51.537Z] ==> 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-26T23:54:51.537Z] Release-Date: 2020-01-08 [2022-07-26T23:54:51.537Z] 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-26T23:54:51.537Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-26T23:54:51.537Z] ==> Jenkins CI detected. [2022-07-26T23:54:51.537Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-67 [2022-07-26T23:54:51.537Z] project root: . [2022-07-26T23:54:51.537Z] --> token set from env [2022-07-26T23:54:51.537Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-26T23:54:51.537Z] ==> Running gcov in . (disable via -X gcov) [2022-07-26T23:54:51.537Z] ==> Python coveragepy not found [2022-07-26T23:54:51.537Z] ==> Searching for coverage reports in: [2022-07-26T23:54:51.537Z] + . [2022-07-26T23:54:51.537Z] -> Found 1 reports [2022-07-26T23:54:51.537Z] ==> Detecting git/mercurial file structure [2022-07-26T23:54:51.537Z] ==> Reading reports [2022-07-26T23:54:51.537Z] + ./coverage.out bytes=26812 [2022-07-26T23:54:51.798Z] ==> Appending adjustments [2022-07-26T23:54:51.798Z] https://docs.codecov.io/docs/fixing-reports [2022-07-26T23:54:51.798Z] + Found adjustments [2022-07-26T23:54:51.798Z] ==> Gzipping contents [2022-07-26T23:54:51.798Z] 4.0K /tmp/codecov.ABviHj.gz [2022-07-26T23:54:51.798Z] ==> Uploading reports [2022-07-26T23:54:51.798Z] url: https://codecov.io [2022-07-26T23:54:51.798Z] query: branch=PR-67&commit=940c6a2373dd85d734104e25f527154048d60c34&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-67%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=67&job=&cmd_args= [2022-07-26T23:54:51.798Z] -> Pinging Codecov [2022-07-26T23:54:51.798Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-67&commit=940c6a2373dd85d734104e25f527154048d60c34&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-67%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=67&job=&cmd_args= [2022-07-26T23:54:52.059Z] -> Uploading to [2022-07-26T23:54:52.059Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-26/73D8F5FF140700D3E01443B452E23636/940c6a2373dd85d734104e25f527154048d60c34/44a88cf5-27d4-46f6-829d-d9fe86c3bce8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220726%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220726T235451Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c65dfe391286f171b63741c80853485bf161ec15172f07162f508d739ad3687 [2022-07-26T23:54:52.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-26T23:54:52.059Z] Dload Upload Total Spent Left Speed [2022-07-26T23:54:52.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3752 0 0 100 3752 0 14052 --:--:-- --:--:-- --:--:-- 14052 [2022-07-26T23:54:52.320Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/940c6a2373dd85d734104e25f527154048d60c34 [Pipeline] } [2022-07-26T23:54:52.347Z] 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-26T23:54:54.045Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-67/archives ] [2022-07-26T23:54:54.045Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-67/archives [2022-07-26T23:54:54.045Z] total 16 [2022-07-26T23:54:54.045Z] drwxr-xr-x 3 root root 4096 Jul 26 23:45 . [2022-07-26T23:54:54.045Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 23:45 .. [2022-07-26T23:54:54.045Z] drwxr-xr-x 2 root root 4096 Jul 26 23:45 cost [2022-07-26T23:54:54.045Z] -rw-r--r-- 1 root root 88 Jul 26 23:45 cost.csv [2022-07-26T23:54:54.045Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-67/archives [2022-07-26T23:54:54.045Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-67/archives [2022-07-26T23:54:54.045Z] total 16 [2022-07-26T23:54:54.045Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 23:45 . [2022-07-26T23:54:54.045Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 23:45 .. [2022-07-26T23:54:54.045Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 23:45 cost [2022-07-26T23:54:54.045Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 26 23:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:54:54.376Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:54:55.272Z] ---> package-listing.sh [2022-07-26T23:54:55.272Z] ++ facter osfamily [2022-07-26T23:54:55.272Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-26T23:54:55.532Z] + OS_FAMILY=debian [2022-07-26T23:54:55.532Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-67 [2022-07-26T23:54:55.532Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-26T23:54:55.532Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-26T23:54:55.532Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-26T23:54:55.532Z] + PACKAGES=/tmp/packages_start.txt [2022-07-26T23:54:55.532Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-67 ']' [2022-07-26T23:54:55.532Z] + PACKAGES=/tmp/packages_end.txt [2022-07-26T23:54:55.532Z] + case "${OS_FAMILY}" in [2022-07-26T23:54:55.532Z] + dpkg -l [2022-07-26T23:54:55.532Z] + grep '^ii' [2022-07-26T23:54:55.532Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-26T23:54:55.532Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-26T23:54:55.532Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-26T23:54:55.532Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-67 ']' [2022-07-26T23:54:55.532Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-67/archives/ [2022-07-26T23:54:55.532Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-67/archives/ [Pipeline] echo [2022-07-26T23:54:55.565Z] 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-67/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-26T23:54:55.860Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-26T23:54:56.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-26T23:54:56.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-26T23:54:56.645Z] prd-ubuntu20.04-docker-8c-8g-21170 does not seem to be running inside a container [2022-07-26T23:54:56.685Z] $ 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-67/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-67 -v /w/workspace/xfoundry_device-usb-camera_PR-67:/w/workspace/xfoundry_device-usb-camera_PR-67:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-67@tmp:/w/workspace/xfoundry_device-usb-camera_PR-67@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-26T23:54:56.873Z] $ docker top 61bc5cc4aa51f057b60464870c1d6b0bbfb482563541e005d1b8e178b8f6abfd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-26T23:54:57.275Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-26T23:54:57.589Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-26T23:54:57.908Z] + ls /var/log/sa-host [2022-07-26T23:54:57.908Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-26T23:54:58.043Z] provisioning config files... [2022-07-26T23:54:58.052Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-67@tmp/config3785587418860629035tmp [Pipeline] { [Pipeline] echo [2022-07-26T23:54:58.096Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:54:58.409Z] ---> create-netrc.sh [Pipeline] } [2022-07-26T23:54:58.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:54:58.823Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-26T23:54:58.851Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:54:59.162Z] ---> sudo-logs.sh [2022-07-26T23:54:59.162Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-26T23:54:59.244Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:54:59.557Z] ---> job-cost.sh [2022-07-26T23:54:59.557Z] lf-activate-venv: SKIPPING [2022-07-26T23:54:59.557Z] DEBUG: total: 0.2199999988079071 [2022-07-26T23:54:59.557Z] INFO: Retrieving Stack Cost... [2022-07-26T23:55:00.127Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-26T23:55:00.389Z] INFO: Archiving Costs [Pipeline] echo [2022-07-26T23:55:00.424Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-26T23:55:00.732Z] ---> logs-deploy.sh [2022-07-26T23:55:00.732Z] lf-activate-venv: SKIPPING [2022-07-26T23:55:00.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-67/2 [2022-07-26T23:55:00.732Z] INFO: archiving workspace using pattern(s): [2022-07-26T23:55:01.670Z] Archives upload complete. [2022-07-26T23:55:01.670Z] INFO: archiving logs to Nexus