Pull request #115 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 a13c0d85fe61587dda65b2f8a27bf555b431ec25 rather than f28767f7ea958c6938da9ad89d65eedc24c04dd6 Obtained Jenkinsfile from a13c0d85fe61587dda65b2f8a27bf555b431ec25 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-ssh13677937034206920614.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8763570565904002205.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9625046286225796389.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9625865569740336799.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-115/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-115/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7207783708981711795.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-120152 in /w/workspace/foundry_device-usb-camera_PR-115 [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-115 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit f28767f7ea958c6938da9ad89d65eedc24c04dd6 Merge succeeded, producing 8c46d31608487c4fe223ee8e7a2da97a63dd36cf Checking out Revision 8c46d31608487c4fe223ee8e7a2da97a63dd36cf (PR-115) > git config core.sparsecheckout # timeout=10 > git checkout -f f28767f7ea958c6938da9ad89d65eedc24c04dd6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c46d31608487c4fe223ee8e7a2da97a63dd36cf # timeout=10 Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 320f0acd74fb9c848235e9badd9cc67bac953a64 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-30T21:25:20.099Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-30T21:25:20.160Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-30T21:25:20.176Z] ========================================================= [2022-11-30T21:25:20.176Z] EdgeX Global Pipelines Version Info [2022-11-30T21:25:20.176Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:25:20.899Z] ------------------- [2022-11-30T21:25:20.899Z] stable info: [2022-11-30T21:25:20.899Z] ------------------- [2022-11-30T21:25:20.899Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-30T21:25:20.899Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-30T21:25:20.899Z] Message: update stable to v1.0.244 [2022-11-30T21:25:21.876Z] ------------------- [2022-11-30T21:25:21.876Z] experimental info: [2022-11-30T21:25:21.876Z] ------------------- [2022-11-30T21:25:21.876Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-30T21:25:21.876Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-30T21:25:21.876Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-30T21:25:22.033Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-11-30T21:25:22.044Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-11-30T21:25:22.055Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-30T21:25:22.066Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-30T21:25:22.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-30T21:25:22.088Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-30T21:25:22.099Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-30T21:25:22.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-30T21:25:22.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-30T21:25:22.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-30T21:25:22.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-30T21:25:22.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-11-30T21:25:22.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-30T21:25:22.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-30T21:25:22.186Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-30T21:25:22.197Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-30T21:25:22.208Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-30T21:25:22.219Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-30T21:25:22.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-30T21:25:22.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-30T21:25:22.252Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-30T21:25:22.263Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-30T21:25:22.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-30T21:25:22.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-30T21:25:22.297Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-30T21:25:22.308Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-30T21:25:22.321Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-30T21:25:22.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo [2022-11-30T21:25:22.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo [2022-11-30T21:25:22.374Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo [2022-11-30T21:25:22.387Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c46d31608487c4fe223ee8e7a2da97a63dd36cf [Pipeline] echo [2022-11-30T21:25:22.399Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c46d31 [Pipeline] echo [2022-11-30T21:25:22.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-30T21:25:22.459Z] provisioning config files... [2022-11-30T21:25:22.474Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config542411971214488108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:25:22.775Z] ---> docker-login.sh [2022-11-30T21:25:22.775Z] nexus3.edgexfoundry.org:10001 [2022-11-30T21:25:23.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:23.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:23.037Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:23.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:23.037Z] [2022-11-30T21:25:23.037Z] Login Succeeded [2022-11-30T21:25:23.298Z] nexus3.edgexfoundry.org:10002 [2022-11-30T21:25:23.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:23.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:23.298Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:23.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:23.298Z] [2022-11-30T21:25:23.298Z] Login Succeeded [2022-11-30T21:25:23.298Z] nexus3.edgexfoundry.org:10003 [2022-11-30T21:25:23.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:23.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:23.298Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:23.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:23.298Z] [2022-11-30T21:25:23.298Z] Login Succeeded [2022-11-30T21:25:23.298Z] nexus3.edgexfoundry.org:10004 [2022-11-30T21:25:23.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:23.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:23.558Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:23.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:23.558Z] [2022-11-30T21:25:23.558Z] Login Succeeded [2022-11-30T21:25:23.558Z] docker.io [2022-11-30T21:25:23.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:23.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:23.818Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:23.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:23.818Z] [2022-11-30T21:25:23.818Z] Login Succeeded [2022-11-30T21:25:23.818Z] ---> docker-login.sh ends [Pipeline] } [2022-11-30T21:25:23.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-30T21:25:24.184Z] + git rev-list -1 --merges 8c46d31608487c4fe223ee8e7a2da97a63dd36cf~1..8c46d31608487c4fe223ee8e7a2da97a63dd36cf [Pipeline] echo [2022-11-30T21:25:24.212Z] -----------> git rev-list -1 --merges 8c46d31608487c4fe223ee8e7a2da97a63dd36cf~1..8c46d31608487c4fe223ee8e7a2da97a63dd36cf 8c46d31608487c4fe223ee8e7a2da97a63dd36cf [2022-11-30T21:25:24.212Z] 8c46d31608487c4fe223ee8e7a2da97a63dd36cf [false] [Pipeline] sh [2022-11-30T21:25:24.498Z] + git log --format=format:%s -1 8c46d31608487c4fe223ee8e7a2da97a63dd36cf [Pipeline] echo [2022-11-30T21:25:24.511Z] ========================================================= [2022-11-30T21:25:24.511Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-30T21:25:24.511Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-30T21:25:24.824Z] + git log --format=format:%s -1 8c46d31608487c4fe223ee8e7a2da97a63dd36cf [Pipeline] echo [2022-11-30T21:25:24.836Z] [semverPrep] GIT_COMMIT: 8c46d31608487c4fe223ee8e7a2da97a63dd36cf, Commit Message: Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD [Pipeline] echo [2022-11-30T21:25:24.842Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-30T21:25:25.188Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-30T21:25:25.188Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-30T21:25:25.188Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-30T21:25:25.188Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-30T21:25:25.188Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-30T21:25:25.188Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-30T21:25:25.188Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:25:25.544Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-30T21:25:25.544Z] [2022-11-30T21:25:25.544Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:25:25.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-30T21:25:25.848Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-30T21:25:25.848Z] b85a868b505f: Pulling fs layer [2022-11-30T21:25:25.848Z] e2be974225ed: Pulling fs layer [2022-11-30T21:25:25.848Z] 339a4e72a1f5: Pulling fs layer [2022-11-30T21:25:25.848Z] 988bab9f4d93: Pulling fs layer [2022-11-30T21:25:25.848Z] 1469e6f7b9e6: Pulling fs layer [2022-11-30T21:25:25.848Z] eaf3925da568: Pulling fs layer [2022-11-30T21:25:25.848Z] bab4dde63d76: Pulling fs layer [2022-11-30T21:25:25.848Z] bde34c3a00c8: Pulling fs layer [2022-11-30T21:25:25.848Z] b352a97aabf1: Pulling fs layer [2022-11-30T21:25:25.848Z] 4872d77fe225: Pulling fs layer [2022-11-30T21:25:25.848Z] 5851b861e8e6: Pulling fs layer [2022-11-30T21:25:25.848Z] b352a97aabf1: Waiting [2022-11-30T21:25:25.848Z] eaf3925da568: Waiting [2022-11-30T21:25:25.848Z] 988bab9f4d93: Waiting [2022-11-30T21:25:25.848Z] bab4dde63d76: Waiting [2022-11-30T21:25:25.848Z] 5851b861e8e6: Waiting [2022-11-30T21:25:25.848Z] 1469e6f7b9e6: Waiting [2022-11-30T21:25:25.848Z] bde34c3a00c8: Waiting [2022-11-30T21:25:25.848Z] 4872d77fe225: Waiting [2022-11-30T21:25:25.848Z] e2be974225ed: Verifying Checksum [2022-11-30T21:25:25.848Z] e2be974225ed: Download complete [2022-11-30T21:25:25.848Z] 988bab9f4d93: Verifying Checksum [2022-11-30T21:25:25.848Z] 988bab9f4d93: Download complete [2022-11-30T21:25:26.106Z] 1469e6f7b9e6: Verifying Checksum [2022-11-30T21:25:26.106Z] 1469e6f7b9e6: Download complete [2022-11-30T21:25:26.106Z] 339a4e72a1f5: Verifying Checksum [2022-11-30T21:25:26.106Z] 339a4e72a1f5: Download complete [2022-11-30T21:25:26.106Z] eaf3925da568: Verifying Checksum [2022-11-30T21:25:26.106Z] eaf3925da568: Download complete [2022-11-30T21:25:26.106Z] bde34c3a00c8: Verifying Checksum [2022-11-30T21:25:26.106Z] bde34c3a00c8: Download complete [2022-11-30T21:25:26.106Z] b352a97aabf1: Download complete [2022-11-30T21:25:26.106Z] 4872d77fe225: Download complete [2022-11-30T21:25:26.106Z] 5851b861e8e6: Download complete [2022-11-30T21:25:26.106Z] b85a868b505f: Download complete [2022-11-30T21:25:26.365Z] bab4dde63d76: Verifying Checksum [2022-11-30T21:25:26.365Z] bab4dde63d76: Download complete [2022-11-30T21:25:27.302Z] b85a868b505f: Pull complete [2022-11-30T21:25:27.560Z] e2be974225ed: Pull complete [2022-11-30T21:25:28.128Z] 339a4e72a1f5: Pull complete [2022-11-30T21:25:28.128Z] 988bab9f4d93: Pull complete [2022-11-30T21:25:28.387Z] 1469e6f7b9e6: Pull complete [2022-11-30T21:25:28.387Z] eaf3925da568: Pull complete [2022-11-30T21:25:30.287Z] bab4dde63d76: Pull complete [2022-11-30T21:25:30.287Z] bde34c3a00c8: Pull complete [2022-11-30T21:25:30.547Z] b352a97aabf1: Pull complete [2022-11-30T21:25:30.547Z] 4872d77fe225: Pull complete [2022-11-30T21:25:30.547Z] 5851b861e8e6: Pull complete [2022-11-30T21:25:30.547Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-30T21:25:30.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-30T21:25:30.547Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-30T21:25:30.640Z] prd-ubuntu20.04-docker-8c-8g-120152 does not seem to be running inside a container [2022-11-30T21:25:30.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-30T21:25:32.776Z] $ docker top f757bdfe46cc3816298ed0ec6cb9b34160156acbec0b3bf297e36d28cdf16481 -eo pid,comm [2022-11-30T21:25:32.835Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-30T21:25:32.835Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-30T21:25:32.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-30T21:25:32.878Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-30T21:25:32.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-30T21:25:32.988Z] $ docker exec f757bdfe46cc3816298ed0ec6cb9b34160156acbec0b3bf297e36d28cdf16481 ssh-agent [2022-11-30T21:25:33.101Z] SSH_AUTH_SOCK=/tmp/ssh-buToQ3OLxvB3/agent.33 [2022-11-30T21:25:33.101Z] SSH_AGENT_PID=39 [2022-11-30T21:25:33.108Z] Running ssh-add (command line suppressed) [2022-11-30T21:25:33.214Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_16002498227990267837.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_16002498227990267837.key) [2022-11-30T21:25:33.227Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-30T21:25:33.514Z] + git tag --points-at HEAD [Pipeline] } [2022-11-30T21:25:33.529Z] $ docker exec --env ******** --env ******** f757bdfe46cc3816298ed0ec6cb9b34160156acbec0b3bf297e36d28cdf16481 ssh-agent -k [2022-11-30T21:25:33.634Z] unset SSH_AUTH_SOCK; [2022-11-30T21:25:33.635Z] unset SSH_AGENT_PID; [2022-11-30T21:25:33.635Z] echo Agent pid 39 killed; [2022-11-30T21:25:33.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-30T21:25:33.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-30T21:25:33.670Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-30T21:25:33.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-30T21:25:33.805Z] $ docker exec f757bdfe46cc3816298ed0ec6cb9b34160156acbec0b3bf297e36d28cdf16481 ssh-agent [2022-11-30T21:25:33.907Z] SSH_AUTH_SOCK=/tmp/ssh-HOUJYxMFKT8m/agent.71 [2022-11-30T21:25:33.907Z] SSH_AGENT_PID=76 [2022-11-30T21:25:33.912Z] Running ssh-add (command line suppressed) [2022-11-30T21:25:34.001Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_9456716295364954060.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_9456716295364954060.key) [2022-11-30T21:25:34.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-30T21:25:34.306Z] + git semver init [2022-11-30T21:25:34.564Z] 2022-11-30 21:25:34,508 [run_init] DEBUG init version:0.0.0 force:False [2022-11-30T21:25:34.564Z] 2022-11-30 21:25:34,509 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-115/.semver [2022-11-30T21:25:34.564Z] 2022-11-30 21:25:34,509 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-115/.semver [2022-11-30T21:25:34.564Z] 2022-11-30 21:25:34,509 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-115/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-115, universal_newlines=False, shell=None, istream=None) [2022-11-30T21:25:35.544Z] 2022-11-30 21:25:35,217 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-115/.git/info/exclude [2022-11-30T21:25:35.544Z] 2022-11-30 21:25:35,218 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 with force:False [2022-11-30T21:25:35.544Z] 2022-11-30 21:25:35,218 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 [2022-11-30T21:25:35.544Z] 2022-11-30 21:25:35,222 [execute] INFO git cat-file --batch-check [2022-11-30T21:25:35.544Z] 2022-11-30 21:25:35,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-11-30T21:25:35.544Z] 2022-11-30 21:25:35,229 [execute] INFO git cat-file --batch [2022-11-30T21:25:35.544Z] 2022-11-30 21:25:35,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-11-30T21:25:35.544Z] 2022-11-30 21:25:35,234 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 [2022-11-30T21:25:35.544Z] 0.0.0 [Pipeline] } [2022-11-30T21:25:35.557Z] $ docker exec --env ******** --env ******** f757bdfe46cc3816298ed0ec6cb9b34160156acbec0b3bf297e36d28cdf16481 ssh-agent -k [2022-11-30T21:25:35.646Z] unset SSH_AUTH_SOCK; [2022-11-30T21:25:35.646Z] unset SSH_AGENT_PID; [2022-11-30T21:25:35.647Z] echo Agent pid 76 killed; [2022-11-30T21:25:35.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-30T21:25:35.961Z] + git semver [Pipeline] } [2022-11-30T21:25:36.233Z] $ docker stop --time=1 f757bdfe46cc3816298ed0ec6cb9b34160156acbec0b3bf297e36d28cdf16481 [2022-11-30T21:25:37.538Z] $ docker rm -f f757bdfe46cc3816298ed0ec6cb9b34160156acbec0b3bf297e36d28cdf16481 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-30T21:25:37.879Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-30T21:25:38.040Z] Stashed 1 file(s) [Pipeline] echo [2022-11-30T21:25:38.043Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-30T21:25:38.186Z] provisioning config files... [2022-11-30T21:25:38.195Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config6430803485137184246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:25:38.540Z] ---> docker-login.sh [2022-11-30T21:25:38.540Z] nexus3.edgexfoundry.org:10001 [2022-11-30T21:25:38.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:38.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:38.540Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:38.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:38.540Z] [2022-11-30T21:25:38.540Z] Login Succeeded [2022-11-30T21:25:38.540Z] nexus3.edgexfoundry.org:10002 [2022-11-30T21:25:38.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:38.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:38.540Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:38.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:38.540Z] [2022-11-30T21:25:38.540Z] Login Succeeded [2022-11-30T21:25:38.540Z] nexus3.edgexfoundry.org:10003 [2022-11-30T21:25:38.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:38.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:38.816Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:38.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:38.816Z] [2022-11-30T21:25:38.816Z] Login Succeeded [2022-11-30T21:25:38.816Z] nexus3.edgexfoundry.org:10004 [2022-11-30T21:25:38.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:38.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:38.816Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:38.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:38.816Z] [2022-11-30T21:25:38.816Z] Login Succeeded [2022-11-30T21:25:38.816Z] docker.io [2022-11-30T21:25:39.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:25:39.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:25:39.075Z] Configure a credential helper to remove this warning. See [2022-11-30T21:25:39.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:25:39.075Z] [2022-11-30T21:25:39.075Z] Login Succeeded [2022-11-30T21:25:39.075Z] ---> docker-login.sh ends [Pipeline] } [2022-11-30T21:25:39.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-30T21:25:39.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-30T21:25:39.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-30T21:25:39.152Z] ========================================================= [2022-11-30T21:25:39.152Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-30T21:25:39.152Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:25:39.451Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-30T21:25:39.451Z] Sending build context to Docker daemon 1.672MB [2022-11-30T21:25:39.451Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-30T21:25:39.451Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-30T21:25:39.451Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-30T21:25:39.451Z] 213ec9aee27d: Pulling fs layer [2022-11-30T21:25:39.451Z] 4583459ba037: Pulling fs layer [2022-11-30T21:25:39.451Z] 93c1e223e6f2: Pulling fs layer [2022-11-30T21:25:39.451Z] 53926ce57604: Pulling fs layer [2022-11-30T21:25:39.451Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-30T21:25:39.451Z] 22ff95d597cd: Pulling fs layer [2022-11-30T21:25:39.451Z] 12d6caf4c0d1: Pulling fs layer [2022-11-30T21:25:39.451Z] 96b7cbca73a9: Pulling fs layer [2022-11-30T21:25:39.451Z] a7acece74701: Pulling fs layer [2022-11-30T21:25:39.451Z] 53926ce57604: Waiting [2022-11-30T21:25:39.451Z] 21b2b0c7a3f4: Waiting [2022-11-30T21:25:39.451Z] 22ff95d597cd: Waiting [2022-11-30T21:25:39.451Z] 12d6caf4c0d1: Waiting [2022-11-30T21:25:39.451Z] 96b7cbca73a9: Waiting [2022-11-30T21:25:39.451Z] a7acece74701: Waiting [2022-11-30T21:25:39.451Z] 93c1e223e6f2: Verifying Checksum [2022-11-30T21:25:39.451Z] 4583459ba037: Verifying Checksum [2022-11-30T21:25:39.451Z] 4583459ba037: Download complete [2022-11-30T21:25:39.451Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-30T21:25:39.451Z] 21b2b0c7a3f4: Download complete [2022-11-30T21:25:39.451Z] 22ff95d597cd: Verifying Checksum [2022-11-30T21:25:39.451Z] 22ff95d597cd: Download complete [2022-11-30T21:25:39.451Z] 213ec9aee27d: Verifying Checksum [2022-11-30T21:25:39.451Z] 213ec9aee27d: Download complete [2022-11-30T21:25:39.710Z] 12d6caf4c0d1: Verifying Checksum [2022-11-30T21:25:39.710Z] 12d6caf4c0d1: Download complete [2022-11-30T21:25:39.710Z] 213ec9aee27d: Pull complete [2022-11-30T21:25:39.968Z] 4583459ba037: Pull complete [2022-11-30T21:25:39.968Z] 93c1e223e6f2: Pull complete [2022-11-30T21:25:40.227Z] a7acece74701: Verifying Checksum [2022-11-30T21:25:40.227Z] a7acece74701: Download complete [2022-11-30T21:25:40.485Z] 96b7cbca73a9: Verifying Checksum [2022-11-30T21:25:40.485Z] 96b7cbca73a9: Download complete [2022-11-30T21:25:40.743Z] 53926ce57604: Verifying Checksum [2022-11-30T21:25:40.743Z] 53926ce57604: Download complete [2022-11-30T21:25:44.930Z] 53926ce57604: Pull complete [2022-11-30T21:25:44.930Z] 21b2b0c7a3f4: Pull complete [2022-11-30T21:25:44.930Z] 22ff95d597cd: Pull complete [2022-11-30T21:25:44.930Z] 12d6caf4c0d1: Pull complete [2022-11-30T21:25:46.826Z] 96b7cbca73a9: Pull complete [2022-11-30T21:25:47.392Z] a7acece74701: Pull complete [2022-11-30T21:25:47.392Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-30T21:25:47.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-30T21:25:47.392Z] ---> db6d94c90886 [2022-11-30T21:25:47.392Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-30T21:25:50.682Z] ---> Running in 9a1d3ec2b404 [2022-11-30T21:25:50.682Z] Removing intermediate container 9a1d3ec2b404 [2022-11-30T21:25:50.682Z] ---> c412110ea538 [2022-11-30T21:25:50.682Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-30T21:25:50.682Z] ---> Running in d09662084dcb [2022-11-30T21:25:50.940Z] Removing intermediate container d09662084dcb [2022-11-30T21:25:50.940Z] ---> de817cbb259e [2022-11-30T21:25:50.940Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-30T21:25:50.940Z] ---> Running in 1b1a4925a052 [2022-11-30T21:25:50.940Z] Removing intermediate container 1b1a4925a052 [2022-11-30T21:25:50.940Z] ---> ab96ca8d48ab [2022-11-30T21:25:50.940Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-30T21:25:51.199Z] ---> Running in 2dcfab7debee [2022-11-30T21:25:51.199Z] Removing intermediate container 2dcfab7debee [2022-11-30T21:25:51.199Z] ---> d9695269cede [2022-11-30T21:25:51.199Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-30T21:25:51.199Z] ---> Running in b54ef87b2f36 [2022-11-30T21:25:51.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-30T21:25:51.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-30T21:25:51.979Z] (1/80) Installing mesa (21.3.8-r2) [2022-11-30T21:25:51.979Z] (2/80) Installing libxau (1.0.9-r0) [2022-11-30T21:25:51.979Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-11-30T21:25:51.979Z] (4/80) Installing libxcb (1.15-r0) [2022-11-30T21:25:51.979Z] (5/80) Installing libx11 (1.8-r0) [2022-11-30T21:25:51.979Z] (6/80) Installing libxext (1.3.4-r0) [2022-11-30T21:25:51.979Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-11-30T21:25:51.979Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-11-30T21:25:51.979Z] (9/80) Installing libpciaccess (0.16-r0) [2022-11-30T21:25:51.979Z] (10/80) Installing libdrm (2.4.110-r0) [2022-11-30T21:25:51.979Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-11-30T21:25:51.979Z] (12/80) Installing libxshmfence (1.3-r1) [2022-11-30T21:25:51.979Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-11-30T21:25:51.979Z] (14/80) Installing icu-data-full (71.1-r2) [2022-11-30T21:25:52.240Z] (15/80) Installing libice (1.0.10-r0) [2022-11-30T21:25:52.240Z] (16/80) Installing libuuid (2.38-r1) [2022-11-30T21:25:52.240Z] (17/80) Installing libsm (1.2.3-r0) [2022-11-30T21:25:52.240Z] (18/80) Installing libxt (1.2.1-r0) [2022-11-30T21:25:52.240Z] (19/80) Installing libxmu (1.1.3-r0) [2022-11-30T21:25:52.240Z] (20/80) Installing xset (1.2.4-r0) [2022-11-30T21:25:52.240Z] (21/80) Installing xprop (1.2.5-r0) [2022-11-30T21:25:52.240Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-11-30T21:25:52.240Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-11-30T21:25:52.240Z] (24/80) Installing libffi (3.4.2-r1) [2022-11-30T21:25:52.240Z] (25/80) Installing libintl (0.21-r2) [2022-11-30T21:25:52.240Z] (26/80) Installing libblkid (2.38-r1) [2022-11-30T21:25:52.240Z] (27/80) Installing libmount (2.38-r1) [2022-11-30T21:25:52.240Z] (28/80) Installing pcre (8.45-r2) [2022-11-30T21:25:52.240Z] (29/80) Installing glib (2.72.1-r0) [2022-11-30T21:25:52.240Z] (30/80) Installing icu-libs (71.1-r2) [2022-11-30T21:25:52.498Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-11-30T21:25:52.498Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-11-30T21:25:52.498Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-11-30T21:25:52.498Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-11-30T21:25:52.498Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-11-30T21:25:52.498Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-11-30T21:25:52.498Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-11-30T21:25:52.498Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-11-30T21:25:52.498Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-11-30T21:25:52.498Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-11-30T21:25:52.498Z] (41/80) Installing libpng (1.6.37-r1) [2022-11-30T21:25:52.498Z] (42/80) Installing freetype (2.12.1-r0) [2022-11-30T21:25:52.757Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-11-30T21:25:52.757Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-11-30T21:25:52.757Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-11-30T21:25:52.757Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-11-30T21:25:52.757Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-11-30T21:25:52.757Z] (48/80) Installing libxml2 (2.9.14-r2) [2022-11-30T21:25:52.757Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-11-30T21:25:52.757Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-11-30T21:25:52.757Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-11-30T21:25:52.757Z] (52/80) Installing avahi-libs (0.8-r6) [2022-11-30T21:25:52.757Z] (53/80) Installing nettle (3.7.3-r0) [2022-11-30T21:25:52.757Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-11-30T21:25:52.757Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-11-30T21:25:52.757Z] (56/80) Installing libunistring (1.0-r0) [2022-11-30T21:25:52.757Z] (57/80) Installing gnutls (3.7.7-r0) [2022-11-30T21:25:52.757Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-11-30T21:25:53.014Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-11-30T21:25:53.014Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-11-30T21:25:53.014Z] (61/80) Installing libevdev (1.12.1-r0) [2022-11-30T21:25:53.014Z] (62/80) Installing mtdev (1.1.6-r0) [2022-11-30T21:25:53.014Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-11-30T21:25:53.014Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-11-30T21:25:53.014Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-11-30T21:25:53.014Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-11-30T21:25:53.014Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-11-30T21:25:53.014Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-11-30T21:25:53.014Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-11-30T21:25:53.014Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-11-30T21:25:53.014Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-11-30T21:25:53.014Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-11-30T21:25:53.014Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-11-30T21:25:53.014Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-11-30T21:25:53.148Z] Still waiting to schedule task [2022-11-30T21:25:53.148Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-30T21:25:53.273Z] (75/80) Installing udev-init-scripts (35-r0) [2022-11-30T21:25:53.274Z] Executing udev-init-scripts-35-r0.post-install [2022-11-30T21:25:53.274Z] (76/80) Installing kmod-libs (29-r2) [2022-11-30T21:25:53.274Z] (77/80) Installing eudev (3.2.11-r0) [2022-11-30T21:25:53.274Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-11-30T21:25:53.274Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-11-30T21:25:53.274Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-11-30T21:25:53.274Z] Executing busybox-1.35.0-r17.trigger [2022-11-30T21:25:53.274Z] Executing eudev-3.2.11-r0.trigger [2022-11-30T21:25:53.274Z] OK: 330 MiB in 131 packages [2022-11-30T21:25:55.807Z] Removing intermediate container b54ef87b2f36 [2022-11-30T21:25:55.807Z] ---> 56b0efc669a6 [2022-11-30T21:25:55.807Z] Step 8/13 : WORKDIR /device-usb-camera [2022-11-30T21:25:55.807Z] ---> Running in 575f0f5c1ecd [2022-11-30T21:25:55.807Z] Removing intermediate container 575f0f5c1ecd [2022-11-30T21:25:55.807Z] ---> 2e63e5973dc9 [2022-11-30T21:25:55.807Z] Step 9/13 : COPY go.mod vendor* ./ [2022-11-30T21:25:56.067Z] ---> 1ebf64be80cd [2022-11-30T21:25:56.067Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-30T21:25:56.067Z] ---> Running in e0fcc781971e [2022-11-30T21:26:22.613Z] Removing intermediate container e0fcc781971e [2022-11-30T21:26:22.613Z] ---> fd4b802e8eb6 [2022-11-30T21:26:22.613Z] Step 11/13 : COPY . . [2022-11-30T21:26:22.613Z] ---> 8452cd0015f3 [2022-11-30T21:26:22.613Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-30T21:26:22.613Z] ---> Running in 40400033a928 [2022-11-30T21:26:22.613Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-30T21:26:22.613Z] Dload Upload Total Spent Left Speed [2022-11-30T21:26:22.613Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11006 0 --:--:-- --:--:-- --:--:-- 11062 [2022-11-30T21:26:22.613Z] Removing intermediate container 40400033a928 [2022-11-30T21:26:22.613Z] ---> eec5e7a3e115 [2022-11-30T21:26:22.613Z] Step 13/13 : RUN ${MAKE} [2022-11-30T21:26:22.613Z] ---> Running in 8d481d4593fc [2022-11-30T21:26:22.613Z] noop [2022-11-30T21:26:22.613Z] Removing intermediate container 8d481d4593fc [2022-11-30T21:26:22.613Z] ---> c6a6fc7eeabb [2022-11-30T21:26:22.613Z] Successfully built c6a6fc7eeabb [2022-11-30T21:26:22.613Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:26:22.915Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-30T21:26:22.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-30T21:26:22.977Z] prd-ubuntu20.04-docker-8c-8g-120152 does not seem to be running inside a container [2022-11-30T21:26:23.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-30T21:26:23.647Z] $ docker top 768ef2bce293891de464f925e5832b3447796ebf6f5010605ea38b94825f670f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-30T21:26:23.981Z] + go version [2022-11-30T21:26:23.981Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-30T21:26:23.995Z] $ docker stop --time=1 768ef2bce293891de464f925e5832b3447796ebf6f5010605ea38b94825f670f [2022-11-30T21:26:25.267Z] $ docker rm -f 768ef2bce293891de464f925e5832b3447796ebf6f5010605ea38b94825f670f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:26:25.652Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-30T21:26:25.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-30T21:26:25.717Z] prd-ubuntu20.04-docker-8c-8g-120152 does not seem to be running inside a container [2022-11-30T21:26:25.746Z] $ 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-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-30T21:26:26.055Z] $ docker top 22f645f6441c2e0e4a97cf045c3c782702f9af81d8f18b500902882bf253f317 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-30T21:26:26.388Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] fileExists [Pipeline] sh [2022-11-30T21:26:26.684Z] + make test [2022-11-30T21:26:26.684Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-11-30T21:26:26.942Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-11-30T21:26:36.912Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-11-30T21:26:37.479Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements [2022-11-30T21:26:45.594Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-30T21:26:45.594Z] CGO_ENABLED=1 go vet ./... [2022-11-30T21:26:47.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-30T21:26:47.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-30T21:26:47.495Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-30T21:26:47.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-30T21:26:47.779Z] $ docker stop --time=1 22f645f6441c2e0e4a97cf045c3c782702f9af81d8f18b500902882bf253f317 [2022-11-30T21:26:50.584Z] $ docker rm -f 22f645f6441c2e0e4a97cf045c3c782702f9af81d8f18b500902882bf253f317 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-30T21:26:51.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-30T21:26:51.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-30T21:26:51.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-30T21:26:51.988Z] + ls -al . [2022-11-30T21:26:51.988Z] total 200 [2022-11-30T21:26:51.988Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 30 21:26 . [2022-11-30T21:26:51.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 21:25 .. [2022-11-30T21:26:51.988Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 21:26 .git [2022-11-30T21:26:51.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 21:25 .github [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 414 Nov 30 21:25 .gitignore [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 30 21:25 .golangci.yml [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 30 21:25 .hadolint.yml [2022-11-30T21:26:51.988Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 30 21:25 .semver [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 9702 Nov 30 21:25 Attribution.txt [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 1206 Nov 30 21:25 CHANGELOG.md [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 2378 Nov 30 21:25 Dockerfile [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 30 21:25 GOVERNANCE.md [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 30 21:25 Jenkinsfile [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 30 21:25 LICENSE [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 2554 Nov 30 21:25 Makefile [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 30 21:25 OWNERS.md [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 5934 Nov 30 21:25 README.md [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 30 21:25 VERSION [2022-11-30T21:26:51.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 21:25 bin [2022-11-30T21:26:51.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 21:25 cmd [2022-11-30T21:26:51.988Z] -rw-r--r-- 1 jenkins jenkins 30072 Nov 30 21:26 coverage.out [2022-11-30T21:26:51.988Z] -rwxrwxr-x 1 jenkins jenkins 140 Nov 30 21:25 docker-entrypoint.sh [2022-11-30T21:26:51.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 21:25 docs [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 3573 Nov 30 21:25 go.mod [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 45026 Nov 30 21:25 go.sum [2022-11-30T21:26:51.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 21:25 internal [2022-11-30T21:26:51.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 21:25 snap [2022-11-30T21:26:51.988Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 30 21:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:26:52.291Z] + 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=8c46d31608487c4fe223ee8e7a2da97a63dd36cf --label arch=amd64 --label version=0.0.0 . [2022-11-30T21:26:52.291Z] Sending build context to Docker daemon 1.703MB [2022-11-30T21:26:52.291Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-11-30T21:26:52.291Z] Step 2/35 : FROM ${BASE} AS builder [2022-11-30T21:26:52.291Z] ---> c6a6fc7eeabb [2022-11-30T21:26:52.291Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-11-30T21:26:52.291Z] ---> Running in 258069aeb448 [2022-11-30T21:26:52.550Z] Removing intermediate container 258069aeb448 [2022-11-30T21:26:52.550Z] ---> b1c0233ab8c9 [2022-11-30T21:26:52.550Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-30T21:26:52.550Z] ---> Running in 6d8ae20317c2 [2022-11-30T21:26:53.116Z] Removing intermediate container 6d8ae20317c2 [2022-11-30T21:26:53.116Z] ---> a78900873f14 [2022-11-30T21:26:53.116Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-30T21:26:53.684Z] ---> Running in c43794b70e62 [2022-11-30T21:26:54.619Z] Removing intermediate container c43794b70e62 [2022-11-30T21:26:54.619Z] ---> 0e9e39b2a8b7 [2022-11-30T21:26:54.619Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-30T21:26:55.993Z] ---> Running in aa21d537b9c3 [2022-11-30T21:26:56.925Z] Removing intermediate container aa21d537b9c3 [2022-11-30T21:26:56.925Z] ---> e72a2eec5660 [2022-11-30T21:26:56.925Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-30T21:26:57.859Z] ---> Running in 558208710f1c [2022-11-30T21:26:58.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-30T21:26:59.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-30T21:26:59.050Z] OK: 330 MiB in 131 packages [2022-11-30T21:27:00.427Z] Removing intermediate container 558208710f1c [2022-11-30T21:27:00.427Z] ---> 8c71be305abb [2022-11-30T21:27:00.427Z] Step 8/35 : WORKDIR /device-usb-camera [2022-11-30T21:27:00.427Z] ---> Running in 7cc998a7f64f [2022-11-30T21:27:00.694Z] Removing intermediate container 7cc998a7f64f [2022-11-30T21:27:00.694Z] ---> 8bfb2a64a5dc [2022-11-30T21:27:00.694Z] Step 9/35 : COPY go.mod vendor* ./ [2022-11-30T21:27:00.954Z] ---> 0f3bb4847102 [2022-11-30T21:27:00.954Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-30T21:27:00.954Z] ---> Running in 5809984d769c [2022-11-30T21:27:01.889Z] Removing intermediate container 5809984d769c [2022-11-30T21:27:01.889Z] ---> c8fa9b66747c [2022-11-30T21:27:01.889Z] Step 11/35 : COPY . . [2022-11-30T21:27:01.889Z] ---> 102bf4616d4f [2022-11-30T21:27:01.889Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-30T21:27:01.889Z] ---> Running in 9023195858e0 [2022-11-30T21:27:02.148Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-30T21:27:02.148Z] Dload Upload Total Spent Left Speed [2022-11-30T21:27:02.409Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0    0  42226     0 --:--:-- --:--:-- --:--:-- 42480 [2022-11-30T21:27:02.666Z] Removing intermediate container 9023195858e0 [2022-11-30T21:27:02.666Z] ---> ff95f5e29744 [2022-11-30T21:27:02.666Z] Step 13/35 : RUN ${MAKE} [2022-11-30T21:27:02.666Z] ---> Running in 59c8f5415a12 [2022-11-30T21:27:02.924Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-11-30T21:27:24.843Z] Removing intermediate container 59c8f5415a12 [2022-11-30T21:27:24.843Z] ---> 57acda08ecfd [2022-11-30T21:27:24.843Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-11-30T21:27:25.102Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-11-30T21:27:25.362Z] af6660deedbd: Pulling fs layer [2022-11-30T21:27:25.362Z] 97cd0a44c592: Pulling fs layer [2022-11-30T21:27:25.620Z] 97cd0a44c592: Verifying Checksum [2022-11-30T21:27:25.620Z] 97cd0a44c592: Download complete [2022-11-30T21:27:26.185Z] af6660deedbd: Verifying Checksum [2022-11-30T21:27:26.185Z] af6660deedbd: Download complete [2022-11-30T21:27:26.185Z] af6660deedbd: Pull complete [2022-11-30T21:27:26.442Z] 97cd0a44c592: Pull complete [2022-11-30T21:27:26.442Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-11-30T21:27:26.442Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-11-30T21:27:26.442Z] ---> fea57e182299 [2022-11-30T21:27:26.442Z] Step 15/35 : FROM alpine:3.16 [2022-11-30T21:27:26.701Z] 3.16: Pulling from library/alpine [2022-11-30T21:27:26.701Z] ca7dd9ec2225: Pulling fs layer [2022-11-30T21:27:26.960Z] ca7dd9ec2225: Download complete [2022-11-30T21:27:27.218Z] ca7dd9ec2225: Pull complete [2022-11-30T21:27:27.218Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-11-30T21:27:27.218Z] Status: Downloaded newer image for alpine:3.16 [2022-11-30T21:27:27.218Z] ---> bfe296a52501 [2022-11-30T21:27:27.218Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-30T21:27:27.477Z] ---> Running in 89fd0bd8b2a1 [2022-11-30T21:27:27.478Z] Removing intermediate container 89fd0bd8b2a1 [2022-11-30T21:27:27.478Z] ---> caaa0e8a0a86 [2022-11-30T21:27:27.478Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-11-30T21:27:27.478Z] ---> Running in c287cd3e633a [2022-11-30T21:27:27.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-30T21:27:27.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-30T21:27:28.092Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-120153 in /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] { [Pipeline] ws [2022-11-30T21:27:28.105Z] Running in /w/workspace/device-usb-camera/16 [Pipeline] { [Pipeline] checkout [2022-11-30T21:27:28.140Z] Selected Git installation does not exist. Using Default [2022-11-30T21:27:28.140Z] The recommended git tool is: NONE [2022-11-30T21:27:28.252Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-11-30T21:27:28.252Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-11-30T21:27:28.252Z] (3/83) Installing libxau (1.0.9-r0) [2022-11-30T21:27:28.252Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-11-30T21:27:28.252Z] (5/83) Installing libxcb (1.15-r0) [2022-11-30T21:27:28.252Z] (6/83) Installing libx11 (1.8-r0) [2022-11-30T21:27:28.252Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-11-30T21:27:28.510Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-11-30T21:27:28.510Z] (9/83) Installing expat (2.5.0-r0) [2022-11-30T21:27:28.510Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-11-30T21:27:28.510Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-11-30T21:27:28.510Z] (12/83) Installing libpng (1.6.37-r1) [2022-11-30T21:27:28.510Z] (13/83) Installing freetype (2.12.1-r0) [2022-11-30T21:27:28.510Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-11-30T21:27:28.510Z] (15/83) Installing fribidi (1.0.12-r0) [2022-11-30T21:27:28.510Z] (16/83) Installing libffi (3.4.2-r1) [2022-11-30T21:27:28.510Z] (17/83) Installing libintl (0.21-r2) [2022-11-30T21:27:28.510Z] (18/83) Installing libblkid (2.38-r1) [2022-11-30T21:27:28.510Z] (19/83) Installing libmount (2.38-r1) [2022-11-30T21:27:28.510Z] (20/83) Installing pcre (8.45-r2) [2022-11-30T21:27:28.510Z] (21/83) Installing glib (2.72.1-r0) [2022-11-30T21:27:28.510Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-11-30T21:27:28.510Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-11-30T21:27:28.510Z] (24/83) Installing libass (0.16.0-r0) [2022-11-30T21:27:28.510Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-11-30T21:27:28.510Z] (26/83) Installing libpciaccess (0.16-r0) [2022-11-30T21:27:28.510Z] (27/83) Installing libdrm (2.4.110-r0) [2022-11-30T21:27:28.772Z] (28/83) Installing gmp (6.2.1-r2) [2022-11-30T21:27:28.772Z] (29/83) Installing nettle (3.7.3-r0) [2022-11-30T21:27:28.772Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-11-30T21:27:28.772Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-11-30T21:27:28.772Z] (32/83) Installing libunistring (1.0-r0) [2022-11-30T21:27:28.772Z] (33/83) Installing gnutls (3.7.7-r0) [2022-11-30T21:27:28.772Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-11-30T21:27:28.772Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-11-30T21:27:28.772Z] (36/83) Installing lame (3.100-r0) [2022-11-30T21:27:28.772Z] (37/83) Installing opus (1.3.1-r1) [2022-11-30T21:27:28.773Z] (38/83) Installing libasyncns (0.8-r1) [2022-11-30T21:27:28.773Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-11-30T21:27:28.773Z] (40/83) Installing libltdl (2.4.7-r0) [2022-11-30T21:27:28.773Z] (41/83) Installing orc (0.4.32-r0) [2022-11-30T21:27:28.773Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-11-30T21:27:28.773Z] (43/83) Installing libogg (1.3.5-r1) [2022-11-30T21:27:28.773Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-30T21:27:28.773Z] (45/83) Installing flac (1.3.4-r0) [2022-11-30T21:27:28.773Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-11-30T21:27:28.773Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-11-30T21:27:28.773Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-11-30T21:27:28.773Z] (49/83) Installing soxr (0.1.3-r2) [2022-11-30T21:27:28.773Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-11-30T21:27:28.773Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-11-30T21:27:28.773Z] (52/83) Installing libpulse (15.0-r2) [2022-11-30T21:27:28.773Z] (53/83) Installing cjson (1.7.15-r3) [2022-11-30T21:27:28.773Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-11-30T21:27:28.773Z] (55/83) Installing librist (0.2.6-r1) [2022-11-30T21:27:29.029Z] (56/83) Installing libsrt (1.4.4-r0) [2022-11-30T21:27:29.029Z] (57/83) Installing libssh (0.9.6-r1) [2022-11-30T21:27:29.029Z] (58/83) Installing libtheora (1.1.1-r16) [2022-11-30T21:27:29.029Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-11-30T21:27:29.029Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-11-30T21:27:29.029Z] (61/83) Installing libxext (1.3.4-r0) [2022-11-30T21:27:29.029Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-11-30T21:27:29.029Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-11-30T21:27:29.029Z] (64/83) Installing libva (2.14.0-r0) [2022-11-30T21:27:29.029Z] (65/83) Installing libvdpau (1.5-r0) [2022-11-30T21:27:29.029Z] (66/83) Installing vidstab (1.1.0-r1) [2022-11-30T21:27:29.029Z] (67/83) Installing libvpx (1.11.0-r1) [2022-11-30T21:27:29.030Z] (68/83) Installing libwebp (1.2.3-r0) [2022-11-30T21:27:29.030Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-11-30T21:27:29.030Z] (70/83) Installing numactl (2.0.14-r0) [2022-11-30T21:27:29.030Z] (71/83) Installing x265-libs (3.5-r3) [2022-11-30T21:27:29.030Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-11-30T21:27:29.030Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-11-30T21:27:29.287Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-11-30T21:27:29.287Z] (75/83) Installing udev-init-scripts (35-r0) [2022-11-30T21:27:29.287Z] Executing udev-init-scripts-35-r0.post-install [2022-11-30T21:27:29.287Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-11-30T21:27:29.287Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-11-30T21:27:29.287Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-11-30T21:27:29.287Z] (79/83) Installing kmod-libs (29-r2) [2022-11-30T21:27:29.287Z] (80/83) Installing eudev (3.2.11-r0) [2022-11-30T21:27:29.287Z] (81/83) Installing libsodium (1.0.18-r0) [2022-11-30T21:27:29.287Z] (82/83) Installing libzmq (4.3.4-r0) [2022-11-30T21:27:29.544Z] (83/83) Installing zeromq (4.3.4-r0) [2022-11-30T21:27:29.544Z] Executing busybox-1.35.0-r17.trigger [2022-11-30T21:27:29.544Z] Executing eudev-3.2.11-r0.trigger [2022-11-30T21:27:29.544Z] OK: 101 MiB in 97 packages [2022-11-30T21:27:32.078Z] Removing intermediate container c287cd3e633a [2022-11-30T21:27:32.078Z] ---> 27c6818ff6c9 [2022-11-30T21:27:32.078Z] Step 18/35 : WORKDIR / [2022-11-30T21:27:32.078Z] ---> Running in bb137a0a2578 [2022-11-30T21:27:32.078Z] Removing intermediate container bb137a0a2578 [2022-11-30T21:27:32.078Z] ---> ae8f75e2dcf7 [2022-11-30T21:27:32.078Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-11-30T21:27:32.645Z] ---> 4bbe9aae24fa [2022-11-30T21:27:32.645Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-11-30T21:27:32.645Z] ---> 747a25c5d667 [2022-11-30T21:27:32.645Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-11-30T21:27:32.903Z] ---> 34be5bf4a8a6 [2022-11-30T21:27:32.903Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-11-30T21:27:32.903Z] ---> 2d770da85209 [2022-11-30T21:27:32.903Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-11-30T21:27:33.162Z] ---> 5fa2f3720b78 [2022-11-30T21:27:33.162Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-11-30T21:27:33.162Z] ---> 415cf779b2bf [2022-11-30T21:27:33.162Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-11-30T21:27:33.231Z] using credential edgex-jenkins-ssh [2022-11-30T21:27:33.253Z] Cloning the remote Git repository [2022-11-30T21:27:33.728Z] ---> aa63f1d0162c [2022-11-30T21:27:33.729Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-11-30T21:27:33.992Z] ---> Running in bbb882eae585 [2022-11-30T21:27:33.299Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-11-30T21:27:33.378Z] > git init /w/workspace/device-usb-camera/16 # timeout=10 [2022-11-30T21:27:33.520Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-11-30T21:27:33.522Z] > git --version # timeout=10 [2022-11-30T21:27:33.547Z] > git --version # 'git version 2.25.1' [2022-11-30T21:27:33.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-30T21:27:33.607Z] Verifying host key using known hosts file [2022-11-30T21:27:33.795Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-30T21:27:33.809Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-30T21:27:34.561Z] Removing intermediate container bbb882eae585 [2022-11-30T21:27:34.561Z] ---> cb6bc2c6cb64 [2022-11-30T21:27:34.561Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-11-30T21:27:34.561Z] ---> Running in ef6b84d95b05 [2022-11-30T21:27:35.128Z] Removing intermediate container ef6b84d95b05 [2022-11-30T21:27:35.128Z] ---> bce09d12b001 [2022-11-30T21:27:35.129Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-11-30T21:27:35.129Z] ---> Running in 3af2200b44a2 [2022-11-30T21:27:35.457Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-11-30T21:27:35.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-30T21:27:35.700Z] Removing intermediate container 3af2200b44a2 [2022-11-30T21:27:35.700Z] ---> 12b5c75dcbfa [2022-11-30T21:27:35.700Z] Step 29/35 : EXPOSE 59983 [2022-11-30T21:27:35.700Z] ---> Running in 593a76de85c9 [2022-11-30T21:27:35.700Z] Removing intermediate container 593a76de85c9 [2022-11-30T21:27:35.700Z] ---> cd30482e101c [2022-11-30T21:27:35.700Z] Step 30/35 : EXPOSE 8554 [2022-11-30T21:27:35.959Z] ---> Running in 47ab8d026e6f [2022-11-30T21:27:35.959Z] Removing intermediate container 47ab8d026e6f [2022-11-30T21:27:35.959Z] ---> c462ac115021 [2022-11-30T21:27:35.959Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-11-30T21:27:35.959Z] ---> Running in ad336975b377 [2022-11-30T21:27:35.959Z] Removing intermediate container ad336975b377 [2022-11-30T21:27:35.959Z] ---> 03c86c849b33 [2022-11-30T21:27:35.959Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-11-30T21:27:36.218Z] ---> Running in c4cdcd946d8b [2022-11-30T21:27:36.218Z] Removing intermediate container c4cdcd946d8b [2022-11-30T21:27:36.218Z] ---> 70ffb0aa2225 [2022-11-30T21:27:36.218Z] Step 33/35 : LABEL arch=amd64 [2022-11-30T21:27:36.218Z] ---> Running in 3db278fc901c [2022-11-30T21:27:36.218Z] Removing intermediate container 3db278fc901c [2022-11-30T21:27:36.218Z] ---> f1029ce78245 [2022-11-30T21:27:36.218Z] Step 34/35 : LABEL git_sha=8c46d31608487c4fe223ee8e7a2da97a63dd36cf [2022-11-30T21:27:36.480Z] ---> Running in ffb63ea6977c [2022-11-30T21:27:36.480Z] Removing intermediate container ffb63ea6977c [2022-11-30T21:27:36.480Z] ---> 5932b21a9f69 [2022-11-30T21:27:36.480Z] Step 35/35 : LABEL version=0.0.0 [2022-11-30T21:27:36.480Z] ---> Running in a93b1e7bc9f6 [2022-11-30T21:27:36.480Z] Removing intermediate container a93b1e7bc9f6 [2022-11-30T21:27:36.480Z] ---> 8bd3b461f14a [2022-11-30T21:27:36.480Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-30T21:27:36.480Z] Successfully built 8bd3b461f14a [2022-11-30T21:27:36.480Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:27:36.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-11-30T21:27:36.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-11-30T21:27:36.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-30T21:27:36.338Z] Verifying host key using known hosts file [2022-11-30T21:27:36.345Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-30T21:27:36.358Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-30T21:27:36.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-30T21:27:36.923Z] [2022-11-30T21:27:36.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2022-11-30T21:27:36.941Z] Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit f28767f7ea958c6938da9ad89d65eedc24c04dd6 [Pipeline] sh [2022-11-30T21:27:37.186Z] Merge succeeded, producing 762f3759d7f464fe1e9e08e1837de031fc581c0a [2022-11-30T21:27:37.186Z] Checking out Revision 762f3759d7f464fe1e9e08e1837de031fc581c0a (PR-115) [2022-11-30T21:27:37.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-30T21:27:37.221Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-30T21:27:37.221Z] 5eb5b503b376: Pulling fs layer [2022-11-30T21:27:37.221Z] 5c69ac0246d0: Pulling fs layer [2022-11-30T21:27:37.221Z] ec43610c2a17: Pulling fs layer [2022-11-30T21:27:37.221Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-30T21:27:37.221Z] 33b1e0a273af: Pulling fs layer [2022-11-30T21:27:37.221Z] 5d3b04190fa2: Pulling fs layer [2022-11-30T21:27:37.221Z] 2f39f015ded8: Pulling fs layer [2022-11-30T21:27:37.221Z] 3a2ae6a8a46f: Waiting [2022-11-30T21:27:37.221Z] 2f39f015ded8: Waiting [2022-11-30T21:27:37.221Z] 5d3b04190fa2: Waiting [2022-11-30T21:27:37.221Z] 33b1e0a273af: Waiting [2022-11-30T21:27:37.221Z] 5c69ac0246d0: Verifying Checksum [2022-11-30T21:27:37.221Z] 5c69ac0246d0: Download complete [2022-11-30T21:27:37.221Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-30T21:27:37.221Z] 3a2ae6a8a46f: Download complete [2022-11-30T21:27:37.479Z] 33b1e0a273af: Download complete [2022-11-30T21:27:37.479Z] ec43610c2a17: Verifying Checksum [2022-11-30T21:27:37.479Z] ec43610c2a17: Download complete [2022-11-30T21:27:37.479Z] 5d3b04190fa2: Download complete [2022-11-30T21:27:37.479Z] 5eb5b503b376: Verifying Checksum [2022-11-30T21:27:37.479Z] 5eb5b503b376: Download complete [2022-11-30T21:27:38.062Z] 2f39f015ded8: Verifying Checksum [2022-11-30T21:27:38.062Z] 2f39f015ded8: Download complete [2022-11-30T21:27:36.959Z] > git config core.sparsecheckout # timeout=10 [2022-11-30T21:27:36.978Z] > git checkout -f f28767f7ea958c6938da9ad89d65eedc24c04dd6 # timeout=10 [2022-11-30T21:27:37.062Z] > git remote # timeout=10 [2022-11-30T21:27:37.082Z] > git config --get remote.origin.url # timeout=10 [2022-11-30T21:27:37.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-30T21:27:37.110Z] Verifying host key using known hosts file [2022-11-30T21:27:37.113Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-30T21:27:37.121Z] > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 [2022-11-30T21:27:37.170Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-30T21:27:37.194Z] > git config core.sparsecheckout # timeout=10 [2022-11-30T21:27:37.208Z] > git checkout -f 762f3759d7f464fe1e9e08e1837de031fc581c0a # timeout=10 [2022-11-30T21:27:38.627Z] 5eb5b503b376: Pull complete [2022-11-30T21:27:38.887Z] 5c69ac0246d0: Pull complete [2022-11-30T21:27:39.455Z] ec43610c2a17: Pull complete [2022-11-30T21:27:39.455Z] 3a2ae6a8a46f: Pull complete [2022-11-30T21:27:39.713Z] 33b1e0a273af: Pull complete [2022-11-30T21:27:39.713Z] 5d3b04190fa2: Pull complete [2022-11-30T21:27:40.680Z] Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" [2022-11-30T21:27:40.704Z] First time build. Skipping changelog. [2022-11-30T21:27:41.119Z] [2022-11-30T21:27:41.119Z] GitHub has been notified of this commit’s build result [2022-11-30T21:27:41.119Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-30T21:27:40.690Z] > git rev-list --no-walk 320f0acd74fb9c848235e9badd9cc67bac953a64 # timeout=10 [2022-11-30T21:27:41.630Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-30T21:27:41.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-30T21:27:41.630Z] Dload Upload Total Spent Left Speed [2022-11-30T21:27:41.630Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84013 0 --:--:-- --:--:-- --:--:-- 84013 [Pipeline] sh [2022-11-30T21:27:42.334Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-30T21:27:42.666Z] + sudo tee /etc/docker/daemon.new [2022-11-30T21:27:42.666Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-30T21:27:42.666Z] { [2022-11-30T21:27:42.666Z] "registry-mirrors": [ [2022-11-30T21:27:42.666Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-30T21:27:42.666Z] ], [2022-11-30T21:27:42.666Z] "bip": "10.250.0.254/24", [2022-11-30T21:27:42.666Z] "hosts": [ [2022-11-30T21:27:42.666Z] "tcp://0.0.0.0:5555", [2022-11-30T21:27:42.666Z] "unix:///var/run/docker.sock" [2022-11-30T21:27:42.666Z] ], [2022-11-30T21:27:42.666Z] "mtu": 1458, [2022-11-30T21:27:42.666Z] "selinux-enabled": true, [2022-11-30T21:27:42.666Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-30T21:27:42.666Z] } [Pipeline] sh [2022-11-30T21:27:42.992Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-30T21:27:43.322Z] + sudo service docker restart [2022-11-30T21:27:43.898Z] 2f39f015ded8: Pull complete [2022-11-30T21:27:43.898Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-30T21:27:43.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-30T21:27:43.898Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-30T21:27:43.985Z] prd-ubuntu20.04-docker-8c-8g-120152 does not seem to be running inside a container [2022-11-30T21:27:44.020Z] $ 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-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-30T21:27:47.706Z] $ docker top c355da20d7b2113c390fc1bca252101a516d563b1234f2dfaff7059c6b508b04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:27:48.071Z] ---> job-cost.sh [2022-11-30T21:27:48.071Z] lf-activate-venv: SKIPPING [2022-11-30T21:27:48.071Z] INFO: No Stack... [2022-11-30T21:27:48.638Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-30T21:27:48.897Z] INFO: Archiving Costs [Pipeline] sh [2022-11-30T21:27:49.184Z] + cat /w/workspace/foundry_device-usb-camera_PR-115/archives/cost.csv [2022-11-30T21:27:49.184Z] + cut -d, -f6 [Pipeline] lock [2022-11-30T21:27:49.198Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-16-stack-cost] [2022-11-30T21:27:49.206Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-16-stack-cost] did not exist. Created. [2022-11-30T21:27:49.206Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-30T21:27:49.504Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-30T21:27:49.533Z] Stashed 1 file(s) [Pipeline] } [2022-11-30T21:27:49.540Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-30T21:27:49.560Z] $ docker stop --time=1 c355da20d7b2113c390fc1bca252101a516d563b1234f2dfaff7059c6b508b04 [2022-11-30T21:27:50.720Z] $ docker rm -f c355da20d7b2113c390fc1bca252101a516d563b1234f2dfaff7059c6b508b04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-30T21:28:01.581Z] provisioning config files... [2022-11-30T21:28:01.604Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/16@tmp/config18396834309884935440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:28:01.954Z] ---> docker-login.sh [2022-11-30T21:28:01.954Z] nexus3.edgexfoundry.org:10001 [2022-11-30T21:28:02.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:28:02.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:28:02.822Z] Configure a credential helper to remove this warning. See [2022-11-30T21:28:02.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:28:02.822Z] [2022-11-30T21:28:02.822Z] Login Succeeded [2022-11-30T21:28:02.822Z] nexus3.edgexfoundry.org:10002 [2022-11-30T21:28:02.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:28:03.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:28:03.093Z] Configure a credential helper to remove this warning. See [2022-11-30T21:28:03.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:28:03.093Z] [2022-11-30T21:28:03.093Z] Login Succeeded [2022-11-30T21:28:03.093Z] nexus3.edgexfoundry.org:10003 [2022-11-30T21:28:03.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:28:03.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:28:03.361Z] Configure a credential helper to remove this warning. See [2022-11-30T21:28:03.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:28:03.361Z] [2022-11-30T21:28:03.361Z] Login Succeeded [2022-11-30T21:28:03.361Z] nexus3.edgexfoundry.org:10004 [2022-11-30T21:28:03.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:28:03.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:28:03.630Z] Configure a credential helper to remove this warning. See [2022-11-30T21:28:03.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:28:03.630Z] [2022-11-30T21:28:03.630Z] Login Succeeded [2022-11-30T21:28:03.630Z] docker.io [2022-11-30T21:28:03.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-30T21:28:04.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-30T21:28:04.171Z] Configure a credential helper to remove this warning. See [2022-11-30T21:28:04.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-30T21:28:04.171Z] [2022-11-30T21:28:04.171Z] Login Succeeded [2022-11-30T21:28:04.171Z] ---> docker-login.sh ends [Pipeline] } [2022-11-30T21:28:04.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-30T21:28:04.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-30T21:28:04.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-30T21:28:04.344Z] ========================================================= [2022-11-30T21:28:04.344Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-30T21:28:04.344Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:28:04.676Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-30T21:28:04.946Z] Sending build context to Docker daemon 1.113MB [2022-11-30T21:28:04.946Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-30T21:28:04.946Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-30T21:28:05.220Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-30T21:28:05.220Z] 9b18e9b68314: Pulling fs layer [2022-11-30T21:28:05.220Z] 35d82f9e3411: Pulling fs layer [2022-11-30T21:28:05.220Z] e16973657156: Pulling fs layer [2022-11-30T21:28:05.220Z] fc693d55d65f: Pulling fs layer [2022-11-30T21:28:05.220Z] 7e9fc2657dce: Pulling fs layer [2022-11-30T21:28:05.220Z] dda99020689f: Pulling fs layer [2022-11-30T21:28:05.220Z] db1c61fa0a46: Pulling fs layer [2022-11-30T21:28:05.220Z] 891c053d2c06: Pulling fs layer [2022-11-30T21:28:05.220Z] dda99020689f: Waiting [2022-11-30T21:28:05.220Z] db1c61fa0a46: Waiting [2022-11-30T21:28:05.220Z] 891c053d2c06: Waiting [2022-11-30T21:28:05.220Z] fc693d55d65f: Waiting [2022-11-30T21:28:05.220Z] 7e9fc2657dce: Waiting [2022-11-30T21:28:05.220Z] e16973657156: Verifying Checksum [2022-11-30T21:28:05.220Z] e16973657156: Download complete [2022-11-30T21:28:05.220Z] 35d82f9e3411: Verifying Checksum [2022-11-30T21:28:05.220Z] 35d82f9e3411: Download complete [2022-11-30T21:28:05.220Z] 7e9fc2657dce: Verifying Checksum [2022-11-30T21:28:05.220Z] 7e9fc2657dce: Download complete [2022-11-30T21:28:05.220Z] dda99020689f: Download complete [2022-11-30T21:28:05.220Z] 9b18e9b68314: Download complete [2022-11-30T21:28:06.191Z] 9b18e9b68314: Pull complete [2022-11-30T21:28:06.191Z] 891c053d2c06: Verifying Checksum [2022-11-30T21:28:06.191Z] 891c053d2c06: Download complete [2022-11-30T21:28:06.804Z] 35d82f9e3411: Pull complete [2022-11-30T21:28:07.077Z] e16973657156: Pull complete [2022-11-30T21:28:07.668Z] db1c61fa0a46: Verifying Checksum [2022-11-30T21:28:07.668Z] db1c61fa0a46: Download complete [2022-11-30T21:28:07.936Z] fc693d55d65f: Verifying Checksum [2022-11-30T21:28:07.936Z] fc693d55d65f: Download complete [2022-11-30T21:28:20.266Z] fc693d55d65f: Pull complete [2022-11-30T21:28:20.266Z] 7e9fc2657dce: Pull complete [2022-11-30T21:28:20.536Z] dda99020689f: Pull complete [2022-11-30T21:28:27.220Z] db1c61fa0a46: Pull complete [2022-11-30T21:28:28.642Z] 891c053d2c06: Pull complete [2022-11-30T21:28:28.642Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-30T21:28:28.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-30T21:28:28.642Z] ---> f96f9c87975a [2022-11-30T21:28:28.642Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-30T21:28:30.587Z] ---> Running in fb18ee20685a [2022-11-30T21:28:30.587Z] Removing intermediate container fb18ee20685a [2022-11-30T21:28:30.587Z] ---> b0b5d0d566f0 [2022-11-30T21:28:30.587Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-30T21:28:30.587Z] ---> Running in d53d3e397a35 [2022-11-30T21:28:30.853Z] Removing intermediate container d53d3e397a35 [2022-11-30T21:28:30.853Z] ---> e63ef4f49341 [2022-11-30T21:28:30.853Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-30T21:28:30.853Z] ---> Running in 408a4a0ff775 [2022-11-30T21:28:31.122Z] Removing intermediate container 408a4a0ff775 [2022-11-30T21:28:31.122Z] ---> 44b5f4ae7df0 [2022-11-30T21:28:31.122Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-30T21:28:31.400Z] ---> Running in 965718dcffb4 [2022-11-30T21:28:31.667Z] Removing intermediate container 965718dcffb4 [2022-11-30T21:28:31.667Z] ---> d964cf1f6b82 [2022-11-30T21:28:31.667Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-30T21:28:31.667Z] ---> Running in e88ad4c8160b [2022-11-30T21:28:32.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-30T21:28:32.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-30T21:28:33.853Z] (1/14) Installing libintl (0.21-r2) [2022-11-30T21:28:33.853Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-11-30T21:28:33.853Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-11-30T21:28:33.853Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-11-30T21:28:33.853Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-11-30T21:28:33.853Z] (6/14) Installing udev-init-scripts (35-r0) [2022-11-30T21:28:33.853Z] Executing udev-init-scripts-35-r0.post-install [2022-11-30T21:28:33.853Z] (7/14) Installing libblkid (2.38-r1) [2022-11-30T21:28:34.122Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-11-30T21:28:34.122Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-11-30T21:28:34.122Z] (10/14) Installing kmod-libs (29-r2) [2022-11-30T21:28:34.122Z] (11/14) Installing eudev (3.2.11-r0) [2022-11-30T21:28:34.122Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-11-30T21:28:34.122Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-11-30T21:28:34.122Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-11-30T21:28:34.122Z] Executing busybox-1.35.0-r17.trigger [2022-11-30T21:28:34.122Z] Executing eudev-3.2.11-r0.trigger [2022-11-30T21:28:34.122Z] OK: 228 MiB in 65 packages [2022-11-30T21:28:35.534Z] Removing intermediate container e88ad4c8160b [2022-11-30T21:28:35.534Z] ---> 842613f2d080 [2022-11-30T21:28:35.534Z] Step 8/13 : WORKDIR /device-usb-camera [2022-11-30T21:28:35.534Z] ---> Running in a547caa7cab0 [2022-11-30T21:28:35.802Z] Removing intermediate container a547caa7cab0 [2022-11-30T21:28:35.802Z] ---> 5e4961babe63 [2022-11-30T21:28:35.802Z] Step 9/13 : COPY go.mod vendor* ./ [2022-11-30T21:28:37.211Z] ---> 104d9a4daa81 [2022-11-30T21:28:37.212Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-30T21:28:37.212Z] ---> Running in 66cb047db170 [2022-11-30T21:29:33.636Z] Removing intermediate container 66cb047db170 [2022-11-30T21:29:33.636Z] ---> 05aecd6afe64 [2022-11-30T21:29:33.636Z] Step 11/13 : COPY . . [2022-11-30T21:29:33.636Z] ---> 925c8a3f79a8 [2022-11-30T21:29:33.636Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-30T21:29:33.908Z] ---> Running in 378ac4e52c47 [2022-11-30T21:29:34.873Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-30T21:29:34.873Z] Dload Upload Total Spent Left Speed [2022-11-30T21:29:34.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12914 0 --:--:-- --:--:-- --:--:-- 13111 [2022-11-30T21:29:35.462Z] Removing intermediate container 378ac4e52c47 [2022-11-30T21:29:35.462Z] ---> 4bd85d05efce [2022-11-30T21:29:35.462Z] Step 13/13 : RUN ${MAKE} [2022-11-30T21:29:35.462Z] ---> Running in 0b904ffd0722 [2022-11-30T21:29:36.427Z] noop [2022-11-30T21:29:37.015Z] Removing intermediate container 0b904ffd0722 [2022-11-30T21:29:37.015Z] ---> 0fd778b8cfd7 [2022-11-30T21:29:37.015Z] Successfully built 0fd778b8cfd7 [2022-11-30T21:29:37.015Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:29:37.357Z] + docker inspect -f . ci-base-image-arm64 [2022-11-30T21:29:37.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-30T21:29:37.542Z] prd-ubuntu20.04-docker-arm64-4c-16g-120153 does not seem to be running inside a container [2022-11-30T21:29:37.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-30T21:29:39.111Z] $ docker top e408adbb52a3f43a1982d823af98f69526717fbb732a11733eb7361d4c679d63 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-30T21:29:39.916Z] + go version [2022-11-30T21:29:39.916Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-30T21:29:39.936Z] $ docker stop --time=1 e408adbb52a3f43a1982d823af98f69526717fbb732a11733eb7361d4c679d63 [2022-11-30T21:29:41.489Z] $ docker rm -f e408adbb52a3f43a1982d823af98f69526717fbb732a11733eb7361d4c679d63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:29:41.986Z] + docker inspect -f . ci-base-image-arm64 [2022-11-30T21:29:41.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-30T21:29:42.139Z] prd-ubuntu20.04-docker-arm64-4c-16g-120153 does not seem to be running inside a container [2022-11-30T21:29:42.201Z] $ 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/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-30T21:29:43.320Z] $ docker top 1fd86f183c832c995e4111f52cd956eefa291fe9f7901c961c5b713252034e67 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-30T21:29:43.805Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/16 [Pipeline] fileExists [Pipeline] sh [2022-11-30T21:29:44.397Z] + make test [2022-11-30T21:29:44.397Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-11-30T21:29:46.340Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-11-30T21:31:23.030Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-11-30T21:31:23.030Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.072s coverage: 1.9% of statements [2022-11-30T21:31:23.030Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-30T21:31:23.030Z] CGO_ENABLED=1 go vet ./... [2022-11-30T21:31:35.340Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-30T21:31:35.609Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-30T21:31:35.609Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-30T21:31:35.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-30T21:31:35.914Z] $ docker stop --time=1 1fd86f183c832c995e4111f52cd956eefa291fe9f7901c961c5b713252034e67 [2022-11-30T21:31:37.649Z] $ docker rm -f 1fd86f183c832c995e4111f52cd956eefa291fe9f7901c961c5b713252034e67 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-30T21:31:38.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-30T21:31:38.553Z] Warning: overwriting stash ‘coverage-report’ [2022-11-30T21:31:38.929Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-30T21:31:39.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-30T21:31:39.619Z] + ls -al . [2022-11-30T21:31:39.619Z] total 196 [2022-11-30T21:31:39.619Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 30 21:29 . [2022-11-30T21:31:39.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 21:27 .. [2022-11-30T21:31:39.619Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 21:27 .git [2022-11-30T21:31:39.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 21:27 .github [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 414 Nov 30 21:27 .gitignore [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 30 21:27 .golangci.yml [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 30 21:27 .hadolint.yml [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 9702 Nov 30 21:27 Attribution.txt [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 1206 Nov 30 21:27 CHANGELOG.md [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 2378 Nov 30 21:27 Dockerfile [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 30 21:27 GOVERNANCE.md [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 30 21:27 Jenkinsfile [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 30 21:27 LICENSE [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 2554 Nov 30 21:27 Makefile [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 30 21:27 OWNERS.md [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 5934 Nov 30 21:27 README.md [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 30 21:25 VERSION [2022-11-30T21:31:39.619Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 21:27 bin [2022-11-30T21:31:39.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 21:27 cmd [2022-11-30T21:31:39.619Z] -rw-r--r-- 1 jenkins jenkins 30072 Nov 30 21:31 coverage.out [2022-11-30T21:31:39.619Z] -rwxrwxr-x 1 jenkins jenkins 140 Nov 30 21:27 docker-entrypoint.sh [2022-11-30T21:31:39.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 21:27 docs [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 3573 Nov 30 21:27 go.mod [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 45026 Nov 30 21:27 go.sum [2022-11-30T21:31:39.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 21:27 internal [2022-11-30T21:31:39.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 21:27 snap [2022-11-30T21:31:39.619Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 30 21:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:31:39.955Z] + 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=762f3759d7f464fe1e9e08e1837de031fc581c0a --label arch=arm64 --label version=0.0.0 . [2022-11-30T21:31:40.227Z] Sending build context to Docker daemon 1.144MB [2022-11-30T21:31:40.227Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-11-30T21:31:40.227Z] Step 2/35 : FROM ${BASE} AS builder [2022-11-30T21:31:40.227Z] ---> 0fd778b8cfd7 [2022-11-30T21:31:40.227Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-11-30T21:31:40.494Z] ---> Running in b947cc7a486c [2022-11-30T21:31:40.760Z] Removing intermediate container b947cc7a486c [2022-11-30T21:31:40.760Z] ---> 1e5831fbb53f [2022-11-30T21:31:40.760Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-30T21:31:40.760Z] ---> Running in ba3489b123a4 [2022-11-30T21:31:41.028Z] Removing intermediate container ba3489b123a4 [2022-11-30T21:31:41.028Z] ---> 7763d5ff8b8a [2022-11-30T21:31:41.028Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-30T21:31:41.297Z] ---> Running in 73b4f3c27c03 [2022-11-30T21:31:41.564Z] Removing intermediate container 73b4f3c27c03 [2022-11-30T21:31:41.564Z] ---> c002211bc7aa [2022-11-30T21:31:41.564Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-30T21:31:41.564Z] ---> Running in 8a157c8f681e [2022-11-30T21:31:41.830Z] Removing intermediate container 8a157c8f681e [2022-11-30T21:31:41.830Z] ---> f721b66d63a2 [2022-11-30T21:31:41.830Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-30T21:31:42.097Z] ---> Running in b1cd73f9a777 [2022-11-30T21:31:43.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-30T21:31:43.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-30T21:31:44.292Z] OK: 228 MiB in 65 packages [2022-11-30T21:31:45.374Z] Removing intermediate container b1cd73f9a777 [2022-11-30T21:31:45.374Z] ---> 36a350958aee [2022-11-30T21:31:45.374Z] Step 8/35 : WORKDIR /device-usb-camera [2022-11-30T21:31:45.374Z] ---> Running in 703a33acf43a [2022-11-30T21:31:45.714Z] Removing intermediate container 703a33acf43a [2022-11-30T21:31:45.714Z] ---> f638e5d90799 [2022-11-30T21:31:45.714Z] Step 9/35 : COPY go.mod vendor* ./ [2022-11-30T21:31:46.339Z] ---> 7bc0deeb73e3 [2022-11-30T21:31:46.339Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-30T21:31:46.339Z] ---> Running in 86ab863ad400 [2022-11-30T21:31:48.992Z] Removing intermediate container 86ab863ad400 [2022-11-30T21:31:48.992Z] ---> affbb7e338e0 [2022-11-30T21:31:48.992Z] Step 11/35 : COPY . . [2022-11-30T21:31:51.587Z] ---> 29bc62066a62 [2022-11-30T21:31:51.587Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-30T21:31:51.587Z] ---> Running in 40cb81617733 [2022-11-30T21:31:52.552Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-30T21:31:52.552Z] Dload Upload Total Spent Left Speed [2022-11-30T21:31:52.822Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5288 0 --:--:-- --:--:-- --:--:-- 5310 [2022-11-30T21:31:53.411Z] Removing intermediate container 40cb81617733 [2022-11-30T21:31:53.411Z] ---> 668df829fe20 [2022-11-30T21:31:53.411Z] Step 13/35 : RUN ${MAKE} [2022-11-30T21:31:53.690Z] ---> Running in 068f393206c4 [2022-11-30T21:31:54.658Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-11-30T21:34:31.435Z] Removing intermediate container 068f393206c4 [2022-11-30T21:34:31.435Z] ---> ab2b6bba833f [2022-11-30T21:34:31.435Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-11-30T21:34:31.435Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-11-30T21:34:31.435Z] eab2503cf8f4: Pulling fs layer [2022-11-30T21:34:31.435Z] 97cd0a44c592: Pulling fs layer [2022-11-30T21:34:31.435Z] 97cd0a44c592: Verifying Checksum [2022-11-30T21:34:31.435Z] 97cd0a44c592: Download complete [2022-11-30T21:34:31.435Z] eab2503cf8f4: Download complete [2022-11-30T21:34:31.435Z] eab2503cf8f4: Pull complete [2022-11-30T21:34:31.435Z] 97cd0a44c592: Pull complete [2022-11-30T21:34:31.436Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-11-30T21:34:31.436Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-11-30T21:34:31.436Z] ---> 7f763cca56b3 [2022-11-30T21:34:31.436Z] Step 15/35 : FROM alpine:3.16 [2022-11-30T21:34:31.436Z] 3.16: Pulling from library/alpine [2022-11-30T21:34:31.436Z] 6875df1f5354: Pulling fs layer [2022-11-30T21:34:31.436Z] 6875df1f5354: Verifying Checksum [2022-11-30T21:34:31.436Z] 6875df1f5354: Download complete [2022-11-30T21:34:31.436Z] 6875df1f5354: Pull complete [2022-11-30T21:34:31.436Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-11-30T21:34:31.436Z] Status: Downloaded newer image for alpine:3.16 [2022-11-30T21:34:31.436Z] ---> 2b4661558fb8 [2022-11-30T21:34:31.436Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-30T21:34:31.436Z] ---> Running in 1daa4957b69b [2022-11-30T21:34:31.436Z] Removing intermediate container 1daa4957b69b [2022-11-30T21:34:31.436Z] ---> 26323296dcc6 [2022-11-30T21:34:31.436Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-11-30T21:34:31.436Z] ---> Running in b24d66553a28 [2022-11-30T21:34:31.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-30T21:34:31.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-30T21:34:32.394Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-11-30T21:34:32.394Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-11-30T21:34:32.394Z] (3/82) Installing libxau (1.0.9-r0) [2022-11-30T21:34:32.394Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-11-30T21:34:32.394Z] (5/82) Installing libxcb (1.15-r0) [2022-11-30T21:34:32.394Z] (6/82) Installing libx11 (1.8-r0) [2022-11-30T21:34:32.662Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-11-30T21:34:32.662Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-11-30T21:34:32.662Z] (9/82) Installing expat (2.5.0-r0) [2022-11-30T21:34:32.662Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-11-30T21:34:32.662Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-11-30T21:34:32.662Z] (12/82) Installing libpng (1.6.37-r1) [2022-11-30T21:34:32.928Z] (13/82) Installing freetype (2.12.1-r0) [2022-11-30T21:34:32.928Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-11-30T21:34:32.928Z] (15/82) Installing fribidi (1.0.12-r0) [2022-11-30T21:34:32.928Z] (16/82) Installing libffi (3.4.2-r1) [2022-11-30T21:34:32.928Z] (17/82) Installing libintl (0.21-r2) [2022-11-30T21:34:32.928Z] (18/82) Installing libblkid (2.38-r1) [2022-11-30T21:34:32.928Z] (19/82) Installing libmount (2.38-r1) [2022-11-30T21:34:32.928Z] (20/82) Installing pcre (8.45-r2) [2022-11-30T21:34:32.928Z] (21/82) Installing glib (2.72.1-r0) [2022-11-30T21:34:32.928Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-11-30T21:34:32.928Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-11-30T21:34:33.194Z] (24/82) Installing libass (0.16.0-r0) [2022-11-30T21:34:33.194Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-11-30T21:34:33.194Z] (26/82) Installing libdrm (2.4.110-r0) [2022-11-30T21:34:33.194Z] (27/82) Installing gmp (6.2.1-r2) [2022-11-30T21:34:33.194Z] (28/82) Installing nettle (3.7.3-r0) [2022-11-30T21:34:33.194Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-11-30T21:34:33.194Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-11-30T21:34:33.194Z] (31/82) Installing libunistring (1.0-r0) [2022-11-30T21:34:33.194Z] (32/82) Installing gnutls (3.7.7-r0) [2022-11-30T21:34:33.461Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-11-30T21:34:33.461Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-11-30T21:34:33.461Z] (35/82) Installing lame (3.100-r0) [2022-11-30T21:34:33.461Z] (36/82) Installing opus (1.3.1-r1) [2022-11-30T21:34:33.461Z] (37/82) Installing libasyncns (0.8-r1) [2022-11-30T21:34:33.461Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-11-30T21:34:33.461Z] (39/82) Installing libltdl (2.4.7-r0) [2022-11-30T21:34:33.461Z] (40/82) Installing orc (0.4.32-r0) [2022-11-30T21:34:33.461Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-11-30T21:34:33.461Z] (42/82) Installing libogg (1.3.5-r1) [2022-11-30T21:34:33.461Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-30T21:34:33.461Z] (44/82) Installing flac (1.3.4-r0) [2022-11-30T21:34:33.461Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-11-30T21:34:33.461Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-11-30T21:34:33.727Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-11-30T21:34:33.727Z] (48/82) Installing soxr (0.1.3-r2) [2022-11-30T21:34:33.727Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-11-30T21:34:33.727Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-11-30T21:34:33.727Z] (51/82) Installing libpulse (15.0-r2) [2022-11-30T21:34:33.727Z] (52/82) Installing cjson (1.7.15-r3) [2022-11-30T21:34:33.727Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-11-30T21:34:33.727Z] (54/82) Installing librist (0.2.6-r1) [2022-11-30T21:34:33.727Z] (55/82) Installing libsrt (1.4.4-r0) [2022-11-30T21:34:33.727Z] (56/82) Installing libssh (0.9.6-r1) [2022-11-30T21:34:33.727Z] (57/82) Installing libtheora (1.1.1-r16) [2022-11-30T21:34:33.727Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-11-30T21:34:33.727Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-11-30T21:34:33.727Z] (60/82) Installing libxext (1.3.4-r0) [2022-11-30T21:34:33.727Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-11-30T21:34:33.727Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-11-30T21:34:33.993Z] (63/82) Installing libva (2.14.0-r0) [2022-11-30T21:34:33.993Z] (64/82) Installing libvdpau (1.5-r0) [2022-11-30T21:34:33.993Z] (65/82) Installing vidstab (1.1.0-r1) [2022-11-30T21:34:33.993Z] (66/82) Installing libvpx (1.11.0-r1) [2022-11-30T21:34:33.993Z] (67/82) Installing libwebp (1.2.3-r0) [2022-11-30T21:34:33.993Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-11-30T21:34:33.993Z] (69/82) Installing numactl (2.0.14-r0) [2022-11-30T21:34:33.993Z] (70/82) Installing x265-libs (3.5-r3) [2022-11-30T21:34:34.259Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-11-30T21:34:34.259Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-11-30T21:34:34.525Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-11-30T21:34:34.792Z] (74/82) Installing udev-init-scripts (35-r0) [2022-11-30T21:34:34.792Z] Executing udev-init-scripts-35-r0.post-install [2022-11-30T21:34:34.792Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-11-30T21:34:34.792Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-11-30T21:34:34.792Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-11-30T21:34:34.792Z] (78/82) Installing kmod-libs (29-r2) [2022-11-30T21:34:34.792Z] (79/82) Installing eudev (3.2.11-r0) [2022-11-30T21:34:34.792Z] (80/82) Installing libsodium (1.0.18-r0) [2022-11-30T21:34:34.792Z] (81/82) Installing libzmq (4.3.4-r0) [2022-11-30T21:34:34.792Z] (82/82) Installing zeromq (4.3.4-r0) [2022-11-30T21:34:34.792Z] Executing busybox-1.35.0-r17.trigger [2022-11-30T21:34:34.792Z] Executing eudev-3.2.11-r0.trigger [2022-11-30T21:34:34.792Z] OK: 78 MiB in 96 packages [2022-11-30T21:34:38.143Z] Removing intermediate container b24d66553a28 [2022-11-30T21:34:38.143Z] ---> 5eafb1f20857 [2022-11-30T21:34:38.143Z] Step 18/35 : WORKDIR / [2022-11-30T21:34:38.143Z] ---> Running in 95c47f403029 [2022-11-30T21:34:38.143Z] Removing intermediate container 95c47f403029 [2022-11-30T21:34:38.143Z] ---> e05c4ca9bdca [2022-11-30T21:34:38.143Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-11-30T21:34:39.557Z] ---> c6cb84e515e0 [2022-11-30T21:34:39.557Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-11-30T21:34:40.142Z] ---> 7476fcfca2fb [2022-11-30T21:34:40.142Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-11-30T21:34:40.724Z] ---> ed1e7b65a4c9 [2022-11-30T21:34:40.725Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-11-30T21:34:40.992Z] ---> dab739a43dfc [2022-11-30T21:34:40.992Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-11-30T21:34:41.575Z] ---> efa815100457 [2022-11-30T21:34:41.575Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-11-30T21:34:42.166Z] ---> 87462d8e3461 [2022-11-30T21:34:42.166Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-11-30T21:34:43.128Z] ---> 8e1d0fa28d91 [2022-11-30T21:34:43.128Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-11-30T21:34:43.398Z] ---> Running in 54a653cc8c9d [2022-11-30T21:34:44.810Z] Removing intermediate container 54a653cc8c9d [2022-11-30T21:34:44.810Z] ---> a0fc98dcca24 [2022-11-30T21:34:44.810Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-11-30T21:34:44.810Z] ---> Running in 6e44321e5891 [2022-11-30T21:34:46.758Z] Removing intermediate container 6e44321e5891 [2022-11-30T21:34:46.758Z] ---> f41f8e06828c [2022-11-30T21:34:46.758Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-11-30T21:34:46.758Z] ---> Running in ed256047eb61 [2022-11-30T21:34:48.168Z] Removing intermediate container ed256047eb61 [2022-11-30T21:34:48.168Z] ---> d36cc1b35964 [2022-11-30T21:34:48.168Z] Step 29/35 : EXPOSE 59983 [2022-11-30T21:34:48.168Z] ---> Running in 7ea546c105c9 [2022-11-30T21:34:48.441Z] Removing intermediate container 7ea546c105c9 [2022-11-30T21:34:48.441Z] ---> 554a2d91acf6 [2022-11-30T21:34:48.441Z] Step 30/35 : EXPOSE 8554 [2022-11-30T21:34:48.441Z] ---> Running in eeb64209a7b6 [2022-11-30T21:34:48.708Z] Removing intermediate container eeb64209a7b6 [2022-11-30T21:34:48.708Z] ---> c36d1b6e9b2c [2022-11-30T21:34:48.708Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-11-30T21:34:48.708Z] ---> Running in 68987472df3c [2022-11-30T21:34:48.973Z] Removing intermediate container 68987472df3c [2022-11-30T21:34:48.973Z] ---> 4cee0c16c65e [2022-11-30T21:34:48.973Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-11-30T21:34:49.242Z] ---> Running in 83ad46dd7aa6 [2022-11-30T21:34:49.242Z] Removing intermediate container 83ad46dd7aa6 [2022-11-30T21:34:49.242Z] ---> 98155e329163 [2022-11-30T21:34:49.242Z] Step 33/35 : LABEL arch=arm64 [2022-11-30T21:34:49.510Z] ---> Running in b215bdba673d [2022-11-30T21:34:49.776Z] Removing intermediate container b215bdba673d [2022-11-30T21:34:49.776Z] ---> 1649c41a9a59 [2022-11-30T21:34:49.776Z] Step 34/35 : LABEL git_sha=762f3759d7f464fe1e9e08e1837de031fc581c0a [2022-11-30T21:34:49.776Z] ---> Running in c414d9e4c7ab [2022-11-30T21:34:50.043Z] Removing intermediate container c414d9e4c7ab [2022-11-30T21:34:50.043Z] ---> 759718a2f276 [2022-11-30T21:34:50.043Z] Step 35/35 : LABEL version=0.0.0 [2022-11-30T21:34:50.043Z] ---> Running in 60f53b86cfa3 [2022-11-30T21:34:50.310Z] Removing intermediate container 60f53b86cfa3 [2022-11-30T21:34:50.310Z] ---> 5ea88cc120a1 [2022-11-30T21:34:50.310Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-30T21:34:50.310Z] Successfully built 5ea88cc120a1 [2022-11-30T21:34:50.310Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:34:50.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-30T21:34:50.751Z] [2022-11-30T21:34:50.751Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:34:51.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-30T21:34:51.082Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-30T21:34:51.082Z] 8998bd30e6a1: Pulling fs layer [2022-11-30T21:34:51.082Z] 04944245beec: Pulling fs layer [2022-11-30T21:34:51.082Z] 699f458cf7ca: Pulling fs layer [2022-11-30T21:34:51.082Z] 765212b225bb: Pulling fs layer [2022-11-30T21:34:51.082Z] f23df028b6ca: Pulling fs layer [2022-11-30T21:34:51.082Z] d65c8cfc05b1: Pulling fs layer [2022-11-30T21:34:51.082Z] 2437ff75d9bd: Pulling fs layer [2022-11-30T21:34:51.082Z] 765212b225bb: Waiting [2022-11-30T21:34:51.082Z] f23df028b6ca: Waiting [2022-11-30T21:34:51.082Z] d65c8cfc05b1: Waiting [2022-11-30T21:34:51.082Z] 2437ff75d9bd: Waiting [2022-11-30T21:34:51.351Z] 04944245beec: Verifying Checksum [2022-11-30T21:34:51.351Z] 04944245beec: Download complete [2022-11-30T21:34:51.351Z] 765212b225bb: Verifying Checksum [2022-11-30T21:34:51.351Z] 765212b225bb: Download complete [2022-11-30T21:34:51.351Z] f23df028b6ca: Verifying Checksum [2022-11-30T21:34:51.351Z] f23df028b6ca: Download complete [2022-11-30T21:34:51.351Z] d65c8cfc05b1: Download complete [2022-11-30T21:34:51.351Z] 699f458cf7ca: Verifying Checksum [2022-11-30T21:34:51.351Z] 699f458cf7ca: Download complete [2022-11-30T21:34:51.939Z] 8998bd30e6a1: Download complete [2022-11-30T21:34:53.886Z] 2437ff75d9bd: Verifying Checksum [2022-11-30T21:34:53.886Z] 2437ff75d9bd: Download complete [2022-11-30T21:34:55.826Z] 8998bd30e6a1: Pull complete [2022-11-30T21:34:56.408Z] 04944245beec: Pull complete [2022-11-30T21:34:57.816Z] 699f458cf7ca: Pull complete [2022-11-30T21:34:57.816Z] 765212b225bb: Pull complete [2022-11-30T21:34:58.399Z] f23df028b6ca: Pull complete [2022-11-30T21:34:58.666Z] d65c8cfc05b1: Pull complete [2022-11-30T21:35:13.656Z] 2437ff75d9bd: Pull complete [2022-11-30T21:35:13.656Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-30T21:35:13.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-30T21:35:13.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-30T21:35:13.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-120153 does not seem to be running inside a container [2022-11-30T21:35:13.894Z] $ 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/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-30T21:35:16.394Z] $ docker top 19ea6d473b92c42aa3197f213f843b9ef0da01796c120468df174d0b8678bac0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:35:16.912Z] ---> job-cost.sh [2022-11-30T21:35:17.180Z] lf-activate-venv: SKIPPING [2022-11-30T21:35:17.180Z] INFO: No Stack... [2022-11-30T21:35:17.761Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-30T21:35:18.340Z] INFO: Archiving Costs [Pipeline] sh [2022-11-30T21:35:18.660Z] + cat /w/workspace/device-usb-camera/16/archives/cost.csv [2022-11-30T21:35:18.660Z] + cut -d, -f6 [Pipeline] lock [2022-11-30T21:35:18.979Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-16-stack-cost] [2022-11-30T21:35:18.988Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-16-stack-cost] did not exist. Created. [2022-11-30T21:35:18.988Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-30T21:35:19.327Z] /w/workspace/device-usb-camera/16@tmp/durable-af5f8838/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-30T21:35:19.989Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-30T21:35:20.014Z] Warning: overwriting stash ‘stack-cost’ [2022-11-30T21:35:20.059Z] Stashed 1 file(s) [Pipeline] } [2022-11-30T21:35:20.065Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-30T21:35:20.084Z] $ docker stop --time=1 19ea6d473b92c42aa3197f213f843b9ef0da01796c120468df174d0b8678bac0 [2022-11-30T21:35:21.598Z] $ docker rm -f 19ea6d473b92c42aa3197f213f843b9ef0da01796c120468df174d0b8678bac0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-30T21:35:21.950Z] provisioning config files... [2022-11-30T21:35:21.956Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config15665298126134386900tmp [Pipeline] { [Pipeline] sh [2022-11-30T21:35:22.256Z] + set +x [2022-11-30T21:35:22.256Z] + + curl -s https://codecov.io/bash [2022-11-30T21:35:22.256Z] bash -s -- [2022-11-30T21:35:22.256Z] [2022-11-30T21:35:22.256Z] _____ _ [2022-11-30T21:35:22.256Z] / ____| | | [2022-11-30T21:35:22.256Z] | | ___ __| | ___ ___ _____ __ [2022-11-30T21:35:22.256Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-30T21:35:22.256Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-30T21:35:22.256Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-30T21:35:22.256Z] Bash-1.0.6 [2022-11-30T21:35:22.256Z] [2022-11-30T21:35:22.256Z] [2022-11-30T21:35:22.256Z] ==> git version 2.25.1 found [2022-11-30T21:35:22.256Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-30T21:35:22.256Z] Release-Date: 2020-01-08 [2022-11-30T21:35:22.256Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-30T21:35:22.256Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-30T21:35:22.256Z] ==> Jenkins CI detected. [2022-11-30T21:35:22.256Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-115 [2022-11-30T21:35:22.256Z] project root: . [2022-11-30T21:35:22.256Z] --> token set from env [2022-11-30T21:35:22.256Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-30T21:35:22.256Z] ==> Running gcov in . (disable via -X gcov) [2022-11-30T21:35:22.256Z] ==> Python coveragepy not found [2022-11-30T21:35:22.256Z] ==> Searching for coverage reports in: [2022-11-30T21:35:22.256Z] + . [2022-11-30T21:35:22.256Z] -> Found 1 reports [2022-11-30T21:35:22.256Z] ==> Detecting git/mercurial file structure [2022-11-30T21:35:22.256Z] ==> Reading reports [2022-11-30T21:35:22.256Z] + ./coverage.out bytes=30072 [2022-11-30T21:35:22.516Z] ==> Appending adjustments [2022-11-30T21:35:22.516Z] https://docs.codecov.io/docs/fixing-reports [2022-11-30T21:35:22.516Z] + Found adjustments [2022-11-30T21:35:22.516Z] ==> Gzipping contents [2022-11-30T21:35:22.516Z] 8.0K /tmp/codecov.wocNku.gz [2022-11-30T21:35:22.516Z] ==> Uploading reports [2022-11-30T21:35:22.516Z] url: https://codecov.io [2022-11-30T21:35:22.516Z] query: branch=PR-115&commit=8c46d31608487c4fe223ee8e7a2da97a63dd36cf&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-11-30T21:35:22.516Z] -> Pinging Codecov [2022-11-30T21:35:22.516Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-115&commit=8c46d31608487c4fe223ee8e7a2da97a63dd36cf&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-11-30T21:35:22.775Z] -> Uploading to [2022-11-30T21:35:22.775Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-30/73D8F5FF140700D3E01443B452E23636/8c46d31608487c4fe223ee8e7a2da97a63dd36cf/560708bf-2127-4c7e-875e-b8fa8a003fd4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221130T213522Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=674cb5ac29b599e2d7ef3e704fa5761caea9b97fdf53eb3e5b79e5dec0b667ee [2022-11-30T21:35:22.775Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-30T21:35:22.775Z] Dload Upload Total Spent Left Speed [2022-11-30T21:35:23.035Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4258 0 0 100 4258 0 15540 --:--:-- --:--:-- --:--:-- 15540 [2022-11-30T21:35:23.035Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/8c46d31608487c4fe223ee8e7a2da97a63dd36cf [Pipeline] } [2022-11-30T21:35:23.042Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-30T21:35:23.797Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-115/archives ] [2022-11-30T21:35:23.797Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives [2022-11-30T21:35:23.797Z] total 16 [2022-11-30T21:35:23.798Z] drwxr-xr-x 3 root root 4096 Nov 30 21:27 . [2022-11-30T21:35:23.798Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 30 21:27 .. [2022-11-30T21:35:23.798Z] drwxr-xr-x 2 root root 4096 Nov 30 21:27 cost [2022-11-30T21:35:23.798Z] -rw-r--r-- 1 root root 90 Nov 30 21:27 cost.csv [2022-11-30T21:35:23.798Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-115/archives [2022-11-30T21:35:23.798Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives [2022-11-30T21:35:23.798Z] total 16 [2022-11-30T21:35:23.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 30 21:27 . [2022-11-30T21:35:23.798Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 30 21:27 .. [2022-11-30T21:35:23.798Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 30 21:27 cost [2022-11-30T21:35:23.798Z] -rw-r--r-- 1 jenkins jenkins 90 Nov 30 21:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:35:24.090Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:35:24.948Z] ---> package-listing.sh [2022-11-30T21:35:24.948Z] ++ facter osfamily [2022-11-30T21:35:24.948Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-30T21:35:25.207Z] + OS_FAMILY=debian [2022-11-30T21:35:25.207Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-115 [2022-11-30T21:35:25.207Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-30T21:35:25.207Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-30T21:35:25.207Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-30T21:35:25.207Z] + PACKAGES=/tmp/packages_start.txt [2022-11-30T21:35:25.207Z] + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' [2022-11-30T21:35:25.207Z] + PACKAGES=/tmp/packages_end.txt [2022-11-30T21:35:25.207Z] + case "${OS_FAMILY}" in [2022-11-30T21:35:25.207Z] + dpkg -l [2022-11-30T21:35:25.207Z] + grep '^ii' [2022-11-30T21:35:25.207Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-30T21:35:25.207Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-30T21:35:25.207Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-30T21:35:25.207Z] + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' [2022-11-30T21:35:25.207Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-115/archives/ [2022-11-30T21:35:25.207Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-115/archives/ [Pipeline] echo [2022-11-30T21:35:25.217Z] 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-115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-30T21:35:25.493Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-30T21:35:26.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-30T21:35:26.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-30T21:35:26.116Z] prd-ubuntu20.04-docker-8c-8g-120152 does not seem to be running inside a container [2022-11-30T21:35:26.152Z] $ 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-115/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-115 -v /w/workspace/foundry_device-usb-camera_PR-115:/w/workspace/foundry_device-usb-camera_PR-115:rw,z -v /w/workspace/foundry_device-usb-camera_PR-115@tmp:/w/workspace/foundry_device-usb-camera_PR-115@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-11-30T21:35:26.421Z] $ docker top d70747311af17d5a8168a73032a3acc6946c9f90c3576f4d9f0475a2ff1a432f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-30T21:35:26.761Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-30T21:35:27.049Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-30T21:35:27.331Z] + ls /var/log/sa-host [2022-11-30T21:35:27.331Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-30T21:35:27.492Z] provisioning config files... [2022-11-30T21:35:27.500Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config6424013617337974864tmp [Pipeline] { [Pipeline] echo [2022-11-30T21:35:27.511Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:35:27.792Z] ---> create-netrc.sh [Pipeline] } [2022-11-30T21:35:27.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:35:28.131Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-30T21:35:28.140Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:35:28.424Z] ---> sudo-logs.sh [2022-11-30T21:35:28.424Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-30T21:35:28.443Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:35:28.726Z] ---> job-cost.sh [2022-11-30T21:35:28.726Z] lf-activate-venv: SKIPPING [2022-11-30T21:35:28.726Z] DEBUG: total: 0.2199999988079071 [2022-11-30T21:35:28.726Z] INFO: Retrieving Stack Cost... [2022-11-30T21:35:28.985Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-30T21:35:29.552Z] INFO: Archiving Costs [Pipeline] echo [2022-11-30T21:35:29.563Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-30T21:35:29.844Z] ---> logs-deploy.sh [2022-11-30T21:35:29.844Z] lf-activate-venv: SKIPPING [2022-11-30T21:35:29.844Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-115/16 [2022-11-30T21:35:29.844Z] INFO: archiving workspace using pattern(s): [2022-11-30T21:35:30.784Z] Archives upload complete. [2022-11-30T21:35:30.784Z] INFO: archiving logs to Nexus