Pull request #120 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 rather than 90c641872c2c447743910a992fa35119a09763ab Obtained Jenkinsfile from e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 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-ssh11034148984838011568.key > 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-ssh3313952618568184743.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-120/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-120/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13867163276526599494.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-120/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8596987068821360447.key > 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-ssh10952198919328472801.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-120/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-120/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9879375280749504737.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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-248 in /w/workspace/foundry_device-usb-camera_PR-120 [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-120 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 into PR head commit 90c641872c2c447743910a992fa35119a09763ab Merge succeeded, producing 90c641872c2c447743910a992fa35119a09763ab Checking out Revision 90c641872c2c447743910a992fa35119a09763ab (PR-120) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90c641872c2c447743910a992fa35119a09763ab # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90c641872c2c447743910a992fa35119a09763ab # timeout=10 Commit message: "Merge branch 'main' into implement-rediscovery" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-20T19:32:29.098Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-20T19:32:29.294Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-20T19:32:29.397Z] ========================================================= [2022-12-20T19:32:29.397Z] EdgeX Global Pipelines Version Info [2022-12-20T19:32:29.397Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:32:30.135Z] ------------------- [2022-12-20T19:32:30.135Z] stable info: [2022-12-20T19:32:30.135Z] ------------------- [2022-12-20T19:32:30.135Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-20T19:32:30.135Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-20T19:32:30.135Z] Message: update stable to v1.0.244 [2022-12-20T19:32:30.705Z] ------------------- [2022-12-20T19:32:30.705Z] experimental info: [2022-12-20T19:32:30.705Z] ------------------- [2022-12-20T19:32:30.705Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-20T19:32:30.705Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-20T19:32:30.705Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-20T19:32:30.980Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-12-20T19:32:31.024Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-12-20T19:32:31.068Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-20T19:32:31.110Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-20T19:32:31.152Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-20T19:32:31.197Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-20T19:32:31.239Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-20T19:32:31.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-20T19:32:31.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-20T19:32:31.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-20T19:32:31.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-20T19:32:31.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-12-20T19:32:31.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-20T19:32:31.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-20T19:32:31.566Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-20T19:32:31.607Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-20T19:32:31.649Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-20T19:32:31.691Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-20T19:32:31.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-20T19:32:31.770Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-20T19:32:31.811Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-20T19:32:31.852Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-20T19:32:31.891Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-20T19:32:31.933Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-20T19:32:31.974Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-20T19:32:32.015Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-20T19:32:32.059Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-20T19:32:32.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-120 [Pipeline] echo [2022-12-20T19:32:32.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-120 [Pipeline] echo [2022-12-20T19:32:32.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-120 [Pipeline] echo [2022-12-20T19:32:32.224Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90c641872c2c447743910a992fa35119a09763ab [Pipeline] echo [2022-12-20T19:32:32.267Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90c6418 [Pipeline] echo [2022-12-20T19:32:32.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-20T19:32:32.438Z] provisioning config files... [2022-12-20T19:32:32.454Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-120@tmp/config10253670733087758525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:32:32.802Z] ---> docker-login.sh [2022-12-20T19:32:32.802Z] nexus3.edgexfoundry.org:10001 [2022-12-20T19:32:32.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:33.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:33.063Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:33.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:33.063Z] [2022-12-20T19:32:33.063Z] Login Succeeded [2022-12-20T19:32:33.063Z] nexus3.edgexfoundry.org:10002 [2022-12-20T19:32:33.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:33.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:33.323Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:33.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:33.323Z] [2022-12-20T19:32:33.323Z] Login Succeeded [2022-12-20T19:32:33.323Z] nexus3.edgexfoundry.org:10003 [2022-12-20T19:32:33.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:33.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:33.323Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:33.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:33.323Z] [2022-12-20T19:32:33.323Z] Login Succeeded [2022-12-20T19:32:33.323Z] nexus3.edgexfoundry.org:10004 [2022-12-20T19:32:33.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:33.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:33.583Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:33.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:33.583Z] [2022-12-20T19:32:33.583Z] Login Succeeded [2022-12-20T19:32:33.583Z] docker.io [2022-12-20T19:32:33.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:33.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:33.844Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:33.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:33.844Z] [2022-12-20T19:32:33.844Z] Login Succeeded [2022-12-20T19:32:33.844Z] ---> docker-login.sh ends [Pipeline] } [2022-12-20T19:32:33.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-20T19:32:34.519Z] + git rev-list -1 --merges 90c641872c2c447743910a992fa35119a09763ab~1..90c641872c2c447743910a992fa35119a09763ab [Pipeline] echo [2022-12-20T19:32:34.585Z] -----------> git rev-list -1 --merges 90c641872c2c447743910a992fa35119a09763ab~1..90c641872c2c447743910a992fa35119a09763ab 90c641872c2c447743910a992fa35119a09763ab [2022-12-20T19:32:34.585Z] 90c641872c2c447743910a992fa35119a09763ab [false] [Pipeline] sh [2022-12-20T19:32:34.891Z] + git log --format=format:%s -1 90c641872c2c447743910a992fa35119a09763ab [Pipeline] echo [2022-12-20T19:32:34.928Z] ========================================================= [2022-12-20T19:32:34.928Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-20T19:32:34.928Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-20T19:32:35.354Z] + git log --format=format:%s -1 90c641872c2c447743910a992fa35119a09763ab [Pipeline] echo [2022-12-20T19:32:35.387Z] [semverPrep] GIT_COMMIT: 90c641872c2c447743910a992fa35119a09763ab, Commit Message: Merge branch 'main' into implement-rediscovery [Pipeline] echo [2022-12-20T19:32:35.415Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-20T19:32:35.802Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-20T19:32:35.802Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-20T19:32:35.802Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-20T19:32:35.802Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-20T19:32:35.802Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-20T19:32:35.802Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-20T19:32:35.802Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:32:36.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-20T19:32:36.277Z] [2022-12-20T19:32:36.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:32:36.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-20T19:32:36.653Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-20T19:32:36.653Z] b85a868b505f: Pulling fs layer [2022-12-20T19:32:36.653Z] e2be974225ed: Pulling fs layer [2022-12-20T19:32:36.653Z] 339a4e72a1f5: Pulling fs layer [2022-12-20T19:32:36.653Z] 988bab9f4d93: Pulling fs layer [2022-12-20T19:32:36.653Z] 1469e6f7b9e6: Pulling fs layer [2022-12-20T19:32:36.653Z] eaf3925da568: Pulling fs layer [2022-12-20T19:32:36.653Z] bab4dde63d76: Pulling fs layer [2022-12-20T19:32:36.653Z] bde34c3a00c8: Pulling fs layer [2022-12-20T19:32:36.653Z] b352a97aabf1: Pulling fs layer [2022-12-20T19:32:36.653Z] 4872d77fe225: Pulling fs layer [2022-12-20T19:32:36.653Z] 5851b861e8e6: Pulling fs layer [2022-12-20T19:32:36.653Z] 988bab9f4d93: Waiting [2022-12-20T19:32:36.653Z] 1469e6f7b9e6: Waiting [2022-12-20T19:32:36.653Z] eaf3925da568: Waiting [2022-12-20T19:32:36.653Z] bab4dde63d76: Waiting [2022-12-20T19:32:36.653Z] bde34c3a00c8: Waiting [2022-12-20T19:32:36.653Z] b352a97aabf1: Waiting [2022-12-20T19:32:36.653Z] 4872d77fe225: Waiting [2022-12-20T19:32:36.653Z] 5851b861e8e6: Waiting [2022-12-20T19:32:36.653Z] e2be974225ed: Verifying Checksum [2022-12-20T19:32:36.653Z] e2be974225ed: Download complete [2022-12-20T19:32:36.653Z] 988bab9f4d93: Verifying Checksum [2022-12-20T19:32:36.653Z] 988bab9f4d93: Download complete [2022-12-20T19:32:36.914Z] 1469e6f7b9e6: Verifying Checksum [2022-12-20T19:32:36.914Z] 1469e6f7b9e6: Download complete [2022-12-20T19:32:36.914Z] eaf3925da568: Verifying Checksum [2022-12-20T19:32:36.914Z] eaf3925da568: Download complete [2022-12-20T19:32:36.914Z] 339a4e72a1f5: Verifying Checksum [2022-12-20T19:32:36.914Z] 339a4e72a1f5: Download complete [2022-12-20T19:32:36.914Z] bde34c3a00c8: Download complete [2022-12-20T19:32:36.914Z] b352a97aabf1: Download complete [2022-12-20T19:32:36.914Z] 4872d77fe225: Verifying Checksum [2022-12-20T19:32:36.914Z] 5851b861e8e6: Verifying Checksum [2022-12-20T19:32:36.914Z] 5851b861e8e6: Download complete [2022-12-20T19:32:36.914Z] b85a868b505f: Verifying Checksum [2022-12-20T19:32:36.914Z] b85a868b505f: Download complete [2022-12-20T19:32:37.174Z] bab4dde63d76: Verifying Checksum [2022-12-20T19:32:37.174Z] bab4dde63d76: Download complete [2022-12-20T19:32:38.114Z] b85a868b505f: Pull complete [2022-12-20T19:32:38.374Z] e2be974225ed: Pull complete [2022-12-20T19:32:38.946Z] 339a4e72a1f5: Pull complete [2022-12-20T19:32:38.946Z] 988bab9f4d93: Pull complete [2022-12-20T19:32:39.207Z] 1469e6f7b9e6: Pull complete [2022-12-20T19:32:39.207Z] eaf3925da568: Pull complete [2022-12-20T19:32:41.105Z] bab4dde63d76: Pull complete [2022-12-20T19:32:41.105Z] bde34c3a00c8: Pull complete [2022-12-20T19:32:41.105Z] b352a97aabf1: Pull complete [2022-12-20T19:32:41.105Z] 4872d77fe225: Pull complete [2022-12-20T19:32:41.105Z] 5851b861e8e6: Pull complete [2022-12-20T19:32:41.364Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-20T19:32:41.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-20T19:32:41.364Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T19:32:41.594Z] prd-ubuntu20.04-docker-8c-8g-248 does not seem to be running inside a container [2022-12-20T19:32:41.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-120 -v /w/workspace/foundry_device-usb-camera_PR-120:/w/workspace/foundry_device-usb-camera_PR-120:rw,z -v /w/workspace/foundry_device-usb-camera_PR-120@tmp:/w/workspace/foundry_device-usb-camera_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-20T19:32:42.799Z] $ docker top 45407b0e44a1e3d39cdef0942115675d73e068d6c5778b99ecb5308528ced494 -eo pid,comm [2022-12-20T19:32:42.862Z] 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-12-20T19:32:42.862Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-20T19:32:42.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-20T19:32:42.996Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-20T19:32:43.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-20T19:32:43.111Z] $ docker exec 45407b0e44a1e3d39cdef0942115675d73e068d6c5778b99ecb5308528ced494 ssh-agent [2022-12-20T19:32:43.213Z] SSH_AUTH_SOCK=/tmp/ssh-kDHHVLPCPmtU/agent.32 [2022-12-20T19:32:43.213Z] SSH_AGENT_PID=38 [2022-12-20T19:32:43.220Z] Running ssh-add (command line suppressed) [2022-12-20T19:32:43.338Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-120@tmp/private_key_8990698888758364959.key (/w/workspace/foundry_device-usb-camera_PR-120@tmp/private_key_8990698888758364959.key) [2022-12-20T19:32:43.352Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-20T19:32:43.688Z] + git tag --points-at HEAD [Pipeline] } [2022-12-20T19:32:43.717Z] $ docker exec --env ******** --env ******** 45407b0e44a1e3d39cdef0942115675d73e068d6c5778b99ecb5308528ced494 ssh-agent -k [2022-12-20T19:32:43.820Z] unset SSH_AUTH_SOCK; [2022-12-20T19:32:43.821Z] unset SSH_AGENT_PID; [2022-12-20T19:32:43.821Z] echo Agent pid 38 killed; [2022-12-20T19:32:43.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-20T19:32:43.917Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-20T19:32:43.917Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-20T19:32:44.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-20T19:32:44.030Z] $ docker exec 45407b0e44a1e3d39cdef0942115675d73e068d6c5778b99ecb5308528ced494 ssh-agent [2022-12-20T19:32:44.140Z] SSH_AUTH_SOCK=/tmp/ssh-IJTGwruAKujR/agent.70 [2022-12-20T19:32:44.140Z] SSH_AGENT_PID=76 [2022-12-20T19:32:44.144Z] Running ssh-add (command line suppressed) [2022-12-20T19:32:44.250Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-120@tmp/private_key_426904366600125071.key (/w/workspace/foundry_device-usb-camera_PR-120@tmp/private_key_426904366600125071.key) [2022-12-20T19:32:44.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-20T19:32:44.594Z] + git semver init [2022-12-20T19:32:44.855Z] 2022-12-20 19:32:44,787 [run_init] DEBUG init version:0.0.0 force:False [2022-12-20T19:32:44.855Z] 2022-12-20 19:32:44,787 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-120/.semver [2022-12-20T19:32:44.855Z] 2022-12-20 19:32:44,788 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-120/.semver [2022-12-20T19:32:44.855Z] 2022-12-20 19:32:44,788 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-120/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-120, universal_newlines=False, shell=None, istream=None) [2022-12-20T19:32:45.798Z] 2022-12-20 19:32:45,499 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-120/.git/info/exclude [2022-12-20T19:32:45.798Z] 2022-12-20 19:32:45,500 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-120/.semver/PR-120 with force:False [2022-12-20T19:32:45.798Z] 2022-12-20 19:32:45,500 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-120/.semver/PR-120 [2022-12-20T19:32:45.798Z] 2022-12-20 19:32:45,505 [execute] INFO git cat-file --batch-check [2022-12-20T19:32:45.798Z] 2022-12-20 19:32:45,506 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-120/.semver, universal_newlines=False, shell=None, istream=) [2022-12-20T19:32:45.798Z] 2022-12-20 19:32:45,512 [execute] INFO git cat-file --batch [2022-12-20T19:32:45.798Z] 2022-12-20 19:32:45,512 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-120/.semver, universal_newlines=False, shell=None, istream=) [2022-12-20T19:32:45.798Z] 2022-12-20 19:32:45,517 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-120/.semver/PR-120 [2022-12-20T19:32:45.798Z] 0.0.0 [Pipeline] } [2022-12-20T19:32:45.830Z] $ docker exec --env ******** --env ******** 45407b0e44a1e3d39cdef0942115675d73e068d6c5778b99ecb5308528ced494 ssh-agent -k [2022-12-20T19:32:45.940Z] unset SSH_AUTH_SOCK; [2022-12-20T19:32:45.940Z] unset SSH_AGENT_PID; [2022-12-20T19:32:45.941Z] echo Agent pid 76 killed; [2022-12-20T19:32:45.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-20T19:32:46.374Z] + git semver [Pipeline] } [2022-12-20T19:32:46.661Z] $ docker stop --time=1 45407b0e44a1e3d39cdef0942115675d73e068d6c5778b99ecb5308528ced494 [2022-12-20T19:32:47.967Z] $ docker rm -f --volumes 45407b0e44a1e3d39cdef0942115675d73e068d6c5778b99ecb5308528ced494 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-20T19:32:48.373Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-20T19:32:48.655Z] Stashed 1 file(s) [Pipeline] echo [2022-12-20T19:32:48.674Z] [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-12-20T19:32:49.305Z] provisioning config files... [2022-12-20T19:32:49.315Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-120@tmp/config620351758665586103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:32:49.660Z] ---> docker-login.sh [2022-12-20T19:32:49.660Z] nexus3.edgexfoundry.org:10001 [2022-12-20T19:32:49.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:49.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:49.660Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:49.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:49.660Z] [2022-12-20T19:32:49.660Z] Login Succeeded [2022-12-20T19:32:49.660Z] nexus3.edgexfoundry.org:10002 [2022-12-20T19:32:49.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:49.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:49.660Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:49.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:49.660Z] [2022-12-20T19:32:49.660Z] Login Succeeded [2022-12-20T19:32:49.660Z] nexus3.edgexfoundry.org:10003 [2022-12-20T19:32:49.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:49.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:49.921Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:49.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:49.921Z] [2022-12-20T19:32:49.921Z] Login Succeeded [2022-12-20T19:32:49.921Z] nexus3.edgexfoundry.org:10004 [2022-12-20T19:32:49.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:49.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:49.921Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:49.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:49.921Z] [2022-12-20T19:32:49.921Z] Login Succeeded [2022-12-20T19:32:49.921Z] docker.io [2022-12-20T19:32:50.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:32:50.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:32:50.179Z] Configure a credential helper to remove this warning. See [2022-12-20T19:32:50.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:32:50.179Z] [2022-12-20T19:32:50.179Z] Login Succeeded [2022-12-20T19:32:50.179Z] ---> docker-login.sh ends [Pipeline] } [2022-12-20T19:32:50.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-20T19:32:50.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-20T19:32:50.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-20T19:32:50.492Z] ========================================================= [2022-12-20T19:32:50.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-20T19:32:50.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:32:50.955Z] + 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-12-20T19:32:50.955Z] Sending build context to Docker daemon 1.729MB [2022-12-20T19:32:50.955Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-20T19:32:50.956Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-20T19:32:50.956Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-20T19:32:50.956Z] 213ec9aee27d: Pulling fs layer [2022-12-20T19:32:50.956Z] 4583459ba037: Pulling fs layer [2022-12-20T19:32:50.956Z] 93c1e223e6f2: Pulling fs layer [2022-12-20T19:32:50.956Z] 53926ce57604: Pulling fs layer [2022-12-20T19:32:50.956Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-20T19:32:50.956Z] 22ff95d597cd: Pulling fs layer [2022-12-20T19:32:50.956Z] 12d6caf4c0d1: Pulling fs layer [2022-12-20T19:32:50.956Z] 96b7cbca73a9: Pulling fs layer [2022-12-20T19:32:50.956Z] 21b2b0c7a3f4: Waiting [2022-12-20T19:32:50.956Z] 22ff95d597cd: Waiting [2022-12-20T19:32:50.956Z] 96b7cbca73a9: Waiting [2022-12-20T19:32:50.956Z] 53926ce57604: Waiting [2022-12-20T19:32:50.956Z] a7acece74701: Pulling fs layer [2022-12-20T19:32:50.956Z] a7acece74701: Waiting [2022-12-20T19:32:50.956Z] 93c1e223e6f2: Verifying Checksum [2022-12-20T19:32:50.956Z] 93c1e223e6f2: Download complete [2022-12-20T19:32:50.956Z] 4583459ba037: Verifying Checksum [2022-12-20T19:32:50.956Z] 4583459ba037: Download complete [2022-12-20T19:32:50.956Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-20T19:32:50.956Z] 21b2b0c7a3f4: Download complete [2022-12-20T19:32:50.956Z] 22ff95d597cd: Verifying Checksum [2022-12-20T19:32:50.956Z] 22ff95d597cd: Download complete [2022-12-20T19:32:51.218Z] 213ec9aee27d: Verifying Checksum [2022-12-20T19:32:51.218Z] 213ec9aee27d: Download complete [2022-12-20T19:32:51.218Z] 12d6caf4c0d1: Download complete [2022-12-20T19:32:51.218Z] 213ec9aee27d: Pull complete [2022-12-20T19:32:51.486Z] 4583459ba037: Pull complete [2022-12-20T19:32:51.486Z] 93c1e223e6f2: Pull complete [2022-12-20T19:32:51.748Z] a7acece74701: Verifying Checksum [2022-12-20T19:32:51.748Z] a7acece74701: Download complete [2022-12-20T19:32:52.007Z] 96b7cbca73a9: Verifying Checksum [2022-12-20T19:32:52.007Z] 96b7cbca73a9: Download complete [2022-12-20T19:32:52.007Z] 53926ce57604: Verifying Checksum [2022-12-20T19:32:52.007Z] 53926ce57604: Download complete [2022-12-20T19:32:56.195Z] 53926ce57604: Pull complete [2022-12-20T19:32:56.195Z] 21b2b0c7a3f4: Pull complete [2022-12-20T19:32:56.195Z] 22ff95d597cd: Pull complete [2022-12-20T19:32:56.195Z] 12d6caf4c0d1: Pull complete [2022-12-20T19:32:58.099Z] 96b7cbca73a9: Pull complete [2022-12-20T19:32:58.669Z] a7acece74701: Pull complete [2022-12-20T19:32:58.669Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-20T19:32:58.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-20T19:32:58.669Z] ---> db6d94c90886 [2022-12-20T19:32:58.669Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-20T19:33:00.068Z] ---> Running in 32dfde526b63 [2022-12-20T19:33:00.068Z] Removing intermediate container 32dfde526b63 [2022-12-20T19:33:00.068Z] ---> 6e3b46625fec [2022-12-20T19:33:00.068Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-20T19:33:00.068Z] ---> Running in b0293cae1f1d [2022-12-20T19:33:00.327Z] Removing intermediate container b0293cae1f1d [2022-12-20T19:33:00.327Z] ---> 2e047353b9e1 [2022-12-20T19:33:00.327Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-20T19:33:00.327Z] ---> Running in a839cc126f96 [2022-12-20T19:33:00.327Z] Removing intermediate container a839cc126f96 [2022-12-20T19:33:00.327Z] ---> 23e99ec15a7e [2022-12-20T19:33:00.327Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-20T19:33:00.327Z] ---> Running in cb9cbaacc5e1 [2022-12-20T19:33:00.591Z] Removing intermediate container cb9cbaacc5e1 [2022-12-20T19:33:00.591Z] ---> 125679a17965 [2022-12-20T19:33:00.591Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-20T19:33:00.591Z] ---> Running in c6f1a0b7f870 [2022-12-20T19:33:00.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-20T19:33:00.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-20T19:33:01.112Z] (1/80) Installing mesa (21.3.8-r2) [2022-12-20T19:33:01.112Z] (2/80) Installing libxau (1.0.9-r0) [2022-12-20T19:33:01.112Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-12-20T19:33:01.112Z] (4/80) Installing libxcb (1.15-r0) [2022-12-20T19:33:01.112Z] (5/80) Installing libx11 (1.8-r0) [2022-12-20T19:33:01.112Z] (6/80) Installing libxext (1.3.4-r0) [2022-12-20T19:33:01.112Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-12-20T19:33:01.112Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-12-20T19:33:01.112Z] (9/80) Installing libpciaccess (0.16-r0) [2022-12-20T19:33:01.112Z] (10/80) Installing libdrm (2.4.110-r0) [2022-12-20T19:33:01.112Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-12-20T19:33:01.112Z] (12/80) Installing libxshmfence (1.3-r1) [2022-12-20T19:33:01.112Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-12-20T19:33:01.112Z] (14/80) Installing icu-data-full (71.1-r2) [2022-12-20T19:33:01.373Z] (15/80) Installing libice (1.0.10-r0) [2022-12-20T19:33:01.373Z] (16/80) Installing libuuid (2.38-r1) [2022-12-20T19:33:01.373Z] (17/80) Installing libsm (1.2.3-r0) [2022-12-20T19:33:01.373Z] (18/80) Installing libxt (1.2.1-r0) [2022-12-20T19:33:01.373Z] (19/80) Installing libxmu (1.1.3-r0) [2022-12-20T19:33:01.373Z] (20/80) Installing xset (1.2.4-r0) [2022-12-20T19:33:01.373Z] (21/80) Installing xprop (1.2.5-r0) [2022-12-20T19:33:01.373Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-12-20T19:33:01.373Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-12-20T19:33:01.373Z] (24/80) Installing libffi (3.4.2-r1) [2022-12-20T19:33:01.373Z] (25/80) Installing libintl (0.21-r2) [2022-12-20T19:33:01.373Z] (26/80) Installing libblkid (2.38-r1) [2022-12-20T19:33:01.373Z] (27/80) Installing libmount (2.38-r1) [2022-12-20T19:33:01.373Z] (28/80) Installing pcre (8.45-r2) [2022-12-20T19:33:01.373Z] (29/80) Installing glib (2.72.1-r0) [2022-12-20T19:33:01.373Z] (30/80) Installing icu-libs (71.1-r2) [2022-12-20T19:33:01.373Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-12-20T19:33:01.373Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-12-20T19:33:01.373Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-12-20T19:33:01.634Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-12-20T19:33:01.634Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-12-20T19:33:01.634Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-12-20T19:33:01.634Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-12-20T19:33:01.634Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-12-20T19:33:01.634Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-12-20T19:33:01.634Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-12-20T19:33:01.634Z] (41/80) Installing libpng (1.6.37-r1) [2022-12-20T19:33:01.634Z] (42/80) Installing freetype (2.12.1-r0) [2022-12-20T19:33:01.634Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-12-20T19:33:01.634Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-12-20T19:33:01.634Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-12-20T19:33:01.634Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-12-20T19:33:01.894Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-12-20T19:33:01.894Z] (48/80) Installing libxml2 (2.9.14-r2) [2022-12-20T19:33:01.894Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-12-20T19:33:01.894Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-12-20T19:33:01.894Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-12-20T19:33:01.894Z] (52/80) Installing avahi-libs (0.8-r6) [2022-12-20T19:33:01.894Z] (53/80) Installing nettle (3.7.3-r0) [2022-12-20T19:33:01.894Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-12-20T19:33:01.894Z] (55/80) Installing libtasn1 (4.18.0-r1) [2022-12-20T19:33:01.894Z] (56/80) Installing libunistring (1.0-r0) [2022-12-20T19:33:01.894Z] (57/80) Installing gnutls (3.7.7-r0) [2022-12-20T19:33:01.894Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-12-20T19:33:01.894Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-12-20T19:33:01.894Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-12-20T19:33:01.894Z] (61/80) Installing libevdev (1.12.1-r0) [2022-12-20T19:33:01.894Z] (62/80) Installing mtdev (1.1.6-r0) [2022-12-20T19:33:01.894Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-12-20T19:33:01.894Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-12-20T19:33:01.894Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-12-20T19:33:01.894Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-12-20T19:33:01.894Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-12-20T19:33:01.894Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-12-20T19:33:01.894Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-12-20T19:33:02.154Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-12-20T19:33:02.154Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-12-20T19:33:02.154Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-12-20T19:33:02.154Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-12-20T19:33:02.154Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-12-20T19:33:02.154Z] (75/80) Installing udev-init-scripts (35-r0) [2022-12-20T19:33:02.154Z] Executing udev-init-scripts-35-r0.post-install [2022-12-20T19:33:02.154Z] (76/80) Installing kmod-libs (29-r2) [2022-12-20T19:33:02.154Z] (77/80) Installing eudev (3.2.11-r0) [2022-12-20T19:33:02.155Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-12-20T19:33:02.155Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-12-20T19:33:02.155Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-12-20T19:33:02.155Z] Executing busybox-1.35.0-r17.trigger [2022-12-20T19:33:02.155Z] Executing eudev-3.2.11-r0.trigger [2022-12-20T19:33:02.155Z] OK: 330 MiB in 131 packages [2022-12-20T19:33:04.063Z] Removing intermediate container c6f1a0b7f870 [2022-12-20T19:33:04.063Z] ---> 3279595d2665 [2022-12-20T19:33:04.063Z] Step 8/13 : WORKDIR /device-usb-camera [2022-12-20T19:33:04.063Z] ---> Running in d6ce4501d3e1 [2022-12-20T19:33:04.063Z] Removing intermediate container d6ce4501d3e1 [2022-12-20T19:33:04.063Z] ---> 977422aaef05 [2022-12-20T19:33:04.063Z] Step 9/13 : COPY go.mod vendor* ./ [2022-12-20T19:33:04.063Z] ---> 1fc222ea617c [2022-12-20T19:33:04.063Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-20T19:33:04.108Z] Still waiting to schedule task [2022-12-20T19:33:04.108Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-20T19:33:04.324Z] ---> Running in 2298b866b107 [2022-12-20T19:33:30.881Z] Removing intermediate container 2298b866b107 [2022-12-20T19:33:30.881Z] ---> 6098cfbad543 [2022-12-20T19:33:30.881Z] Step 11/13 : COPY . . [2022-12-20T19:33:30.881Z] ---> e5fbde472ff4 [2022-12-20T19:33:30.881Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-20T19:33:30.881Z] ---> Running in 79752ea47690 [2022-12-20T19:33:30.881Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-20T19:33:30.881Z]  Dload Upload Total Spent Left Speed [2022-12-20T19:33:30.881Z]  0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8057 0 --:--:-- --:--:-- --:--:-- 8106 [2022-12-20T19:33:30.881Z] Removing intermediate container 79752ea47690 [2022-12-20T19:33:30.881Z] ---> 071c1fe1c5b6 [2022-12-20T19:33:30.881Z] Step 13/13 : RUN ${MAKE} [2022-12-20T19:33:30.881Z] ---> Running in 5b5b096f66ea [2022-12-20T19:33:30.881Z] noop [2022-12-20T19:33:30.881Z] Removing intermediate container 5b5b096f66ea [2022-12-20T19:33:30.881Z] ---> 835d75f3939f [2022-12-20T19:33:30.881Z] Successfully built 835d75f3939f [2022-12-20T19:33:30.881Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:33:31.326Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-20T19:33:31.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T19:33:31.479Z] prd-ubuntu20.04-docker-8c-8g-248 does not seem to be running inside a container [2022-12-20T19:33:31.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-120 -v /w/workspace/foundry_device-usb-camera_PR-120:/w/workspace/foundry_device-usb-camera_PR-120:rw,z -v /w/workspace/foundry_device-usb-camera_PR-120@tmp:/w/workspace/foundry_device-usb-camera_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-20T19:33:31.852Z] $ docker top 90a778b47d5b2f49aff53c640155b1dc0ced6b0d79048318ae2742adfa2b46cf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T19:33:32.242Z] + go version [2022-12-20T19:33:32.242Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-20T19:33:32.276Z] $ docker stop --time=1 90a778b47d5b2f49aff53c640155b1dc0ced6b0d79048318ae2742adfa2b46cf [2022-12-20T19:33:33.603Z] $ docker rm -f --volumes 90a778b47d5b2f49aff53c640155b1dc0ced6b0d79048318ae2742adfa2b46cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:33:34.309Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-20T19:33:34.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T19:33:34.461Z] prd-ubuntu20.04-docker-8c-8g-248 does not seem to be running inside a container [2022-12-20T19:33:34.490Z] $ 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-120 -v /w/workspace/foundry_device-usb-camera_PR-120:/w/workspace/foundry_device-usb-camera_PR-120:rw,z -v /w/workspace/foundry_device-usb-camera_PR-120@tmp:/w/workspace/foundry_device-usb-camera_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-20T19:33:34.844Z] $ docker top f983286c93e3ea29edce5cc73688d3be53f0a9ae0fa78bbc2db3a2fd549540f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T19:33:35.253Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-120 [Pipeline] fileExists [Pipeline] sh [2022-12-20T19:33:35.621Z] + make test [2022-12-20T19:33:35.622Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-12-20T19:33:35.887Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-12-20T19:33:45.857Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-12-20T19:33:46.424Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements [2022-12-20T19:33:54.541Z] 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-12-20T19:33:54.541Z] CGO_ENABLED=1 go vet ./... [2022-12-20T19:33:57.822Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-20T19:33:57.822Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-20T19:33:57.822Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-20T19:33:57.866Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-20T19:33:57.900Z] $ docker stop --time=1 f983286c93e3ea29edce5cc73688d3be53f0a9ae0fa78bbc2db3a2fd549540f3 [2022-12-20T19:33:59.480Z] $ docker rm -f --volumes f983286c93e3ea29edce5cc73688d3be53f0a9ae0fa78bbc2db3a2fd549540f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-20T19:33:59.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-20T19:34:00.072Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-20T19:34:00.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-20T19:34:01.048Z] + ls -al . [2022-12-20T19:34:01.048Z] total 204 [2022-12-20T19:34:01.048Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 19:33 . [2022-12-20T19:34:01.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 19:32 .. [2022-12-20T19:34:01.048Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 19:33 .git [2022-12-20T19:34:01.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 19:32 .github [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 414 Dec 20 19:32 .gitignore [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 20 19:32 .golangci.yml [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 77 Dec 20 19:32 .hadolint.yml [2022-12-20T19:34:01.048Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 19:32 .semver [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 9702 Dec 20 19:32 Attribution.txt [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 5460 Dec 20 19:32 CHANGELOG.md [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 2378 Dec 20 19:32 Dockerfile [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 20 19:32 GOVERNANCE.md [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 659 Dec 20 19:32 Jenkinsfile [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 20 19:32 LICENSE [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 2554 Dec 20 19:32 Makefile [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 20 19:32 OWNERS.md [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 5934 Dec 20 19:32 README.md [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 19:32 VERSION [2022-12-20T19:34:01.048Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 19:32 bin [2022-12-20T19:34:01.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 19:32 cmd [2022-12-20T19:34:01.048Z] -rw-r--r-- 1 jenkins jenkins 30666 Dec 20 19:33 coverage.out [2022-12-20T19:34:01.048Z] -rwxrwxr-x 1 jenkins jenkins 140 Dec 20 19:32 docker-entrypoint.sh [2022-12-20T19:34:01.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 19:32 docs [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 3573 Dec 20 19:32 go.mod [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 45026 Dec 20 19:32 go.sum [2022-12-20T19:34:01.048Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 19:32 internal [2022-12-20T19:34:01.048Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 19:32 snap [2022-12-20T19:34:01.048Z] -rw-rw-r-- 1 jenkins jenkins 231 Dec 20 19:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:34:01.450Z] + 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=90c641872c2c447743910a992fa35119a09763ab --label arch=amd64 --label version=0.0.0 . [2022-12-20T19:34:01.451Z] Sending build context to Docker daemon 1.76MB [2022-12-20T19:34:01.451Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-12-20T19:34:01.451Z] Step 2/35 : FROM ${BASE} AS builder [2022-12-20T19:34:01.451Z] ---> 835d75f3939f [2022-12-20T19:34:01.451Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-12-20T19:34:01.451Z] ---> Running in dfbe2cd19d8b [2022-12-20T19:34:01.451Z] Removing intermediate container dfbe2cd19d8b [2022-12-20T19:34:01.451Z] ---> e129f6d6b687 [2022-12-20T19:34:01.451Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-20T19:34:01.451Z] ---> Running in 0b340067652f [2022-12-20T19:34:01.710Z] Removing intermediate container 0b340067652f [2022-12-20T19:34:01.710Z] ---> 4f12bd32bcbb [2022-12-20T19:34:01.710Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-20T19:34:01.710Z] ---> Running in 79a7bcc68566 [2022-12-20T19:34:01.710Z] Removing intermediate container 79a7bcc68566 [2022-12-20T19:34:01.710Z] ---> 574eec267b87 [2022-12-20T19:34:01.710Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-20T19:34:01.710Z] ---> Running in 926b7525fd69 [2022-12-20T19:34:01.969Z] Removing intermediate container 926b7525fd69 [2022-12-20T19:34:01.969Z] ---> 38f16e6853ce [2022-12-20T19:34:01.969Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-20T19:34:01.969Z] ---> Running in 39142788e2d4 [2022-12-20T19:34:02.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-20T19:34:02.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-20T19:34:02.489Z] OK: 330 MiB in 131 packages [2022-12-20T19:34:02.748Z] Removing intermediate container 39142788e2d4 [2022-12-20T19:34:02.748Z] ---> 8e2b2f87d35d [2022-12-20T19:34:02.748Z] Step 8/35 : WORKDIR /device-usb-camera [2022-12-20T19:34:02.748Z] ---> Running in 2f9c2a66fb7b [2022-12-20T19:34:02.748Z] Removing intermediate container 2f9c2a66fb7b [2022-12-20T19:34:02.748Z] ---> 0f4bb25f7321 [2022-12-20T19:34:02.748Z] Step 9/35 : COPY go.mod vendor* ./ [2022-12-20T19:34:03.008Z] ---> 0ec18caa1df7 [2022-12-20T19:34:03.008Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-20T19:34:03.008Z] ---> Running in 158512148c6e [2022-12-20T19:34:03.578Z] Removing intermediate container 158512148c6e [2022-12-20T19:34:03.578Z] ---> 5fcfb95e8928 [2022-12-20T19:34:03.578Z] Step 11/35 : COPY . . [2022-12-20T19:34:03.837Z] ---> 3199b8130338 [2022-12-20T19:34:03.837Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-20T19:34:03.837Z] ---> Running in 2c77f3b430c6 [2022-12-20T19:34:04.096Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-20T19:34:04.096Z] Dload Upload Total Spent Left Speed [2022-12-20T19:34:04.096Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45646 0 --:--:-- --:--:-- --:--:-- 46173 [2022-12-20T19:34:04.355Z] Removing intermediate container 2c77f3b430c6 [2022-12-20T19:34:04.355Z] ---> ce57a4820261 [2022-12-20T19:34:04.355Z] Step 13/35 : RUN ${MAKE} [2022-12-20T19:34:04.355Z] ---> Running in 02023f677473 [2022-12-20T19:34:04.615Z] 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-12-20T19:34:26.561Z] Removing intermediate container 02023f677473 [2022-12-20T19:34:26.561Z] ---> f1ac0438ef7d [2022-12-20T19:34:26.561Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-12-20T19:34:26.561Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-12-20T19:34:26.561Z] af6660deedbd: Pulling fs layer [2022-12-20T19:34:26.561Z] 97cd0a44c592: Pulling fs layer [2022-12-20T19:34:26.561Z] 97cd0a44c592: Download complete [2022-12-20T19:34:26.561Z] af6660deedbd: Verifying Checksum [2022-12-20T19:34:26.561Z] af6660deedbd: Download complete [2022-12-20T19:34:26.561Z] af6660deedbd: Pull complete [2022-12-20T19:34:26.561Z] 97cd0a44c592: Pull complete [2022-12-20T19:34:26.561Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-12-20T19:34:26.561Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-12-20T19:34:26.561Z] ---> fea57e182299 [2022-12-20T19:34:26.561Z] Step 15/35 : FROM alpine:3.16 [2022-12-20T19:34:27.130Z] 3.16: Pulling from library/alpine [2022-12-20T19:34:27.130Z] ca7dd9ec2225: Pulling fs layer [2022-12-20T19:34:27.390Z] ca7dd9ec2225: Download complete [2022-12-20T19:34:27.390Z] ca7dd9ec2225: Pull complete [2022-12-20T19:34:27.390Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-20T19:34:27.390Z] Status: Downloaded newer image for alpine:3.16 [2022-12-20T19:34:27.390Z] ---> bfe296a52501 [2022-12-20T19:34:27.390Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-20T19:34:27.649Z] ---> Running in a82fdbaae143 [2022-12-20T19:34:27.649Z] Removing intermediate container a82fdbaae143 [2022-12-20T19:34:27.649Z] ---> cbc0b2fff5ac [2022-12-20T19:34:27.649Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-12-20T19:34:27.649Z] ---> Running in 79637992090b [2022-12-20T19:34:27.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-20T19:34:27.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-20T19:34:28.037Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-249 in /w/workspace/foundry_device-usb-camera_PR-120 [Pipeline] { [Pipeline] ws [2022-12-20T19:34:28.098Z] Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout [2022-12-20T19:34:28.164Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-12-20T19:34:28.164Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-12-20T19:34:28.164Z] (3/83) Installing libxau (1.0.9-r0) [2022-12-20T19:34:28.164Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-12-20T19:34:28.164Z] (5/83) Installing libxcb (1.15-r0) [2022-12-20T19:34:28.164Z] (6/83) Installing libx11 (1.8-r0) [2022-12-20T19:34:28.181Z] Selected Git installation does not exist. Using Default [2022-12-20T19:34:28.181Z] The recommended git tool is: NONE [2022-12-20T19:34:28.422Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-12-20T19:34:28.422Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-12-20T19:34:28.422Z] (9/83) Installing expat (2.5.0-r0) [2022-12-20T19:34:28.422Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-12-20T19:34:28.422Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-12-20T19:34:28.422Z] (12/83) Installing libpng (1.6.37-r1) [2022-12-20T19:34:28.422Z] (13/83) Installing freetype (2.12.1-r0) [2022-12-20T19:34:28.422Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-12-20T19:34:28.422Z] (15/83) Installing fribidi (1.0.12-r0) [2022-12-20T19:34:28.422Z] (16/83) Installing libffi (3.4.2-r1) [2022-12-20T19:34:28.422Z] (17/83) Installing libintl (0.21-r2) [2022-12-20T19:34:28.422Z] (18/83) Installing libblkid (2.38-r1) [2022-12-20T19:34:28.422Z] (19/83) Installing libmount (2.38-r1) [2022-12-20T19:34:28.680Z] (20/83) Installing pcre (8.45-r2) [2022-12-20T19:34:28.680Z] (21/83) Installing glib (2.72.1-r0) [2022-12-20T19:34:28.680Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-12-20T19:34:28.680Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-12-20T19:34:28.680Z] (24/83) Installing libass (0.16.0-r0) [2022-12-20T19:34:28.680Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-12-20T19:34:28.680Z] (26/83) Installing libpciaccess (0.16-r0) [2022-12-20T19:34:28.680Z] (27/83) Installing libdrm (2.4.110-r0) [2022-12-20T19:34:28.680Z] (28/83) Installing gmp (6.2.1-r2) [2022-12-20T19:34:28.680Z] (29/83) Installing nettle (3.7.3-r0) [2022-12-20T19:34:28.680Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-12-20T19:34:28.680Z] (31/83) Installing libtasn1 (4.18.0-r1) [2022-12-20T19:34:28.680Z] (32/83) Installing libunistring (1.0-r0) [2022-12-20T19:34:28.680Z] (33/83) Installing gnutls (3.7.7-r0) [2022-12-20T19:34:28.680Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-20T19:34:28.680Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-20T19:34:28.680Z] (36/83) Installing lame (3.100-r0) [2022-12-20T19:34:28.680Z] (37/83) Installing opus (1.3.1-r1) [2022-12-20T19:34:28.680Z] (38/83) Installing libasyncns (0.8-r1) [2022-12-20T19:34:28.939Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-12-20T19:34:28.939Z] (40/83) Installing libltdl (2.4.7-r0) [2022-12-20T19:34:28.939Z] (41/83) Installing orc (0.4.32-r0) [2022-12-20T19:34:28.939Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-12-20T19:34:28.939Z] (43/83) Installing libogg (1.3.5-r1) [2022-12-20T19:34:28.939Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-20T19:34:28.939Z] (45/83) Installing flac (1.3.4-r0) [2022-12-20T19:34:28.939Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-12-20T19:34:28.939Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-12-20T19:34:28.939Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-12-20T19:34:28.939Z] (49/83) Installing soxr (0.1.3-r2) [2022-12-20T19:34:28.939Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-12-20T19:34:28.939Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-12-20T19:34:28.939Z] (52/83) Installing libpulse (15.0-r2) [2022-12-20T19:34:28.939Z] (53/83) Installing cjson (1.7.15-r3) [2022-12-20T19:34:28.939Z] (54/83) Installing mbedtls (2.28.2-r0) [2022-12-20T19:34:28.939Z] (55/83) Installing librist (0.2.6-r1) [2022-12-20T19:34:28.939Z] (56/83) Installing libsrt (1.4.4-r0) [2022-12-20T19:34:28.939Z] (57/83) Installing libssh (0.9.6-r1) [2022-12-20T19:34:28.939Z] (58/83) Installing libtheora (1.1.1-r16) [2022-12-20T19:34:28.939Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-12-20T19:34:28.939Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-12-20T19:34:28.939Z] (61/83) Installing libxext (1.3.4-r0) [2022-12-20T19:34:28.939Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-12-20T19:34:28.939Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-12-20T19:34:28.939Z] (64/83) Installing libva (2.14.0-r0) [2022-12-20T19:34:29.197Z] (65/83) Installing libvdpau (1.5-r0) [2022-12-20T19:34:29.197Z] (66/83) Installing vidstab (1.1.0-r1) [2022-12-20T19:34:29.197Z] (67/83) Installing libvpx (1.11.0-r1) [2022-12-20T19:34:29.197Z] (68/83) Installing libwebp (1.2.3-r0) [2022-12-20T19:34:29.197Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-12-20T19:34:29.197Z] (70/83) Installing numactl (2.0.14-r0) [2022-12-20T19:34:29.197Z] (71/83) Installing x265-libs (3.5-r3) [2022-12-20T19:34:29.197Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-12-20T19:34:29.197Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-12-20T19:34:29.456Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-12-20T19:34:29.456Z] (75/83) Installing udev-init-scripts (35-r0) [2022-12-20T19:34:29.456Z] Executing udev-init-scripts-35-r0.post-install [2022-12-20T19:34:29.456Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-12-20T19:34:29.456Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-12-20T19:34:29.456Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-12-20T19:34:29.456Z] (79/83) Installing kmod-libs (29-r2) [2022-12-20T19:34:29.456Z] (80/83) Installing eudev (3.2.11-r0) [2022-12-20T19:34:29.456Z] (81/83) Installing libsodium (1.0.18-r0) [2022-12-20T19:34:29.456Z] (82/83) Installing libzmq (4.3.4-r0) [2022-12-20T19:34:29.456Z] (83/83) Installing zeromq (4.3.4-r0) [2022-12-20T19:34:29.456Z] Executing busybox-1.35.0-r17.trigger [2022-12-20T19:34:29.456Z] Executing eudev-3.2.11-r0.trigger [2022-12-20T19:34:29.456Z] OK: 101 MiB in 97 packages [2022-12-20T19:34:30.831Z] Removing intermediate container 79637992090b [2022-12-20T19:34:30.831Z] ---> 99031604ec4a [2022-12-20T19:34:30.831Z] Step 18/35 : WORKDIR / [2022-12-20T19:34:30.831Z] ---> Running in d468b5a465f5 [2022-12-20T19:34:30.831Z] Removing intermediate container d468b5a465f5 [2022-12-20T19:34:30.831Z] ---> c3397f2433d5 [2022-12-20T19:34:30.831Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-12-20T19:34:31.400Z] ---> 3e705891b46f [2022-12-20T19:34:31.400Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-12-20T19:34:31.400Z] ---> 26dca7d0ee21 [2022-12-20T19:34:31.400Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-12-20T19:34:31.659Z] ---> a6633ac83459 [2022-12-20T19:34:31.659Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-12-20T19:34:31.919Z] ---> b1a02bb84bed [2022-12-20T19:34:31.919Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-12-20T19:34:31.919Z] ---> 174e1a3408ef [2022-12-20T19:34:31.919Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-12-20T19:34:31.919Z] ---> 62c62bd7d37e [2022-12-20T19:34:31.919Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-12-20T19:34:32.483Z] ---> 8d80a9c46935 [2022-12-20T19:34:32.483Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-12-20T19:34:32.483Z] ---> Running in b4460362f21f [2022-12-20T19:34:33.048Z] Removing intermediate container b4460362f21f [2022-12-20T19:34:33.048Z] ---> fa5b278ef3d1 [2022-12-20T19:34:33.048Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-12-20T19:34:33.048Z] ---> Running in c6dd443b55cd [2022-12-20T19:34:33.243Z] using credential edgex-jenkins-ssh [2022-12-20T19:34:33.259Z] Cloning the remote Git repository [2022-12-20T19:34:33.616Z] Removing intermediate container c6dd443b55cd [2022-12-20T19:34:33.616Z] ---> 71f17eed6ed4 [2022-12-20T19:34:33.616Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-12-20T19:34:33.616Z] ---> Running in f428eeb1a269 [2022-12-20T19:34:34.185Z] Removing intermediate container f428eeb1a269 [2022-12-20T19:34:34.185Z] ---> 2cec2a514e09 [2022-12-20T19:34:34.185Z] Step 29/35 : EXPOSE 59983 [2022-12-20T19:34:34.185Z] ---> Running in 426298e330ae [2022-12-20T19:34:34.185Z] Removing intermediate container 426298e330ae [2022-12-20T19:34:34.185Z] ---> 735521dfba86 [2022-12-20T19:34:34.185Z] Step 30/35 : EXPOSE 8554 [2022-12-20T19:34:34.185Z] ---> Running in d3ec008776f5 [2022-12-20T19:34:33.302Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-12-20T19:34:33.382Z] > git init /w/workspace/device-usb-camera/4 # timeout=10 [2022-12-20T19:34:33.578Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-12-20T19:34:33.579Z] > git --version # timeout=10 [2022-12-20T19:34:33.600Z] > git --version # 'git version 2.25.1' [2022-12-20T19:34:33.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-20T19:34:33.654Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-20T19:34:34.444Z] Removing intermediate container d3ec008776f5 [2022-12-20T19:34:34.444Z] ---> 45c24941fa0d [2022-12-20T19:34:34.444Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-12-20T19:34:34.444Z] ---> Running in b724c45b0460 [2022-12-20T19:34:34.444Z] Removing intermediate container b724c45b0460 [2022-12-20T19:34:34.444Z] ---> ead27476fbd4 [2022-12-20T19:34:34.445Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-12-20T19:34:34.445Z] ---> Running in 541f7f4b2e1d [2022-12-20T19:34:34.445Z] Removing intermediate container 541f7f4b2e1d [2022-12-20T19:34:34.445Z] ---> f430e90a589a [2022-12-20T19:34:34.445Z] Step 33/35 : LABEL arch=amd64 [2022-12-20T19:34:34.445Z] ---> Running in 03a35cc48a17 [2022-12-20T19:34:34.704Z] Removing intermediate container 03a35cc48a17 [2022-12-20T19:34:34.704Z] ---> 45aab74029a9 [2022-12-20T19:34:34.704Z] Step 34/35 : LABEL git_sha=90c641872c2c447743910a992fa35119a09763ab [2022-12-20T19:34:34.704Z] ---> Running in 68f155746452 [2022-12-20T19:34:34.704Z] Removing intermediate container 68f155746452 [2022-12-20T19:34:34.704Z] ---> 1d5ca7eed04c [2022-12-20T19:34:34.704Z] Step 35/35 : LABEL version=0.0.0 [2022-12-20T19:34:34.704Z] ---> Running in bd203a2cc3dc [2022-12-20T19:34:34.704Z] Removing intermediate container bd203a2cc3dc [2022-12-20T19:34:34.704Z] ---> ebcd11f1dbcd [2022-12-20T19:34:34.704Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-20T19:34:34.704Z] Successfully built ebcd11f1dbcd [2022-12-20T19:34:34.704Z] 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-12-20T19:34:34.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-12-20T19:34:34.388Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-20T19:34:35.162Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-12-20T19:34:35.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-12-20T19:34:35.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-20T19:34:35.226Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-20T19:34:35.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-20T19:34:35.598Z] [2022-12-20T19:34:35.598Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:34:35.779Z] Merging remotes/origin/main commit e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 into PR head commit 90c641872c2c447743910a992fa35119a09763ab [2022-12-20T19:34:35.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-20T19:34:35.979Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-20T19:34:35.979Z] 5eb5b503b376: Pulling fs layer [2022-12-20T19:34:35.979Z] 5c69ac0246d0: Pulling fs layer [2022-12-20T19:34:35.979Z] ec43610c2a17: Pulling fs layer [2022-12-20T19:34:35.979Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-20T19:34:35.979Z] 33b1e0a273af: Pulling fs layer [2022-12-20T19:34:35.979Z] 5d3b04190fa2: Pulling fs layer [2022-12-20T19:34:35.979Z] 2f39f015ded8: Pulling fs layer [2022-12-20T19:34:35.979Z] 3a2ae6a8a46f: Waiting [2022-12-20T19:34:35.979Z] 33b1e0a273af: Waiting [2022-12-20T19:34:35.979Z] 2f39f015ded8: Waiting [2022-12-20T19:34:35.979Z] 5c69ac0246d0: Verifying Checksum [2022-12-20T19:34:35.979Z] 5c69ac0246d0: Download complete [2022-12-20T19:34:35.979Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-20T19:34:35.979Z] 3a2ae6a8a46f: Download complete [2022-12-20T19:34:36.025Z] Merge succeeded, producing 90c641872c2c447743910a992fa35119a09763ab [2022-12-20T19:34:36.026Z] Checking out Revision 90c641872c2c447743910a992fa35119a09763ab (PR-120) [2022-12-20T19:34:36.238Z] 33b1e0a273af: Verifying Checksum [2022-12-20T19:34:36.238Z] 33b1e0a273af: Download complete [2022-12-20T19:34:36.238Z] 5d3b04190fa2: Verifying Checksum [2022-12-20T19:34:36.238Z] 5d3b04190fa2: Download complete [2022-12-20T19:34:36.238Z] ec43610c2a17: Verifying Checksum [2022-12-20T19:34:36.238Z] ec43610c2a17: Download complete [2022-12-20T19:34:36.238Z] 5eb5b503b376: Verifying Checksum [2022-12-20T19:34:36.238Z] 5eb5b503b376: Download complete [2022-12-20T19:34:36.803Z] 2f39f015ded8: Verifying Checksum [2022-12-20T19:34:36.803Z] 2f39f015ded8: Download complete [2022-12-20T19:34:35.796Z] > git config core.sparsecheckout # timeout=10 [2022-12-20T19:34:35.824Z] > git checkout -f 90c641872c2c447743910a992fa35119a09763ab # timeout=10 [2022-12-20T19:34:35.906Z] > git remote # timeout=10 [2022-12-20T19:34:35.925Z] > git config --get remote.origin.url # timeout=10 [2022-12-20T19:34:35.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-20T19:34:35.964Z] > git merge e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 # timeout=10 [2022-12-20T19:34:35.992Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-20T19:34:36.031Z] > git config core.sparsecheckout # timeout=10 [2022-12-20T19:34:36.047Z] > git checkout -f 90c641872c2c447743910a992fa35119a09763ab # timeout=10 [2022-12-20T19:34:37.371Z] 5eb5b503b376: Pull complete [2022-12-20T19:34:37.630Z] 5c69ac0246d0: Pull complete [2022-12-20T19:34:38.196Z] ec43610c2a17: Pull complete [2022-12-20T19:34:38.196Z] 3a2ae6a8a46f: Pull complete [2022-12-20T19:34:38.454Z] 33b1e0a273af: Pull complete [2022-12-20T19:34:38.454Z] 5d3b04190fa2: Pull complete [2022-12-20T19:34:39.518Z] Commit message: "Merge branch 'main' into implement-rediscovery" [2022-12-20T19:34:39.870Z] [2022-12-20T19:34:39.870Z] GitHub has been notified of this commit’s build result [2022-12-20T19:34:39.870Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-20T19:34:40.591Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-20T19:34:40.591Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-20T19:34:40.591Z] Dload Upload Total Spent Left Speed [2022-12-20T19:34:40.591Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh [2022-12-20T19:34:41.333Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-20T19:34:41.675Z] + sudo tee /etc/docker/daemon.new [2022-12-20T19:34:41.676Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-20T19:34:41.676Z] { [2022-12-20T19:34:41.676Z] "registry-mirrors": [ [2022-12-20T19:34:41.676Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-20T19:34:41.676Z] ], [2022-12-20T19:34:41.676Z] "bip": "10.250.0.254/24", [2022-12-20T19:34:41.676Z] "hosts": [ [2022-12-20T19:34:41.676Z] "tcp://0.0.0.0:5555", [2022-12-20T19:34:41.676Z] "unix:///var/run/docker.sock" [2022-12-20T19:34:41.676Z] ], [2022-12-20T19:34:41.676Z] "mtu": 1458, [2022-12-20T19:34:41.676Z] "selinux-enabled": true, [2022-12-20T19:34:41.676Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-20T19:34:41.676Z] } [Pipeline] sh [2022-12-20T19:34:42.035Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-20T19:34:42.382Z] + sudo service docker restart [2022-12-20T19:34:42.640Z] 2f39f015ded8: Pull complete [2022-12-20T19:34:42.640Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-20T19:34:42.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-20T19:34:42.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T19:34:42.876Z] prd-ubuntu20.04-docker-8c-8g-248 does not seem to be running inside a container [2022-12-20T19:34:42.905Z] $ 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-120 -v /w/workspace/foundry_device-usb-camera_PR-120:/w/workspace/foundry_device-usb-camera_PR-120:rw,z -v /w/workspace/foundry_device-usb-camera_PR-120@tmp:/w/workspace/foundry_device-usb-camera_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-20T19:34:44.132Z] $ docker top 52f6d2cc538a1ae9fc9314e8a5258b75bbf21c78cda03ae4feb41477123466cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:34:44.598Z] ---> job-cost.sh [2022-12-20T19:34:44.598Z] lf-activate-venv: SKIPPING [2022-12-20T19:34:44.598Z] INFO: No Stack... [2022-12-20T19:34:44.858Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-20T19:34:45.117Z] INFO: Archiving Costs [Pipeline] sh [2022-12-20T19:34:45.433Z] + cat /w/workspace/foundry_device-usb-camera_PR-120/archives/cost.csv [2022-12-20T19:34:45.433Z] + cut -d, -f6 [Pipeline] lock [2022-12-20T19:34:45.477Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-120-4-stack-cost] [2022-12-20T19:34:45.482Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-120-4-stack-cost] did not exist. Created. [2022-12-20T19:34:45.483Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-120-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-20T19:34:45.874Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-20T19:34:45.929Z] Stashed 1 file(s) [Pipeline] } [2022-12-20T19:34:45.955Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-120-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-20T19:34:46.042Z] $ docker stop --time=1 52f6d2cc538a1ae9fc9314e8a5258b75bbf21c78cda03ae4feb41477123466cc [2022-12-20T19:34:47.213Z] $ docker rm -f --volumes 52f6d2cc538a1ae9fc9314e8a5258b75bbf21c78cda03ae4feb41477123466cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-20T19:35:00.676Z] provisioning config files... [2022-12-20T19:35:00.703Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config3825431117970767190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:35:01.086Z] ---> docker-login.sh [2022-12-20T19:35:01.086Z] nexus3.edgexfoundry.org:10001 [2022-12-20T19:35:01.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:35:01.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:35:01.670Z] Configure a credential helper to remove this warning. See [2022-12-20T19:35:01.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:35:01.670Z] [2022-12-20T19:35:01.670Z] Login Succeeded [2022-12-20T19:35:01.670Z] nexus3.edgexfoundry.org:10002 [2022-12-20T19:35:01.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:35:01.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:35:01.938Z] Configure a credential helper to remove this warning. See [2022-12-20T19:35:01.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:35:01.938Z] [2022-12-20T19:35:01.938Z] Login Succeeded [2022-12-20T19:35:01.938Z] nexus3.edgexfoundry.org:10003 [2022-12-20T19:35:02.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:35:02.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:35:02.475Z] Configure a credential helper to remove this warning. See [2022-12-20T19:35:02.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:35:02.475Z] [2022-12-20T19:35:02.475Z] Login Succeeded [2022-12-20T19:35:02.475Z] nexus3.edgexfoundry.org:10004 [2022-12-20T19:35:02.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:35:02.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:35:02.746Z] Configure a credential helper to remove this warning. See [2022-12-20T19:35:02.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:35:02.746Z] [2022-12-20T19:35:02.746Z] Login Succeeded [2022-12-20T19:35:02.746Z] docker.io [2022-12-20T19:35:03.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-20T19:35:03.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-20T19:35:03.280Z] Configure a credential helper to remove this warning. See [2022-12-20T19:35:03.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-20T19:35:03.280Z] [2022-12-20T19:35:03.280Z] Login Succeeded [2022-12-20T19:35:03.280Z] ---> docker-login.sh ends [Pipeline] } [2022-12-20T19:35:03.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-20T19:35:03.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-20T19:35:03.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-20T19:35:03.734Z] ========================================================= [2022-12-20T19:35:03.734Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-20T19:35:03.734Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:35:04.237Z] + 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-12-20T19:35:04.505Z] Sending build context to Docker daemon 1.181MB [2022-12-20T19:35:04.505Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-20T19:35:04.505Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-20T19:35:04.780Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-20T19:35:04.780Z] 9b18e9b68314: Pulling fs layer [2022-12-20T19:35:04.780Z] 35d82f9e3411: Pulling fs layer [2022-12-20T19:35:04.780Z] e16973657156: Pulling fs layer [2022-12-20T19:35:04.780Z] fc693d55d65f: Pulling fs layer [2022-12-20T19:35:04.780Z] 7e9fc2657dce: Pulling fs layer [2022-12-20T19:35:04.780Z] dda99020689f: Pulling fs layer [2022-12-20T19:35:04.780Z] db1c61fa0a46: Pulling fs layer [2022-12-20T19:35:04.780Z] 891c053d2c06: Pulling fs layer [2022-12-20T19:35:04.780Z] fc693d55d65f: Waiting [2022-12-20T19:35:04.780Z] 7e9fc2657dce: Waiting [2022-12-20T19:35:04.780Z] dda99020689f: Waiting [2022-12-20T19:35:04.780Z] db1c61fa0a46: Waiting [2022-12-20T19:35:04.780Z] 891c053d2c06: Waiting [2022-12-20T19:35:04.780Z] e16973657156: Verifying Checksum [2022-12-20T19:35:04.780Z] e16973657156: Download complete [2022-12-20T19:35:04.780Z] 35d82f9e3411: Verifying Checksum [2022-12-20T19:35:04.780Z] 35d82f9e3411: Download complete [2022-12-20T19:35:04.780Z] 7e9fc2657dce: Verifying Checksum [2022-12-20T19:35:04.780Z] 7e9fc2657dce: Download complete [2022-12-20T19:35:04.780Z] dda99020689f: Verifying Checksum [2022-12-20T19:35:04.780Z] dda99020689f: Download complete [2022-12-20T19:35:04.780Z] 9b18e9b68314: Verifying Checksum [2022-12-20T19:35:04.780Z] 9b18e9b68314: Download complete [2022-12-20T19:35:05.757Z] 9b18e9b68314: Pull complete [2022-12-20T19:35:06.029Z] 891c053d2c06: Verifying Checksum [2022-12-20T19:35:06.029Z] 891c053d2c06: Download complete [2022-12-20T19:35:06.305Z] 35d82f9e3411: Pull complete [2022-12-20T19:35:06.591Z] e16973657156: Pull complete [2022-12-20T19:35:07.184Z] db1c61fa0a46: Verifying Checksum [2022-12-20T19:35:07.184Z] db1c61fa0a46: Download complete [2022-12-20T19:35:07.772Z] fc693d55d65f: Verifying Checksum [2022-12-20T19:35:07.772Z] fc693d55d65f: Download complete [2022-12-20T19:35:20.146Z] fc693d55d65f: Pull complete [2022-12-20T19:35:20.146Z] 7e9fc2657dce: Pull complete [2022-12-20T19:35:20.146Z] dda99020689f: Pull complete [2022-12-20T19:35:28.370Z] db1c61fa0a46: Pull complete [2022-12-20T19:35:29.788Z] 891c053d2c06: Pull complete [2022-12-20T19:35:29.788Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-20T19:35:29.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-20T19:35:29.788Z] ---> f96f9c87975a [2022-12-20T19:35:29.788Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-20T19:35:31.733Z] ---> Running in b5412f448d0e [2022-12-20T19:35:31.733Z] Removing intermediate container b5412f448d0e [2022-12-20T19:35:31.733Z] ---> fc1df0150736 [2022-12-20T19:35:31.733Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-20T19:35:31.733Z] ---> Running in aaf22e812771 [2022-12-20T19:35:32.002Z] Removing intermediate container aaf22e812771 [2022-12-20T19:35:32.002Z] ---> f615180e191a [2022-12-20T19:35:32.002Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-20T19:35:32.269Z] ---> Running in 94d97f408572 [2022-12-20T19:35:32.536Z] Removing intermediate container 94d97f408572 [2022-12-20T19:35:32.536Z] ---> cbf24d896e18 [2022-12-20T19:35:32.536Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-20T19:35:32.536Z] ---> Running in 4e6c12df05b5 [2022-12-20T19:35:32.803Z] Removing intermediate container 4e6c12df05b5 [2022-12-20T19:35:32.803Z] ---> 1ecfb7bc59d8 [2022-12-20T19:35:32.803Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-20T19:35:33.073Z] ---> Running in 6496b17915aa [2022-12-20T19:35:34.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-20T19:35:34.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-20T19:35:35.264Z] (1/14) Installing libintl (0.21-r2) [2022-12-20T19:35:35.264Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-12-20T19:35:35.264Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-12-20T19:35:35.264Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-12-20T19:35:35.264Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-12-20T19:35:35.264Z] (6/14) Installing udev-init-scripts (35-r0) [2022-12-20T19:35:35.264Z] Executing udev-init-scripts-35-r0.post-install [2022-12-20T19:35:35.535Z] (7/14) Installing libblkid (2.38-r1) [2022-12-20T19:35:35.535Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-12-20T19:35:35.535Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-12-20T19:35:35.535Z] (10/14) Installing kmod-libs (29-r2) [2022-12-20T19:35:35.535Z] (11/14) Installing eudev (3.2.11-r0) [2022-12-20T19:35:35.535Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-12-20T19:35:35.535Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-12-20T19:35:35.535Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-12-20T19:35:35.535Z] Executing busybox-1.35.0-r17.trigger [2022-12-20T19:35:35.535Z] Executing eudev-3.2.11-r0.trigger [2022-12-20T19:35:35.535Z] OK: 228 MiB in 65 packages [2022-12-20T19:35:36.950Z] Removing intermediate container 6496b17915aa [2022-12-20T19:35:36.950Z] ---> 516f4e4409b8 [2022-12-20T19:35:36.950Z] Step 8/13 : WORKDIR /device-usb-camera [2022-12-20T19:35:36.950Z] ---> Running in 7bd4097fa844 [2022-12-20T19:35:37.218Z] Removing intermediate container 7bd4097fa844 [2022-12-20T19:35:37.218Z] ---> 559c586adfde [2022-12-20T19:35:37.218Z] Step 9/13 : COPY go.mod vendor* ./ [2022-12-20T19:35:37.487Z] ---> 2440aca82324 [2022-12-20T19:35:37.487Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-20T19:35:37.756Z] ---> Running in 95436169f4f9 [2022-12-20T19:36:34.200Z] Removing intermediate container 95436169f4f9 [2022-12-20T19:36:34.200Z] ---> 9fe60bbdd551 [2022-12-20T19:36:34.200Z] Step 11/13 : COPY . . [2022-12-20T19:36:34.200Z] ---> 5d45fdb6133f [2022-12-20T19:36:34.200Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-20T19:36:34.200Z] ---> Running in 884f85a67e48 [2022-12-20T19:36:34.200Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2022-12-20T19:36:34.200Z]  Dload Upload Total  Spent Left Speed [2022-12-20T19:36:34.200Z] 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13321 0 --:--:-- --:--:-- --:--:-- 13443 [2022-12-20T19:36:34.200Z] Removing intermediate container 884f85a67e48 [2022-12-20T19:36:34.200Z] ---> ba37ecf01917 [2022-12-20T19:36:34.200Z] Step 13/13 : RUN ${MAKE} [2022-12-20T19:36:34.200Z] ---> Running in fc3290f79c47 [2022-12-20T19:36:34.200Z] noop [2022-12-20T19:36:34.200Z] Removing intermediate container fc3290f79c47 [2022-12-20T19:36:34.200Z] ---> 08abcb310b3f [2022-12-20T19:36:34.200Z] Successfully built 08abcb310b3f [2022-12-20T19:36:34.200Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:36:34.665Z] + docker inspect -f . ci-base-image-arm64 [2022-12-20T19:36:34.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T19:36:34.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-249 does not seem to be running inside a container [2022-12-20T19:36:34.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-20T19:36:36.140Z] $ docker top 1290cb62603c63a09f1da8a45a966abb56d03af897255de4fa89d161618a4139 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T19:36:37.009Z] + go version [2022-12-20T19:36:37.009Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-20T19:36:37.042Z] $ docker stop --time=1 1290cb62603c63a09f1da8a45a966abb56d03af897255de4fa89d161618a4139 [2022-12-20T19:36:38.636Z] $ docker rm -f --volumes 1290cb62603c63a09f1da8a45a966abb56d03af897255de4fa89d161618a4139 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:36:39.480Z] + docker inspect -f . ci-base-image-arm64 [2022-12-20T19:36:39.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T19:36:39.735Z] prd-ubuntu20.04-docker-arm64-4c-16g-249 does not seem to be running inside a container [2022-12-20T19:36:39.793Z] $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-20T19:36:40.921Z] $ docker top 5956bf747f7a395d17037ef26fb5224dc88c9e2d7746fd29e4b01564433fbb3f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T19:36:41.798Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-12-20T19:36:42.190Z] + make test [2022-12-20T19:36:42.190Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-12-20T19:36:44.138Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-12-20T19:38:20.815Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-12-20T19:38:20.815Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.071s coverage: 1.9% of statements [2022-12-20T19:38:20.815Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-20T19:38:20.815Z] CGO_ENABLED=1 go vet ./... [2022-12-20T19:38:39.037Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-20T19:38:39.037Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-20T19:38:39.037Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-20T19:38:39.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-20T19:38:39.105Z] $ docker stop --time=1 5956bf747f7a395d17037ef26fb5224dc88c9e2d7746fd29e4b01564433fbb3f [2022-12-20T19:38:40.851Z] $ docker rm -f --volumes 5956bf747f7a395d17037ef26fb5224dc88c9e2d7746fd29e4b01564433fbb3f [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-20T19:38:41.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-20T19:38:41.835Z] Warning: overwriting stash ‘coverage-report’ [2022-12-20T19:38:42.278Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-20T19:38:42.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-20T19:38:43.192Z] + ls -al . [2022-12-20T19:38:43.193Z] total 200 [2022-12-20T19:38:43.193Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 20 19:36 . [2022-12-20T19:38:43.193Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 19:34 .. [2022-12-20T19:38:43.193Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 19:34 .git [2022-12-20T19:38:43.193Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 19:34 .github [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 414 Dec 20 19:34 .gitignore [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 20 19:34 .golangci.yml [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 77 Dec 20 19:34 .hadolint.yml [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 9702 Dec 20 19:34 Attribution.txt [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 5460 Dec 20 19:34 CHANGELOG.md [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 2378 Dec 20 19:34 Dockerfile [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 20 19:34 GOVERNANCE.md [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 659 Dec 20 19:34 Jenkinsfile [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 20 19:34 LICENSE [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 2554 Dec 20 19:34 Makefile [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 20 19:34 OWNERS.md [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 5934 Dec 20 19:34 README.md [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 20 19:32 VERSION [2022-12-20T19:38:43.193Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 19:34 bin [2022-12-20T19:38:43.193Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 19:34 cmd [2022-12-20T19:38:43.193Z] -rw-r--r-- 1 jenkins jenkins 30666 Dec 20 19:38 coverage.out [2022-12-20T19:38:43.193Z] -rwxrwxr-x 1 jenkins jenkins 140 Dec 20 19:34 docker-entrypoint.sh [2022-12-20T19:38:43.193Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 19:34 docs [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 3573 Dec 20 19:34 go.mod [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 45026 Dec 20 19:34 go.sum [2022-12-20T19:38:43.193Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 19:34 internal [2022-12-20T19:38:43.193Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 19:34 snap [2022-12-20T19:38:43.193Z] -rw-rw-r-- 1 jenkins jenkins 231 Dec 20 19:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:38:43.623Z] + 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=90c641872c2c447743910a992fa35119a09763ab --label arch=arm64 --label version=0.0.0 . [2022-12-20T19:38:43.889Z] Sending build context to Docker daemon 1.212MB [2022-12-20T19:38:43.889Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-12-20T19:38:43.889Z] Step 2/35 : FROM ${BASE} AS builder [2022-12-20T19:38:43.889Z] ---> 08abcb310b3f [2022-12-20T19:38:43.889Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-12-20T19:38:44.158Z] ---> Running in f236b343159d [2022-12-20T19:38:44.427Z] Removing intermediate container f236b343159d [2022-12-20T19:38:44.427Z] ---> 3c3cf6da99e8 [2022-12-20T19:38:44.427Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-20T19:38:44.427Z] ---> Running in 28de902bab64 [2022-12-20T19:38:44.695Z] Removing intermediate container 28de902bab64 [2022-12-20T19:38:44.695Z] ---> 24facbe986cb [2022-12-20T19:38:44.695Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-20T19:38:44.695Z] ---> Running in 2a44b0e16cc9 [2022-12-20T19:38:44.963Z] Removing intermediate container 2a44b0e16cc9 [2022-12-20T19:38:44.963Z] ---> bd4219cf8e1c [2022-12-20T19:38:44.963Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-20T19:38:45.234Z] ---> Running in 4077ce3a0ce8 [2022-12-20T19:38:45.503Z] Removing intermediate container 4077ce3a0ce8 [2022-12-20T19:38:45.503Z] ---> a3958d4c11be [2022-12-20T19:38:45.503Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-20T19:38:45.503Z] ---> Running in 23b1b90002cf [2022-12-20T19:38:46.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-20T19:38:46.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-20T19:38:47.689Z] OK: 228 MiB in 65 packages [2022-12-20T19:38:48.650Z] Removing intermediate container 23b1b90002cf [2022-12-20T19:38:48.650Z] ---> 91bd72d4dfbd [2022-12-20T19:38:48.650Z] Step 8/35 : WORKDIR /device-usb-camera [2022-12-20T19:38:48.650Z] ---> Running in 1d1fdf5d74ba [2022-12-20T19:38:48.919Z] Removing intermediate container 1d1fdf5d74ba [2022-12-20T19:38:48.919Z] ---> 96a848f8c319 [2022-12-20T19:38:48.919Z] Step 9/35 : COPY go.mod vendor* ./ [2022-12-20T19:38:49.501Z] ---> bc28a0c7184e [2022-12-20T19:38:49.501Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-20T19:38:49.770Z] ---> Running in f036f09003ec [2022-12-20T19:38:51.737Z] Removing intermediate container f036f09003ec [2022-12-20T19:38:51.737Z] ---> de9c119f45ed [2022-12-20T19:38:51.737Z] Step 11/35 : COPY . . [2022-12-20T19:38:53.157Z] ---> b5817a5b3624 [2022-12-20T19:38:53.157Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-20T19:38:53.157Z] ---> Running in 1fff8c07b750 [2022-12-20T19:38:55.102Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-20T19:38:55.103Z] Dload Upload Total Spent Left Speed [2022-12-20T19:38:55.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6906  0 --:--:-- --:--:-- --:--:-- 6941 [2022-12-20T19:38:55.686Z] Removing intermediate container 1fff8c07b750 [2022-12-20T19:38:55.686Z] ---> 6f0b081b109b [2022-12-20T19:38:55.686Z] Step 13/35 : RUN ${MAKE} [2022-12-20T19:38:55.686Z] ---> Running in 3c313521c15d [2022-12-20T19:38:56.641Z] 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-12-20T19:41:48.684Z] Removing intermediate container 3c313521c15d [2022-12-20T19:41:48.684Z] ---> eab3647d726d [2022-12-20T19:41:48.684Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-12-20T19:41:48.684Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-12-20T19:41:48.684Z] eab2503cf8f4: Pulling fs layer [2022-12-20T19:41:48.684Z] 97cd0a44c592: Pulling fs layer [2022-12-20T19:41:48.684Z] 97cd0a44c592: Verifying Checksum [2022-12-20T19:41:48.684Z] 97cd0a44c592: Download complete [2022-12-20T19:41:48.684Z] eab2503cf8f4: Verifying Checksum [2022-12-20T19:41:48.684Z] eab2503cf8f4: Download complete [2022-12-20T19:41:48.684Z] eab2503cf8f4: Pull complete [2022-12-20T19:41:48.684Z] 97cd0a44c592: Pull complete [2022-12-20T19:41:48.684Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-12-20T19:41:48.684Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-12-20T19:41:48.684Z] ---> 7f763cca56b3 [2022-12-20T19:41:48.684Z] Step 15/35 : FROM alpine:3.16 [2022-12-20T19:41:48.684Z] 3.16: Pulling from library/alpine [2022-12-20T19:41:48.684Z] 6875df1f5354: Pulling fs layer [2022-12-20T19:41:48.684Z] 6875df1f5354: Verifying Checksum [2022-12-20T19:41:48.684Z] 6875df1f5354: Download complete [2022-12-20T19:41:48.684Z] 6875df1f5354: Pull complete [2022-12-20T19:41:48.684Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-20T19:41:48.684Z] Status: Downloaded newer image for alpine:3.16 [2022-12-20T19:41:48.684Z] ---> 2b4661558fb8 [2022-12-20T19:41:48.684Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-20T19:41:48.684Z] ---> Running in ef2d161aa42b [2022-12-20T19:41:48.684Z] Removing intermediate container ef2d161aa42b [2022-12-20T19:41:48.684Z] ---> 15e7d538bc69 [2022-12-20T19:41:48.684Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-12-20T19:41:48.684Z] ---> Running in f0168ea0064d [2022-12-20T19:41:48.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-20T19:41:48.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-20T19:41:48.684Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-12-20T19:41:48.684Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-12-20T19:41:48.684Z] (3/82) Installing libxau (1.0.9-r0) [2022-12-20T19:41:48.684Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-12-20T19:41:48.684Z] (5/82) Installing libxcb (1.15-r0) [2022-12-20T19:41:48.684Z] (6/82) Installing libx11 (1.8-r0) [2022-12-20T19:41:48.684Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-12-20T19:41:48.684Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-12-20T19:41:48.684Z] (9/82) Installing expat (2.5.0-r0) [2022-12-20T19:41:48.684Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-12-20T19:41:48.684Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-12-20T19:41:48.684Z] (12/82) Installing libpng (1.6.37-r1) [2022-12-20T19:41:48.684Z] (13/82) Installing freetype (2.12.1-r0) [2022-12-20T19:41:48.684Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-12-20T19:41:48.684Z] (15/82) Installing fribidi (1.0.12-r0) [2022-12-20T19:41:48.684Z] (16/82) Installing libffi (3.4.2-r1) [2022-12-20T19:41:48.684Z] (17/82) Installing libintl (0.21-r2) [2022-12-20T19:41:48.684Z] (18/82) Installing libblkid (2.38-r1) [2022-12-20T19:41:48.684Z] (19/82) Installing libmount (2.38-r1) [2022-12-20T19:41:48.684Z] (20/82) Installing pcre (8.45-r2) [2022-12-20T19:41:48.684Z] (21/82) Installing glib (2.72.1-r0) [2022-12-20T19:41:48.684Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-12-20T19:41:48.684Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-12-20T19:41:48.684Z] (24/82) Installing libass (0.16.0-r0) [2022-12-20T19:41:48.684Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-12-20T19:41:48.684Z] (26/82) Installing libdrm (2.4.110-r0) [2022-12-20T19:41:48.684Z] (27/82) Installing gmp (6.2.1-r2) [2022-12-20T19:41:48.684Z] (28/82) Installing nettle (3.7.3-r0) [2022-12-20T19:41:48.684Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-12-20T19:41:48.684Z] (30/82) Installing libtasn1 (4.18.0-r1) [2022-12-20T19:41:48.684Z] (31/82) Installing libunistring (1.0-r0) [2022-12-20T19:41:48.684Z] (32/82) Installing gnutls (3.7.7-r0) [2022-12-20T19:41:48.684Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-20T19:41:48.684Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-20T19:41:48.684Z] (35/82) Installing lame (3.100-r0) [2022-12-20T19:41:48.684Z] (36/82) Installing opus (1.3.1-r1) [2022-12-20T19:41:48.684Z] (37/82) Installing libasyncns (0.8-r1) [2022-12-20T19:41:48.684Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-12-20T19:41:48.684Z] (39/82) Installing libltdl (2.4.7-r0) [2022-12-20T19:41:48.684Z] (40/82) Installing orc (0.4.32-r0) [2022-12-20T19:41:48.684Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-12-20T19:41:48.684Z] (42/82) Installing libogg (1.3.5-r1) [2022-12-20T19:41:48.684Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-20T19:41:48.684Z] (44/82) Installing flac (1.3.4-r0) [2022-12-20T19:41:48.684Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-12-20T19:41:48.684Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-12-20T19:41:48.684Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-12-20T19:41:48.684Z] (48/82) Installing soxr (0.1.3-r2) [2022-12-20T19:41:48.684Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-12-20T19:41:48.684Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-12-20T19:41:48.684Z] (51/82) Installing libpulse (15.0-r2) [2022-12-20T19:41:48.684Z] (52/82) Installing cjson (1.7.15-r3) [2022-12-20T19:41:48.684Z] (53/82) Installing mbedtls (2.28.2-r0) [2022-12-20T19:41:48.684Z] (54/82) Installing librist (0.2.6-r1) [2022-12-20T19:41:48.684Z] (55/82) Installing libsrt (1.4.4-r0) [2022-12-20T19:41:48.684Z] (56/82) Installing libssh (0.9.6-r1) [2022-12-20T19:41:48.684Z] (57/82) Installing libtheora (1.1.1-r16) [2022-12-20T19:41:48.684Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-12-20T19:41:48.684Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-12-20T19:41:48.684Z] (60/82) Installing libxext (1.3.4-r0) [2022-12-20T19:41:48.684Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-12-20T19:41:48.684Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-12-20T19:41:48.684Z] (63/82) Installing libva (2.14.0-r0) [2022-12-20T19:41:48.684Z] (64/82) Installing libvdpau (1.5-r0) [2022-12-20T19:41:48.684Z] (65/82) Installing vidstab (1.1.0-r1) [2022-12-20T19:41:48.684Z] (66/82) Installing libvpx (1.11.0-r1) [2022-12-20T19:41:48.684Z] (67/82) Installing libwebp (1.2.3-r0) [2022-12-20T19:41:48.684Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-12-20T19:41:48.684Z] (69/82) Installing numactl (2.0.14-r0) [2022-12-20T19:41:48.684Z] (70/82) Installing x265-libs (3.5-r3) [2022-12-20T19:41:48.684Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-12-20T19:41:48.684Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-12-20T19:41:48.684Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-12-20T19:41:48.684Z] (74/82) Installing udev-init-scripts (35-r0) [2022-12-20T19:41:48.684Z] Executing udev-init-scripts-35-r0.post-install [2022-12-20T19:41:48.684Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-12-20T19:41:48.684Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-12-20T19:41:48.684Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-12-20T19:41:48.684Z] (78/82) Installing kmod-libs (29-r2) [2022-12-20T19:41:48.684Z] (79/82) Installing eudev (3.2.11-r0) [2022-12-20T19:41:48.684Z] (80/82) Installing libsodium (1.0.18-r0) [2022-12-20T19:41:48.684Z] (81/82) Installing libzmq (4.3.4-r0) [2022-12-20T19:41:48.684Z] (82/82) Installing zeromq (4.3.4-r0) [2022-12-20T19:41:48.684Z] Executing busybox-1.35.0-r17.trigger [2022-12-20T19:41:48.684Z] Executing eudev-3.2.11-r0.trigger [2022-12-20T19:41:48.684Z] OK: 78 MiB in 96 packages [2022-12-20T19:41:48.684Z] Removing intermediate container f0168ea0064d [2022-12-20T19:41:48.684Z] ---> dcbee8df15a9 [2022-12-20T19:41:48.684Z] Step 18/35 : WORKDIR / [2022-12-20T19:41:48.684Z] ---> Running in 9fcd6234323e [2022-12-20T19:41:48.684Z] Removing intermediate container 9fcd6234323e [2022-12-20T19:41:48.684Z] ---> 0071a100e5d9 [2022-12-20T19:41:48.684Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-12-20T19:41:48.684Z] ---> 759bc2edc5c5 [2022-12-20T19:41:48.684Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-12-20T19:41:48.684Z] ---> 3fd5705c02cb [2022-12-20T19:41:48.684Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-12-20T19:41:48.684Z] ---> 3f7591ae7440 [2022-12-20T19:41:48.684Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-12-20T19:41:48.953Z] ---> ebdfcf5c3ea1 [2022-12-20T19:41:48.954Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-12-20T19:41:49.537Z] ---> ad8bbfee8e88 [2022-12-20T19:41:49.537Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-12-20T19:41:50.122Z] ---> 0e185ebf29c6 [2022-12-20T19:41:50.122Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-12-20T19:41:51.087Z] ---> 1aa63888cc3a [2022-12-20T19:41:51.087Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-12-20T19:41:51.087Z] ---> Running in 6c9bb9aff9b6 [2022-12-20T19:41:53.040Z] Removing intermediate container 6c9bb9aff9b6 [2022-12-20T19:41:53.040Z] ---> b9cfaf213d9c [2022-12-20T19:41:53.041Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-12-20T19:41:53.041Z] ---> Running in c7afb87f0ae0 [2022-12-20T19:41:54.463Z] Removing intermediate container c7afb87f0ae0 [2022-12-20T19:41:54.463Z] ---> e11c6419cd18 [2022-12-20T19:41:54.463Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-12-20T19:41:54.732Z] ---> Running in 924fcf36b316 [2022-12-20T19:41:56.145Z] Removing intermediate container 924fcf36b316 [2022-12-20T19:41:56.145Z] ---> 2df44c1645ea [2022-12-20T19:41:56.145Z] Step 29/35 : EXPOSE 59983 [2022-12-20T19:41:56.145Z] ---> Running in 159e9bb4cbe9 [2022-12-20T19:41:56.411Z] Removing intermediate container 159e9bb4cbe9 [2022-12-20T19:41:56.411Z] ---> 8771699e5496 [2022-12-20T19:41:56.411Z] Step 30/35 : EXPOSE 8554 [2022-12-20T19:41:56.411Z] ---> Running in fad377b3babd [2022-12-20T19:41:56.679Z] Removing intermediate container fad377b3babd [2022-12-20T19:41:56.679Z] ---> e7ad5fc6002d [2022-12-20T19:41:56.679Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-12-20T19:41:56.944Z] ---> Running in d5b863558fdb [2022-12-20T19:41:57.220Z] Removing intermediate container d5b863558fdb [2022-12-20T19:41:57.220Z] ---> d52235743c41 [2022-12-20T19:41:57.220Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-12-20T19:41:57.220Z] ---> Running in 4d6cb02673b3 [2022-12-20T19:41:57.487Z] Removing intermediate container 4d6cb02673b3 [2022-12-20T19:41:57.487Z] ---> 891bc43298d3 [2022-12-20T19:41:57.487Z] Step 33/35 : LABEL arch=arm64 [2022-12-20T19:41:57.487Z] ---> Running in e22376127cbc [2022-12-20T19:41:57.762Z] Removing intermediate container e22376127cbc [2022-12-20T19:41:57.762Z] ---> 0d69d101e1b3 [2022-12-20T19:41:57.762Z] Step 34/35 : LABEL git_sha=90c641872c2c447743910a992fa35119a09763ab [2022-12-20T19:41:57.762Z] ---> Running in dd8b8a80abce [2022-12-20T19:41:58.030Z] Removing intermediate container dd8b8a80abce [2022-12-20T19:41:58.030Z] ---> 257540693c87 [2022-12-20T19:41:58.030Z] Step 35/35 : LABEL version=0.0.0 [2022-12-20T19:41:58.298Z] ---> Running in 82efb73463ca [2022-12-20T19:41:58.563Z] Removing intermediate container 82efb73463ca [2022-12-20T19:41:58.563Z] ---> 537b117f57c3 [2022-12-20T19:41:58.563Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-20T19:41:58.563Z] Successfully built 537b117f57c3 [2022-12-20T19:41:58.563Z] 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-12-20T19:41:59.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-20T19:41:59.575Z] [2022-12-20T19:41:59.575Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:41:59.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-20T19:41:59.979Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-20T19:41:59.979Z] 8998bd30e6a1: Pulling fs layer [2022-12-20T19:41:59.979Z] 04944245beec: Pulling fs layer [2022-12-20T19:41:59.979Z] 699f458cf7ca: Pulling fs layer [2022-12-20T19:41:59.979Z] 765212b225bb: Pulling fs layer [2022-12-20T19:41:59.979Z] f23df028b6ca: Pulling fs layer [2022-12-20T19:41:59.979Z] d65c8cfc05b1: Pulling fs layer [2022-12-20T19:41:59.979Z] 2437ff75d9bd: Pulling fs layer [2022-12-20T19:41:59.979Z] 765212b225bb: Waiting [2022-12-20T19:41:59.979Z] f23df028b6ca: Waiting [2022-12-20T19:41:59.979Z] d65c8cfc05b1: Waiting [2022-12-20T19:41:59.979Z] 2437ff75d9bd: Waiting [2022-12-20T19:42:00.258Z] 04944245beec: Verifying Checksum [2022-12-20T19:42:00.258Z] 04944245beec: Download complete [2022-12-20T19:42:00.258Z] 765212b225bb: Verifying Checksum [2022-12-20T19:42:00.258Z] 765212b225bb: Download complete [2022-12-20T19:42:00.258Z] f23df028b6ca: Verifying Checksum [2022-12-20T19:42:00.258Z] f23df028b6ca: Download complete [2022-12-20T19:42:00.258Z] d65c8cfc05b1: Verifying Checksum [2022-12-20T19:42:00.258Z] d65c8cfc05b1: Download complete [2022-12-20T19:42:00.528Z] 699f458cf7ca: Verifying Checksum [2022-12-20T19:42:00.798Z] 8998bd30e6a1: Verifying Checksum [2022-12-20T19:42:00.798Z] 8998bd30e6a1: Download complete [2022-12-20T19:42:03.381Z] 2437ff75d9bd: Verifying Checksum [2022-12-20T19:42:03.381Z] 2437ff75d9bd: Download complete [2022-12-20T19:42:04.791Z] 8998bd30e6a1: Pull complete [2022-12-20T19:42:05.060Z] 04944245beec: Pull complete [2022-12-20T19:42:06.473Z] 699f458cf7ca: Pull complete [2022-12-20T19:42:06.741Z] 765212b225bb: Pull complete [2022-12-20T19:42:07.325Z] f23df028b6ca: Pull complete [2022-12-20T19:42:07.592Z] d65c8cfc05b1: Pull complete [2022-12-20T19:42:22.594Z] 2437ff75d9bd: Pull complete [2022-12-20T19:42:22.594Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-20T19:42:22.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-20T19:42:22.594Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T19:42:22.922Z] prd-ubuntu20.04-docker-arm64-4c-16g-249 does not seem to be running inside a container [2022-12-20T19:42:22.986Z] $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-20T19:42:25.643Z] $ docker top fe7bea47dc49d34ef18b69063cb98e19c72b48920115f8ffaa69b2d1d450e327 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:42:26.546Z] ---> job-cost.sh [2022-12-20T19:42:26.546Z] lf-activate-venv: SKIPPING [2022-12-20T19:42:26.546Z] INFO: No Stack... [2022-12-20T19:42:26.813Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-20T19:42:27.770Z] INFO: Archiving Costs [Pipeline] sh [2022-12-20T19:42:28.433Z] + cat /w/workspace/device-usb-camera/4/archives/cost.csv+ [2022-12-20T19:42:28.433Z] cut -d, -f6 [Pipeline] lock [2022-12-20T19:42:28.514Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-120-4-stack-cost] [2022-12-20T19:42:28.518Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-120-4-stack-cost] did not exist. Created. [2022-12-20T19:42:28.519Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-120-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-20T19:42:29.252Z] /w/workspace/device-usb-camera/4@tmp/durable-176f82a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-20T19:42:29.920Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-20T19:42:29.959Z] Warning: overwriting stash ‘stack-cost’ [2022-12-20T19:42:30.005Z] Stashed 1 file(s) [Pipeline] } [2022-12-20T19:42:30.020Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-120-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-20T19:42:30.105Z] $ docker stop --time=1 fe7bea47dc49d34ef18b69063cb98e19c72b48920115f8ffaa69b2d1d450e327 [2022-12-20T19:42:31.627Z] $ docker rm -f --volumes fe7bea47dc49d34ef18b69063cb98e19c72b48920115f8ffaa69b2d1d450e327 [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-12-20T19:42:32.656Z] provisioning config files... [2022-12-20T19:42:32.663Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-120@tmp/config17966608337563150077tmp [Pipeline] { [Pipeline] sh [2022-12-20T19:42:33.000Z] + set +x [2022-12-20T19:42:33.000Z] + curl -s https://codecov.io/bash [2022-12-20T19:42:33.000Z] + bash -s -- [2022-12-20T19:42:33.000Z] [2022-12-20T19:42:33.000Z] _____ _ [2022-12-20T19:42:33.000Z] / ____| | | [2022-12-20T19:42:33.000Z] | | ___ __| | ___ ___ _____ __ [2022-12-20T19:42:33.000Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-20T19:42:33.000Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-20T19:42:33.000Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-20T19:42:33.000Z] Bash-1.0.6 [2022-12-20T19:42:33.000Z] [2022-12-20T19:42:33.000Z] [2022-12-20T19:42:33.000Z] ==> git version 2.25.1 found [2022-12-20T19:42:33.000Z] ==> 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-12-20T19:42:33.000Z] Release-Date: 2020-01-08 [2022-12-20T19:42:33.000Z] 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-12-20T19:42:33.000Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-20T19:42:33.000Z] ==> Jenkins CI detected. [2022-12-20T19:42:33.000Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-120 [2022-12-20T19:42:33.000Z] project root: . [2022-12-20T19:42:33.000Z] --> token set from env [2022-12-20T19:42:33.000Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-20T19:42:33.259Z] ==> Running gcov in . (disable via -X gcov) [2022-12-20T19:42:33.259Z] ==> Python coveragepy not found [2022-12-20T19:42:33.259Z] ==> Searching for coverage reports in: [2022-12-20T19:42:33.259Z] + . [2022-12-20T19:42:33.259Z] -> Found 1 reports [2022-12-20T19:42:33.259Z] ==> Detecting git/mercurial file structure [2022-12-20T19:42:33.259Z] ==> Reading reports [2022-12-20T19:42:33.259Z] + ./coverage.out bytes=30666 [2022-12-20T19:42:33.259Z] ==> Appending adjustments [2022-12-20T19:42:33.259Z] https://docs.codecov.io/docs/fixing-reports [2022-12-20T19:42:33.259Z] + Found adjustments [2022-12-20T19:42:33.259Z] ==> Gzipping contents [2022-12-20T19:42:33.259Z] 8.0K /tmp/codecov.UpKvSw.gz [2022-12-20T19:42:33.259Z] ==> Uploading reports [2022-12-20T19:42:33.259Z] url: https://codecov.io [2022-12-20T19:42:33.259Z] query: branch=PR-120&commit=90c641872c2c447743910a992fa35119a09763ab&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-120%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=120&job=&cmd_args= [2022-12-20T19:42:33.259Z] -> Pinging Codecov [2022-12-20T19:42:33.259Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-120&commit=90c641872c2c447743910a992fa35119a09763ab&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-120%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=120&job=&cmd_args= [2022-12-20T19:42:33.827Z] -> Uploading to [2022-12-20T19:42:33.827Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-20/73D8F5FF140700D3E01443B452E23636/90c641872c2c447743910a992fa35119a09763ab/45be0a7b-26eb-4f32-ba0c-136bc3c219b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221220T194233Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=533eddb2543ebc27a11195ca8f340b66a1621ca7f22fcbb87550465fb6f9daa4 [2022-12-20T19:42:33.827Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-20T19:42:33.827Z] Dload Upload Total Spent Left Speed [2022-12-20T19:42:33.827Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4342 0 0 100 4342 0 21819 --:--:-- --:--:-- --:--:-- 21819 [2022-12-20T19:42:33.827Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/90c641872c2c447743910a992fa35119a09763ab [Pipeline] } [2022-12-20T19:42:33.863Z] 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-12-20T19:42:35.658Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-120/archives ] [2022-12-20T19:42:35.659Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-120/archives [2022-12-20T19:42:35.659Z] total 16 [2022-12-20T19:42:35.659Z] drwxr-xr-x 3 root root 4096 Dec 20 19:34 . [2022-12-20T19:42:35.659Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 20 19:34 .. [2022-12-20T19:42:35.659Z] drwxr-xr-x 2 root root 4096 Dec 20 19:34 cost [2022-12-20T19:42:35.659Z] -rw-r--r-- 1 root root 89 Dec 20 19:34 cost.csv [2022-12-20T19:42:35.659Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-120/archives [2022-12-20T19:42:35.659Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-120/archives [2022-12-20T19:42:35.659Z] total 16 [2022-12-20T19:42:35.659Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 19:34 . [2022-12-20T19:42:35.659Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 20 19:34 .. [2022-12-20T19:42:35.659Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 19:34 cost [2022-12-20T19:42:35.659Z] -rw-r--r-- 1 jenkins jenkins 89 Dec 20 19:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:42:35.994Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:42:36.886Z] ---> package-listing.sh [2022-12-20T19:42:36.887Z] ++ facter osfamily [2022-12-20T19:42:36.887Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-20T19:42:37.147Z] + OS_FAMILY=debian [2022-12-20T19:42:37.147Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-120 [2022-12-20T19:42:37.147Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-20T19:42:37.147Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-20T19:42:37.147Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-20T19:42:37.147Z] + PACKAGES=/tmp/packages_start.txt [2022-12-20T19:42:37.147Z] + '[' /w/workspace/foundry_device-usb-camera_PR-120 ']' [2022-12-20T19:42:37.147Z] + PACKAGES=/tmp/packages_end.txt [2022-12-20T19:42:37.147Z] + case "${OS_FAMILY}" in [2022-12-20T19:42:37.147Z] + dpkg -l [2022-12-20T19:42:37.147Z] + grep '^ii' [2022-12-20T19:42:37.147Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-20T19:42:37.147Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-20T19:42:37.147Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-20T19:42:37.147Z] + '[' /w/workspace/foundry_device-usb-camera_PR-120 ']' [2022-12-20T19:42:37.147Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-120/archives/ [2022-12-20T19:42:37.147Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-120/archives/ [Pipeline] echo [2022-12-20T19:42:37.186Z] 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-120/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-20T19:42:37.481Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-20T19:42:38.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-20T19:42:38.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-20T19:42:38.255Z] prd-ubuntu20.04-docker-8c-8g-248 does not seem to be running inside a container [2022-12-20T19:42:38.280Z] $ 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-120/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-120 -v /w/workspace/foundry_device-usb-camera_PR-120:/w/workspace/foundry_device-usb-camera_PR-120:rw,z -v /w/workspace/foundry_device-usb-camera_PR-120@tmp:/w/workspace/foundry_device-usb-camera_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-20T19:42:38.474Z] $ docker top 6a6cf9e982dcfa9ff73654fd3df40c99e79784a102b79909034f120a93465594 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-20T19:42:38.865Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-20T19:42:39.177Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-20T19:42:39.485Z] + ls /var/log/sa-host [2022-12-20T19:42:39.485Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-20T19:42:39.701Z] provisioning config files... [2022-12-20T19:42:39.711Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-120@tmp/config13097415152849314639tmp [Pipeline] { [Pipeline] echo [2022-12-20T19:42:39.770Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:42:40.083Z] ---> create-netrc.sh [Pipeline] } [2022-12-20T19:42:40.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:42:40.595Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-20T19:42:40.627Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:42:40.940Z] ---> sudo-logs.sh [2022-12-20T19:42:40.940Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-20T19:42:41.028Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:42:41.344Z] ---> job-cost.sh [2022-12-20T19:42:41.344Z] lf-activate-venv: SKIPPING [2022-12-20T19:42:41.344Z] DEBUG: total: 0.2199999988079071 [2022-12-20T19:42:41.344Z] INFO: Retrieving Stack Cost... [2022-12-20T19:42:41.913Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-20T19:42:42.171Z] INFO: Archiving Costs [Pipeline] echo [2022-12-20T19:42:42.205Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-20T19:42:42.515Z] ---> logs-deploy.sh [2022-12-20T19:42:42.515Z] lf-activate-venv: SKIPPING [2022-12-20T19:42:42.515Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-120/4 [2022-12-20T19:42:42.515Z] INFO: archiving workspace using pattern(s): [2022-12-20T19:42:43.450Z] Archives upload complete. [2022-12-20T19:42:43.450Z] INFO: archiving logs to Nexus