Branch indexing 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 059aeb0713fc4e07acd8c370d817b94cb81fd04d rather than 7fedce7edd12652b29de3089237b3736a9072910 Obtained Jenkinsfile from 059aeb0713fc4e07acd8c370d817b94cb81fd04d 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-ssh14532671610527280448.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15768733874060414729.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2259073180628356130.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5418475134779499952.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8893876507337775519.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 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118740 in /w/workspace/foundry_device-usb-camera_PR-100 [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/foundry_device-usb-camera_PR-100 # 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 Merging remotes/origin/main commit 059aeb0713fc4e07acd8c370d817b94cb81fd04d into PR head commit 7fedce7edd12652b29de3089237b3736a9072910 > 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/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fedce7edd12652b29de3089237b3736a9072910 # 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 059aeb0713fc4e07acd8c370d817b94cb81fd04d # timeout=10 Merge succeeded, producing 58c8405089f4d8b0fa8f58ce714f442e008f470b Checking out Revision 58c8405089f4d8b0fa8f58ce714f442e008f470b (PR-100) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58c8405089f4d8b0fa8f58ce714f442e008f470b # timeout=10 Commit message: "Merge commit '059aeb0713fc4e07acd8c370d817b94cb81fd04d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 30cc7059e337adb2975619401bb28f20d9f308ce # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-09T06:15:22.989Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-09T06:15:23.047Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-09T06:15:23.063Z] ========================================================= [2022-11-09T06:15:23.063Z] EdgeX Global Pipelines Version Info [2022-11-09T06:15:23.063Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:15:23.772Z] ------------------- [2022-11-09T06:15:23.772Z] stable info: [2022-11-09T06:15:23.772Z] ------------------- [2022-11-09T06:15:23.772Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-09T06:15:23.772Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T06:15:23.772Z] Message: update stable to v1.0.244 [2022-11-09T06:15:24.344Z] ------------------- [2022-11-09T06:15:24.344Z] experimental info: [2022-11-09T06:15:24.344Z] ------------------- [2022-11-09T06:15:24.344Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-09T06:15:24.344Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T06:15:24.344Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-09T06:15:24.519Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-11-09T06:15:24.534Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-11-09T06:15:24.542Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-09T06:15:24.553Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-09T06:15:24.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-09T06:15:24.576Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-09T06:15:24.588Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-09T06:15:24.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-09T06:15:24.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-09T06:15:24.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-09T06:15:24.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-09T06:15:24.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-11-09T06:15:24.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-09T06:15:24.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-09T06:15:24.700Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T06:15:24.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T06:15:24.733Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T06:15:24.751Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T06:15:24.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-09T06:15:24.778Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-09T06:15:24.790Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-09T06:15:24.800Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-09T06:15:24.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-09T06:15:24.828Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-09T06:15:24.838Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-09T06:15:24.849Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-09T06:15:24.863Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-09T06:15:24.880Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo [2022-11-09T06:15:24.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo [2022-11-09T06:15:24.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo [2022-11-09T06:15:24.921Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58c8405089f4d8b0fa8f58ce714f442e008f470b [Pipeline] echo [2022-11-09T06:15:24.933Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58c8405 [Pipeline] echo [2022-11-09T06:15:24.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T06:15:24.985Z] provisioning config files... [2022-11-09T06:15:24.999Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config7009398453724137177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:15:25.300Z] ---> docker-login.sh [2022-11-09T06:15:25.300Z] nexus3.edgexfoundry.org:10001 [2022-11-09T06:15:25.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:25.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:25.820Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:25.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:25.820Z] [2022-11-09T06:15:25.820Z] Login Succeeded [2022-11-09T06:15:25.820Z] nexus3.edgexfoundry.org:10002 [2022-11-09T06:15:25.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:25.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:25.820Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:25.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:25.820Z] [2022-11-09T06:15:25.820Z] Login Succeeded [2022-11-09T06:15:25.820Z] nexus3.edgexfoundry.org:10003 [2022-11-09T06:15:25.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:26.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:26.080Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:26.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:26.080Z] [2022-11-09T06:15:26.080Z] Login Succeeded [2022-11-09T06:15:26.080Z] nexus3.edgexfoundry.org:10004 [2022-11-09T06:15:26.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:26.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:26.080Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:26.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:26.080Z] [2022-11-09T06:15:26.080Z] Login Succeeded [2022-11-09T06:15:26.080Z] docker.io [2022-11-09T06:15:26.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:26.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:26.649Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:26.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:26.649Z] [2022-11-09T06:15:26.649Z] Login Succeeded [2022-11-09T06:15:26.649Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T06:15:26.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-09T06:15:27.038Z] + git rev-list -1 --merges 58c8405089f4d8b0fa8f58ce714f442e008f470b~1..58c8405089f4d8b0fa8f58ce714f442e008f470b [Pipeline] echo [2022-11-09T06:15:27.066Z] -----------> git rev-list -1 --merges 58c8405089f4d8b0fa8f58ce714f442e008f470b~1..58c8405089f4d8b0fa8f58ce714f442e008f470b 58c8405089f4d8b0fa8f58ce714f442e008f470b [2022-11-09T06:15:27.066Z] 58c8405089f4d8b0fa8f58ce714f442e008f470b [false] [Pipeline] sh [2022-11-09T06:15:27.354Z] + git log --format=format:%s -1 58c8405089f4d8b0fa8f58ce714f442e008f470b [Pipeline] echo [2022-11-09T06:15:27.367Z] ========================================================= [2022-11-09T06:15:27.367Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-09T06:15:27.367Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T06:15:27.683Z] + git log --format=format:%s -1 58c8405089f4d8b0fa8f58ce714f442e008f470b [Pipeline] echo [2022-11-09T06:15:27.694Z] [semverPrep] GIT_COMMIT: 58c8405089f4d8b0fa8f58ce714f442e008f470b, Commit Message: Merge commit '059aeb0713fc4e07acd8c370d817b94cb81fd04d' into HEAD [Pipeline] echo [2022-11-09T06:15:27.703Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-09T06:15:28.127Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-09T06:15:28.127Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-09T06:15:28.127Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-09T06:15:28.127Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-09T06:15:28.127Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-09T06:15:28.127Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-09T06:15:28.127Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:15:28.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T06:15:28.522Z] [2022-11-09T06:15:28.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:15:28.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T06:15:28.822Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-09T06:15:28.822Z] b85a868b505f: Pulling fs layer [2022-11-09T06:15:28.822Z] e2be974225ed: Pulling fs layer [2022-11-09T06:15:28.822Z] 339a4e72a1f5: Pulling fs layer [2022-11-09T06:15:28.822Z] 988bab9f4d93: Pulling fs layer [2022-11-09T06:15:28.822Z] 1469e6f7b9e6: Pulling fs layer [2022-11-09T06:15:28.822Z] eaf3925da568: Pulling fs layer [2022-11-09T06:15:28.822Z] bab4dde63d76: Pulling fs layer [2022-11-09T06:15:28.822Z] bde34c3a00c8: Pulling fs layer [2022-11-09T06:15:28.822Z] b352a97aabf1: Pulling fs layer [2022-11-09T06:15:28.822Z] 4872d77fe225: Pulling fs layer [2022-11-09T06:15:28.822Z] 5851b861e8e6: Pulling fs layer [2022-11-09T06:15:28.822Z] bde34c3a00c8: Waiting [2022-11-09T06:15:28.822Z] 988bab9f4d93: Waiting [2022-11-09T06:15:28.822Z] 1469e6f7b9e6: Waiting [2022-11-09T06:15:28.822Z] eaf3925da568: Waiting [2022-11-09T06:15:28.822Z] b352a97aabf1: Waiting [2022-11-09T06:15:28.822Z] 4872d77fe225: Waiting [2022-11-09T06:15:28.822Z] 5851b861e8e6: Waiting [2022-11-09T06:15:28.822Z] bab4dde63d76: Waiting [2022-11-09T06:15:28.822Z] e2be974225ed: Download complete [2022-11-09T06:15:28.822Z] 988bab9f4d93: Verifying Checksum [2022-11-09T06:15:28.822Z] 988bab9f4d93: Download complete [2022-11-09T06:15:29.081Z] 1469e6f7b9e6: Verifying Checksum [2022-11-09T06:15:29.081Z] 1469e6f7b9e6: Download complete [2022-11-09T06:15:29.081Z] 339a4e72a1f5: Verifying Checksum [2022-11-09T06:15:29.081Z] 339a4e72a1f5: Download complete [2022-11-09T06:15:29.081Z] eaf3925da568: Download complete [2022-11-09T06:15:29.081Z] bde34c3a00c8: Verifying Checksum [2022-11-09T06:15:29.081Z] bde34c3a00c8: Download complete [2022-11-09T06:15:29.081Z] b352a97aabf1: Verifying Checksum [2022-11-09T06:15:29.081Z] b352a97aabf1: Download complete [2022-11-09T06:15:29.081Z] 4872d77fe225: Verifying Checksum [2022-11-09T06:15:29.081Z] 4872d77fe225: Download complete [2022-11-09T06:15:29.081Z] 5851b861e8e6: Verifying Checksum [2022-11-09T06:15:29.081Z] 5851b861e8e6: Download complete [2022-11-09T06:15:29.081Z] b85a868b505f: Verifying Checksum [2022-11-09T06:15:29.081Z] b85a868b505f: Download complete [2022-11-09T06:15:29.339Z] bab4dde63d76: Verifying Checksum [2022-11-09T06:15:29.339Z] bab4dde63d76: Download complete [2022-11-09T06:15:30.713Z] b85a868b505f: Pull complete [2022-11-09T06:15:30.713Z] e2be974225ed: Pull complete [2022-11-09T06:15:31.278Z] 339a4e72a1f5: Pull complete [2022-11-09T06:15:31.278Z] 988bab9f4d93: Pull complete [2022-11-09T06:15:31.540Z] 1469e6f7b9e6: Pull complete [2022-11-09T06:15:31.540Z] eaf3925da568: Pull complete [2022-11-09T06:15:33.446Z] bab4dde63d76: Pull complete [2022-11-09T06:15:33.446Z] bde34c3a00c8: Pull complete [2022-11-09T06:15:33.704Z] b352a97aabf1: Pull complete [2022-11-09T06:15:33.704Z] 4872d77fe225: Pull complete [2022-11-09T06:15:33.963Z] 5851b861e8e6: Pull complete [2022-11-09T06:15:33.963Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-09T06:15:33.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T06:15:33.963Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T06:15:34.049Z] prd-ubuntu20.04-docker-8c-8g-118740 does not seem to be running inside a container [2022-11-09T06:15:34.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-09T06:15:36.524Z] $ docker top d9960f6313328640ad56ebe98b44616eca0c454451389dd2f43353abf8476d7b -eo pid,comm [2022-11-09T06:15:36.579Z] 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-11-09T06:15:36.579Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-09T06:15:36.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T06:15:36.612Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T06:15:36.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T06:15:36.739Z] $ docker exec d9960f6313328640ad56ebe98b44616eca0c454451389dd2f43353abf8476d7b ssh-agent [2022-11-09T06:15:36.860Z] SSH_AUTH_SOCK=/tmp/ssh-bdClV5pgMEgM/agent.20 [2022-11-09T06:15:36.860Z] SSH_AGENT_PID=38 [2022-11-09T06:15:36.865Z] Running ssh-add (command line suppressed) [2022-11-09T06:15:36.975Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_17628061846415602347.key (/w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_17628061846415602347.key) [2022-11-09T06:15:36.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T06:15:37.273Z] + git tag --points-at HEAD [Pipeline] } [2022-11-09T06:15:37.285Z] $ docker exec --env ******** --env ******** d9960f6313328640ad56ebe98b44616eca0c454451389dd2f43353abf8476d7b ssh-agent -k [2022-11-09T06:15:37.394Z] unset SSH_AUTH_SOCK; [2022-11-09T06:15:37.395Z] unset SSH_AGENT_PID; [2022-11-09T06:15:37.395Z] echo Agent pid 38 killed; [2022-11-09T06:15:37.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-09T06:15:37.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T06:15:37.429Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T06:15:37.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T06:15:37.547Z] $ docker exec d9960f6313328640ad56ebe98b44616eca0c454451389dd2f43353abf8476d7b ssh-agent [2022-11-09T06:15:37.658Z] SSH_AUTH_SOCK=/tmp/ssh-XInBeVAndxU8/agent.70 [2022-11-09T06:15:37.658Z] SSH_AGENT_PID=77 [2022-11-09T06:15:37.663Z] Running ssh-add (command line suppressed) [2022-11-09T06:15:37.781Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_11097987975663325592.key (/w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_11097987975663325592.key) [2022-11-09T06:15:37.794Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T06:15:38.078Z] + git semver init [2022-11-09T06:15:38.337Z] 2022-11-09 06:15:38,254 [run_init] DEBUG init version:0.0.0 force:False [2022-11-09T06:15:38.337Z] 2022-11-09 06:15:38,255 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-100/.semver [2022-11-09T06:15:38.337Z] 2022-11-09 06:15:38,256 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-100/.semver [2022-11-09T06:15:38.337Z] 2022-11-09 06:15:38,256 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-100/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-100, universal_newlines=False, shell=None, istream=None) [2022-11-09T06:15:39.279Z] 2022-11-09 06:15:39,037 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-100/.git/info/exclude [2022-11-09T06:15:39.279Z] 2022-11-09 06:15:39,037 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-100/.semver/PR-100 with force:False [2022-11-09T06:15:39.279Z] 2022-11-09 06:15:39,037 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-100/.semver/PR-100 [2022-11-09T06:15:39.279Z] 2022-11-09 06:15:39,042 [execute] INFO git cat-file --batch-check [2022-11-09T06:15:39.279Z] 2022-11-09 06:15:39,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-11-09T06:15:39.279Z] 2022-11-09 06:15:39,050 [execute] INFO git cat-file --batch [2022-11-09T06:15:39.279Z] 2022-11-09 06:15:39,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-11-09T06:15:39.279Z] 2022-11-09 06:15:39,056 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-100/.semver/PR-100 [2022-11-09T06:15:39.279Z] 0.0.0 [Pipeline] } [2022-11-09T06:15:39.288Z] $ docker exec --env ******** --env ******** d9960f6313328640ad56ebe98b44616eca0c454451389dd2f43353abf8476d7b ssh-agent -k [2022-11-09T06:15:39.390Z] unset SSH_AUTH_SOCK; [2022-11-09T06:15:39.390Z] unset SSH_AGENT_PID; [2022-11-09T06:15:39.390Z] echo Agent pid 77 killed; [2022-11-09T06:15:39.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-09T06:15:39.693Z] + git semver [Pipeline] } [2022-11-09T06:15:39.964Z] $ docker stop --time=1 d9960f6313328640ad56ebe98b44616eca0c454451389dd2f43353abf8476d7b [2022-11-09T06:15:41.272Z] $ docker rm -f d9960f6313328640ad56ebe98b44616eca0c454451389dd2f43353abf8476d7b [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T06:15:41.602Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-09T06:15:41.761Z] Stashed 1 file(s) [Pipeline] echo [2022-11-09T06:15:41.763Z] [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-11-09T06:15:41.897Z] provisioning config files... [2022-11-09T06:15:41.906Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config13656917227223539170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:15:42.199Z] ---> docker-login.sh [2022-11-09T06:15:42.199Z] nexus3.edgexfoundry.org:10001 [2022-11-09T06:15:42.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:42.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:42.199Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:42.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:42.199Z] [2022-11-09T06:15:42.199Z] Login Succeeded [2022-11-09T06:15:42.199Z] nexus3.edgexfoundry.org:10002 [2022-11-09T06:15:42.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:42.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:42.199Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:42.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:42.199Z] [2022-11-09T06:15:42.199Z] Login Succeeded [2022-11-09T06:15:42.199Z] nexus3.edgexfoundry.org:10003 [2022-11-09T06:15:42.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:42.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:42.458Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:42.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:42.458Z] [2022-11-09T06:15:42.458Z] Login Succeeded [2022-11-09T06:15:42.458Z] nexus3.edgexfoundry.org:10004 [2022-11-09T06:15:42.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:42.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:42.458Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:42.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:42.458Z] [2022-11-09T06:15:42.458Z] Login Succeeded [2022-11-09T06:15:42.458Z] docker.io [2022-11-09T06:15:42.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:15:42.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:15:42.977Z] Configure a credential helper to remove this warning. See [2022-11-09T06:15:42.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:15:42.977Z] [2022-11-09T06:15:42.977Z] Login Succeeded [2022-11-09T06:15:42.977Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T06:15:42.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T06:15:43.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T06:15:43.048Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T06:15:43.057Z] ========================================================= [2022-11-09T06:15:43.057Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-09T06:15:43.057Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:15:43.371Z] + 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-11-09T06:15:43.371Z] Sending build context to Docker daemon 1.606MB [2022-11-09T06:15:43.371Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T06:15:43.371Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-09T06:15:43.371Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-09T06:15:43.371Z] 213ec9aee27d: Pulling fs layer [2022-11-09T06:15:43.371Z] 4583459ba037: Pulling fs layer [2022-11-09T06:15:43.371Z] 93c1e223e6f2: Pulling fs layer [2022-11-09T06:15:43.371Z] 53926ce57604: Pulling fs layer [2022-11-09T06:15:43.371Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-09T06:15:43.371Z] 22ff95d597cd: Pulling fs layer [2022-11-09T06:15:43.371Z] 12d6caf4c0d1: Pulling fs layer [2022-11-09T06:15:43.371Z] 96b7cbca73a9: Pulling fs layer [2022-11-09T06:15:43.371Z] a7acece74701: Pulling fs layer [2022-11-09T06:15:43.371Z] 53926ce57604: Waiting [2022-11-09T06:15:43.371Z] 21b2b0c7a3f4: Waiting [2022-11-09T06:15:43.371Z] 12d6caf4c0d1: Waiting [2022-11-09T06:15:43.371Z] 96b7cbca73a9: Waiting [2022-11-09T06:15:43.371Z] a7acece74701: Waiting [2022-11-09T06:15:43.371Z] 93c1e223e6f2: Verifying Checksum [2022-11-09T06:15:43.371Z] 93c1e223e6f2: Download complete [2022-11-09T06:15:43.371Z] 4583459ba037: Download complete [2022-11-09T06:15:43.371Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-09T06:15:43.371Z] 21b2b0c7a3f4: Download complete [2022-11-09T06:15:43.630Z] 22ff95d597cd: Verifying Checksum [2022-11-09T06:15:43.630Z] 22ff95d597cd: Download complete [2022-11-09T06:15:43.630Z] 213ec9aee27d: Verifying Checksum [2022-11-09T06:15:43.630Z] 213ec9aee27d: Download complete [2022-11-09T06:15:43.630Z] 12d6caf4c0d1: Verifying Checksum [2022-11-09T06:15:43.630Z] 12d6caf4c0d1: Download complete [2022-11-09T06:15:43.630Z] 213ec9aee27d: Pull complete [2022-11-09T06:15:43.892Z] 4583459ba037: Pull complete [2022-11-09T06:15:43.892Z] 93c1e223e6f2: Pull complete [2022-11-09T06:15:44.465Z] a7acece74701: Download complete [2022-11-09T06:15:44.465Z] 53926ce57604: Verifying Checksum [2022-11-09T06:15:44.465Z] 53926ce57604: Download complete [2022-11-09T06:15:44.723Z] 96b7cbca73a9: Verifying Checksum [2022-11-09T06:15:44.723Z] 96b7cbca73a9: Download complete [2022-11-09T06:15:48.001Z] 53926ce57604: Pull complete [2022-11-09T06:15:48.262Z] 21b2b0c7a3f4: Pull complete [2022-11-09T06:15:48.262Z] 22ff95d597cd: Pull complete [2022-11-09T06:15:48.262Z] 12d6caf4c0d1: Pull complete [2022-11-09T06:15:50.191Z] 96b7cbca73a9: Pull complete [2022-11-09T06:15:51.145Z] a7acece74701: Pull complete [2022-11-09T06:15:51.145Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-09T06:15:51.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-09T06:15:51.145Z] ---> db6d94c90886 [2022-11-09T06:15:51.145Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-09T06:15:56.422Z] ---> Running in 9d50eab6e80e [2022-11-09T06:15:56.422Z] Removing intermediate container 9d50eab6e80e [2022-11-09T06:15:56.422Z] ---> 79e717469d26 [2022-11-09T06:15:56.422Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T06:15:56.422Z] ---> Running in 63eb6508b6e2 [2022-11-09T06:15:56.422Z] Removing intermediate container 63eb6508b6e2 [2022-11-09T06:15:56.422Z] ---> e688497ce4c6 [2022-11-09T06:15:56.422Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-09T06:15:56.422Z] ---> Running in 6229ddc293e6 [2022-11-09T06:15:56.422Z] Removing intermediate container 6229ddc293e6 [2022-11-09T06:15:56.422Z] ---> 9960badfef44 [2022-11-09T06:15:56.422Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-09T06:15:56.422Z] ---> Running in c1e02be279fb [2022-11-09T06:15:56.422Z] Removing intermediate container c1e02be279fb [2022-11-09T06:15:56.422Z] ---> 80a8a8ea6b7f [2022-11-09T06:15:56.422Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T06:15:56.422Z] ---> Running in 4962a7d848e6 [2022-11-09T06:15:56.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T06:15:56.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T06:15:56.859Z] Still waiting to schedule task [2022-11-09T06:15:56.859Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-09T06:15:56.991Z] (1/80) Installing mesa (21.3.8-r2) [2022-11-09T06:15:56.991Z] (2/80) Installing libxau (1.0.9-r0) [2022-11-09T06:15:56.991Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-11-09T06:15:56.991Z] (4/80) Installing libxcb (1.15-r0) [2022-11-09T06:15:56.991Z] (5/80) Installing libx11 (1.8-r0) [2022-11-09T06:15:56.991Z] (6/80) Installing libxext (1.3.4-r0) [2022-11-09T06:15:56.991Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-11-09T06:15:56.991Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-11-09T06:15:56.991Z] (9/80) Installing libpciaccess (0.16-r0) [2022-11-09T06:15:56.991Z] (10/80) Installing libdrm (2.4.110-r0) [2022-11-09T06:15:56.991Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-11-09T06:15:56.991Z] (12/80) Installing libxshmfence (1.3-r1) [2022-11-09T06:15:56.991Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-11-09T06:15:56.991Z] (14/80) Installing icu-data-full (71.1-r2) [2022-11-09T06:15:56.991Z] (15/80) Installing libice (1.0.10-r0) [2022-11-09T06:15:56.991Z] (16/80) Installing libuuid (2.38-r1) [2022-11-09T06:15:56.991Z] (17/80) Installing libsm (1.2.3-r0) [2022-11-09T06:15:56.991Z] (18/80) Installing libxt (1.2.1-r0) [2022-11-09T06:15:57.251Z] (19/80) Installing libxmu (1.1.3-r0) [2022-11-09T06:15:57.251Z] (20/80) Installing xset (1.2.4-r0) [2022-11-09T06:15:57.251Z] (21/80) Installing xprop (1.2.5-r0) [2022-11-09T06:15:57.251Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-11-09T06:15:57.251Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-11-09T06:15:57.251Z] (24/80) Installing libffi (3.4.2-r1) [2022-11-09T06:15:57.251Z] (25/80) Installing libintl (0.21-r2) [2022-11-09T06:15:57.251Z] (26/80) Installing libblkid (2.38-r1) [2022-11-09T06:15:57.251Z] (27/80) Installing libmount (2.38-r1) [2022-11-09T06:15:57.251Z] (28/80) Installing pcre (8.45-r2) [2022-11-09T06:15:57.251Z] (29/80) Installing glib (2.72.1-r0) [2022-11-09T06:15:57.251Z] (30/80) Installing icu-libs (71.1-r2) [2022-11-09T06:15:57.251Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-11-09T06:15:57.251Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-11-09T06:15:57.251Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-11-09T06:15:57.251Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-11-09T06:15:57.251Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-11-09T06:15:57.251Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-11-09T06:15:57.251Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-11-09T06:15:57.251Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-11-09T06:15:57.510Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-11-09T06:15:57.510Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-11-09T06:15:57.510Z] (41/80) Installing libpng (1.6.37-r1) [2022-11-09T06:15:57.510Z] (42/80) Installing freetype (2.12.1-r0) [2022-11-09T06:15:57.510Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-11-09T06:15:57.510Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-11-09T06:15:57.510Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-11-09T06:15:57.510Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-11-09T06:15:57.510Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-11-09T06:15:57.510Z] (48/80) Installing libxml2 (2.9.14-r2) [2022-11-09T06:15:57.510Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-11-09T06:15:57.510Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-11-09T06:15:57.510Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-11-09T06:15:57.510Z] (52/80) Installing avahi-libs (0.8-r6) [2022-11-09T06:15:57.510Z] (53/80) Installing nettle (3.7.3-r0) [2022-11-09T06:15:57.510Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-11-09T06:15:57.510Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-11-09T06:15:57.510Z] (56/80) Installing libunistring (1.0-r0) [2022-11-09T06:15:57.768Z] (57/80) Installing gnutls (3.7.7-r0) [2022-11-09T06:15:57.768Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-11-09T06:15:57.768Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-11-09T06:15:57.768Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-11-09T06:15:57.768Z] (61/80) Installing libevdev (1.12.1-r0) [2022-11-09T06:15:57.768Z] (62/80) Installing mtdev (1.1.6-r0) [2022-11-09T06:15:57.768Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-11-09T06:15:57.768Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-11-09T06:15:57.768Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-11-09T06:15:57.768Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-11-09T06:15:57.768Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-11-09T06:15:57.768Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-11-09T06:15:57.768Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-11-09T06:15:57.768Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-11-09T06:15:57.768Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-11-09T06:15:57.768Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-11-09T06:15:57.768Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-11-09T06:15:57.768Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-11-09T06:15:58.027Z] (75/80) Installing udev-init-scripts (35-r0) [2022-11-09T06:15:58.027Z] Executing udev-init-scripts-35-r0.post-install [2022-11-09T06:15:58.027Z] (76/80) Installing kmod-libs (29-r2) [2022-11-09T06:15:58.027Z] (77/80) Installing eudev (3.2.11-r0) [2022-11-09T06:15:58.027Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-11-09T06:15:58.027Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-11-09T06:15:58.027Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-11-09T06:15:58.027Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T06:15:58.027Z] Executing eudev-3.2.11-r0.trigger [2022-11-09T06:15:58.027Z] OK: 330 MiB in 131 packages [2022-11-09T06:16:01.385Z] Removing intermediate container 4962a7d848e6 [2022-11-09T06:16:01.385Z] ---> aaf88d80ca09 [2022-11-09T06:16:01.385Z] Step 8/13 : WORKDIR /device-usb-camera [2022-11-09T06:16:01.385Z] ---> Running in bde7e48f2187 [2022-11-09T06:16:01.385Z] Removing intermediate container bde7e48f2187 [2022-11-09T06:16:01.385Z] ---> 353fbec21974 [2022-11-09T06:16:01.385Z] Step 9/13 : COPY go.mod vendor* ./ [2022-11-09T06:16:01.385Z] ---> 48528952a40f [2022-11-09T06:16:01.385Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T06:16:01.385Z] ---> Running in ceeabf8c7eb2 [2022-11-09T06:16:27.960Z] Removing intermediate container ceeabf8c7eb2 [2022-11-09T06:16:27.960Z] ---> f85164b921c8 [2022-11-09T06:16:27.960Z] Step 11/13 : COPY . . [2022-11-09T06:16:27.960Z] ---> 7655b05d1f62 [2022-11-09T06:16:27.960Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-09T06:16:27.960Z] ---> Running in 52af3baee3e3 [2022-11-09T06:16:27.960Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T06:16:27.960Z]   Dload Upload Total Spent Left Speed [2022-11-09T06:16:27.960Z] 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10613 0 --:--:-- --:--:-- --:--:-- 10727 [2022-11-09T06:16:27.960Z] Removing intermediate container 52af3baee3e3 [2022-11-09T06:16:27.960Z] ---> 242e8faf3d29 [2022-11-09T06:16:27.960Z] Step 13/13 : RUN ${MAKE} [2022-11-09T06:16:27.960Z] ---> Running in 8416fef192f2 [2022-11-09T06:16:27.960Z] noop [2022-11-09T06:16:27.960Z] Removing intermediate container 8416fef192f2 [2022-11-09T06:16:27.960Z] ---> 73f1394ba9d1 [2022-11-09T06:16:27.960Z] Successfully built 73f1394ba9d1 [2022-11-09T06:16:27.960Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:16:28.273Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T06:16:28.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T06:16:28.339Z] prd-ubuntu20.04-docker-8c-8g-118740 does not seem to be running inside a container [2022-11-09T06:16:28.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T06:16:28.697Z] $ docker top d9381abb27f3c3c180990c3a798daca0b17e6a103adde9fedd2f64f9a356b0ed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T06:16:29.045Z] + go version [2022-11-09T06:16:29.045Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-09T06:16:29.055Z] $ docker stop --time=1 d9381abb27f3c3c180990c3a798daca0b17e6a103adde9fedd2f64f9a356b0ed [2022-11-09T06:16:30.319Z] $ docker rm -f d9381abb27f3c3c180990c3a798daca0b17e6a103adde9fedd2f64f9a356b0ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:16:30.735Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T06:16:30.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T06:16:30.803Z] prd-ubuntu20.04-docker-8c-8g-118740 does not seem to be running inside a container [2022-11-09T06:16:30.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T06:16:31.140Z] $ docker top 7ba16089ddb002c9d5cff095d9a0ecc76bbe96ac751ee72113e168929d390dad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T06:16:31.477Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-100 [Pipeline] fileExists [Pipeline] sh [2022-11-09T06:16:31.769Z] + make test [2022-11-09T06:16:31.769Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-11-09T06:16:32.027Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-11-09T06:16:41.995Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-11-09T06:16:41.995Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements [2022-11-09T06:16:47.257Z] 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-11-09T06:16:47.257Z] CGO_ENABLED=1 go vet ./... [2022-11-09T06:16:50.539Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T06:16:50.539Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T06:16:50.539Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T06:16:50.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T06:16:50.559Z] $ docker stop --time=1 7ba16089ddb002c9d5cff095d9a0ecc76bbe96ac751ee72113e168929d390dad [2022-11-09T06:16:53.056Z] $ docker rm -f 7ba16089ddb002c9d5cff095d9a0ecc76bbe96ac751ee72113e168929d390dad [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T06:16:53.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T06:16:53.530Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-09T06:16:54.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T06:16:54.335Z] + ls -al . [2022-11-09T06:16:54.335Z] total 200 [2022-11-09T06:16:54.335Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 06:16 . [2022-11-09T06:16:54.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 06:15 .. [2022-11-09T06:16:54.335Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 06:16 .git [2022-11-09T06:16:54.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:15 .github [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 414 Nov 9 06:15 .gitignore [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 9 06:15 .golangci.yml [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 9 06:15 .hadolint.yml [2022-11-09T06:16:54.335Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 06:15 .semver [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 9702 Nov 9 06:15 Attribution.txt [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 1206 Nov 9 06:15 CHANGELOG.md [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 2378 Nov 9 06:15 Dockerfile [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 06:15 GOVERNANCE.md [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 9 06:15 Jenkinsfile [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 9 06:15 LICENSE [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 2554 Nov 9 06:15 Makefile [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 06:15 OWNERS.md [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 5773 Nov 9 06:15 README.md [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 06:15 VERSION [2022-11-09T06:16:54.335Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 06:15 bin [2022-11-09T06:16:54.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:15 cmd [2022-11-09T06:16:54.335Z] -rw-r--r-- 1 jenkins jenkins 29387 Nov 9 06:16 coverage.out [2022-11-09T06:16:54.335Z] -rwxrwxr-x 1 jenkins jenkins 140 Nov 9 06:15 docker-entrypoint.sh [2022-11-09T06:16:54.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:15 docs [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 3573 Nov 9 06:15 go.mod [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 45026 Nov 9 06:15 go.sum [2022-11-09T06:16:54.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:15 internal [2022-11-09T06:16:54.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 06:15 snap [2022-11-09T06:16:54.335Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 9 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:16:54.650Z] + 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=58c8405089f4d8b0fa8f58ce714f442e008f470b --label arch=amd64 --label version=0.0.0 . [2022-11-09T06:16:54.650Z] Sending build context to Docker daemon 1.636MB [2022-11-09T06:16:54.650Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T06:16:54.650Z] Step 2/35 : FROM ${BASE} AS builder [2022-11-09T06:16:54.650Z] ---> 73f1394ba9d1 [2022-11-09T06:16:54.650Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-11-09T06:16:54.650Z] ---> Running in c4b322909174 [2022-11-09T06:16:54.908Z] Removing intermediate container c4b322909174 [2022-11-09T06:16:54.908Z] ---> 1b03248cfcad [2022-11-09T06:16:54.908Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T06:16:54.908Z] ---> Running in dea264e5c78d [2022-11-09T06:16:54.908Z] Removing intermediate container dea264e5c78d [2022-11-09T06:16:54.908Z] ---> e6082722bed5 [2022-11-09T06:16:54.908Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-09T06:16:54.908Z] ---> Running in 2f27d1b18a99 [2022-11-09T06:16:54.908Z] Removing intermediate container 2f27d1b18a99 [2022-11-09T06:16:54.908Z] ---> ddae7b550005 [2022-11-09T06:16:54.908Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-09T06:16:54.908Z] ---> Running in 8a802fe45fba [2022-11-09T06:16:55.167Z] Removing intermediate container 8a802fe45fba [2022-11-09T06:16:55.167Z] ---> f7c8cab5261b [2022-11-09T06:16:55.167Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T06:16:55.167Z] ---> Running in fcc3415476ff [2022-11-09T06:16:55.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T06:16:55.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T06:16:55.688Z] OK: 330 MiB in 131 packages [2022-11-09T06:16:55.949Z] Removing intermediate container fcc3415476ff [2022-11-09T06:16:55.949Z] ---> 916bb7670fb3 [2022-11-09T06:16:55.949Z] Step 8/35 : WORKDIR /device-usb-camera [2022-11-09T06:16:55.949Z] ---> Running in bb04c543005e [2022-11-09T06:16:56.209Z] Removing intermediate container bb04c543005e [2022-11-09T06:16:56.209Z] ---> 9778f7ddd0b5 [2022-11-09T06:16:56.209Z] Step 9/35 : COPY go.mod vendor* ./ [2022-11-09T06:16:56.209Z] ---> 3ca0e5dab70f [2022-11-09T06:16:56.209Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T06:16:56.209Z] ---> Running in 8a081e854813 [2022-11-09T06:16:56.777Z] Removing intermediate container 8a081e854813 [2022-11-09T06:16:56.777Z] ---> d21ee01ea07f [2022-11-09T06:16:56.777Z] Step 11/35 : COPY . . [2022-11-09T06:16:57.346Z] ---> eb13f4e3aac4 [2022-11-09T06:16:57.346Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-09T06:16:57.346Z] ---> Running in c6b8b673a47d [2022-11-09T06:16:57.346Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T06:16:57.346Z] Dload Upload Total Spent Left Speed [2022-11-09T06:16:57.606Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 43144 0 --:--:-- --:--:-- --:--:-- 44250 [2022-11-09T06:16:57.865Z] Removing intermediate container c6b8b673a47d [2022-11-09T06:16:57.865Z] ---> ac5eb25ddf70 [2022-11-09T06:16:57.865Z] Step 13/35 : RUN ${MAKE} [2022-11-09T06:16:57.865Z] ---> Running in f15e0fb89c5c [2022-11-09T06:16:58.124Z] CGO_ENABLED=1 go build -tags "" -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" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-11-09T06:17:20.137Z] Removing intermediate container f15e0fb89c5c [2022-11-09T06:17:20.137Z] ---> b1a8d4e374bf [2022-11-09T06:17:20.137Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-11-09T06:17:20.137Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-11-09T06:17:20.137Z] af6660deedbd: Pulling fs layer [2022-11-09T06:17:20.137Z] 97cd0a44c592: Pulling fs layer [2022-11-09T06:17:20.137Z] 97cd0a44c592: Verifying Checksum [2022-11-09T06:17:20.137Z] 97cd0a44c592: Download complete [2022-11-09T06:17:20.137Z] af6660deedbd: Verifying Checksum [2022-11-09T06:17:20.137Z] af6660deedbd: Download complete [2022-11-09T06:17:20.137Z] af6660deedbd: Pull complete [2022-11-09T06:17:20.137Z] 97cd0a44c592: Pull complete [2022-11-09T06:17:20.137Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-11-09T06:17:20.137Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-11-09T06:17:20.137Z] ---> fea57e182299 [2022-11-09T06:17:20.137Z] Step 15/35 : FROM alpine:3.16 [2022-11-09T06:17:20.137Z] 3.16: Pulling from library/alpine [2022-11-09T06:17:20.137Z] 213ec9aee27d: Already exists [2022-11-09T06:17:20.137Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T06:17:20.137Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T06:17:20.137Z] ---> 9c6f07244728 [2022-11-09T06:17:20.137Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-09T06:17:20.137Z] ---> Running in c44ce45b58a3 [2022-11-09T06:17:20.396Z] Removing intermediate container c44ce45b58a3 [2022-11-09T06:17:20.396Z] ---> 2aa11866b1ca [2022-11-09T06:17:20.396Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-11-09T06:17:20.396Z] ---> Running in bb0724837240 [2022-11-09T06:17:20.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T06:17:20.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T06:17:20.912Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-11-09T06:17:20.912Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-11-09T06:17:21.170Z] (3/83) Installing libxau (1.0.9-r0) [2022-11-09T06:17:21.170Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-11-09T06:17:21.170Z] (5/83) Installing libxcb (1.15-r0) [2022-11-09T06:17:21.170Z] (6/83) Installing libx11 (1.8-r0) [2022-11-09T06:17:21.170Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-11-09T06:17:21.171Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-11-09T06:17:21.171Z] (9/83) Installing expat (2.5.0-r0) [2022-11-09T06:17:21.171Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-11-09T06:17:21.171Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-11-09T06:17:21.171Z] (12/83) Installing libpng (1.6.37-r1) [2022-11-09T06:17:21.171Z] (13/83) Installing freetype (2.12.1-r0) [2022-11-09T06:17:21.171Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-11-09T06:17:21.171Z] (15/83) Installing fribidi (1.0.12-r0) [2022-11-09T06:17:21.171Z] (16/83) Installing libffi (3.4.2-r1) [2022-11-09T06:17:21.171Z] (17/83) Installing libintl (0.21-r2) [2022-11-09T06:17:21.171Z] (18/83) Installing libblkid (2.38-r1) [2022-11-09T06:17:21.171Z] (19/83) Installing libmount (2.38-r1) [2022-11-09T06:17:21.171Z] (20/83) Installing pcre (8.45-r2) [2022-11-09T06:17:21.171Z] (21/83) Installing glib (2.72.1-r0) [2022-11-09T06:17:21.171Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-11-09T06:17:21.171Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-11-09T06:17:21.428Z] (24/83) Installing libass (0.16.0-r0) [2022-11-09T06:17:21.428Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-11-09T06:17:21.428Z] (26/83) Installing libpciaccess (0.16-r0) [2022-11-09T06:17:21.428Z] (27/83) Installing libdrm (2.4.110-r0) [2022-11-09T06:17:21.428Z] (28/83) Installing gmp (6.2.1-r2) [2022-11-09T06:17:21.428Z] (29/83) Installing nettle (3.7.3-r0) [2022-11-09T06:17:21.428Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-11-09T06:17:21.428Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-11-09T06:17:21.428Z] (32/83) Installing libunistring (1.0-r0) [2022-11-09T06:17:21.428Z] (33/83) Installing gnutls (3.7.7-r0) [2022-11-09T06:17:21.428Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-11-09T06:17:21.428Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-11-09T06:17:21.428Z] (36/83) Installing lame (3.100-r0) [2022-11-09T06:17:21.428Z] (37/83) Installing opus (1.3.1-r1) [2022-11-09T06:17:21.428Z] (38/83) Installing libasyncns (0.8-r1) [2022-11-09T06:17:21.428Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-11-09T06:17:21.428Z] (40/83) Installing libltdl (2.4.7-r0) [2022-11-09T06:17:21.428Z] (41/83) Installing orc (0.4.32-r0) [2022-11-09T06:17:21.428Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T06:17:21.428Z] (43/83) Installing libogg (1.3.5-r1) [2022-11-09T06:17:21.428Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T06:17:21.428Z] (45/83) Installing flac (1.3.4-r0) [2022-11-09T06:17:21.428Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-11-09T06:17:21.428Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-11-09T06:17:21.428Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-11-09T06:17:21.428Z] (49/83) Installing soxr (0.1.3-r2) [2022-11-09T06:17:21.685Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-11-09T06:17:21.685Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-11-09T06:17:21.685Z] (52/83) Installing libpulse (15.0-r2) [2022-11-09T06:17:21.685Z] (53/83) Installing cjson (1.7.15-r3) [2022-11-09T06:17:21.685Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-11-09T06:17:21.685Z] (55/83) Installing librist (0.2.6-r1) [2022-11-09T06:17:21.685Z] (56/83) Installing libsrt (1.4.4-r0) [2022-11-09T06:17:21.685Z] (57/83) Installing libssh (0.9.6-r1) [2022-11-09T06:17:21.685Z] (58/83) Installing libtheora (1.1.1-r16) [2022-11-09T06:17:21.685Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-11-09T06:17:21.685Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-11-09T06:17:21.685Z] (61/83) Installing libxext (1.3.4-r0) [2022-11-09T06:17:21.685Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-11-09T06:17:21.685Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-11-09T06:17:21.685Z] (64/83) Installing libva (2.14.0-r0) [2022-11-09T06:17:21.685Z] (65/83) Installing libvdpau (1.5-r0) [2022-11-09T06:17:21.685Z] (66/83) Installing vidstab (1.1.0-r1) [2022-11-09T06:17:21.685Z] (67/83) Installing libvpx (1.11.0-r1) [2022-11-09T06:17:21.685Z] (68/83) Installing libwebp (1.2.3-r0) [2022-11-09T06:17:21.685Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-11-09T06:17:21.685Z] (70/83) Installing numactl (2.0.14-r0) [2022-11-09T06:17:21.685Z] (71/83) Installing x265-libs (3.5-r3) [2022-11-09T06:17:21.943Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-11-09T06:17:21.943Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-11-09T06:17:21.943Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-11-09T06:17:21.943Z] (75/83) Installing udev-init-scripts (35-r0) [2022-11-09T06:17:21.943Z] Executing udev-init-scripts-35-r0.post-install [2022-11-09T06:17:21.943Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-11-09T06:17:21.943Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-11-09T06:17:21.943Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-11-09T06:17:21.943Z] (79/83) Installing kmod-libs (29-r2) [2022-11-09T06:17:21.943Z] (80/83) Installing eudev (3.2.11-r0) [2022-11-09T06:17:21.943Z] (81/83) Installing libsodium (1.0.18-r0) [2022-11-09T06:17:21.943Z] (82/83) Installing libzmq (4.3.4-r0) [2022-11-09T06:17:21.943Z] (83/83) Installing zeromq (4.3.4-r0) [2022-11-09T06:17:22.201Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T06:17:22.201Z] Executing eudev-3.2.11-r0.trigger [2022-11-09T06:17:22.201Z] OK: 101 MiB in 97 packages [2022-11-09T06:17:24.785Z] Removing intermediate container bb0724837240 [2022-11-09T06:17:24.785Z] ---> 4ce0035ec634 [2022-11-09T06:17:24.785Z] Step 18/35 : WORKDIR / [2022-11-09T06:17:24.785Z] ---> Running in 5df8d19e10e8 [2022-11-09T06:17:24.785Z] Removing intermediate container 5df8d19e10e8 [2022-11-09T06:17:24.785Z] ---> a57e1e4ef9f1 [2022-11-09T06:17:24.785Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-11-09T06:17:25.352Z] ---> d22e659779b5 [2022-11-09T06:17:25.352Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-11-09T06:17:25.352Z] ---> 9d083fdebce0 [2022-11-09T06:17:25.352Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-11-09T06:17:25.610Z] ---> 86fef9a1bbb5 [2022-11-09T06:17:25.610Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-11-09T06:17:25.610Z] ---> 15a1ec419fa7 [2022-11-09T06:17:25.610Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-11-09T06:17:25.845Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118741 in /w/workspace/foundry_device-usb-camera_PR-100 [Pipeline] { [Pipeline] ws [2022-11-09T06:17:25.858Z] Running in /w/workspace/device-usb-camera/8 [Pipeline] { [2022-11-09T06:17:25.869Z] ---> 61ff54db8793 [2022-11-09T06:17:25.869Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-11-09T06:17:25.869Z] ---> 4690eae1f07e [2022-11-09T06:17:25.869Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [Pipeline] checkout [2022-11-09T06:17:25.893Z] Selected Git installation does not exist. Using Default [2022-11-09T06:17:25.893Z] The recommended git tool is: NONE [2022-11-09T06:17:26.435Z] ---> 145f609c54f3 [2022-11-09T06:17:26.435Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-11-09T06:17:26.435Z] ---> Running in 77094d24722d [2022-11-09T06:17:27.002Z] Removing intermediate container 77094d24722d [2022-11-09T06:17:27.002Z] ---> 2d0478acb6ac [2022-11-09T06:17:27.002Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-11-09T06:17:27.002Z] ---> Running in 17595cda024c [2022-11-09T06:17:27.570Z] Removing intermediate container 17595cda024c [2022-11-09T06:17:27.570Z] ---> 7f17c439fbf5 [2022-11-09T06:17:27.570Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-11-09T06:17:27.570Z] ---> Running in 1a1ffe1cd2bc [2022-11-09T06:17:28.137Z] Removing intermediate container 1a1ffe1cd2bc [2022-11-09T06:17:28.137Z] ---> cf77e254bada [2022-11-09T06:17:28.137Z] Step 29/35 : EXPOSE 59983 [2022-11-09T06:17:28.137Z] ---> Running in acfbc0263faf [2022-11-09T06:17:28.137Z] Removing intermediate container acfbc0263faf [2022-11-09T06:17:28.137Z] ---> ccabb8ae2744 [2022-11-09T06:17:28.137Z] Step 30/35 : EXPOSE 8554 [2022-11-09T06:17:28.137Z] ---> Running in 5aca806dce71 [2022-11-09T06:17:28.137Z] Removing intermediate container 5aca806dce71 [2022-11-09T06:17:28.137Z] ---> cb1777b36dca [2022-11-09T06:17:28.137Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-11-09T06:17:28.137Z] ---> Running in ba7c81cbf2a1 [2022-11-09T06:17:28.396Z] Removing intermediate container ba7c81cbf2a1 [2022-11-09T06:17:28.396Z] ---> 1f802bbd8823 [2022-11-09T06:17:28.396Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-11-09T06:17:28.396Z] ---> Running in c7078b4f148d [2022-11-09T06:17:28.396Z] Removing intermediate container c7078b4f148d [2022-11-09T06:17:28.396Z] ---> e92d16f36195 [2022-11-09T06:17:28.396Z] Step 33/35 : LABEL arch=amd64 [2022-11-09T06:17:28.396Z] ---> Running in 772148e1e374 [2022-11-09T06:17:28.396Z] Removing intermediate container 772148e1e374 [2022-11-09T06:17:28.396Z] ---> 69e1b0f2b51f [2022-11-09T06:17:28.396Z] Step 34/35 : LABEL git_sha=58c8405089f4d8b0fa8f58ce714f442e008f470b [2022-11-09T06:17:28.396Z] ---> Running in 3624600aa2d2 [2022-11-09T06:17:28.655Z] Removing intermediate container 3624600aa2d2 [2022-11-09T06:17:28.655Z] ---> 5dfb2622840f [2022-11-09T06:17:28.655Z] Step 35/35 : LABEL version=0.0.0 [2022-11-09T06:17:28.655Z] ---> Running in 1ecc901d2f93 [2022-11-09T06:17:28.655Z] Removing intermediate container 1ecc901d2f93 [2022-11-09T06:17:28.655Z] ---> 441498fb1a59 [2022-11-09T06:17:28.655Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T06:17:28.655Z] Successfully built 441498fb1a59 [2022-11-09T06:17:28.655Z] 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-11-09T06:17:29.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T06:17:29.084Z] [2022-11-09T06:17:29.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:17:29.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T06:17:29.378Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-09T06:17:29.378Z] 5eb5b503b376: Pulling fs layer [2022-11-09T06:17:29.378Z] 5c69ac0246d0: Pulling fs layer [2022-11-09T06:17:29.378Z] ec43610c2a17: Pulling fs layer [2022-11-09T06:17:29.378Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-09T06:17:29.378Z] 33b1e0a273af: Pulling fs layer [2022-11-09T06:17:29.378Z] 5d3b04190fa2: Pulling fs layer [2022-11-09T06:17:29.378Z] 2f39f015ded8: Pulling fs layer [2022-11-09T06:17:29.378Z] 3a2ae6a8a46f: Waiting [2022-11-09T06:17:29.378Z] 33b1e0a273af: Waiting [2022-11-09T06:17:29.378Z] 5d3b04190fa2: Waiting [2022-11-09T06:17:29.378Z] 2f39f015ded8: Waiting [2022-11-09T06:17:29.378Z] 5c69ac0246d0: Download complete [2022-11-09T06:17:29.378Z] 3a2ae6a8a46f: Download complete [2022-11-09T06:17:29.378Z] 33b1e0a273af: Verifying Checksum [2022-11-09T06:17:29.378Z] 33b1e0a273af: Download complete [2022-11-09T06:17:29.636Z] 5d3b04190fa2: Verifying Checksum [2022-11-09T06:17:29.636Z] 5d3b04190fa2: Download complete [2022-11-09T06:17:29.636Z] ec43610c2a17: Verifying Checksum [2022-11-09T06:17:29.636Z] ec43610c2a17: Download complete [2022-11-09T06:17:29.636Z] 5eb5b503b376: Verifying Checksum [2022-11-09T06:17:29.636Z] 5eb5b503b376: Download complete [2022-11-09T06:17:30.200Z] 2f39f015ded8: Verifying Checksum [2022-11-09T06:17:30.200Z] 2f39f015ded8: Download complete [2022-11-09T06:17:30.632Z] using credential edgex-jenkins-ssh [2022-11-09T06:17:30.651Z] Cloning the remote Git repository [2022-11-09T06:17:30.696Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-11-09T06:17:30.765Z] 5eb5b503b376: Pull complete [2022-11-09T06:17:31.024Z] 5c69ac0246d0: Pull complete [2022-11-09T06:17:31.283Z] ec43610c2a17: Pull complete [2022-11-09T06:17:31.542Z] 3a2ae6a8a46f: Pull complete [2022-11-09T06:17:31.542Z] 33b1e0a273af: Pull complete [2022-11-09T06:17:31.801Z] 5d3b04190fa2: Pull complete [2022-11-09T06:17:30.769Z] > git init /w/workspace/device-usb-camera/8 # timeout=10 [2022-11-09T06:17:30.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-11-09T06:17:30.912Z] > git --version # timeout=10 [2022-11-09T06:17:30.931Z] > git --version # 'git version 2.25.1' [2022-11-09T06:17:30.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T06:17:30.973Z] Verifying host key using known hosts file [2022-11-09T06:17:31.159Z] 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-11-09T06:17:31.173Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T06:17:31.902Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-11-09T06:17:31.922Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T06:17:32.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-11-09T06:17:32.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-11-09T06:17:32.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T06:17:32.741Z] Verifying host key using known hosts file [2022-11-09T06:17:32.747Z] 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-11-09T06:17:32.757Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-09T06:17:33.384Z] Merging remotes/origin/main commit 059aeb0713fc4e07acd8c370d817b94cb81fd04d into PR head commit 7fedce7edd12652b29de3089237b3736a9072910 [2022-11-09T06:17:33.646Z] Merge succeeded, producing 4115f2138a57899af3f25e99ae5c3d8597baa778 [2022-11-09T06:17:33.647Z] Checking out Revision 4115f2138a57899af3f25e99ae5c3d8597baa778 (PR-100) [2022-11-09T06:17:33.403Z] > git config core.sparsecheckout # timeout=10 [2022-11-09T06:17:33.428Z] > git checkout -f 7fedce7edd12652b29de3089237b3736a9072910 # timeout=10 [2022-11-09T06:17:33.516Z] > git remote # timeout=10 [2022-11-09T06:17:33.532Z] > git config --get remote.origin.url # timeout=10 [2022-11-09T06:17:33.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T06:17:33.551Z] Verifying host key using known hosts file [2022-11-09T06:17:33.554Z] 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-11-09T06:17:33.562Z] > git merge 059aeb0713fc4e07acd8c370d817b94cb81fd04d # timeout=10 [2022-11-09T06:17:33.630Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-09T06:17:33.655Z] > git config core.sparsecheckout # timeout=10 [2022-11-09T06:17:33.672Z] > git checkout -f 4115f2138a57899af3f25e99ae5c3d8597baa778 # timeout=10 [2022-11-09T06:17:35.986Z] 2f39f015ded8: Pull complete [2022-11-09T06:17:35.986Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-09T06:17:35.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T06:17:35.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T06:17:36.063Z] prd-ubuntu20.04-docker-8c-8g-118740 does not seem to be running inside a container [2022-11-09T06:17:36.088Z] $ 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/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-09T06:17:37.156Z] Commit message: "Merge commit '059aeb0713fc4e07acd8c370d817b94cb81fd04d' into HEAD" [2022-11-09T06:17:37.184Z] First time build. Skipping changelog. [2022-11-09T06:17:37.166Z] > git rev-list --no-walk 30cc7059e337adb2975619401bb28f20d9f308ce # timeout=10 [2022-11-09T06:17:37.941Z] [2022-11-09T06:17:37.941Z] GitHub has been notified of this commit’s build result [2022-11-09T06:17:37.941Z] [2022-11-09T06:17:39.365Z] $ docker top bac37fc91ca77669ff2fbac162e9b6b65b44e35acc7dfc056a402b44184e0b56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T06:17:39.767Z] ---> job-cost.sh [2022-11-09T06:17:39.767Z] lf-activate-venv: SKIPPING [2022-11-09T06:17:39.767Z] INFO: No Stack... [2022-11-09T06:17:40.025Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T06:17:40.029Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-09T06:17:40.030Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T06:17:40.030Z] Dload Upload Total Spent Left Speed [2022-11-09T06:17:40.030Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88746 0 --:--:-- --:--:-- --:--:-- 89375 [2022-11-09T06:17:40.283Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2022-11-09T06:17:40.569Z] + cat /w/workspace/foundry_device-usb-camera_PR-100/archives/cost.csv [2022-11-09T06:17:40.569Z] + cut -d, -f6 [Pipeline] lock [2022-11-09T06:17:40.581Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-100-8-stack-cost] [2022-11-09T06:17:40.588Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-100-8-stack-cost] did not exist. Created. [2022-11-09T06:17:40.588Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-100-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T06:17:40.784Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-09T06:17:40.886Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-09T06:17:40.905Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T06:17:40.911Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-100-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T06:17:40.927Z] $ docker stop --time=1 bac37fc91ca77669ff2fbac162e9b6b65b44e35acc7dfc056a402b44184e0b56 [2022-11-09T06:17:41.114Z] + sudo tee /etc/docker/daemon.new [2022-11-09T06:17:41.114Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-09T06:17:41.114Z] { [2022-11-09T06:17:41.114Z] "registry-mirrors": [ [2022-11-09T06:17:41.114Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-09T06:17:41.114Z] ], [2022-11-09T06:17:41.114Z] "bip": "10.250.0.254/24", [2022-11-09T06:17:41.114Z] "hosts": [ [2022-11-09T06:17:41.114Z] "tcp://0.0.0.0:5555", [2022-11-09T06:17:41.114Z] "unix:///var/run/docker.sock" [2022-11-09T06:17:41.114Z] ], [2022-11-09T06:17:41.114Z] "mtu": 1458, [2022-11-09T06:17:41.114Z] "selinux-enabled": true, [2022-11-09T06:17:41.114Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-09T06:17:41.114Z] } [2022-11-09T06:17:42.077Z] $ docker rm -f bac37fc91ca77669ff2fbac162e9b6b65b44e35acc7dfc056a402b44184e0b56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-09T06:17:42.435Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-09T06:17:42.763Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T06:18:01.003Z] provisioning config files... [2022-11-09T06:18:01.025Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/8@tmp/config14497655737133449768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:18:01.364Z] ---> docker-login.sh [2022-11-09T06:18:01.364Z] nexus3.edgexfoundry.org:10001 [2022-11-09T06:18:01.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:18:01.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:18:01.950Z] Configure a credential helper to remove this warning. See [2022-11-09T06:18:01.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:18:01.950Z] [2022-11-09T06:18:01.950Z] Login Succeeded [2022-11-09T06:18:01.950Z] nexus3.edgexfoundry.org:10002 [2022-11-09T06:18:02.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:18:02.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:18:02.217Z] Configure a credential helper to remove this warning. See [2022-11-09T06:18:02.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:18:02.217Z] [2022-11-09T06:18:02.217Z] Login Succeeded [2022-11-09T06:18:02.217Z] nexus3.edgexfoundry.org:10003 [2022-11-09T06:18:02.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:18:02.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:18:02.485Z] Configure a credential helper to remove this warning. See [2022-11-09T06:18:02.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:18:02.485Z] [2022-11-09T06:18:02.485Z] Login Succeeded [2022-11-09T06:18:02.485Z] nexus3.edgexfoundry.org:10004 [2022-11-09T06:18:02.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:18:03.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:18:03.021Z] Configure a credential helper to remove this warning. See [2022-11-09T06:18:03.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:18:03.021Z] [2022-11-09T06:18:03.021Z] Login Succeeded [2022-11-09T06:18:03.021Z] docker.io [2022-11-09T06:18:03.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T06:18:03.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T06:18:03.608Z] Configure a credential helper to remove this warning. See [2022-11-09T06:18:03.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T06:18:03.608Z] [2022-11-09T06:18:03.608Z] Login Succeeded [2022-11-09T06:18:03.608Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T06:18:03.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T06:18:03.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T06:18:03.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T06:18:03.776Z] ========================================================= [2022-11-09T06:18:03.776Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-09T06:18:03.776Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:18:04.114Z] + 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-11-09T06:18:04.380Z] Sending build context to Docker daemon 1.058MB [2022-11-09T06:18:04.380Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T06:18:04.380Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-09T06:18:04.649Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-09T06:18:04.649Z] 9b18e9b68314: Pulling fs layer [2022-11-09T06:18:04.649Z] 35d82f9e3411: Pulling fs layer [2022-11-09T06:18:04.649Z] e16973657156: Pulling fs layer [2022-11-09T06:18:04.649Z] fc693d55d65f: Pulling fs layer [2022-11-09T06:18:04.649Z] 7e9fc2657dce: Pulling fs layer [2022-11-09T06:18:04.649Z] dda99020689f: Pulling fs layer [2022-11-09T06:18:04.649Z] db1c61fa0a46: Pulling fs layer [2022-11-09T06:18:04.649Z] 891c053d2c06: Pulling fs layer [2022-11-09T06:18:04.649Z] fc693d55d65f: Waiting [2022-11-09T06:18:04.649Z] dda99020689f: Waiting [2022-11-09T06:18:04.649Z] 7e9fc2657dce: Waiting [2022-11-09T06:18:04.649Z] 891c053d2c06: Waiting [2022-11-09T06:18:04.649Z] db1c61fa0a46: Waiting [2022-11-09T06:18:04.649Z] e16973657156: Download complete [2022-11-09T06:18:04.649Z] 35d82f9e3411: Verifying Checksum [2022-11-09T06:18:04.649Z] 35d82f9e3411: Download complete [2022-11-09T06:18:04.649Z] 7e9fc2657dce: Verifying Checksum [2022-11-09T06:18:04.649Z] 7e9fc2657dce: Download complete [2022-11-09T06:18:04.649Z] dda99020689f: Verifying Checksum [2022-11-09T06:18:04.649Z] dda99020689f: Download complete [2022-11-09T06:18:04.649Z] 9b18e9b68314: Verifying Checksum [2022-11-09T06:18:05.613Z] 9b18e9b68314: Pull complete [2022-11-09T06:18:05.901Z] 891c053d2c06: Verifying Checksum [2022-11-09T06:18:05.901Z] 891c053d2c06: Download complete [2022-11-09T06:18:06.174Z] 35d82f9e3411: Pull complete [2022-11-09T06:18:06.441Z] e16973657156: Pull complete [2022-11-09T06:18:06.716Z] db1c61fa0a46: Verifying Checksum [2022-11-09T06:18:06.717Z] db1c61fa0a46: Download complete [2022-11-09T06:18:07.300Z] fc693d55d65f: Download complete [2022-11-09T06:18:19.616Z] fc693d55d65f: Pull complete [2022-11-09T06:18:19.616Z] 7e9fc2657dce: Pull complete [2022-11-09T06:18:19.616Z] dda99020689f: Pull complete [2022-11-09T06:18:24.963Z] db1c61fa0a46: Pull complete [2022-11-09T06:18:26.920Z] 891c053d2c06: Pull complete [2022-11-09T06:18:26.920Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-09T06:18:26.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-09T06:18:26.920Z] ---> f96f9c87975a [2022-11-09T06:18:26.920Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-09T06:18:28.877Z] ---> Running in 1be2eda17ba7 [2022-11-09T06:18:28.877Z] Removing intermediate container 1be2eda17ba7 [2022-11-09T06:18:28.877Z] ---> 379f8e6e8233 [2022-11-09T06:18:28.877Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T06:18:28.877Z] ---> Running in eec2739906c2 [2022-11-09T06:18:29.149Z] Removing intermediate container eec2739906c2 [2022-11-09T06:18:29.149Z] ---> 11f85a8d5c3d [2022-11-09T06:18:29.149Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-09T06:18:29.424Z] ---> Running in b1d67e86e193 [2022-11-09T06:18:29.693Z] Removing intermediate container b1d67e86e193 [2022-11-09T06:18:29.693Z] ---> c451d5fc41d9 [2022-11-09T06:18:29.693Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-09T06:18:29.693Z] ---> Running in d892da04cce2 [2022-11-09T06:18:29.962Z] Removing intermediate container d892da04cce2 [2022-11-09T06:18:29.962Z] ---> 260a00c873b5 [2022-11-09T06:18:29.962Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T06:18:30.232Z] ---> Running in 54e9b29dbccb [2022-11-09T06:18:31.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T06:18:31.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T06:18:32.417Z] (1/14) Installing libintl (0.21-r2) [2022-11-09T06:18:32.417Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-11-09T06:18:32.417Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-11-09T06:18:32.417Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-11-09T06:18:32.417Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-11-09T06:18:32.417Z] (6/14) Installing udev-init-scripts (35-r0) [2022-11-09T06:18:32.417Z] Executing udev-init-scripts-35-r0.post-install [2022-11-09T06:18:32.417Z] (7/14) Installing libblkid (2.38-r1) [2022-11-09T06:18:32.417Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-11-09T06:18:32.682Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-11-09T06:18:32.682Z] (10/14) Installing kmod-libs (29-r2) [2022-11-09T06:18:32.682Z] (11/14) Installing eudev (3.2.11-r0) [2022-11-09T06:18:32.682Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-11-09T06:18:32.682Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-11-09T06:18:32.682Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-11-09T06:18:32.682Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T06:18:32.682Z] Executing eudev-3.2.11-r0.trigger [2022-11-09T06:18:32.682Z] OK: 228 MiB in 65 packages [2022-11-09T06:18:33.656Z] Removing intermediate container 54e9b29dbccb [2022-11-09T06:18:33.656Z] ---> c5a7fc3acaef [2022-11-09T06:18:33.656Z] Step 8/13 : WORKDIR /device-usb-camera [2022-11-09T06:18:33.921Z] ---> Running in ac4a36078063 [2022-11-09T06:18:34.186Z] Removing intermediate container ac4a36078063 [2022-11-09T06:18:34.186Z] ---> f1e1dc91944e [2022-11-09T06:18:34.186Z] Step 9/13 : COPY go.mod vendor* ./ [2022-11-09T06:18:34.457Z] ---> 9e9fb377150b [2022-11-09T06:18:34.457Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T06:18:34.723Z] ---> Running in 11e686a8991f [2022-11-09T06:19:31.133Z] Removing intermediate container 11e686a8991f [2022-11-09T06:19:31.133Z] ---> dbba48aabfd6 [2022-11-09T06:19:31.133Z] Step 11/13 : COPY . . [2022-11-09T06:19:31.133Z] ---> aeba681a4bad [2022-11-09T06:19:31.133Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-09T06:19:31.133Z] ---> Running in 35682042329c [2022-11-09T06:19:31.133Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T06:19:31.133Z] Dload Upload Total Spent Left Speed [2022-11-09T06:19:31.133Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100  1062 0 0 14935 0 --:--:-- --:--:-- --:--:-- 14957 [2022-11-09T06:19:31.133Z] Removing intermediate container 35682042329c [2022-11-09T06:19:31.133Z] ---> f6e80fddf8c3 [2022-11-09T06:19:31.133Z] Step 13/13 : RUN ${MAKE} [2022-11-09T06:19:31.133Z] ---> Running in 1a185d14da3b [2022-11-09T06:19:31.133Z] noop [2022-11-09T06:19:31.133Z] Removing intermediate container 1a185d14da3b [2022-11-09T06:19:31.133Z] ---> 0ab65d28b793 [2022-11-09T06:19:31.133Z] Successfully built 0ab65d28b793 [2022-11-09T06:19:31.133Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:19:31.496Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T06:19:31.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T06:19:31.665Z] prd-ubuntu20.04-docker-arm64-4c-16g-118741 does not seem to be running inside a container [2022-11-09T06:19:31.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-09T06:19:32.915Z] $ docker top 763243a8bdbc068c6d5947242b8c36573bb58b006cee69be6c5dd36a28fa73d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T06:19:33.765Z] + go version [2022-11-09T06:19:33.765Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-09T06:19:33.787Z] $ docker stop --time=1 763243a8bdbc068c6d5947242b8c36573bb58b006cee69be6c5dd36a28fa73d9 [2022-11-09T06:19:35.379Z] $ docker rm -f 763243a8bdbc068c6d5947242b8c36573bb58b006cee69be6c5dd36a28fa73d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:19:35.898Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T06:19:35.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T06:19:36.063Z] prd-ubuntu20.04-docker-arm64-4c-16g-118741 does not seem to be running inside a container [2022-11-09T06:19:36.128Z] $ 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/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-09T06:19:37.251Z] $ docker top 2fdf030fad46ef6ccd63ff8bcbf3fbea12d200c3b38913df9875de8c6ff3e063 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T06:19:37.737Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/8 [Pipeline] fileExists [Pipeline] sh [2022-11-09T06:19:38.329Z] + make test [2022-11-09T06:19:38.329Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-11-09T06:19:40.276Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-11-09T06:21:16.976Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-11-09T06:21:16.976Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.066s coverage: 1.9% of statements [2022-11-09T06:21:16.976Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-09T06:21:16.976Z] CGO_ENABLED=1 go vet ./... [2022-11-09T06:21:31.984Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T06:21:31.984Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T06:21:31.984Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T06:21:32.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T06:21:32.020Z] $ docker stop --time=1 2fdf030fad46ef6ccd63ff8bcbf3fbea12d200c3b38913df9875de8c6ff3e063 [2022-11-09T06:21:33.759Z] $ docker rm -f 2fdf030fad46ef6ccd63ff8bcbf3fbea12d200c3b38913df9875de8c6ff3e063 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T06:21:34.632Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T06:21:34.653Z] Warning: overwriting stash ‘coverage-report’ [2022-11-09T06:21:35.030Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T06:21:35.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T06:21:35.709Z] + ls -al . [2022-11-09T06:21:35.709Z] total 196 [2022-11-09T06:21:35.709Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 06:19 . [2022-11-09T06:21:35.709Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 06:17 .. [2022-11-09T06:21:35.709Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 06:17 .git [2022-11-09T06:21:35.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:17 .github [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 414 Nov 9 06:17 .gitignore [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 9 06:17 .golangci.yml [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 9 06:17 .hadolint.yml [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 9702 Nov 9 06:17 Attribution.txt [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 1206 Nov 9 06:17 CHANGELOG.md [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 2378 Nov 9 06:17 Dockerfile [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 06:17 GOVERNANCE.md [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 9 06:17 Jenkinsfile [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 9 06:17 LICENSE [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 2554 Nov 9 06:17 Makefile [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 06:17 OWNERS.md [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 5773 Nov 9 06:17 README.md [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 06:15 VERSION [2022-11-09T06:21:35.709Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 06:17 bin [2022-11-09T06:21:35.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:17 cmd [2022-11-09T06:21:35.709Z] -rw-r--r-- 1 jenkins jenkins 29387 Nov 9 06:21 coverage.out [2022-11-09T06:21:35.709Z] -rwxrwxr-x 1 jenkins jenkins 140 Nov 9 06:17 docker-entrypoint.sh [2022-11-09T06:21:35.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:17 docs [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 3573 Nov 9 06:17 go.mod [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 45026 Nov 9 06:17 go.sum [2022-11-09T06:21:35.709Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 06:17 internal [2022-11-09T06:21:35.709Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 06:17 snap [2022-11-09T06:21:35.709Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 9 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:21:36.038Z] + 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=4115f2138a57899af3f25e99ae5c3d8597baa778 --label arch=arm64 --label version=0.0.0 . [2022-11-09T06:21:36.305Z] Sending build context to Docker daemon 1.089MB [2022-11-09T06:21:36.305Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T06:21:36.305Z] Step 2/35 : FROM ${BASE} AS builder [2022-11-09T06:21:36.305Z] ---> 0ab65d28b793 [2022-11-09T06:21:36.305Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-11-09T06:21:36.573Z] ---> Running in 14dec569ad6d [2022-11-09T06:21:36.573Z] Removing intermediate container 14dec569ad6d [2022-11-09T06:21:36.573Z] ---> 2b268bfbb01d [2022-11-09T06:21:36.573Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T06:21:36.839Z] ---> Running in 904fd1ee6c38 [2022-11-09T06:21:37.106Z] Removing intermediate container 904fd1ee6c38 [2022-11-09T06:21:37.106Z] ---> f3abc2257b1e [2022-11-09T06:21:37.106Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-09T06:21:37.106Z] ---> Running in d3d2a002df2b [2022-11-09T06:21:37.373Z] Removing intermediate container d3d2a002df2b [2022-11-09T06:21:37.373Z] ---> 6d72be98e8d1 [2022-11-09T06:21:37.373Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-09T06:21:37.373Z] ---> Running in c47d3fd450da [2022-11-09T06:21:37.654Z] Removing intermediate container c47d3fd450da [2022-11-09T06:21:37.654Z] ---> 0acde7c01083 [2022-11-09T06:21:37.654Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T06:21:37.654Z] ---> Running in 88209e96ce11 [2022-11-09T06:21:38.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T06:21:38.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T06:21:39.845Z] OK: 228 MiB in 65 packages [2022-11-09T06:21:40.812Z] Removing intermediate container 88209e96ce11 [2022-11-09T06:21:40.812Z] ---> 4a11497ce4ae [2022-11-09T06:21:40.812Z] Step 8/35 : WORKDIR /device-usb-camera [2022-11-09T06:21:40.812Z] ---> Running in 66a503fb461f [2022-11-09T06:21:41.088Z] Removing intermediate container 66a503fb461f [2022-11-09T06:21:41.088Z] ---> 1eabd7785eb5 [2022-11-09T06:21:41.088Z] Step 9/35 : COPY go.mod vendor* ./ [2022-11-09T06:21:41.674Z] ---> 60dd614c29bc [2022-11-09T06:21:41.674Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T06:21:41.674Z] ---> Running in c7898371537d [2022-11-09T06:21:43.626Z] Removing intermediate container c7898371537d [2022-11-09T06:21:43.626Z] ---> 7fb81b6bfd22 [2022-11-09T06:21:43.626Z] Step 11/35 : COPY . . [2022-11-09T06:21:44.590Z] ---> ccb432c60b01 [2022-11-09T06:21:44.590Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-09T06:21:44.590Z] ---> Running in 8e2bdc5a4115 [2022-11-09T06:21:45.557Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2022-11-09T06:21:45.557Z] Dload Upload Total Spent Left Speed [2022-11-09T06:21:45.557Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7004 0 --:--:-- --:--:-- --:--:-- 7033 [2022-11-09T06:21:46.152Z] Removing intermediate container 8e2bdc5a4115 [2022-11-09T06:21:46.152Z] ---> 66065272f21a [2022-11-09T06:21:46.152Z] Step 13/35 : RUN ${MAKE} [2022-11-09T06:21:46.424Z] ---> Running in c7168f558951 [2022-11-09T06:21:47.384Z] CGO_ENABLED=1 go build -tags "" -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" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-11-09T06:24:09.314Z] Removing intermediate container c7168f558951 [2022-11-09T06:24:09.314Z] ---> 81a941b3de1d [2022-11-09T06:24:09.314Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-11-09T06:24:09.314Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-11-09T06:24:09.314Z] eab2503cf8f4: Pulling fs layer [2022-11-09T06:24:09.314Z] 97cd0a44c592: Pulling fs layer [2022-11-09T06:24:09.314Z] 97cd0a44c592: Verifying Checksum [2022-11-09T06:24:09.314Z] 97cd0a44c592: Download complete [2022-11-09T06:24:09.314Z] eab2503cf8f4: Verifying Checksum [2022-11-09T06:24:09.314Z] eab2503cf8f4: Download complete [2022-11-09T06:24:09.314Z] eab2503cf8f4: Pull complete [2022-11-09T06:24:09.314Z] 97cd0a44c592: Pull complete [2022-11-09T06:24:09.314Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-11-09T06:24:09.314Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-11-09T06:24:09.314Z] ---> 7f763cca56b3 [2022-11-09T06:24:09.314Z] Step 15/35 : FROM alpine:3.16 [2022-11-09T06:24:09.582Z] 3.16: Pulling from library/alpine [2022-11-09T06:24:09.582Z] 9b18e9b68314: Already exists [2022-11-09T06:24:09.851Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T06:24:09.851Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T06:24:09.851Z] ---> a6215f271958 [2022-11-09T06:24:09.851Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-09T06:24:09.851Z] ---> Running in d422d99e8b18 [2022-11-09T06:24:10.119Z] Removing intermediate container d422d99e8b18 [2022-11-09T06:24:10.119Z] ---> 52c08f566859 [2022-11-09T06:24:10.119Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-11-09T06:24:10.397Z] ---> Running in 275702c70a0e [2022-11-09T06:24:11.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T06:24:11.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T06:24:12.603Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-11-09T06:24:12.603Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-11-09T06:24:12.603Z] (3/82) Installing libxau (1.0.9-r0) [2022-11-09T06:24:12.603Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-11-09T06:24:12.603Z] (5/82) Installing libxcb (1.15-r0) [2022-11-09T06:24:12.603Z] (6/82) Installing libx11 (1.8-r0) [2022-11-09T06:24:12.871Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-11-09T06:24:12.871Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-11-09T06:24:12.871Z] (9/82) Installing expat (2.5.0-r0) [2022-11-09T06:24:12.871Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-11-09T06:24:12.871Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-11-09T06:24:12.871Z] (12/82) Installing libpng (1.6.37-r1) [2022-11-09T06:24:13.138Z] (13/82) Installing freetype (2.12.1-r0) [2022-11-09T06:24:13.138Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-11-09T06:24:13.138Z] (15/82) Installing fribidi (1.0.12-r0) [2022-11-09T06:24:13.138Z] (16/82) Installing libffi (3.4.2-r1) [2022-11-09T06:24:13.138Z] (17/82) Installing libintl (0.21-r2) [2022-11-09T06:24:13.138Z] (18/82) Installing libblkid (2.38-r1) [2022-11-09T06:24:13.138Z] (19/82) Installing libmount (2.38-r1) [2022-11-09T06:24:13.138Z] (20/82) Installing pcre (8.45-r2) [2022-11-09T06:24:13.138Z] (21/82) Installing glib (2.72.1-r0) [2022-11-09T06:24:13.138Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-11-09T06:24:13.138Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-11-09T06:24:13.406Z] (24/82) Installing libass (0.16.0-r0) [2022-11-09T06:24:13.406Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-11-09T06:24:13.406Z] (26/82) Installing libdrm (2.4.110-r0) [2022-11-09T06:24:13.406Z] (27/82) Installing gmp (6.2.1-r2) [2022-11-09T06:24:13.406Z] (28/82) Installing nettle (3.7.3-r0) [2022-11-09T06:24:13.406Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-11-09T06:24:13.406Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-11-09T06:24:13.406Z] (31/82) Installing libunistring (1.0-r0) [2022-11-09T06:24:13.406Z] (32/82) Installing gnutls (3.7.7-r0) [2022-11-09T06:24:13.406Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-11-09T06:24:13.406Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-11-09T06:24:13.406Z] (35/82) Installing lame (3.100-r0) [2022-11-09T06:24:13.675Z] (36/82) Installing opus (1.3.1-r1) [2022-11-09T06:24:13.675Z] (37/82) Installing libasyncns (0.8-r1) [2022-11-09T06:24:13.675Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-11-09T06:24:13.675Z] (39/82) Installing libltdl (2.4.7-r0) [2022-11-09T06:24:13.675Z] (40/82) Installing orc (0.4.32-r0) [2022-11-09T06:24:13.675Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T06:24:13.675Z] (42/82) Installing libogg (1.3.5-r1) [2022-11-09T06:24:13.675Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T06:24:13.675Z] (44/82) Installing flac (1.3.4-r0) [2022-11-09T06:24:13.675Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-11-09T06:24:13.675Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-11-09T06:24:13.675Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-11-09T06:24:13.675Z] (48/82) Installing soxr (0.1.3-r2) [2022-11-09T06:24:13.675Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-11-09T06:24:13.675Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-11-09T06:24:13.675Z] (51/82) Installing libpulse (15.0-r2) [2022-11-09T06:24:13.943Z] (52/82) Installing cjson (1.7.15-r3) [2022-11-09T06:24:13.943Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-11-09T06:24:13.943Z] (54/82) Installing librist (0.2.6-r1) [2022-11-09T06:24:13.943Z] (55/82) Installing libsrt (1.4.4-r0) [2022-11-09T06:24:13.943Z] (56/82) Installing libssh (0.9.6-r1) [2022-11-09T06:24:13.943Z] (57/82) Installing libtheora (1.1.1-r16) [2022-11-09T06:24:13.943Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-11-09T06:24:13.943Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-11-09T06:24:13.943Z] (60/82) Installing libxext (1.3.4-r0) [2022-11-09T06:24:13.943Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-11-09T06:24:13.943Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-11-09T06:24:13.943Z] (63/82) Installing libva (2.14.0-r0) [2022-11-09T06:24:13.943Z] (64/82) Installing libvdpau (1.5-r0) [2022-11-09T06:24:13.943Z] (65/82) Installing vidstab (1.1.0-r1) [2022-11-09T06:24:13.943Z] (66/82) Installing libvpx (1.11.0-r1) [2022-11-09T06:24:13.943Z] (67/82) Installing libwebp (1.2.3-r0) [2022-11-09T06:24:14.212Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-11-09T06:24:14.212Z] (69/82) Installing numactl (2.0.14-r0) [2022-11-09T06:24:14.212Z] (70/82) Installing x265-libs (3.5-r3) [2022-11-09T06:24:14.212Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-11-09T06:24:14.212Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-11-09T06:24:14.802Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-11-09T06:24:14.802Z] (74/82) Installing udev-init-scripts (35-r0) [2022-11-09T06:24:14.802Z] Executing udev-init-scripts-35-r0.post-install [2022-11-09T06:24:14.802Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-11-09T06:24:14.802Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-11-09T06:24:14.802Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-11-09T06:24:14.802Z] (78/82) Installing kmod-libs (29-r2) [2022-11-09T06:24:14.802Z] (79/82) Installing eudev (3.2.11-r0) [2022-11-09T06:24:14.802Z] (80/82) Installing libsodium (1.0.18-r0) [2022-11-09T06:24:14.802Z] (81/82) Installing libzmq (4.3.4-r0) [2022-11-09T06:24:14.802Z] (82/82) Installing zeromq (4.3.4-r0) [2022-11-09T06:24:14.802Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T06:24:14.802Z] Executing eudev-3.2.11-r0.trigger [2022-11-09T06:24:14.802Z] OK: 78 MiB in 96 packages [2022-11-09T06:24:18.147Z] Removing intermediate container 275702c70a0e [2022-11-09T06:24:18.147Z] ---> 77acb71ee37c [2022-11-09T06:24:18.147Z] Step 18/35 : WORKDIR / [2022-11-09T06:24:18.147Z] ---> Running in 8e38252c73dd [2022-11-09T06:24:18.414Z] Removing intermediate container 8e38252c73dd [2022-11-09T06:24:18.414Z] ---> 2374ded58de7 [2022-11-09T06:24:18.414Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-11-09T06:24:19.824Z] ---> f785d1a159d9 [2022-11-09T06:24:19.824Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-11-09T06:24:20.092Z] ---> 043f7034ecc0 [2022-11-09T06:24:20.092Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-11-09T06:24:20.673Z] ---> 8eb734a72795 [2022-11-09T06:24:20.673Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-11-09T06:24:21.255Z] ---> dbaeb0efd80b [2022-11-09T06:24:21.255Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-11-09T06:24:21.837Z] ---> b597ec351dda [2022-11-09T06:24:21.837Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-11-09T06:24:22.105Z] ---> 5cc5cd72a364 [2022-11-09T06:24:22.105Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-11-09T06:24:23.515Z] ---> bdcb67a56860 [2022-11-09T06:24:23.515Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-11-09T06:24:23.515Z] ---> Running in 9322db18252f [2022-11-09T06:24:24.932Z] Removing intermediate container 9322db18252f [2022-11-09T06:24:24.932Z] ---> 8ff04a9bbfef [2022-11-09T06:24:24.932Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-11-09T06:24:24.932Z] ---> Running in 938988dcd767 [2022-11-09T06:24:26.878Z] Removing intermediate container 938988dcd767 [2022-11-09T06:24:26.878Z] ---> 253b300461d3 [2022-11-09T06:24:26.878Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-11-09T06:24:26.878Z] ---> Running in 92d18c881810 [2022-11-09T06:24:28.288Z] Removing intermediate container 92d18c881810 [2022-11-09T06:24:28.288Z] ---> 4ce9b06715c9 [2022-11-09T06:24:28.288Z] Step 29/35 : EXPOSE 59983 [2022-11-09T06:24:28.288Z] ---> Running in eceb080a9672 [2022-11-09T06:24:28.555Z] Removing intermediate container eceb080a9672 [2022-11-09T06:24:28.555Z] ---> e682d44a60eb [2022-11-09T06:24:28.555Z] Step 30/35 : EXPOSE 8554 [2022-11-09T06:24:28.555Z] ---> Running in 41fcee502104 [2022-11-09T06:24:28.825Z] Removing intermediate container 41fcee502104 [2022-11-09T06:24:28.825Z] ---> 216b0aee9e62 [2022-11-09T06:24:28.825Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-11-09T06:24:29.090Z] ---> Running in 9c06bf18b181 [2022-11-09T06:24:29.358Z] Removing intermediate container 9c06bf18b181 [2022-11-09T06:24:29.358Z] ---> a9ef21bbed3b [2022-11-09T06:24:29.358Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-11-09T06:24:29.358Z] ---> Running in 2a94e378cf38 [2022-11-09T06:24:29.624Z] Removing intermediate container 2a94e378cf38 [2022-11-09T06:24:29.624Z] ---> 98c8825ba3f9 [2022-11-09T06:24:29.624Z] Step 33/35 : LABEL arch=arm64 [2022-11-09T06:24:29.624Z] ---> Running in 5eeb2db873a9 [2022-11-09T06:24:29.898Z] Removing intermediate container 5eeb2db873a9 [2022-11-09T06:24:29.898Z] ---> 3a08c5b05bb2 [2022-11-09T06:24:29.898Z] Step 34/35 : LABEL git_sha=4115f2138a57899af3f25e99ae5c3d8597baa778 [2022-11-09T06:24:30.169Z] ---> Running in 79f1170b0082 [2022-11-09T06:24:30.438Z] Removing intermediate container 79f1170b0082 [2022-11-09T06:24:30.438Z] ---> 72f4775e3807 [2022-11-09T06:24:30.438Z] Step 35/35 : LABEL version=0.0.0 [2022-11-09T06:24:30.438Z] ---> Running in 0b1f68bf3b7e [2022-11-09T06:24:30.709Z] Removing intermediate container 0b1f68bf3b7e [2022-11-09T06:24:30.709Z] ---> 9e39e773649e [2022-11-09T06:24:30.709Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T06:24:30.709Z] Successfully built 9e39e773649e [2022-11-09T06:24:30.709Z] 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-11-09T06:24:31.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T06:24:31.143Z] [2022-11-09T06:24:31.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:24:31.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T06:24:31.481Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-09T06:24:31.481Z] 8998bd30e6a1: Pulling fs layer [2022-11-09T06:24:31.481Z] 04944245beec: Pulling fs layer [2022-11-09T06:24:31.481Z] 699f458cf7ca: Pulling fs layer [2022-11-09T06:24:31.481Z] 765212b225bb: Pulling fs layer [2022-11-09T06:24:31.481Z] f23df028b6ca: Pulling fs layer [2022-11-09T06:24:31.481Z] d65c8cfc05b1: Pulling fs layer [2022-11-09T06:24:31.481Z] 2437ff75d9bd: Pulling fs layer [2022-11-09T06:24:31.481Z] 765212b225bb: Waiting [2022-11-09T06:24:31.481Z] d65c8cfc05b1: Waiting [2022-11-09T06:24:31.481Z] 2437ff75d9bd: Waiting [2022-11-09T06:24:31.481Z] f23df028b6ca: Waiting [2022-11-09T06:24:31.747Z] 04944245beec: Verifying Checksum [2022-11-09T06:24:31.747Z] 04944245beec: Download complete [2022-11-09T06:24:31.747Z] 765212b225bb: Verifying Checksum [2022-11-09T06:24:31.747Z] 765212b225bb: Download complete [2022-11-09T06:24:31.747Z] f23df028b6ca: Download complete [2022-11-09T06:24:31.747Z] d65c8cfc05b1: Download complete [2022-11-09T06:24:32.015Z] 699f458cf7ca: Verifying Checksum [2022-11-09T06:24:32.015Z] 699f458cf7ca: Download complete [2022-11-09T06:24:32.282Z] 8998bd30e6a1: Verifying Checksum [2022-11-09T06:24:32.282Z] 8998bd30e6a1: Download complete [2022-11-09T06:24:34.858Z] 2437ff75d9bd: Verifying Checksum [2022-11-09T06:24:34.858Z] 2437ff75d9bd: Download complete [2022-11-09T06:24:36.268Z] 8998bd30e6a1: Pull complete [2022-11-09T06:24:36.533Z] 04944245beec: Pull complete [2022-11-09T06:24:37.935Z] 699f458cf7ca: Pull complete [2022-11-09T06:24:37.935Z] 765212b225bb: Pull complete [2022-11-09T06:24:38.893Z] f23df028b6ca: Pull complete [2022-11-09T06:24:38.893Z] d65c8cfc05b1: Pull complete [2022-11-09T06:24:53.861Z] 2437ff75d9bd: Pull complete [2022-11-09T06:24:53.861Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-09T06:24:53.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T06:24:53.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T06:24:54.049Z] prd-ubuntu20.04-docker-arm64-4c-16g-118741 does not seem to be running inside a container [2022-11-09T06:24:54.112Z] $ 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/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-09T06:24:57.396Z] $ docker top 8848e62c2821880b79176551a01a40428e5cadbd367b294f5474e7e645f7ab12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:24:57.911Z] ---> job-cost.sh [2022-11-09T06:24:58.175Z] lf-activate-venv: SKIPPING [2022-11-09T06:24:58.175Z] INFO: No Stack... [2022-11-09T06:24:58.440Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-09T06:24:59.392Z] INFO: Archiving Costs [Pipeline] sh [2022-11-09T06:24:59.713Z] + cat /w/workspace/device-usb-camera/8/archives/cost.csv [2022-11-09T06:24:59.713Z] + cut -d, -f6 [Pipeline] lock [2022-11-09T06:24:59.769Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-100-8-stack-cost] [2022-11-09T06:24:59.775Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-100-8-stack-cost] did not exist. Created. [2022-11-09T06:24:59.776Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-100-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T06:25:00.107Z] /w/workspace/device-usb-camera/8@tmp/durable-5224b25a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-09T06:25:00.445Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-09T06:25:00.469Z] Warning: overwriting stash ‘stack-cost’ [2022-11-09T06:25:00.509Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T06:25:00.519Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-100-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T06:25:00.537Z] $ docker stop --time=1 8848e62c2821880b79176551a01a40428e5cadbd367b294f5474e7e645f7ab12 [2022-11-09T06:25:02.083Z] $ docker rm -f 8848e62c2821880b79176551a01a40428e5cadbd367b294f5474e7e645f7ab12 [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-11-09T06:25:02.480Z] provisioning config files... [2022-11-09T06:25:02.486Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config14997569906555260073tmp [Pipeline] { [Pipeline] sh [2022-11-09T06:25:02.772Z] + set +x [2022-11-09T06:25:02.772Z] + curl -s https://codecov.io/bash [2022-11-09T06:25:02.772Z] + bash -s -- [2022-11-09T06:25:02.772Z] [2022-11-09T06:25:02.772Z] _____ _ [2022-11-09T06:25:02.772Z] / ____| | | [2022-11-09T06:25:02.772Z] | | ___ __| | ___ ___ _____ __ [2022-11-09T06:25:02.772Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-09T06:25:02.772Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-09T06:25:02.772Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-09T06:25:02.772Z] Bash-1.0.6 [2022-11-09T06:25:02.772Z] [2022-11-09T06:25:02.772Z] [2022-11-09T06:25:02.772Z] ==> git version 2.25.1 found [2022-11-09T06:25:02.772Z] ==> 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-11-09T06:25:02.772Z] Release-Date: 2020-01-08 [2022-11-09T06:25:02.772Z] 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-11-09T06:25:02.772Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-09T06:25:02.772Z] ==> Jenkins CI detected. [2022-11-09T06:25:02.772Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-100 [2022-11-09T06:25:02.772Z] project root: . [2022-11-09T06:25:02.772Z] --> token set from env [2022-11-09T06:25:02.772Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-09T06:25:02.772Z] ==> Running gcov in . (disable via -X gcov) [2022-11-09T06:25:02.772Z] ==> Python coveragepy not found [2022-11-09T06:25:02.772Z] ==> Searching for coverage reports in: [2022-11-09T06:25:02.772Z] + . [2022-11-09T06:25:03.032Z] -> Found 1 reports [2022-11-09T06:25:03.032Z] ==> Detecting git/mercurial file structure [2022-11-09T06:25:03.032Z] ==> Reading reports [2022-11-09T06:25:03.032Z] + ./coverage.out bytes=29387 [2022-11-09T06:25:03.032Z] ==> Appending adjustments [2022-11-09T06:25:03.032Z] https://docs.codecov.io/docs/fixing-reports [2022-11-09T06:25:03.032Z] + Found adjustments [2022-11-09T06:25:03.032Z] ==> Gzipping contents [2022-11-09T06:25:03.032Z] 8.0K /tmp/codecov.SI2fVx.gz [2022-11-09T06:25:03.032Z] ==> Uploading reports [2022-11-09T06:25:03.032Z] url: https://codecov.io [2022-11-09T06:25:03.032Z] query: branch=PR-100&commit=58c8405089f4d8b0fa8f58ce714f442e008f470b&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-100%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-11-09T06:25:03.032Z] -> Pinging Codecov [2022-11-09T06:25:03.032Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-100&commit=58c8405089f4d8b0fa8f58ce714f442e008f470b&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-100%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-11-09T06:25:08.306Z] -> Uploading to [2022-11-09T06:25:08.306Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-09/73D8F5FF140700D3E01443B452E23636/58c8405089f4d8b0fa8f58ce714f442e008f470b/69a50b01-29b1-4cf3-afa4-a5ddf934b54e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221109T062507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9afb0b9eca975a78efc8b4c7779d633b1503d99cb0128b2b48ee6feb94b87622 [2022-11-09T06:25:08.306Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T06:25:08.306Z] Dload Upload Total Spent Left Speed [2022-11-09T06:25:08.306Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4190 0 0 100 4190 0 16115 --:--:-- --:--:-- --:--:-- 16115 [2022-11-09T06:25:08.306Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/58c8405089f4d8b0fa8f58ce714f442e008f470b [Pipeline] } [2022-11-09T06:25:08.313Z] 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-11-09T06:25:09.051Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-100/archives ] [2022-11-09T06:25:09.051Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-100/archives [2022-11-09T06:25:09.051Z] total 16 [2022-11-09T06:25:09.051Z] drwxr-xr-x 3 root root 4096 Nov 9 06:17 . [2022-11-09T06:25:09.051Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 06:17 .. [2022-11-09T06:25:09.051Z] drwxr-xr-x 2 root root 4096 Nov 9 06:17 cost [2022-11-09T06:25:09.051Z] -rw-r--r-- 1 root root 89 Nov 9 06:17 cost.csv [2022-11-09T06:25:09.051Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-100/archives [2022-11-09T06:25:09.051Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-100/archives [2022-11-09T06:25:09.051Z] total 16 [2022-11-09T06:25:09.051Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 06:17 . [2022-11-09T06:25:09.051Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 06:17 .. [2022-11-09T06:25:09.051Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 06:17 cost [2022-11-09T06:25:09.051Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 9 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:25:09.340Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:25:10.198Z] ---> package-listing.sh [2022-11-09T06:25:10.198Z] ++ facter osfamily [2022-11-09T06:25:10.198Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-09T06:25:10.456Z] + OS_FAMILY=debian [2022-11-09T06:25:10.456Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-100 [2022-11-09T06:25:10.456Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-09T06:25:10.456Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-09T06:25:10.456Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-09T06:25:10.456Z] + PACKAGES=/tmp/packages_start.txt [2022-11-09T06:25:10.456Z] + '[' /w/workspace/foundry_device-usb-camera_PR-100 ']' [2022-11-09T06:25:10.456Z] + PACKAGES=/tmp/packages_end.txt [2022-11-09T06:25:10.456Z] + case "${OS_FAMILY}" in [2022-11-09T06:25:10.456Z] + dpkg -l [2022-11-09T06:25:10.456Z] + grep '^ii' [2022-11-09T06:25:10.456Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-09T06:25:10.456Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-09T06:25:10.456Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-09T06:25:10.456Z] + '[' /w/workspace/foundry_device-usb-camera_PR-100 ']' [2022-11-09T06:25:10.456Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-100/archives/ [2022-11-09T06:25:10.456Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-100/archives/ [Pipeline] echo [2022-11-09T06:25:10.469Z] 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/foundry_device-usb-camera_PR-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-09T06:25:10.745Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T06:25:11.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T06:25:11.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T06:25:11.362Z] prd-ubuntu20.04-docker-8c-8g-118740 does not seem to be running inside a container [2022-11-09T06:25:11.389Z] $ 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/foundry_device-usb-camera_PR-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-09T06:25:11.633Z] $ docker top 85b678d35e752001d14963b07926abe9e59fe2a3f542e11c8f996069e9ed2380 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T06:25:11.973Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-09T06:25:12.257Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-09T06:25:12.543Z] + ls /var/log/sa-host [2022-11-09T06:25:12.543Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T06:25:12.692Z] provisioning config files... [2022-11-09T06:25:12.699Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config12164845561634998414tmp [Pipeline] { [Pipeline] echo [2022-11-09T06:25:12.710Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:25:12.990Z] ---> create-netrc.sh [Pipeline] } [2022-11-09T06:25:12.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:25:13.337Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-09T06:25:13.346Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:25:13.630Z] ---> sudo-logs.sh [2022-11-09T06:25:13.630Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-09T06:25:13.662Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:25:13.947Z] ---> job-cost.sh [2022-11-09T06:25:13.947Z] lf-activate-venv: SKIPPING [2022-11-09T06:25:13.947Z] DEBUG: total: 0.2199999988079071 [2022-11-09T06:25:13.947Z] INFO: Retrieving Stack Cost... [2022-11-09T06:25:14.205Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T06:25:14.773Z] INFO: Archiving Costs [Pipeline] echo [2022-11-09T06:25:14.785Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T06:25:15.085Z] ---> logs-deploy.sh [2022-11-09T06:25:15.085Z] lf-activate-venv: SKIPPING [2022-11-09T06:25:15.085Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-100/8 [2022-11-09T06:25:15.085Z] INFO: archiving workspace using pattern(s): [2022-11-09T06:25:16.020Z] Archives upload complete. [2022-11-09T06:25:16.278Z] INFO: archiving logs to Nexus