Pull request #92 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 00fef7e065bed1f02203b218570c3778d916ab48 rather than cf39da3ede27c95e615b4a28847fa632ea3e8a27 Obtained Jenkinsfile from 00fef7e065bed1f02203b218570c3778d916ab48 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-ssh17452185462754831764.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11793535193784241117.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-92/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-92/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6320295382144274720.key Verifying host key using known hosts file > 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-92/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3748475238394156553.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8110948649322496553.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-92/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-92/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14224519339163215468.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 Running on prd-ubuntu20.04-docker-8c-8g-1840 in /w/workspace/xfoundry_device-usb-camera_PR-92 [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-92 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 00fef7e065bed1f02203b218570c3778d916ab48 into PR head commit cf39da3ede27c95e615b4a28847fa632ea3e8a27 Merge succeeded, producing 1eebc703339ec0136ddefc4bb8d45e003ff4e65a Checking out Revision 1eebc703339ec0136ddefc4bb8d45e003ff4e65a (PR-92) > git config core.sparsecheckout # timeout=10 > git checkout -f cf39da3ede27c95e615b4a28847fa632ea3e8a27 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 00fef7e065bed1f02203b218570c3778d916ab48 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1eebc703339ec0136ddefc4bb8d45e003ff4e65a # timeout=10 Commit message: "Merge commit '00fef7e065bed1f02203b218570c3778d916ab48' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-28T17:24:34.353Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-28T17:24:34.524Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-28T17:24:34.623Z] ========================================================= [2022-09-28T17:24:34.623Z] EdgeX Global Pipelines Version Info [2022-09-28T17:24:34.623Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:24:35.373Z] ------------------- [2022-09-28T17:24:35.373Z] stable info: [2022-09-28T17:24:35.373Z] ------------------- [2022-09-28T17:24:35.373Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-28T17:24:35.373Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T17:24:35.373Z] Message: update stable to v1.0.239 [2022-09-28T17:24:35.942Z] ------------------- [2022-09-28T17:24:35.942Z] experimental info: [2022-09-28T17:24:35.942Z] ------------------- [2022-09-28T17:24:35.942Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-28T17:24:35.942Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T17:24:35.943Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-28T17:24:36.219Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-09-28T17:24:36.258Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-09-28T17:24:36.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-28T17:24:36.337Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-28T17:24:36.378Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-28T17:24:36.417Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-28T17:24:36.454Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-28T17:24:36.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-28T17:24:36.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-28T17:24:36.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-28T17:24:36.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-28T17:24:36.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-09-28T17:24:36.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-28T17:24:36.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-28T17:24:36.778Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T17:24:36.817Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T17:24:36.858Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T17:24:36.898Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T17:24:36.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-28T17:24:36.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-28T17:24:37.016Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-28T17:24:37.054Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-28T17:24:37.096Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-28T17:24:37.136Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-28T17:24:37.175Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-28T17:24:37.217Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-28T17:24:37.260Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-28T17:24:37.303Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-92 [Pipeline] echo [2022-09-28T17:24:37.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-92 [Pipeline] echo [2022-09-28T17:24:37.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-92 [Pipeline] echo [2022-09-28T17:24:37.430Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1eebc703339ec0136ddefc4bb8d45e003ff4e65a [Pipeline] echo [2022-09-28T17:24:37.473Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1eebc70 [Pipeline] echo [2022-09-28T17:24:37.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T17:24:37.629Z] provisioning config files... [2022-09-28T17:24:37.643Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-92@tmp/config2938762185052933040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:24:37.988Z] ---> docker-login.sh [2022-09-28T17:24:37.988Z] nexus3.edgexfoundry.org:10001 [2022-09-28T17:24:38.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:38.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:38.514Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:38.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:38.514Z] [2022-09-28T17:24:38.514Z] Login Succeeded [2022-09-28T17:24:38.514Z] nexus3.edgexfoundry.org:10002 [2022-09-28T17:24:38.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:38.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:38.514Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:38.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:38.514Z] [2022-09-28T17:24:38.514Z] Login Succeeded [2022-09-28T17:24:38.514Z] nexus3.edgexfoundry.org:10003 [2022-09-28T17:24:38.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:38.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:38.775Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:38.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:38.775Z] [2022-09-28T17:24:38.775Z] Login Succeeded [2022-09-28T17:24:38.775Z] nexus3.edgexfoundry.org:10004 [2022-09-28T17:24:38.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:38.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:38.775Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:38.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:38.775Z] [2022-09-28T17:24:38.775Z] Login Succeeded [2022-09-28T17:24:38.775Z] docker.io [2022-09-28T17:24:38.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:39.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:39.036Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:39.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:39.036Z] [2022-09-28T17:24:39.036Z] Login Succeeded [2022-09-28T17:24:39.297Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T17:24:39.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-28T17:24:39.969Z] + git rev-list -1 --merges 1eebc703339ec0136ddefc4bb8d45e003ff4e65a~1..1eebc703339ec0136ddefc4bb8d45e003ff4e65a [Pipeline] echo [2022-09-28T17:24:40.010Z] -----------> git rev-list -1 --merges 1eebc703339ec0136ddefc4bb8d45e003ff4e65a~1..1eebc703339ec0136ddefc4bb8d45e003ff4e65a 1eebc703339ec0136ddefc4bb8d45e003ff4e65a [2022-09-28T17:24:40.010Z] 1eebc703339ec0136ddefc4bb8d45e003ff4e65a [false] [Pipeline] sh [2022-09-28T17:24:40.321Z] + git log --format=format:%s -1 1eebc703339ec0136ddefc4bb8d45e003ff4e65a [Pipeline] echo [2022-09-28T17:24:40.356Z] ========================================================= [2022-09-28T17:24:40.356Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-28T17:24:40.356Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T17:24:40.786Z] + git log --format=format:%s -1 1eebc703339ec0136ddefc4bb8d45e003ff4e65a [Pipeline] echo [2022-09-28T17:24:40.818Z] [semverPrep] GIT_COMMIT: 1eebc703339ec0136ddefc4bb8d45e003ff4e65a, Commit Message: Merge commit '00fef7e065bed1f02203b218570c3778d916ab48' into HEAD [Pipeline] echo [2022-09-28T17:24:40.846Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-28T17:24:41.236Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-28T17:24:41.236Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-28T17:24:41.236Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-28T17:24:41.236Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-28T17:24:41.236Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-09-28T17:24:41.236Z] -a /etc/ssh/ssh_known_hosts [2022-09-28T17:24:41.236Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:24:41.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T17:24:41.768Z] [2022-09-28T17:24:41.768Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:24:42.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T17:24:42.146Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-28T17:24:42.146Z] b85a868b505f: Pulling fs layer [2022-09-28T17:24:42.146Z] e2be974225ed: Pulling fs layer [2022-09-28T17:24:42.146Z] 339a4e72a1f5: Pulling fs layer [2022-09-28T17:24:42.146Z] 988bab9f4d93: Pulling fs layer [2022-09-28T17:24:42.146Z] 1469e6f7b9e6: Pulling fs layer [2022-09-28T17:24:42.146Z] eaf3925da568: Pulling fs layer [2022-09-28T17:24:42.146Z] bab4dde63d76: Pulling fs layer [2022-09-28T17:24:42.146Z] bde34c3a00c8: Pulling fs layer [2022-09-28T17:24:42.146Z] b352a97aabf1: Pulling fs layer [2022-09-28T17:24:42.146Z] 4872d77fe225: Pulling fs layer [2022-09-28T17:24:42.146Z] 5851b861e8e6: Pulling fs layer [2022-09-28T17:24:42.146Z] bab4dde63d76: Waiting [2022-09-28T17:24:42.146Z] b352a97aabf1: Waiting [2022-09-28T17:24:42.146Z] 4872d77fe225: Waiting [2022-09-28T17:24:42.146Z] bde34c3a00c8: Waiting [2022-09-28T17:24:42.146Z] eaf3925da568: Waiting [2022-09-28T17:24:42.146Z] 1469e6f7b9e6: Waiting [2022-09-28T17:24:42.146Z] e2be974225ed: Verifying Checksum [2022-09-28T17:24:42.146Z] e2be974225ed: Download complete [2022-09-28T17:24:42.146Z] 988bab9f4d93: Verifying Checksum [2022-09-28T17:24:42.146Z] 988bab9f4d93: Download complete [2022-09-28T17:24:42.408Z] 339a4e72a1f5: Verifying Checksum [2022-09-28T17:24:42.408Z] 339a4e72a1f5: Download complete [2022-09-28T17:24:42.408Z] 1469e6f7b9e6: Verifying Checksum [2022-09-28T17:24:42.408Z] 1469e6f7b9e6: Download complete [2022-09-28T17:24:42.408Z] eaf3925da568: Verifying Checksum [2022-09-28T17:24:42.408Z] eaf3925da568: Download complete [2022-09-28T17:24:42.408Z] bde34c3a00c8: Download complete [2022-09-28T17:24:42.408Z] b352a97aabf1: Download complete [2022-09-28T17:24:42.408Z] 4872d77fe225: Verifying Checksum [2022-09-28T17:24:42.408Z] 4872d77fe225: Download complete [2022-09-28T17:24:42.408Z] 5851b861e8e6: Verifying Checksum [2022-09-28T17:24:42.408Z] 5851b861e8e6: Download complete [2022-09-28T17:24:42.408Z] b85a868b505f: Verifying Checksum [2022-09-28T17:24:42.408Z] b85a868b505f: Download complete [2022-09-28T17:24:42.684Z] bab4dde63d76: Verifying Checksum [2022-09-28T17:24:42.684Z] bab4dde63d76: Download complete [2022-09-28T17:24:43.631Z] b85a868b505f: Pull complete [2022-09-28T17:24:43.889Z] e2be974225ed: Pull complete [2022-09-28T17:24:44.149Z] 339a4e72a1f5: Pull complete [2022-09-28T17:24:44.408Z] 988bab9f4d93: Pull complete [2022-09-28T17:24:44.667Z] 1469e6f7b9e6: Pull complete [2022-09-28T17:24:44.667Z] eaf3925da568: Pull complete [2022-09-28T17:24:46.574Z] bab4dde63d76: Pull complete [2022-09-28T17:24:46.574Z] bde34c3a00c8: Pull complete [2022-09-28T17:24:46.574Z] b352a97aabf1: Pull complete [2022-09-28T17:24:46.574Z] 4872d77fe225: Pull complete [2022-09-28T17:24:46.836Z] 5851b861e8e6: Pull complete [2022-09-28T17:24:46.836Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-28T17:24:46.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T17:24:46.836Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:24:47.040Z] prd-ubuntu20.04-docker-8c-8g-1840 does not seem to be running inside a container [2022-09-28T17:24:47.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-92 -v /w/workspace/xfoundry_device-usb-camera_PR-92:/w/workspace/xfoundry_device-usb-camera_PR-92:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-92@tmp:/w/workspace/xfoundry_device-usb-camera_PR-92@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-28T17:24:48.946Z] $ docker top de9e1c7032a8b5fd82916f079b7cb472be5c818623da2aa3aff4a9a73b620bef -eo pid,comm [2022-09-28T17:24:49.011Z] 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-09-28T17:24:49.011Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-28T17:24:49.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T17:24:49.138Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T17:24:49.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T17:24:49.249Z] $ docker exec de9e1c7032a8b5fd82916f079b7cb472be5c818623da2aa3aff4a9a73b620bef ssh-agent [2022-09-28T17:24:49.358Z] SSH_AUTH_SOCK=/tmp/ssh-FGUGJhwarUhg/agent.32 [2022-09-28T17:24:49.358Z] SSH_AGENT_PID=38 [2022-09-28T17:24:49.364Z] Running ssh-add (command line suppressed) [2022-09-28T17:24:49.457Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-92@tmp/private_key_2235660817795735908.key (/w/workspace/xfoundry_device-usb-camera_PR-92@tmp/private_key_2235660817795735908.key) [2022-09-28T17:24:49.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T17:24:49.807Z] + git tag --points-at HEAD [Pipeline] } [2022-09-28T17:24:49.832Z] $ docker exec --env ******** --env ******** de9e1c7032a8b5fd82916f079b7cb472be5c818623da2aa3aff4a9a73b620bef ssh-agent -k [2022-09-28T17:24:49.954Z] unset SSH_AUTH_SOCK; [2022-09-28T17:24:49.954Z] unset SSH_AGENT_PID; [2022-09-28T17:24:49.955Z] echo Agent pid 38 killed; [2022-09-28T17:24:49.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-28T17:24:50.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T17:24:50.055Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T17:24:50.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T17:24:50.178Z] $ docker exec de9e1c7032a8b5fd82916f079b7cb472be5c818623da2aa3aff4a9a73b620bef ssh-agent [2022-09-28T17:24:50.296Z] SSH_AUTH_SOCK=/tmp/ssh-PAFi9TtNihgo/agent.70 [2022-09-28T17:24:50.296Z] SSH_AGENT_PID=76 [2022-09-28T17:24:50.323Z] Running ssh-add (command line suppressed) [2022-09-28T17:24:50.428Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-92@tmp/private_key_12278108023754491894.key (/w/workspace/xfoundry_device-usb-camera_PR-92@tmp/private_key_12278108023754491894.key) [2022-09-28T17:24:50.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T17:24:50.770Z] + git semver init [2022-09-28T17:24:51.031Z] 2022-09-28 17:24:50,971 [run_init] DEBUG init version:0.0.0 force:False [2022-09-28T17:24:51.031Z] 2022-09-28 17:24:50,972 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-92/.semver [2022-09-28T17:24:51.031Z] 2022-09-28 17:24:50,973 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-92/.semver [2022-09-28T17:24:51.031Z] 2022-09-28 17:24:50,973 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-92/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-92, universal_newlines=False, shell=None, istream=None) [2022-09-28T17:24:51.974Z] 2022-09-28 17:24:51,737 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-92/.git/info/exclude [2022-09-28T17:24:51.974Z] 2022-09-28 17:24:51,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-92/.semver/PR-92 with force:False [2022-09-28T17:24:51.974Z] 2022-09-28 17:24:51,737 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-92/.semver/PR-92 [2022-09-28T17:24:51.974Z] 2022-09-28 17:24:51,741 [execute] INFO git cat-file --batch-check [2022-09-28T17:24:51.974Z] 2022-09-28 17:24:51,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-92/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T17:24:51.974Z] 2022-09-28 17:24:51,748 [execute] INFO git cat-file --batch [2022-09-28T17:24:51.974Z] 2022-09-28 17:24:51,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-92/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T17:24:51.974Z] 2022-09-28 17:24:51,752 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-92/.semver/PR-92 [2022-09-28T17:24:51.974Z] 0.0.0 [Pipeline] } [2022-09-28T17:24:52.001Z] $ docker exec --env ******** --env ******** de9e1c7032a8b5fd82916f079b7cb472be5c818623da2aa3aff4a9a73b620bef ssh-agent -k [2022-09-28T17:24:52.097Z] unset SSH_AUTH_SOCK; [2022-09-28T17:24:52.097Z] unset SSH_AGENT_PID; [2022-09-28T17:24:52.097Z] echo Agent pid 76 killed; [2022-09-28T17:24:52.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-28T17:24:52.544Z] + git semver [Pipeline] } [2022-09-28T17:24:52.827Z] $ docker stop --time=1 de9e1c7032a8b5fd82916f079b7cb472be5c818623da2aa3aff4a9a73b620bef [2022-09-28T17:24:54.122Z] $ docker rm -f de9e1c7032a8b5fd82916f079b7cb472be5c818623da2aa3aff4a9a73b620bef [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T17:24:54.536Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-28T17:24:54.765Z] Stashed 1 file(s) [Pipeline] echo [2022-09-28T17:24:54.781Z] [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-09-28T17:24:55.326Z] provisioning config files... [2022-09-28T17:24:55.336Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-92@tmp/config4251102188605315566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:24:55.679Z] ---> docker-login.sh [2022-09-28T17:24:55.680Z] nexus3.edgexfoundry.org:10001 [2022-09-28T17:24:55.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:55.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:55.680Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:55.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:55.680Z] [2022-09-28T17:24:55.680Z] Login Succeeded [2022-09-28T17:24:55.680Z] nexus3.edgexfoundry.org:10002 [2022-09-28T17:24:55.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:55.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:55.680Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:55.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:55.680Z] [2022-09-28T17:24:55.680Z] Login Succeeded [2022-09-28T17:24:55.680Z] nexus3.edgexfoundry.org:10003 [2022-09-28T17:24:55.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:55.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:55.940Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:55.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:55.940Z] [2022-09-28T17:24:55.940Z] Login Succeeded [2022-09-28T17:24:55.940Z] nexus3.edgexfoundry.org:10004 [2022-09-28T17:24:55.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:55.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:55.940Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:55.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:55.940Z] [2022-09-28T17:24:55.940Z] Login Succeeded [2022-09-28T17:24:55.940Z] docker.io [2022-09-28T17:24:55.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:24:56.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:24:56.509Z] Configure a credential helper to remove this warning. See [2022-09-28T17:24:56.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:24:56.509Z] [2022-09-28T17:24:56.509Z] Login Succeeded [2022-09-28T17:24:56.509Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T17:24:56.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T17:24:56.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T17:24:56.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T17:24:56.807Z] ========================================================= [2022-09-28T17:24:56.807Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-28T17:24:56.807Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:24:57.274Z] + 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-09-28T17:24:57.274Z] Sending build context to Docker daemon 1.294MB [2022-09-28T17:24:57.274Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T17:24:57.274Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-28T17:24:57.274Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-28T17:24:57.274Z] 2408cc74d12b: Pulling fs layer [2022-09-28T17:24:57.274Z] ea60b727a1ce: Pulling fs layer [2022-09-28T17:24:57.274Z] 30c4a7721957: Pulling fs layer [2022-09-28T17:24:57.274Z] 370296b7ddb6: Pulling fs layer [2022-09-28T17:24:57.274Z] 7c6cee850709: Pulling fs layer [2022-09-28T17:24:57.274Z] 39a5fcdaea64: Pulling fs layer [2022-09-28T17:24:57.274Z] d94ebbe4e438: Pulling fs layer [2022-09-28T17:24:57.274Z] bcfd1f05c69d: Pulling fs layer [2022-09-28T17:24:57.274Z] 370296b7ddb6: Waiting [2022-09-28T17:24:57.274Z] 59ccb84bbe0f: Pulling fs layer [2022-09-28T17:24:57.274Z] 7c6cee850709: Waiting [2022-09-28T17:24:57.274Z] d94ebbe4e438: Waiting [2022-09-28T17:24:57.274Z] bcfd1f05c69d: Waiting [2022-09-28T17:24:57.274Z] 39a5fcdaea64: Waiting [2022-09-28T17:24:57.274Z] 59ccb84bbe0f: Waiting [2022-09-28T17:24:57.274Z] 30c4a7721957: Download complete [2022-09-28T17:24:57.274Z] ea60b727a1ce: Download complete [2022-09-28T17:24:57.274Z] 7c6cee850709: Verifying Checksum [2022-09-28T17:24:57.274Z] 7c6cee850709: Download complete [2022-09-28T17:24:57.274Z] 39a5fcdaea64: Verifying Checksum [2022-09-28T17:24:57.274Z] 39a5fcdaea64: Download complete [2022-09-28T17:24:57.274Z] 2408cc74d12b: Verifying Checksum [2022-09-28T17:24:57.274Z] 2408cc74d12b: Download complete [2022-09-28T17:24:57.535Z] d94ebbe4e438: Verifying Checksum [2022-09-28T17:24:57.535Z] d94ebbe4e438: Download complete [2022-09-28T17:24:57.535Z] 2408cc74d12b: Pull complete [2022-09-28T17:24:57.801Z] ea60b727a1ce: Pull complete [2022-09-28T17:24:57.801Z] 30c4a7721957: Pull complete [2022-09-28T17:24:58.062Z] 59ccb84bbe0f: Verifying Checksum [2022-09-28T17:24:58.062Z] 59ccb84bbe0f: Download complete [2022-09-28T17:24:58.062Z] bcfd1f05c69d: Verifying Checksum [2022-09-28T17:24:58.062Z] bcfd1f05c69d: Download complete [2022-09-28T17:24:58.320Z] 370296b7ddb6: Verifying Checksum [2022-09-28T17:24:58.320Z] 370296b7ddb6: Download complete [2022-09-28T17:25:01.602Z] 370296b7ddb6: Pull complete [2022-09-28T17:25:01.602Z] 7c6cee850709: Pull complete [2022-09-28T17:25:01.602Z] 39a5fcdaea64: Pull complete [2022-09-28T17:25:01.860Z] d94ebbe4e438: Pull complete [2022-09-28T17:25:03.754Z] bcfd1f05c69d: Pull complete [2022-09-28T17:25:04.321Z] 59ccb84bbe0f: Pull complete [2022-09-28T17:25:04.321Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-28T17:25:04.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-28T17:25:04.321Z] ---> a4fb48ad2a94 [2022-09-28T17:25:04.321Z] Step 3/13 : ARG MAKE="make build" [2022-09-28T17:25:06.853Z] ---> Running in 86676ac59411 [2022-09-28T17:25:07.111Z] Removing intermediate container 86676ac59411 [2022-09-28T17:25:07.111Z] ---> bea72097efb1 [2022-09-28T17:25:07.111Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-28T17:25:07.111Z] ---> Running in b22b9f0a8b7b [2022-09-28T17:25:07.111Z] Removing intermediate container b22b9f0a8b7b [2022-09-28T17:25:07.111Z] ---> 20ac876d473f [2022-09-28T17:25:07.111Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-28T17:25:07.111Z] ---> Running in a15b6029abca [2022-09-28T17:25:07.111Z] Removing intermediate container a15b6029abca [2022-09-28T17:25:07.111Z] ---> c8fd5e8d5387 [2022-09-28T17:25:07.111Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T17:25:07.369Z] ---> Running in 03c8529a271c [2022-09-28T17:25:07.935Z] Removing intermediate container 03c8529a271c [2022-09-28T17:25:07.935Z] ---> 95760f43520e [2022-09-28T17:25:07.935Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T17:25:07.935Z] ---> Running in fdbf676fbf21 [2022-09-28T17:25:08.194Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T17:25:09.130Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T17:25:09.130Z] (1/80) Installing mesa (21.3.8-r2) [2022-09-28T17:25:09.389Z] (2/80) Installing libxau (1.0.9-r0) [2022-09-28T17:25:09.389Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-09-28T17:25:09.389Z] (4/80) Installing libxcb (1.15-r0) [2022-09-28T17:25:09.647Z] (5/80) Installing libx11 (1.8-r0) [2022-09-28T17:25:09.647Z] (6/80) Installing libxext (1.3.4-r0) [2022-09-28T17:25:09.908Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-09-28T17:25:09.908Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-09-28T17:25:09.908Z] (9/80) Installing libpciaccess (0.16-r0) [2022-09-28T17:25:10.162Z] Still waiting to schedule task [2022-09-28T17:25:10.162Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-28T17:25:10.170Z] (10/80) Installing libdrm (2.4.110-r0) [2022-09-28T17:25:10.170Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-09-28T17:25:10.170Z] (12/80) Installing libxshmfence (1.3-r1) [2022-09-28T17:25:10.429Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-09-28T17:25:10.429Z] (14/80) Installing icu-data-full (71.1-r2) [2022-09-28T17:25:11.370Z] (15/80) Installing libice (1.0.10-r0) [2022-09-28T17:25:11.370Z] (16/80) Installing libuuid (2.38-r1) [2022-09-28T17:25:11.370Z] (17/80) Installing libsm (1.2.3-r0) [2022-09-28T17:25:11.370Z] (18/80) Installing libxt (1.2.1-r0) [2022-09-28T17:25:11.629Z] (19/80) Installing libxmu (1.1.3-r0) [2022-09-28T17:25:11.629Z] (20/80) Installing xset (1.2.4-r0) [2022-09-28T17:25:11.629Z] (21/80) Installing xprop (1.2.5-r0) [2022-09-28T17:25:11.890Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-09-28T17:25:11.890Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-09-28T17:25:11.890Z] (24/80) Installing libffi (3.4.2-r1) [2022-09-28T17:25:12.151Z] (25/80) Installing libintl (0.21-r2) [2022-09-28T17:25:12.151Z] (26/80) Installing libblkid (2.38-r1) [2022-09-28T17:25:12.151Z] (27/80) Installing libmount (2.38-r1) [2022-09-28T17:25:12.409Z] (28/80) Installing pcre (8.45-r2) [2022-09-28T17:25:12.409Z] (29/80) Installing glib (2.72.1-r0) [2022-09-28T17:25:12.669Z] (30/80) Installing icu-libs (71.1-r2) [2022-09-28T17:25:13.239Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-09-28T17:25:13.504Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-09-28T17:25:13.504Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-09-28T17:25:13.763Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-09-28T17:25:14.021Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-09-28T17:25:14.021Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-09-28T17:25:14.021Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-09-28T17:25:14.280Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-09-28T17:25:14.538Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-09-28T17:25:14.797Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-09-28T17:25:14.797Z] (41/80) Installing libpng (1.6.37-r1) [2022-09-28T17:25:14.797Z] (42/80) Installing freetype (2.12.1-r0) [2022-09-28T17:25:15.056Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-09-28T17:25:15.056Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-09-28T17:25:15.315Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-09-28T17:25:15.315Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-09-28T17:25:15.315Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-09-28T17:25:15.574Z] (48/80) Installing libxml2 (2.9.14-r1) [2022-09-28T17:25:15.574Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-09-28T17:25:15.574Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-09-28T17:25:15.834Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-09-28T17:25:15.834Z] (52/80) Installing avahi-libs (0.8-r6) [2022-09-28T17:25:16.097Z] (53/80) Installing nettle (3.7.3-r0) [2022-09-28T17:25:16.097Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-09-28T17:25:16.097Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-09-28T17:25:16.356Z] (56/80) Installing libunistring (1.0-r0) [2022-09-28T17:25:16.356Z] (57/80) Installing gnutls (3.7.7-r0) [2022-09-28T17:25:16.615Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-09-28T17:25:16.615Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-09-28T17:25:16.615Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-09-28T17:25:16.873Z] (61/80) Installing libevdev (1.12.1-r0) [2022-09-28T17:25:16.873Z] (62/80) Installing mtdev (1.1.6-r0) [2022-09-28T17:25:16.873Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-09-28T17:25:17.136Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-09-28T17:25:17.136Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-09-28T17:25:17.395Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-09-28T17:25:17.395Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-09-28T17:25:17.395Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-09-28T17:25:17.654Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-09-28T17:25:17.654Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-09-28T17:25:17.654Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-09-28T17:25:17.654Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-09-28T17:25:18.589Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-09-28T17:25:18.589Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-09-28T17:25:18.589Z] (75/80) Installing udev-init-scripts (35-r0) [2022-09-28T17:25:18.589Z] Executing udev-init-scripts-35-r0.post-install [2022-09-28T17:25:18.589Z] (76/80) Installing kmod-libs (29-r2) [2022-09-28T17:25:18.847Z] (77/80) Installing eudev (3.2.11-r0) [2022-09-28T17:25:18.847Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-09-28T17:25:18.847Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-09-28T17:25:19.106Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-09-28T17:25:19.106Z] Executing busybox-1.35.0-r13.trigger [2022-09-28T17:25:19.106Z] Executing eudev-3.2.11-r0.trigger [2022-09-28T17:25:19.106Z] OK: 330 MiB in 131 packages [2022-09-28T17:25:21.638Z] Removing intermediate container fdbf676fbf21 [2022-09-28T17:25:21.638Z] ---> e445db233b34 [2022-09-28T17:25:21.638Z] Step 8/13 : WORKDIR /device-usb-camera [2022-09-28T17:25:21.638Z] ---> Running in 9226b80bdcdd [2022-09-28T17:25:21.638Z] Removing intermediate container 9226b80bdcdd [2022-09-28T17:25:21.638Z] ---> 5b7e30f4f462 [2022-09-28T17:25:21.638Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-28T17:25:21.638Z] ---> e256a8da136c [2022-09-28T17:25:21.638Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T17:25:21.638Z] ---> Running in 027ffabcca66 [2022-09-28T17:25:39.725Z] Removing intermediate container 027ffabcca66 [2022-09-28T17:25:39.725Z] ---> dd4d44955d84 [2022-09-28T17:25:39.725Z] Step 11/13 : COPY . . [2022-09-28T17:25:39.986Z] ---> 74a016654e95 [2022-09-28T17:25:39.986Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-28T17:25:39.986Z] ---> Running in 0e80d653bee4 [2022-09-28T17:25:40.244Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T17:25:40.244Z] Dload Upload Total Spent Left Speed [2022-09-28T17:25:40.503Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0    0  10309      0 --:--:-- --:--:-- --:--:-- 10411 [2022-09-28T17:25:40.761Z] Removing intermediate container 0e80d653bee4 [2022-09-28T17:25:40.761Z] ---> 044d2023d6f0 [2022-09-28T17:25:40.761Z] Step 13/13 : RUN ${MAKE} [2022-09-28T17:25:40.761Z] ---> Running in e4ed9588ae7a [2022-09-28T17:25:41.020Z] noop [2022-09-28T17:25:41.278Z] Removing intermediate container e4ed9588ae7a [2022-09-28T17:25:41.278Z] ---> ba2a70718026 [2022-09-28T17:25:41.278Z] Successfully built ba2a70718026 [2022-09-28T17:25:41.278Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:25:41.720Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T17:25:41.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:25:41.876Z] prd-ubuntu20.04-docker-8c-8g-1840 does not seem to be running inside a container [2022-09-28T17:25:41.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-92 -v /w/workspace/xfoundry_device-usb-camera_PR-92:/w/workspace/xfoundry_device-usb-camera_PR-92:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-92@tmp:/w/workspace/xfoundry_device-usb-camera_PR-92@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 ******** ci-base-image-x86_64 cat [2022-09-28T17:25:42.268Z] $ docker top 38a060955a281b96d15a3a79a90530ac8391a0a80a409b482682afb3c9d98d87 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T17:25:42.655Z] + go version [2022-09-28T17:25:42.655Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-28T17:25:42.692Z] $ docker stop --time=1 38a060955a281b96d15a3a79a90530ac8391a0a80a409b482682afb3c9d98d87 [2022-09-28T17:25:43.990Z] $ docker rm -f 38a060955a281b96d15a3a79a90530ac8391a0a80a409b482682afb3c9d98d87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:25:44.700Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T17:25:44.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:25:44.909Z] prd-ubuntu20.04-docker-8c-8g-1840 does not seem to be running inside a container [2022-09-28T17:25:44.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-92 -v /w/workspace/xfoundry_device-usb-camera_PR-92:/w/workspace/xfoundry_device-usb-camera_PR-92:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-92@tmp:/w/workspace/xfoundry_device-usb-camera_PR-92@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 ******** ci-base-image-x86_64 cat [2022-09-28T17:25:45.255Z] $ docker top ce902f2923d24e14f1a6f3461f1b413a1a9eca595458f2c0fc658976c49205da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T17:25:45.647Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-92 [Pipeline] fileExists [Pipeline] sh [2022-09-28T17:25:46.003Z] + make test [2022-09-28T17:25:46.003Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-09-28T17:25:46.261Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-09-28T17:25:56.234Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-09-28T17:25:56.234Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 1.9% of statements [2022-09-28T17:26:02.802Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-28T17:26:02.802Z] CGO_ENABLED=1 go vet ./... [2022-09-28T17:26:05.330Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T17:26:05.330Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T17:26:05.330Z] ./bin/test-attribution-txt.sh [2022-09-28T17:26:05.330Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo [2022-09-28T17:26:05.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T17:26:05.402Z] $ docker stop --time=1 ce902f2923d24e14f1a6f3461f1b413a1a9eca595458f2c0fc658976c49205da [2022-09-28T17:26:07.369Z] $ docker rm -f ce902f2923d24e14f1a6f3461f1b413a1a9eca595458f2c0fc658976c49205da [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T17:26:07.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T17:26:07.938Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-28T17:26:08.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T17:26:08.897Z] + ls -al . [2022-09-28T17:26:08.897Z] total 196 [2022-09-28T17:26:08.897Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 17:25 . [2022-09-28T17:26:08.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:24 .. [2022-09-28T17:26:08.897Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 17:25 .git [2022-09-28T17:26:08.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:24 .github [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 17:24 .gitignore [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 17:24 .golangci.yml [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 17:24 .hadolint.yml [2022-09-28T17:26:08.897Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 17:24 .semver [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 9569 Sep 28 17:24 Attribution.txt [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 17:24 CHANGELOG.md [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 2410 Sep 28 17:24 Dockerfile [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 17:24 GOVERNANCE.md [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 17:24 Jenkinsfile [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 17:24 LICENSE [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 2345 Sep 28 17:24 Makefile [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 17:24 OWNERS.md [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 5109 Sep 28 17:24 README.md [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 17:24 VERSION [2022-09-28T17:26:08.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 17:24 bin [2022-09-28T17:26:08.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:24 cmd [2022-09-28T17:26:08.897Z] -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 17:25 coverage.out [2022-09-28T17:26:08.897Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 17:24 docker-entrypoint.sh [2022-09-28T17:26:08.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:24 docs [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 17:24 go.mod [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 17:24 go.sum [2022-09-28T17:26:08.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:24 internal [2022-09-28T17:26:08.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:24 snap [2022-09-28T17:26:08.897Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 17:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:26:09.283Z] + 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=1eebc703339ec0136ddefc4bb8d45e003ff4e65a --label arch=amd64 --label version=0.0.0 . [2022-09-28T17:26:09.283Z] Sending build context to Docker daemon 1.325MB [2022-09-28T17:26:09.283Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T17:26:09.283Z] Step 2/35 : FROM ${BASE} AS builder [2022-09-28T17:26:09.283Z] ---> ba2a70718026 [2022-09-28T17:26:09.283Z] Step 3/35 : ARG MAKE="make build" [2022-09-28T17:26:09.283Z] ---> Running in 018164d6c612 [2022-09-28T17:26:09.541Z] Removing intermediate container 018164d6c612 [2022-09-28T17:26:09.541Z] ---> 764733849f4a [2022-09-28T17:26:09.541Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-28T17:26:09.541Z] ---> Running in 8a510f32076f [2022-09-28T17:26:09.541Z] Removing intermediate container 8a510f32076f [2022-09-28T17:26:09.541Z] ---> 74e20cdf71e1 [2022-09-28T17:26:09.541Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-28T17:26:09.541Z] ---> Running in a4271d3d441d [2022-09-28T17:26:09.541Z] Removing intermediate container a4271d3d441d [2022-09-28T17:26:09.541Z] ---> 070d5e12bda7 [2022-09-28T17:26:09.541Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T17:26:09.541Z] ---> Running in 30840f8dc95a [2022-09-28T17:26:10.109Z] Removing intermediate container 30840f8dc95a [2022-09-28T17:26:10.109Z] ---> 8942825bc5f1 [2022-09-28T17:26:10.109Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T17:26:10.109Z] ---> Running in 097ddd28957f [2022-09-28T17:26:10.368Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T17:26:11.305Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T17:26:11.565Z] OK: 330 MiB in 131 packages [2022-09-28T17:26:11.823Z] Removing intermediate container 097ddd28957f [2022-09-28T17:26:11.823Z] ---> e326e045da3e [2022-09-28T17:26:11.823Z] Step 8/35 : WORKDIR /device-usb-camera [2022-09-28T17:26:11.823Z] ---> Running in e623fc5baf3f [2022-09-28T17:26:12.084Z] Removing intermediate container e623fc5baf3f [2022-09-28T17:26:12.084Z] ---> de4758e60b2a [2022-09-28T17:26:12.084Z] Step 9/35 : COPY go.mod vendor* ./ [2022-09-28T17:26:12.084Z] ---> 7bd498b3b3ea [2022-09-28T17:26:12.084Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T17:26:12.084Z] ---> Running in dd65bdaa2ced [2022-09-28T17:26:12.651Z] Removing intermediate container dd65bdaa2ced [2022-09-28T17:26:12.651Z] ---> ca5c79e14499 [2022-09-28T17:26:12.651Z] Step 11/35 : COPY . . [2022-09-28T17:26:12.910Z] ---> a03dced5b39f [2022-09-28T17:26:12.910Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-28T17:26:12.910Z] ---> Running in 0baf71a19088 [2022-09-28T17:26:13.169Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T17:26:13.169Z] Dload Upload Total Spent Left Speed [2022-09-28T17:26:13.428Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 43644 0 --:--:-- --:--:-- --:--:-- 44250 [2022-09-28T17:26:13.689Z] Removing intermediate container 0baf71a19088 [2022-09-28T17:26:13.689Z] ---> 67b83155d1bc [2022-09-28T17:26:13.689Z] Step 13/35 : RUN ${MAKE} [2022-09-28T17:26:13.689Z] ---> Running in 83da057de107 [2022-09-28T17:26:13.949Z] 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.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-09-28T17:26:35.868Z] Removing intermediate container 83da057de107 [2022-09-28T17:26:35.868Z] ---> 4e60c7e2415c [2022-09-28T17:26:35.868Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-09-28T17:26:35.868Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-09-28T17:26:35.868Z] af6660deedbd: Pulling fs layer [2022-09-28T17:26:35.868Z] 97cd0a44c592: Pulling fs layer [2022-09-28T17:26:35.868Z] 97cd0a44c592: Verifying Checksum [2022-09-28T17:26:35.868Z] 97cd0a44c592: Download complete [2022-09-28T17:26:35.868Z] af6660deedbd: Verifying Checksum [2022-09-28T17:26:35.868Z] af6660deedbd: Download complete [2022-09-28T17:26:35.868Z] af6660deedbd: Pull complete [2022-09-28T17:26:35.868Z] 97cd0a44c592: Pull complete [2022-09-28T17:26:35.868Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-09-28T17:26:35.868Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-09-28T17:26:35.868Z] ---> fea57e182299 [2022-09-28T17:26:35.868Z] Step 15/35 : FROM alpine:3.16 [2022-09-28T17:26:35.868Z] 3.16: Pulling from library/alpine [2022-09-28T17:26:35.868Z] 213ec9aee27d: Pulling fs layer [2022-09-28T17:26:35.868Z] 213ec9aee27d: Verifying Checksum [2022-09-28T17:26:35.868Z] 213ec9aee27d: Download complete [2022-09-28T17:26:35.868Z] 213ec9aee27d: Pull complete [2022-09-28T17:26:35.868Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T17:26:35.868Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T17:26:35.868Z] ---> 9c6f07244728 [2022-09-28T17:26:35.868Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T17:26:35.868Z] ---> Running in 190d4ed805be [2022-09-28T17:26:35.868Z] Removing intermediate container 190d4ed805be [2022-09-28T17:26:35.868Z] ---> 273fc9152024 [2022-09-28T17:26:35.868Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-09-28T17:26:35.868Z] ---> Running in e9d35b2c305a [2022-09-28T17:26:35.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T17:26:35.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T17:26:36.127Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-09-28T17:26:36.127Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-09-28T17:26:36.127Z] (3/83) Installing libxau (1.0.9-r0) [2022-09-28T17:26:36.127Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-09-28T17:26:36.127Z] (5/83) Installing libxcb (1.15-r0) [2022-09-28T17:26:36.127Z] (6/83) Installing libx11 (1.8-r0) [2022-09-28T17:26:36.385Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-09-28T17:26:36.385Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-09-28T17:26:36.385Z] (9/83) Installing expat (2.4.9-r0) [2022-09-28T17:26:36.385Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-09-28T17:26:36.385Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-09-28T17:26:36.385Z] (12/83) Installing libpng (1.6.37-r1) [2022-09-28T17:26:36.385Z] (13/83) Installing freetype (2.12.1-r0) [2022-09-28T17:26:36.385Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-09-28T17:26:36.385Z] (15/83) Installing fribidi (1.0.12-r0) [2022-09-28T17:26:36.385Z] (16/83) Installing libffi (3.4.2-r1) [2022-09-28T17:26:36.385Z] (17/83) Installing libintl (0.21-r2) [2022-09-28T17:26:36.385Z] (18/83) Installing libblkid (2.38-r1) [2022-09-28T17:26:36.385Z] (19/83) Installing libmount (2.38-r1) [2022-09-28T17:26:36.385Z] (20/83) Installing pcre (8.45-r2) [2022-09-28T17:26:36.385Z] (21/83) Installing glib (2.72.1-r0) [2022-09-28T17:26:36.385Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-09-28T17:26:36.385Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-09-28T17:26:36.417Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1841 in /w/workspace/xfoundry_device-usb-camera_PR-92 [Pipeline] { [Pipeline] ws [2022-09-28T17:26:36.455Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-28T17:26:36.531Z] Selected Git installation does not exist. Using Default [2022-09-28T17:26:36.531Z] The recommended git tool is: NONE [2022-09-28T17:26:36.643Z] (24/83) Installing libass (0.16.0-r0) [2022-09-28T17:26:36.643Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-09-28T17:26:36.643Z] (26/83) Installing libpciaccess (0.16-r0) [2022-09-28T17:26:36.643Z] (27/83) Installing libdrm (2.4.110-r0) [2022-09-28T17:26:36.643Z] (28/83) Installing gmp (6.2.1-r2) [2022-09-28T17:26:36.643Z] (29/83) Installing nettle (3.7.3-r0) [2022-09-28T17:26:36.643Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-09-28T17:26:36.643Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-09-28T17:26:36.643Z] (32/83) Installing libunistring (1.0-r0) [2022-09-28T17:26:36.643Z] (33/83) Installing gnutls (3.7.7-r0) [2022-09-28T17:26:36.643Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-28T17:26:36.643Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-28T17:26:36.643Z] (36/83) Installing lame (3.100-r0) [2022-09-28T17:26:36.643Z] (37/83) Installing opus (1.3.1-r1) [2022-09-28T17:26:36.643Z] (38/83) Installing libasyncns (0.8-r1) [2022-09-28T17:26:36.643Z] (39/83) Installing dbus-libs (1.14.0-r1) [2022-09-28T17:26:36.643Z] (40/83) Installing libltdl (2.4.7-r0) [2022-09-28T17:26:36.643Z] (41/83) Installing orc (0.4.32-r0) [2022-09-28T17:26:36.643Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T17:26:36.643Z] (43/83) Installing libogg (1.3.5-r1) [2022-09-28T17:26:36.643Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T17:26:36.643Z] (45/83) Installing flac (1.3.4-r0) [2022-09-28T17:26:36.643Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-09-28T17:26:36.643Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-09-28T17:26:36.901Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-09-28T17:26:36.901Z] (49/83) Installing soxr (0.1.3-r2) [2022-09-28T17:26:36.901Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-09-28T17:26:36.901Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-09-28T17:26:36.901Z] (52/83) Installing libpulse (15.0-r2) [2022-09-28T17:26:36.901Z] (53/83) Installing cjson (1.7.15-r3) [2022-09-28T17:26:36.901Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-09-28T17:26:36.901Z] (55/83) Installing librist (0.2.6-r1) [2022-09-28T17:26:36.901Z] (56/83) Installing libsrt (1.4.4-r0) [2022-09-28T17:26:36.901Z] (57/83) Installing libssh (0.9.6-r1) [2022-09-28T17:26:36.901Z] (58/83) Installing libtheora (1.1.1-r16) [2022-09-28T17:26:36.901Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-09-28T17:26:36.901Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-09-28T17:26:36.901Z] (61/83) Installing libxext (1.3.4-r0) [2022-09-28T17:26:36.901Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-09-28T17:26:36.901Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-09-28T17:26:36.901Z] (64/83) Installing libva (2.14.0-r0) [2022-09-28T17:26:36.901Z] (65/83) Installing libvdpau (1.5-r0) [2022-09-28T17:26:36.901Z] (66/83) Installing vidstab (1.1.0-r1) [2022-09-28T17:26:36.901Z] (67/83) Installing libvpx (1.11.0-r1) [2022-09-28T17:26:36.901Z] (68/83) Installing libwebp (1.2.3-r0) [2022-09-28T17:26:36.901Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-09-28T17:26:36.901Z] (70/83) Installing numactl (2.0.14-r0) [2022-09-28T17:26:36.901Z] (71/83) Installing x265-libs (3.5-r3) [2022-09-28T17:26:37.159Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-09-28T17:26:37.159Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-09-28T17:26:37.159Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-09-28T17:26:37.159Z] (75/83) Installing udev-init-scripts (35-r0) [2022-09-28T17:26:37.159Z] Executing udev-init-scripts-35-r0.post-install [2022-09-28T17:26:37.159Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-09-28T17:26:37.159Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-09-28T17:26:37.159Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-09-28T17:26:37.159Z] (79/83) Installing kmod-libs (29-r2) [2022-09-28T17:26:37.159Z] (80/83) Installing eudev (3.2.11-r0) [2022-09-28T17:26:37.417Z] (81/83) Installing libsodium (1.0.18-r0) [2022-09-28T17:26:37.417Z] (82/83) Installing libzmq (4.3.4-r0) [2022-09-28T17:26:37.417Z] (83/83) Installing zeromq (4.3.4-r0) [2022-09-28T17:26:37.417Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T17:26:37.417Z] Executing eudev-3.2.11-r0.trigger [2022-09-28T17:26:37.417Z] OK: 101 MiB in 97 packages [2022-09-28T17:26:39.315Z] Removing intermediate container e9d35b2c305a [2022-09-28T17:26:39.315Z] ---> d8135e6bba75 [2022-09-28T17:26:39.315Z] Step 18/35 : WORKDIR / [2022-09-28T17:26:39.315Z] ---> Running in 9b3bbd7feb4c [2022-09-28T17:26:39.315Z] Removing intermediate container 9b3bbd7feb4c [2022-09-28T17:26:39.315Z] ---> 9335e1ad5b44 [2022-09-28T17:26:39.315Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-09-28T17:26:39.881Z] ---> 9e8072036db7 [2022-09-28T17:26:39.881Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-09-28T17:26:40.140Z] ---> 80334674958f [2022-09-28T17:26:40.140Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-09-28T17:26:40.140Z] ---> dbab400329b2 [2022-09-28T17:26:40.140Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-09-28T17:26:40.398Z] ---> 84a96e3f6dc7 [2022-09-28T17:26:40.398Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-09-28T17:26:40.398Z] ---> 1f92e9833ba3 [2022-09-28T17:26:40.398Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-09-28T17:26:40.656Z] ---> 5a41736c1cc0 [2022-09-28T17:26:40.656Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-09-28T17:26:41.222Z] ---> e0caf97545c0 [2022-09-28T17:26:41.222Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-09-28T17:26:41.222Z] ---> Running in 69bcecf27897 [2022-09-28T17:26:41.428Z] using credential edgex-jenkins-ssh [2022-09-28T17:26:41.445Z] Cloning the remote Git repository [2022-09-28T17:26:41.480Z] Removing intermediate container 69bcecf27897 [2022-09-28T17:26:41.480Z] ---> db7812b47c30 [2022-09-28T17:26:41.480Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-09-28T17:26:41.480Z] ---> Running in 2aaae2205af6 [2022-09-28T17:26:41.483Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-09-28T17:26:41.555Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-09-28T17:26:42.046Z] Removing intermediate container 2aaae2205af6 [2022-09-28T17:26:42.046Z] ---> 98a0ec0f4241 [2022-09-28T17:26:42.046Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-09-28T17:26:42.046Z] ---> Running in f77aec6cfe8a [2022-09-28T17:26:42.613Z] Removing intermediate container f77aec6cfe8a [2022-09-28T17:26:42.613Z] ---> d7baeda9013e [2022-09-28T17:26:42.613Z] Step 29/35 : EXPOSE 59983 [2022-09-28T17:26:42.613Z] ---> Running in 187ae6874d38 [2022-09-28T17:26:42.613Z] Removing intermediate container 187ae6874d38 [2022-09-28T17:26:42.613Z] ---> 727597fe2211 [2022-09-28T17:26:42.613Z] Step 30/35 : EXPOSE 8554 [2022-09-28T17:26:41.706Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-09-28T17:26:41.707Z] > git --version # timeout=10 [2022-09-28T17:26:41.730Z] > git --version # 'git version 2.25.1' [2022-09-28T17:26:41.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T17:26:41.773Z] Verifying host key using known hosts file [2022-09-28T17:26:41.950Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-28T17:26:41.968Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T17:26:42.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-09-28T17:26:42.674Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T17:26:42.873Z] ---> Running in 601dc0da1508 [2022-09-28T17:26:42.873Z] Removing intermediate container 601dc0da1508 [2022-09-28T17:26:42.873Z] ---> 5ea9991226b8 [2022-09-28T17:26:42.873Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-09-28T17:26:42.873Z] ---> Running in aae782e93b2b [2022-09-28T17:26:42.873Z] Removing intermediate container aae782e93b2b [2022-09-28T17:26:42.873Z] ---> 2f44c02e5fa8 [2022-09-28T17:26:42.873Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-09-28T17:26:42.873Z] ---> Running in 41a3222bd74a [2022-09-28T17:26:42.873Z] Removing intermediate container 41a3222bd74a [2022-09-28T17:26:42.873Z] ---> e5102d9ea741 [2022-09-28T17:26:42.873Z] Step 33/35 : LABEL arch=amd64 [2022-09-28T17:26:43.151Z] ---> Running in a4f656aef2be [2022-09-28T17:26:43.151Z] Removing intermediate container a4f656aef2be [2022-09-28T17:26:43.151Z] ---> dbb626593dee [2022-09-28T17:26:43.151Z] Step 34/35 : LABEL git_sha=1eebc703339ec0136ddefc4bb8d45e003ff4e65a [2022-09-28T17:26:43.151Z] ---> Running in 2b6679e310c0 [2022-09-28T17:26:43.151Z] Removing intermediate container 2b6679e310c0 [2022-09-28T17:26:43.151Z] ---> f1fe089a62e4 [2022-09-28T17:26:43.151Z] Step 35/35 : LABEL version=0.0.0 [2022-09-28T17:26:43.151Z] ---> Running in 957cc69ffd50 [2022-09-28T17:26:43.151Z] Removing intermediate container 957cc69ffd50 [2022-09-28T17:26:43.151Z] ---> 65e03d077ad5 [2022-09-28T17:26:43.151Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T17:26:43.151Z] Successfully built 65e03d077ad5 [2022-09-28T17:26:43.409Z] 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-09-28T17:26:43.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-09-28T17:26:43.528Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-09-28T17:26:43.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T17:26:43.534Z] Verifying host key using known hosts file [2022-09-28T17:26:43.541Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-28T17:26:43.553Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-28T17:26:44.179Z] Merging remotes/origin/main commit 00fef7e065bed1f02203b218570c3778d916ab48 into PR head commit cf39da3ede27c95e615b4a28847fa632ea3e8a27 [2022-09-28T17:26:44.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T17:26:44.247Z] [2022-09-28T17:26:44.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:26:44.455Z] Merge succeeded, producing 605fcf76465cc832f0af3ce902af90fd93a7c902 [2022-09-28T17:26:44.456Z] Checking out Revision 605fcf76465cc832f0af3ce902af90fd93a7c902 (PR-92) [2022-09-28T17:26:44.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T17:26:44.626Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-28T17:26:44.626Z] 5eb5b503b376: Pulling fs layer [2022-09-28T17:26:44.626Z] 5c69ac0246d0: Pulling fs layer [2022-09-28T17:26:44.626Z] ec43610c2a17: Pulling fs layer [2022-09-28T17:26:44.626Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-28T17:26:44.626Z] 33b1e0a273af: Pulling fs layer [2022-09-28T17:26:44.626Z] 5d3b04190fa2: Pulling fs layer [2022-09-28T17:26:44.626Z] 2f39f015ded8: Pulling fs layer [2022-09-28T17:26:44.626Z] 5d3b04190fa2: Waiting [2022-09-28T17:26:44.626Z] 33b1e0a273af: Waiting [2022-09-28T17:26:44.626Z] 2f39f015ded8: Waiting [2022-09-28T17:26:44.626Z] 3a2ae6a8a46f: Waiting [2022-09-28T17:26:44.626Z] 5c69ac0246d0: Verifying Checksum [2022-09-28T17:26:44.626Z] 5c69ac0246d0: Download complete [2022-09-28T17:26:44.626Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-28T17:26:44.626Z] 3a2ae6a8a46f: Download complete [2022-09-28T17:26:44.626Z] 33b1e0a273af: Verifying Checksum [2022-09-28T17:26:44.626Z] 33b1e0a273af: Download complete [2022-09-28T17:26:44.626Z] 5d3b04190fa2: Verifying Checksum [2022-09-28T17:26:44.626Z] 5d3b04190fa2: Download complete [2022-09-28T17:26:44.626Z] ec43610c2a17: Verifying Checksum [2022-09-28T17:26:44.626Z] ec43610c2a17: Download complete [2022-09-28T17:26:44.893Z] 5eb5b503b376: Verifying Checksum [2022-09-28T17:26:44.893Z] 5eb5b503b376: Download complete [2022-09-28T17:26:44.192Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T17:26:44.211Z] > git checkout -f cf39da3ede27c95e615b4a28847fa632ea3e8a27 # timeout=10 [2022-09-28T17:26:44.305Z] > git remote # timeout=10 [2022-09-28T17:26:44.325Z] > git config --get remote.origin.url # timeout=10 [2022-09-28T17:26:44.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T17:26:44.346Z] Verifying host key using known hosts file [2022-09-28T17:26:44.350Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-28T17:26:44.358Z] > git merge 00fef7e065bed1f02203b218570c3778d916ab48 # timeout=10 [2022-09-28T17:26:44.427Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-28T17:26:44.457Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T17:26:44.471Z] > git checkout -f 605fcf76465cc832f0af3ce902af90fd93a7c902 # timeout=10 [2022-09-28T17:26:45.460Z] 2f39f015ded8: Download complete [2022-09-28T17:26:46.027Z] 5eb5b503b376: Pull complete [2022-09-28T17:26:46.027Z] 5c69ac0246d0: Pull complete [2022-09-28T17:26:46.592Z] ec43610c2a17: Pull complete [2022-09-28T17:26:46.592Z] 3a2ae6a8a46f: Pull complete [2022-09-28T17:26:46.850Z] 33b1e0a273af: Pull complete [2022-09-28T17:26:46.850Z] 5d3b04190fa2: Pull complete [2022-09-28T17:26:47.973Z] Commit message: "Merge commit '00fef7e065bed1f02203b218570c3778d916ab48' into HEAD" [2022-09-28T17:26:47.973Z] First time build. Skipping changelog. [2022-09-28T17:26:48.013Z] > git --version # timeout=10 [2022-09-28T17:26:48.027Z] > git --version # 'git version 2.25.1' [2022-09-28T17:26:48.052Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T17:26:48.477Z] [2022-09-28T17:26:48.477Z] GitHub has been notified of this commit’s build result [2022-09-28T17:26:48.477Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T17:26:49.171Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-28T17:26:49.171Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T17:26:49.171Z] Dload Upload Total Spent Left Speed [2022-09-28T17:26:49.171Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81831 0 --:--:-- --:--:-- --:--:-- 81831 [Pipeline] sh [2022-09-28T17:26:49.919Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-28T17:26:50.266Z] + sudo tee /etc/docker/daemon.new [2022-09-28T17:26:50.267Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-28T17:26:50.267Z] { [2022-09-28T17:26:50.267Z] "registry-mirrors": [ [2022-09-28T17:26:50.267Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-28T17:26:50.267Z] ], [2022-09-28T17:26:50.267Z] "bip": "10.250.0.254/24", [2022-09-28T17:26:50.267Z] "hosts": [ [2022-09-28T17:26:50.267Z] "tcp://0.0.0.0:5555", [2022-09-28T17:26:50.267Z] "unix:///var/run/docker.sock" [2022-09-28T17:26:50.267Z] ], [2022-09-28T17:26:50.267Z] "mtu": 1458, [2022-09-28T17:26:50.267Z] "selinux-enabled": true, [2022-09-28T17:26:50.267Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-28T17:26:50.267Z] } [Pipeline] sh [2022-09-28T17:26:50.611Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-28T17:26:50.960Z] + sudo service docker restart [2022-09-28T17:26:51.041Z] 2f39f015ded8: Pull complete [2022-09-28T17:26:51.041Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-28T17:26:51.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T17:26:51.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:26:51.254Z] prd-ubuntu20.04-docker-8c-8g-1840 does not seem to be running inside a container [2022-09-28T17:26:51.292Z] $ 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-92 -v /w/workspace/xfoundry_device-usb-camera_PR-92:/w/workspace/xfoundry_device-usb-camera_PR-92:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-92@tmp:/w/workspace/xfoundry_device-usb-camera_PR-92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T17:26:53.525Z] $ docker top f9ccf75837ca6c4b197c1e544861537c96fb0d6414a47508b7c33fff4003c9df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:26:53.974Z] ---> job-cost.sh [2022-09-28T17:26:53.974Z] lf-activate-venv: SKIPPING [2022-09-28T17:26:53.974Z] INFO: No Stack... [2022-09-28T17:26:54.232Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T17:26:54.800Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T17:26:55.115Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-92/archives/cost.csv [2022-09-28T17:26:55.115Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T17:26:55.155Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-92-1-stack-cost] [2022-09-28T17:26:55.160Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-92-1-stack-cost] did not exist. Created. [2022-09-28T17:26:55.161Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-92-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T17:26:55.542Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-28T17:26:55.596Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T17:26:55.627Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-92-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T17:26:55.712Z] $ docker stop --time=1 f9ccf75837ca6c4b197c1e544861537c96fb0d6414a47508b7c33fff4003c9df [2022-09-28T17:26:56.853Z] $ docker rm -f f9ccf75837ca6c4b197c1e544861537c96fb0d6414a47508b7c33fff4003c9df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T17:27:09.294Z] provisioning config files... [2022-09-28T17:27:09.322Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config9189133298081566335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:27:09.705Z] ---> docker-login.sh [2022-09-28T17:27:09.705Z] nexus3.edgexfoundry.org:10001 [2022-09-28T17:27:09.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:27:10.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:27:10.249Z] Configure a credential helper to remove this warning. See [2022-09-28T17:27:10.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:27:10.249Z] [2022-09-28T17:27:10.249Z] Login Succeeded [2022-09-28T17:27:10.250Z] nexus3.edgexfoundry.org:10002 [2022-09-28T17:27:10.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:27:10.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:27:10.519Z] Configure a credential helper to remove this warning. See [2022-09-28T17:27:10.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:27:10.519Z] [2022-09-28T17:27:10.519Z] Login Succeeded [2022-09-28T17:27:10.519Z] nexus3.edgexfoundry.org:10003 [2022-09-28T17:27:10.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:27:11.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:27:11.061Z] Configure a credential helper to remove this warning. See [2022-09-28T17:27:11.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:27:11.061Z] [2022-09-28T17:27:11.061Z] Login Succeeded [2022-09-28T17:27:11.061Z] nexus3.edgexfoundry.org:10004 [2022-09-28T17:27:11.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:27:11.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:27:11.335Z] Configure a credential helper to remove this warning. See [2022-09-28T17:27:11.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:27:11.335Z] [2022-09-28T17:27:11.335Z] Login Succeeded [2022-09-28T17:27:11.335Z] docker.io [2022-09-28T17:27:11.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T17:27:11.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T17:27:11.876Z] Configure a credential helper to remove this warning. See [2022-09-28T17:27:11.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T17:27:11.876Z] [2022-09-28T17:27:11.876Z] Login Succeeded [2022-09-28T17:27:11.876Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T17:27:11.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T17:27:12.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T17:27:12.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T17:27:12.255Z] ========================================================= [2022-09-28T17:27:12.255Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-28T17:27:12.255Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:27:12.762Z] + 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-09-28T17:27:13.031Z] Sending build context to Docker daemon 965.1kB [2022-09-28T17:27:13.031Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T17:27:13.031Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-28T17:27:13.031Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-28T17:27:13.299Z] b3c136eddcbf: Pulling fs layer [2022-09-28T17:27:13.299Z] c0a3192eca97: Pulling fs layer [2022-09-28T17:27:13.299Z] a050256f5b6f: Pulling fs layer [2022-09-28T17:27:13.299Z] 656be50a0ddc: Pulling fs layer [2022-09-28T17:27:13.299Z] 2bbca73fdf42: Pulling fs layer [2022-09-28T17:27:13.299Z] 46d945488cbd: Pulling fs layer [2022-09-28T17:27:13.299Z] 8a5474983e97: Pulling fs layer [2022-09-28T17:27:13.299Z] 329c88fbcd65: Pulling fs layer [2022-09-28T17:27:13.299Z] 656be50a0ddc: Waiting [2022-09-28T17:27:13.299Z] 2bbca73fdf42: Waiting [2022-09-28T17:27:13.299Z] 8a5474983e97: Waiting [2022-09-28T17:27:13.299Z] 46d945488cbd: Waiting [2022-09-28T17:27:13.299Z] 329c88fbcd65: Waiting [2022-09-28T17:27:13.299Z] a050256f5b6f: Verifying Checksum [2022-09-28T17:27:13.299Z] a050256f5b6f: Download complete [2022-09-28T17:27:13.299Z] c0a3192eca97: Verifying Checksum [2022-09-28T17:27:13.299Z] c0a3192eca97: Download complete [2022-09-28T17:27:13.299Z] 2bbca73fdf42: Verifying Checksum [2022-09-28T17:27:13.299Z] 2bbca73fdf42: Download complete [2022-09-28T17:27:13.299Z] 46d945488cbd: Verifying Checksum [2022-09-28T17:27:13.299Z] 46d945488cbd: Download complete [2022-09-28T17:27:13.299Z] b3c136eddcbf: Verifying Checksum [2022-09-28T17:27:14.281Z] b3c136eddcbf: Pull complete [2022-09-28T17:27:14.281Z] 329c88fbcd65: Verifying Checksum [2022-09-28T17:27:14.281Z] 329c88fbcd65: Download complete [2022-09-28T17:27:14.558Z] c0a3192eca97: Pull complete [2022-09-28T17:27:14.835Z] a050256f5b6f: Pull complete [2022-09-28T17:27:15.427Z] 8a5474983e97: Download complete [2022-09-28T17:27:16.015Z] 656be50a0ddc: Verifying Checksum [2022-09-28T17:27:16.015Z] 656be50a0ddc: Download complete [2022-09-28T17:27:28.375Z] 656be50a0ddc: Pull complete [2022-09-28T17:27:28.375Z] 2bbca73fdf42: Pull complete [2022-09-28T17:27:28.375Z] 46d945488cbd: Pull complete [2022-09-28T17:27:35.056Z] 8a5474983e97: Pull complete [2022-09-28T17:27:36.028Z] 329c88fbcd65: Pull complete [2022-09-28T17:27:36.028Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-28T17:27:36.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-28T17:27:36.028Z] ---> ff4287adb874 [2022-09-28T17:27:36.028Z] Step 3/13 : ARG MAKE="make build" [2022-09-28T17:27:37.974Z] ---> Running in d26be82763c4 [2022-09-28T17:27:37.974Z] Removing intermediate container d26be82763c4 [2022-09-28T17:27:37.974Z] ---> 90e85095c1b4 [2022-09-28T17:27:37.974Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-28T17:27:38.246Z] ---> Running in f7b694da68ca [2022-09-28T17:27:38.514Z] Removing intermediate container f7b694da68ca [2022-09-28T17:27:38.514Z] ---> 3829296bb966 [2022-09-28T17:27:38.514Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-28T17:27:38.514Z] ---> Running in beb7ddc1864c [2022-09-28T17:27:38.784Z] Removing intermediate container beb7ddc1864c [2022-09-28T17:27:38.784Z] ---> 74bac66dd7c6 [2022-09-28T17:27:38.784Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T17:27:38.784Z] ---> Running in bd27fab1bfab [2022-09-28T17:27:40.734Z] Removing intermediate container bd27fab1bfab [2022-09-28T17:27:40.734Z] ---> be2a6d1f2055 [2022-09-28T17:27:40.734Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T17:27:40.734Z] ---> Running in 0eedd06ecea7 [2022-09-28T17:27:41.695Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T17:27:42.659Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T17:27:43.244Z] (1/14) Installing libintl (0.21-r2) [2022-09-28T17:27:43.510Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-09-28T17:27:43.510Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-09-28T17:27:43.510Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-09-28T17:27:43.777Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-09-28T17:27:44.040Z] (6/14) Installing udev-init-scripts (35-r0) [2022-09-28T17:27:44.040Z] Executing udev-init-scripts-35-r0.post-install [2022-09-28T17:27:44.040Z] (7/14) Installing libblkid (2.38-r1) [2022-09-28T17:27:44.040Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-09-28T17:27:44.307Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-09-28T17:27:44.307Z] (10/14) Installing kmod-libs (29-r2) [2022-09-28T17:27:44.307Z] (11/14) Installing eudev (3.2.11-r0) [2022-09-28T17:27:44.573Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-09-28T17:27:44.573Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-09-28T17:27:44.839Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-09-28T17:27:44.839Z] Executing busybox-1.35.0-r13.trigger [2022-09-28T17:27:44.839Z] Executing eudev-3.2.11-r0.trigger [2022-09-28T17:27:44.839Z] OK: 228 MiB in 65 packages [2022-09-28T17:27:46.253Z] Removing intermediate container 0eedd06ecea7 [2022-09-28T17:27:46.253Z] ---> 33bc99e28408 [2022-09-28T17:27:46.253Z] Step 8/13 : WORKDIR /device-usb-camera [2022-09-28T17:27:46.253Z] ---> Running in 7c0b7e7697ab [2022-09-28T17:27:46.521Z] Removing intermediate container 7c0b7e7697ab [2022-09-28T17:27:46.521Z] ---> 384177818bac [2022-09-28T17:27:46.521Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-28T17:27:46.791Z] ---> 0a5db4479411 [2022-09-28T17:27:46.791Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T17:27:47.069Z] ---> Running in 1005bb8d8467 [2022-09-28T17:28:33.911Z] Removing intermediate container 1005bb8d8467 [2022-09-28T17:28:33.911Z] ---> 09a488feccb6 [2022-09-28T17:28:33.911Z] Step 11/13 : COPY . . [2022-09-28T17:28:33.911Z] ---> f0e7fb3a5e3f [2022-09-28T17:28:33.911Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-28T17:28:33.911Z] ---> Running in 09cfd8239350 [2022-09-28T17:28:34.495Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T17:28:34.495Z] Dload Upload Total Spent Left Speed [2022-09-28T17:28:34.495Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 15371 0 --:--:-- --:--:-- --:--:-- 15617 [2022-09-28T17:28:35.075Z] Removing intermediate container 09cfd8239350 [2022-09-28T17:28:35.075Z] ---> ba61b8d16f1e [2022-09-28T17:28:35.075Z] Step 13/13 : RUN ${MAKE} [2022-09-28T17:28:35.075Z] ---> Running in 5c457b43ead6 [2022-09-28T17:28:36.033Z] noop [2022-09-28T17:28:36.614Z] Removing intermediate container 5c457b43ead6 [2022-09-28T17:28:36.614Z] ---> 78249a31d2de [2022-09-28T17:28:36.614Z] Successfully built 78249a31d2de [2022-09-28T17:28:36.614Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:28:37.083Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T17:28:37.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:28:37.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-1841 does not seem to be running inside a container [2022-09-28T17:28:37.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-28T17:28:38.484Z] $ docker top 13f63a4331a637f413ad344dd75f99748f9865110fd858cd36f8c003bfd40ac8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T17:28:39.343Z] + go version [2022-09-28T17:28:39.343Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-28T17:28:39.381Z] $ docker stop --time=1 13f63a4331a637f413ad344dd75f99748f9865110fd858cd36f8c003bfd40ac8 [2022-09-28T17:28:40.992Z] $ docker rm -f 13f63a4331a637f413ad344dd75f99748f9865110fd858cd36f8c003bfd40ac8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:28:41.783Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T17:28:41.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:28:42.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-1841 does not seem to be running inside a container [2022-09-28T17:28:42.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-28T17:28:43.540Z] $ docker top 20bf6a59e7e94bce415093a75fd6c815f5c0350b04386a94032eec5c4d29b71a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T17:28:44.070Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-28T17:28:44.445Z] + make test [2022-09-28T17:28:44.445Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-09-28T17:28:46.389Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-09-28T17:30:23.072Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-09-28T17:30:23.072Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.065s coverage: 1.9% of statements [2022-09-28T17:30:23.072Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-28T17:30:23.072Z] CGO_ENABLED=1 go vet ./... [2022-09-28T17:30:35.383Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T17:30:35.383Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T17:30:35.383Z] ./bin/test-attribution-txt.sh [2022-09-28T17:30:35.383Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo [2022-09-28T17:30:35.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T17:30:35.458Z] $ docker stop --time=1 20bf6a59e7e94bce415093a75fd6c815f5c0350b04386a94032eec5c4d29b71a [2022-09-28T17:30:37.182Z] $ docker rm -f 20bf6a59e7e94bce415093a75fd6c815f5c0350b04386a94032eec5c4d29b71a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T17:30:38.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T17:30:38.183Z] Warning: overwriting stash ‘coverage-report’ [2022-09-28T17:30:38.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T17:30:39.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T17:30:39.483Z] + ls -al . [2022-09-28T17:30:39.483Z] total 192 [2022-09-28T17:30:39.483Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 17:28 . [2022-09-28T17:30:39.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:26 .. [2022-09-28T17:30:39.483Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 17:26 .git [2022-09-28T17:30:39.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:26 .github [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 17:26 .gitignore [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 17:26 .golangci.yml [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 17:26 .hadolint.yml [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 9569 Sep 28 17:26 Attribution.txt [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 17:26 CHANGELOG.md [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 2410 Sep 28 17:26 Dockerfile [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 17:26 GOVERNANCE.md [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 17:26 Jenkinsfile [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 17:26 LICENSE [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 2345 Sep 28 17:26 Makefile [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 17:26 OWNERS.md [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 5109 Sep 28 17:26 README.md [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 17:24 VERSION [2022-09-28T17:30:39.483Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 17:26 bin [2022-09-28T17:30:39.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:26 cmd [2022-09-28T17:30:39.483Z] -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 17:30 coverage.out [2022-09-28T17:30:39.483Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 17:26 docker-entrypoint.sh [2022-09-28T17:30:39.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:26 docs [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 17:26 go.mod [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 17:26 go.sum [2022-09-28T17:30:39.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:26 internal [2022-09-28T17:30:39.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:26 snap [2022-09-28T17:30:39.483Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:30:39.893Z] + 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=605fcf76465cc832f0af3ce902af90fd93a7c902 --label arch=arm64 --label version=0.0.0 . [2022-09-28T17:30:40.167Z] Sending build context to Docker daemon 995.3kB [2022-09-28T17:30:40.167Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T17:30:40.167Z] Step 2/35 : FROM ${BASE} AS builder [2022-09-28T17:30:40.167Z] ---> 78249a31d2de [2022-09-28T17:30:40.167Z] Step 3/35 : ARG MAKE="make build" [2022-09-28T17:30:40.167Z] ---> Running in b25ac38029c1 [2022-09-28T17:30:40.435Z] Removing intermediate container b25ac38029c1 [2022-09-28T17:30:40.435Z] ---> 006ec2091c1b [2022-09-28T17:30:40.435Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-28T17:30:40.705Z] ---> Running in 0693e718fcc6 [2022-09-28T17:30:40.972Z] Removing intermediate container 0693e718fcc6 [2022-09-28T17:30:40.972Z] ---> ef24a3ae43c2 [2022-09-28T17:30:40.972Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-28T17:30:40.972Z] ---> Running in 80cee5aa1e17 [2022-09-28T17:30:41.238Z] Removing intermediate container 80cee5aa1e17 [2022-09-28T17:30:41.238Z] ---> a1f8c20136be [2022-09-28T17:30:41.238Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T17:30:41.238Z] ---> Running in 1f600c47ded6 [2022-09-28T17:30:43.198Z] Removing intermediate container 1f600c47ded6 [2022-09-28T17:30:43.198Z] ---> 97a5bb6ba978 [2022-09-28T17:30:43.198Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T17:30:43.198Z] ---> Running in 0d14faaa564d [2022-09-28T17:30:43.782Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T17:30:44.742Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T17:30:45.696Z] OK: 228 MiB in 65 packages [2022-09-28T17:30:46.655Z] Removing intermediate container 0d14faaa564d [2022-09-28T17:30:46.655Z] ---> 3fa81f7ab749 [2022-09-28T17:30:46.655Z] Step 8/35 : WORKDIR /device-usb-camera [2022-09-28T17:30:46.655Z] ---> Running in d9eda2676028 [2022-09-28T17:30:46.921Z] Removing intermediate container d9eda2676028 [2022-09-28T17:30:46.921Z] ---> ef32aede24a4 [2022-09-28T17:30:46.921Z] Step 9/35 : COPY go.mod vendor* ./ [2022-09-28T17:30:47.505Z] ---> fb8d20997bcc [2022-09-28T17:30:47.505Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T17:30:47.505Z] ---> Running in f614afd31ff9 [2022-09-28T17:30:49.441Z] Removing intermediate container f614afd31ff9 [2022-09-28T17:30:49.442Z] ---> 2469c248615b [2022-09-28T17:30:49.442Z] Step 11/35 : COPY . . [2022-09-28T17:30:50.022Z] ---> badf73f0579c [2022-09-28T17:30:50.022Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-28T17:30:50.022Z] ---> Running in 313c55c035c3 [2022-09-28T17:30:50.978Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T17:30:50.978Z] Dload Upload Total Spent Left Speed [2022-09-28T17:30:51.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8388 0 --:--:-- --:--:-- --:--:-- 8428 [2022-09-28T17:30:51.826Z] Removing intermediate container 313c55c035c3 [2022-09-28T17:30:51.826Z] ---> 364ec0c35e16 [2022-09-28T17:30:51.826Z] Step 13/35 : RUN ${MAKE} [2022-09-28T17:30:51.826Z] ---> Running in 3d7079e3b675 [2022-09-28T17:30:52.789Z] 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.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-09-28T17:33:29.549Z] Removing intermediate container 3d7079e3b675 [2022-09-28T17:33:29.549Z] ---> beff67e8bf74 [2022-09-28T17:33:29.549Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-09-28T17:33:29.549Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-09-28T17:33:29.549Z] eab2503cf8f4: Pulling fs layer [2022-09-28T17:33:29.549Z] 97cd0a44c592: Pulling fs layer [2022-09-28T17:33:29.549Z] 97cd0a44c592: Verifying Checksum [2022-09-28T17:33:29.549Z] 97cd0a44c592: Download complete [2022-09-28T17:33:29.549Z] eab2503cf8f4: Verifying Checksum [2022-09-28T17:33:29.549Z] eab2503cf8f4: Download complete [2022-09-28T17:33:29.549Z] eab2503cf8f4: Pull complete [2022-09-28T17:33:29.549Z] 97cd0a44c592: Pull complete [2022-09-28T17:33:29.549Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-09-28T17:33:29.549Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-09-28T17:33:29.549Z] ---> 7f763cca56b3 [2022-09-28T17:33:29.549Z] Step 15/35 : FROM alpine:3.16 [2022-09-28T17:33:29.549Z] 3.16: Pulling from library/alpine [2022-09-28T17:33:29.549Z] 9b18e9b68314: Pulling fs layer [2022-09-28T17:33:29.549Z] 9b18e9b68314: Verifying Checksum [2022-09-28T17:33:29.549Z] 9b18e9b68314: Download complete [2022-09-28T17:33:29.839Z] 9b18e9b68314: Pull complete [2022-09-28T17:33:29.839Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T17:33:29.839Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T17:33:29.839Z] ---> a6215f271958 [2022-09-28T17:33:29.839Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T17:33:29.839Z] ---> Running in 1f49db5ad07a [2022-09-28T17:33:30.115Z] Removing intermediate container 1f49db5ad07a [2022-09-28T17:33:30.115Z] ---> 45957f775de7 [2022-09-28T17:33:30.115Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-09-28T17:33:30.414Z] ---> Running in 9a0b2b7999d7 [2022-09-28T17:33:31.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T17:33:31.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T17:33:32.393Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-09-28T17:33:32.393Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-09-28T17:33:32.393Z] (3/82) Installing libxau (1.0.9-r0) [2022-09-28T17:33:32.393Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-09-28T17:33:32.393Z] (5/82) Installing libxcb (1.15-r0) [2022-09-28T17:33:32.393Z] (6/82) Installing libx11 (1.8-r0) [2022-09-28T17:33:32.666Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-09-28T17:33:32.666Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-09-28T17:33:32.666Z] (9/82) Installing expat (2.4.9-r0) [2022-09-28T17:33:32.666Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-09-28T17:33:32.666Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-09-28T17:33:32.932Z] (12/82) Installing libpng (1.6.37-r1) [2022-09-28T17:33:32.932Z] (13/82) Installing freetype (2.12.1-r0) [2022-09-28T17:33:32.932Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-09-28T17:33:32.932Z] (15/82) Installing fribidi (1.0.12-r0) [2022-09-28T17:33:32.932Z] (16/82) Installing libffi (3.4.2-r1) [2022-09-28T17:33:32.932Z] (17/82) Installing libintl (0.21-r2) [2022-09-28T17:33:32.932Z] (18/82) Installing libblkid (2.38-r1) [2022-09-28T17:33:32.932Z] (19/82) Installing libmount (2.38-r1) [2022-09-28T17:33:32.932Z] (20/82) Installing pcre (8.45-r2) [2022-09-28T17:33:32.932Z] (21/82) Installing glib (2.72.1-r0) [2022-09-28T17:33:32.932Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-09-28T17:33:32.932Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-09-28T17:33:33.199Z] (24/82) Installing libass (0.16.0-r0) [2022-09-28T17:33:33.199Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-09-28T17:33:33.199Z] (26/82) Installing libdrm (2.4.110-r0) [2022-09-28T17:33:33.199Z] (27/82) Installing gmp (6.2.1-r2) [2022-09-28T17:33:33.199Z] (28/82) Installing nettle (3.7.3-r0) [2022-09-28T17:33:33.199Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-09-28T17:33:33.199Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-09-28T17:33:33.199Z] (31/82) Installing libunistring (1.0-r0) [2022-09-28T17:33:33.199Z] (32/82) Installing gnutls (3.7.7-r0) [2022-09-28T17:33:33.466Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-28T17:33:33.466Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-28T17:33:33.466Z] (35/82) Installing lame (3.100-r0) [2022-09-28T17:33:33.466Z] (36/82) Installing opus (1.3.1-r1) [2022-09-28T17:33:33.466Z] (37/82) Installing libasyncns (0.8-r1) [2022-09-28T17:33:33.466Z] (38/82) Installing dbus-libs (1.14.0-r1) [2022-09-28T17:33:33.466Z] (39/82) Installing libltdl (2.4.7-r0) [2022-09-28T17:33:33.466Z] (40/82) Installing orc (0.4.32-r0) [2022-09-28T17:33:33.466Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T17:33:33.466Z] (42/82) Installing libogg (1.3.5-r1) [2022-09-28T17:33:33.466Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T17:33:33.466Z] (44/82) Installing flac (1.3.4-r0) [2022-09-28T17:33:33.466Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-09-28T17:33:33.466Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-09-28T17:33:33.466Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-09-28T17:33:33.734Z] (48/82) Installing soxr (0.1.3-r2) [2022-09-28T17:33:33.734Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-09-28T17:33:33.734Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-09-28T17:33:33.734Z] (51/82) Installing libpulse (15.0-r2) [2022-09-28T17:33:33.734Z] (52/82) Installing cjson (1.7.15-r3) [2022-09-28T17:33:33.734Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-09-28T17:33:33.734Z] (54/82) Installing librist (0.2.6-r1) [2022-09-28T17:33:33.734Z] (55/82) Installing libsrt (1.4.4-r0) [2022-09-28T17:33:33.734Z] (56/82) Installing libssh (0.9.6-r1) [2022-09-28T17:33:33.734Z] (57/82) Installing libtheora (1.1.1-r16) [2022-09-28T17:33:33.734Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-09-28T17:33:33.734Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-09-28T17:33:33.734Z] (60/82) Installing libxext (1.3.4-r0) [2022-09-28T17:33:33.734Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-09-28T17:33:33.734Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-09-28T17:33:33.734Z] (63/82) Installing libva (2.14.0-r0) [2022-09-28T17:33:33.734Z] (64/82) Installing libvdpau (1.5-r0) [2022-09-28T17:33:33.734Z] (65/82) Installing vidstab (1.1.0-r1) [2022-09-28T17:33:33.734Z] (66/82) Installing libvpx (1.11.0-r1) [2022-09-28T17:33:34.002Z] (67/82) Installing libwebp (1.2.3-r0) [2022-09-28T17:33:34.002Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-09-28T17:33:34.002Z] (69/82) Installing numactl (2.0.14-r0) [2022-09-28T17:33:34.002Z] (70/82) Installing x265-libs (3.5-r3) [2022-09-28T17:33:34.002Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-09-28T17:33:34.002Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-09-28T17:33:34.586Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-09-28T17:33:34.586Z] (74/82) Installing udev-init-scripts (35-r0) [2022-09-28T17:33:34.586Z] Executing udev-init-scripts-35-r0.post-install [2022-09-28T17:33:34.586Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-09-28T17:33:34.586Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-09-28T17:33:34.586Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-09-28T17:33:34.586Z] (78/82) Installing kmod-libs (29-r2) [2022-09-28T17:33:34.586Z] (79/82) Installing eudev (3.2.11-r0) [2022-09-28T17:33:34.586Z] (80/82) Installing libsodium (1.0.18-r0) [2022-09-28T17:33:34.586Z] (81/82) Installing libzmq (4.3.4-r0) [2022-09-28T17:33:34.853Z] (82/82) Installing zeromq (4.3.4-r0) [2022-09-28T17:33:34.853Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T17:33:34.853Z] Executing eudev-3.2.11-r0.trigger [2022-09-28T17:33:34.853Z] OK: 78 MiB in 96 packages [2022-09-28T17:33:38.200Z] Removing intermediate container 9a0b2b7999d7 [2022-09-28T17:33:38.200Z] ---> f8f926dc4a6e [2022-09-28T17:33:38.200Z] Step 18/35 : WORKDIR / [2022-09-28T17:33:38.200Z] ---> Running in fa071103d756 [2022-09-28T17:33:38.200Z] Removing intermediate container fa071103d756 [2022-09-28T17:33:38.200Z] ---> a8ff8de1cfcf [2022-09-28T17:33:38.200Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-09-28T17:33:39.606Z] ---> 473127275b29 [2022-09-28T17:33:39.606Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-09-28T17:33:39.875Z] ---> 203dc38aaceb [2022-09-28T17:33:39.875Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-09-28T17:33:40.460Z] ---> 1896e274d0ef [2022-09-28T17:33:40.460Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-09-28T17:33:41.044Z] ---> 265ef16189ac [2022-09-28T17:33:41.044Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-09-28T17:33:41.628Z] ---> 834ff69dcd6a [2022-09-28T17:33:41.628Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-09-28T17:33:41.895Z] ---> 45a3064782e1 [2022-09-28T17:33:41.895Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-09-28T17:33:43.311Z] ---> 798f758a6843 [2022-09-28T17:33:43.311Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-09-28T17:33:43.311Z] ---> Running in c7214a4f8808 [2022-09-28T17:33:45.895Z] Removing intermediate container c7214a4f8808 [2022-09-28T17:33:45.895Z] ---> 971b18d5ef7a [2022-09-28T17:33:45.895Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-09-28T17:33:45.895Z] ---> Running in 20718c046a79 [2022-09-28T17:33:47.306Z] Removing intermediate container 20718c046a79 [2022-09-28T17:33:47.306Z] ---> cfa1c472da1e [2022-09-28T17:33:47.306Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-09-28T17:33:47.306Z] ---> Running in 3baf5398ceee [2022-09-28T17:33:48.717Z] Removing intermediate container 3baf5398ceee [2022-09-28T17:33:48.717Z] ---> f25b97eabf81 [2022-09-28T17:33:48.717Z] Step 29/35 : EXPOSE 59983 [2022-09-28T17:33:48.717Z] ---> Running in fe73937a0531 [2022-09-28T17:33:48.984Z] Removing intermediate container fe73937a0531 [2022-09-28T17:33:48.984Z] ---> 7f8f34ad56a6 [2022-09-28T17:33:48.984Z] Step 30/35 : EXPOSE 8554 [2022-09-28T17:33:48.984Z] ---> Running in e610cb6fe32f [2022-09-28T17:33:49.255Z] Removing intermediate container e610cb6fe32f [2022-09-28T17:33:49.255Z] ---> 9cfcc983a51e [2022-09-28T17:33:49.255Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-09-28T17:33:49.522Z] ---> Running in 2c1cffc3f1aa [2022-09-28T17:33:49.788Z] Removing intermediate container 2c1cffc3f1aa [2022-09-28T17:33:49.788Z] ---> 7dbff4497082 [2022-09-28T17:33:49.788Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-09-28T17:33:49.788Z] ---> Running in 1b1b7702d53d [2022-09-28T17:33:50.055Z] Removing intermediate container 1b1b7702d53d [2022-09-28T17:33:50.055Z] ---> 9ad8074b4d01 [2022-09-28T17:33:50.055Z] Step 33/35 : LABEL arch=arm64 [2022-09-28T17:33:50.055Z] ---> Running in 8df0d405aa2e [2022-09-28T17:33:50.321Z] Removing intermediate container 8df0d405aa2e [2022-09-28T17:33:50.321Z] ---> ba3829811a2a [2022-09-28T17:33:50.321Z] Step 34/35 : LABEL git_sha=605fcf76465cc832f0af3ce902af90fd93a7c902 [2022-09-28T17:33:50.587Z] ---> Running in b81969e293af [2022-09-28T17:33:50.853Z] Removing intermediate container b81969e293af [2022-09-28T17:33:50.853Z] ---> 21024a40da6d [2022-09-28T17:33:50.853Z] Step 35/35 : LABEL version=0.0.0 [2022-09-28T17:33:50.853Z] ---> Running in 3fd663695f14 [2022-09-28T17:33:51.118Z] Removing intermediate container 3fd663695f14 [2022-09-28T17:33:51.118Z] ---> 528f1f518914 [2022-09-28T17:33:51.118Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T17:33:51.118Z] Successfully built 528f1f518914 [2022-09-28T17:33:51.118Z] 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-09-28T17:33:51.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T17:33:51.929Z] [2022-09-28T17:33:51.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:33:52.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T17:33:52.324Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-28T17:33:52.324Z] 8998bd30e6a1: Pulling fs layer [2022-09-28T17:33:52.324Z] 04944245beec: Pulling fs layer [2022-09-28T17:33:52.324Z] 699f458cf7ca: Pulling fs layer [2022-09-28T17:33:52.324Z] 765212b225bb: Pulling fs layer [2022-09-28T17:33:52.324Z] f23df028b6ca: Pulling fs layer [2022-09-28T17:33:52.324Z] d65c8cfc05b1: Pulling fs layer [2022-09-28T17:33:52.324Z] 2437ff75d9bd: Pulling fs layer [2022-09-28T17:33:52.324Z] f23df028b6ca: Waiting [2022-09-28T17:33:52.324Z] d65c8cfc05b1: Waiting [2022-09-28T17:33:52.324Z] 2437ff75d9bd: Waiting [2022-09-28T17:33:52.324Z] 765212b225bb: Waiting [2022-09-28T17:33:52.591Z] 04944245beec: Verifying Checksum [2022-09-28T17:33:52.591Z] 04944245beec: Download complete [2022-09-28T17:33:52.591Z] 765212b225bb: Verifying Checksum [2022-09-28T17:33:52.591Z] 765212b225bb: Download complete [2022-09-28T17:33:52.591Z] f23df028b6ca: Verifying Checksum [2022-09-28T17:33:52.591Z] f23df028b6ca: Download complete [2022-09-28T17:33:52.591Z] d65c8cfc05b1: Download complete [2022-09-28T17:33:52.859Z] 699f458cf7ca: Verifying Checksum [2022-09-28T17:33:52.859Z] 699f458cf7ca: Download complete [2022-09-28T17:33:53.128Z] 8998bd30e6a1: Verifying Checksum [2022-09-28T17:33:53.128Z] 8998bd30e6a1: Download complete [2022-09-28T17:33:55.717Z] 2437ff75d9bd: Verifying Checksum [2022-09-28T17:33:55.717Z] 2437ff75d9bd: Download complete [2022-09-28T17:33:57.124Z] 8998bd30e6a1: Pull complete [2022-09-28T17:33:57.389Z] 04944245beec: Pull complete [2022-09-28T17:33:58.794Z] 699f458cf7ca: Pull complete [2022-09-28T17:33:59.061Z] 765212b225bb: Pull complete [2022-09-28T17:33:59.644Z] f23df028b6ca: Pull complete [2022-09-28T17:33:59.911Z] d65c8cfc05b1: Pull complete [2022-09-28T17:34:14.900Z] 2437ff75d9bd: Pull complete [2022-09-28T17:34:14.900Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-28T17:34:14.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T17:34:14.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:34:15.195Z] prd-ubuntu20.04-docker-arm64-4c-16g-1841 does not seem to be running inside a container [2022-09-28T17:34:15.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-28T17:34:17.630Z] $ docker top 15914ad47220c6ec660f4f49fa2d5b81e78ab83fe318840b6cd87d73703ac23e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:34:18.170Z] ---> job-cost.sh [2022-09-28T17:34:18.436Z] lf-activate-venv: SKIPPING [2022-09-28T17:34:18.436Z] INFO: No Stack... [2022-09-28T17:34:19.018Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-28T17:34:19.976Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T17:34:20.317Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-09-28T17:34:20.317Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T17:34:20.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-92-1-stack-cost] [2022-09-28T17:34:20.370Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-92-1-stack-cost] did not exist. Created. [2022-09-28T17:34:20.370Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-92-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T17:34:21.092Z] /w/workspace/device-usb-camera/1@tmp/durable-d88173da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-28T17:34:21.753Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-28T17:34:21.785Z] Warning: overwriting stash ‘stack-cost’ [2022-09-28T17:34:21.826Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T17:34:21.852Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-92-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T17:34:21.940Z] $ docker stop --time=1 15914ad47220c6ec660f4f49fa2d5b81e78ab83fe318840b6cd87d73703ac23e [2022-09-28T17:34:23.387Z] $ docker rm -f 15914ad47220c6ec660f4f49fa2d5b81e78ab83fe318840b6cd87d73703ac23e [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-09-28T17:34:24.265Z] provisioning config files... [2022-09-28T17:34:24.272Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-92@tmp/config3368141042225264104tmp [Pipeline] { [Pipeline] sh [2022-09-28T17:34:24.608Z] + set +x [2022-09-28T17:34:24.608Z] + + curl -sbash https://codecov.io/bash -s [2022-09-28T17:34:24.608Z] -- [2022-09-28T17:34:24.608Z] [2022-09-28T17:34:24.608Z] _____ _ [2022-09-28T17:34:24.608Z] / ____| | | [2022-09-28T17:34:24.608Z] | | ___ __| | ___ ___ _____ __ [2022-09-28T17:34:24.608Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-28T17:34:24.608Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-28T17:34:24.608Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-28T17:34:24.608Z] Bash-1.0.6 [2022-09-28T17:34:24.608Z] [2022-09-28T17:34:24.608Z] [2022-09-28T17:34:24.608Z] ==> git version 2.25.1 found [2022-09-28T17:34:24.608Z] ==> 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-09-28T17:34:24.608Z] Release-Date: 2020-01-08 [2022-09-28T17:34:24.608Z] 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-09-28T17:34:24.608Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-28T17:34:24.608Z] ==> Jenkins CI detected. [2022-09-28T17:34:24.608Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-92 [2022-09-28T17:34:24.608Z] project root: . [2022-09-28T17:34:24.608Z] --> token set from env [2022-09-28T17:34:24.608Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-28T17:34:24.608Z] ==> Running gcov in . (disable via -X gcov) [2022-09-28T17:34:24.608Z] ==> Python coveragepy not found [2022-09-28T17:34:24.608Z] ==> Searching for coverage reports in: [2022-09-28T17:34:24.608Z] + . [2022-09-28T17:34:24.608Z] -> Found 1 reports [2022-09-28T17:34:24.608Z] ==> Detecting git/mercurial file structure [2022-09-28T17:34:24.608Z] ==> Reading reports [2022-09-28T17:34:24.608Z] + ./coverage.out bytes=29387 [2022-09-28T17:34:24.608Z] ==> Appending adjustments [2022-09-28T17:34:24.608Z] https://docs.codecov.io/docs/fixing-reports [2022-09-28T17:34:24.868Z] + Found adjustments [2022-09-28T17:34:24.868Z] ==> Gzipping contents [2022-09-28T17:34:24.868Z] 8.0K /tmp/codecov.xoKaOa.gz [2022-09-28T17:34:24.868Z] ==> Uploading reports [2022-09-28T17:34:24.868Z] url: https://codecov.io [2022-09-28T17:34:24.868Z] query: branch=PR-92&commit=1eebc703339ec0136ddefc4bb8d45e003ff4e65a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-92%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=92&job=&cmd_args= [2022-09-28T17:34:24.868Z] -> Pinging Codecov [2022-09-28T17:34:24.868Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-92&commit=1eebc703339ec0136ddefc4bb8d45e003ff4e65a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-92%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=92&job=&cmd_args= [2022-09-28T17:34:25.127Z] -> Uploading to [2022-09-28T17:34:25.127Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-28/73D8F5FF140700D3E01443B452E23636/1eebc703339ec0136ddefc4bb8d45e003ff4e65a/38413d2c-2826-4ae4-9ee6-eb4359c332ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T173424Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=475cc04f06b8722d3727ae283e5796b6c0c51f37315d91ad3a8c1c70fbd37859 [2022-09-28T17:34:25.127Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T17:34:25.127Z] Dload Upload Total Spent Left Speed [2022-09-28T17:34:25.385Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4126 0 0 100 4126 0 13662 --:--:-- --:--:-- --:--:-- 13662 [2022-09-28T17:34:25.385Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/1eebc703339ec0136ddefc4bb8d45e003ff4e65a [Pipeline] } [2022-09-28T17:34:25.411Z] 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-09-28T17:34:26.990Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-92/archives ] [2022-09-28T17:34:26.990Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-92/archives [2022-09-28T17:34:26.990Z] total 16 [2022-09-28T17:34:26.990Z] drwxr-xr-x 3 root root 4096 Sep 28 17:26 . [2022-09-28T17:34:26.990Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 17:26 .. [2022-09-28T17:34:26.990Z] drwxr-xr-x 2 root root 4096 Sep 28 17:26 cost [2022-09-28T17:34:26.990Z] -rw-r--r-- 1 root root 88 Sep 28 17:26 cost.csv [2022-09-28T17:34:26.990Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-92/archives [2022-09-28T17:34:26.990Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-92/archives [2022-09-28T17:34:26.990Z] total 16 [2022-09-28T17:34:26.990Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 17:26 . [2022-09-28T17:34:26.990Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 17:26 .. [2022-09-28T17:34:26.990Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 17:26 cost [2022-09-28T17:34:26.990Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 28 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:34:27.313Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:34:28.207Z] ---> package-listing.sh [2022-09-28T17:34:28.207Z] ++ facter osfamily [2022-09-28T17:34:28.207Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-28T17:34:28.207Z] + OS_FAMILY=debian [2022-09-28T17:34:28.207Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-92 [2022-09-28T17:34:28.207Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-28T17:34:28.207Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-28T17:34:28.207Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-28T17:34:28.207Z] + PACKAGES=/tmp/packages_start.txt [2022-09-28T17:34:28.207Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-92 ']' [2022-09-28T17:34:28.207Z] + PACKAGES=/tmp/packages_end.txt [2022-09-28T17:34:28.207Z] + case "${OS_FAMILY}" in [2022-09-28T17:34:28.207Z] + grep '^ii' [2022-09-28T17:34:28.207Z] + dpkg -l [2022-09-28T17:34:28.466Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-28T17:34:28.466Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-28T17:34:28.466Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-28T17:34:28.466Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-92 ']' [2022-09-28T17:34:28.466Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-92/archives/ [2022-09-28T17:34:28.466Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-92/archives/ [Pipeline] echo [2022-09-28T17:34:28.500Z] 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-92/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-28T17:34:28.789Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T17:34:29.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T17:34:29.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T17:34:29.543Z] prd-ubuntu20.04-docker-8c-8g-1840 does not seem to be running inside a container [2022-09-28T17:34:29.580Z] $ 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-92/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-92 -v /w/workspace/xfoundry_device-usb-camera_PR-92:/w/workspace/xfoundry_device-usb-camera_PR-92:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-92@tmp:/w/workspace/xfoundry_device-usb-camera_PR-92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T17:34:29.740Z] $ docker top a5178d9b25fae09b27e9331e7e2df486ee21bc9ed486d76a813b75f67eea1bb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T17:34:30.117Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-28T17:34:30.425Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-28T17:34:30.728Z] + ls /var/log/sa-host [2022-09-28T17:34:30.729Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T17:34:30.922Z] provisioning config files... [2022-09-28T17:34:30.930Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-92@tmp/config3086550580327169445tmp [Pipeline] { [Pipeline] echo [2022-09-28T17:34:30.979Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:34:31.285Z] ---> create-netrc.sh [Pipeline] } [2022-09-28T17:34:31.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:34:31.719Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-28T17:34:31.749Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:34:32.058Z] ---> sudo-logs.sh [2022-09-28T17:34:32.058Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-28T17:34:32.135Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:34:32.439Z] ---> job-cost.sh [2022-09-28T17:34:32.439Z] lf-activate-venv: SKIPPING [2022-09-28T17:34:32.439Z] DEBUG: total: 0.2199999988079071 [2022-09-28T17:34:32.439Z] INFO: Retrieving Stack Cost... [2022-09-28T17:34:33.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T17:34:33.938Z] INFO: Archiving Costs [Pipeline] echo [2022-09-28T17:34:33.975Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T17:34:34.282Z] ---> logs-deploy.sh [2022-09-28T17:34:34.282Z] lf-activate-venv: SKIPPING [2022-09-28T17:34:34.282Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-92/1 [2022-09-28T17:34:34.282Z] INFO: archiving workspace using pattern(s): [2022-09-28T17:34:35.218Z] Archives upload complete. [2022-09-28T17:34:35.218Z] INFO: archiving logs to Nexus