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 3025751017d2f9761710310eb1a4c0ba0670a5fa 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-ssh12099142671285241362.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-ssh17466392188159170598.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-ssh2982051932379486546.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-ssh12486508297845622651.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-ssh5610887243472958824.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-120369 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 Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 3025751017d2f9761710310eb1a4c0ba0670a5fa > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 3025751017d2f9761710310eb1a4c0ba0670a5fa # timeout=10 Merge succeeded, producing 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef Checking out Revision 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef (PR-115) > 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 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef # timeout=10 Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 8b384a14b72fc54eca9abb0ade94f6b32cbb2e1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-01T23:35:00.517Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-01T23:35:00.653Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-01T23:35:00.669Z] ========================================================= [2022-12-01T23:35:00.669Z] EdgeX Global Pipelines Version Info [2022-12-01T23:35:00.669Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:35:01.394Z] ------------------- [2022-12-01T23:35:01.394Z] stable info: [2022-12-01T23:35:01.394Z] ------------------- [2022-12-01T23:35:01.394Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-01T23:35:01.394Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-01T23:35:01.394Z] Message: update stable to v1.0.244 [2022-12-01T23:35:01.967Z] ------------------- [2022-12-01T23:35:01.967Z] experimental info: [2022-12-01T23:35:01.967Z] ------------------- [2022-12-01T23:35:01.967Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-01T23:35:01.967Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-01T23:35:01.967Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-01T23:35:02.136Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-12-01T23:35:02.146Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-12-01T23:35:02.157Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-01T23:35:02.168Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-01T23:35:02.180Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-01T23:35:02.191Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-01T23:35:02.202Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-01T23:35:02.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-01T23:35:02.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-01T23:35:02.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-01T23:35:02.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-01T23:35:02.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-12-01T23:35:02.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-01T23:35:02.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-01T23:35:02.279Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-01T23:35:02.287Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-01T23:35:02.295Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-01T23:35:02.303Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-01T23:35:02.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-01T23:35:02.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-01T23:35:02.328Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-01T23:35:02.336Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-01T23:35:02.344Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-01T23:35:02.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-01T23:35:02.360Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-01T23:35:02.368Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-01T23:35:02.376Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-01T23:35:02.385Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo [2022-12-01T23:35:02.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo [2022-12-01T23:35:02.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo [2022-12-01T23:35:02.423Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef [Pipeline] echo [2022-12-01T23:35:02.434Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65639c9 [Pipeline] echo [2022-12-01T23:35:02.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-01T23:35:02.483Z] provisioning config files... [2022-12-01T23:35:02.497Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config3552971277463784803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:35:02.795Z] ---> docker-login.sh [2022-12-01T23:35:02.795Z] nexus3.edgexfoundry.org:10001 [2022-12-01T23:35:03.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:03.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:03.315Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:03.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:03.315Z] [2022-12-01T23:35:03.315Z] Login Succeeded [2022-12-01T23:35:03.315Z] nexus3.edgexfoundry.org:10002 [2022-12-01T23:35:03.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:03.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:03.575Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:03.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:03.575Z] [2022-12-01T23:35:03.575Z] Login Succeeded [2022-12-01T23:35:03.575Z] nexus3.edgexfoundry.org:10003 [2022-12-01T23:35:03.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:03.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:03.575Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:03.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:03.575Z] [2022-12-01T23:35:03.575Z] Login Succeeded [2022-12-01T23:35:03.575Z] nexus3.edgexfoundry.org:10004 [2022-12-01T23:35:03.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:03.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:03.835Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:03.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:03.835Z] [2022-12-01T23:35:03.835Z] Login Succeeded [2022-12-01T23:35:03.835Z] docker.io [2022-12-01T23:35:03.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:04.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:04.095Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:04.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:04.095Z] [2022-12-01T23:35:04.095Z] Login Succeeded [2022-12-01T23:35:04.095Z] ---> docker-login.sh ends [Pipeline] } [2022-12-01T23:35:04.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-01T23:35:04.482Z] + git rev-list -1 --merges 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef~1..65639c945fb3469131c6d4f07b9aeb8d0d0dfeef [Pipeline] echo [2022-12-01T23:35:04.511Z] -----------> git rev-list -1 --merges 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef~1..65639c945fb3469131c6d4f07b9aeb8d0d0dfeef 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef [2022-12-01T23:35:04.511Z] 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef [false] [Pipeline] sh [2022-12-01T23:35:04.795Z] + git log --format=format:%s -1 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef [Pipeline] echo [2022-12-01T23:35:04.810Z] ========================================================= [2022-12-01T23:35:04.810Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-01T23:35:04.810Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-01T23:35:05.146Z] + git log --format=format:%s -1 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef [Pipeline] echo [2022-12-01T23:35:05.157Z] [semverPrep] GIT_COMMIT: 65639c945fb3469131c6d4f07b9aeb8d0d0dfeef, Commit Message: Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD [Pipeline] echo [2022-12-01T23:35:05.165Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-01T23:35:05.523Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-01T23:35:05.523Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-01T23:35:05.523Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-01T23:35:05.523Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-01T23:35:05.523Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-01T23:35:05.523Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-01T23:35:05.523Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:35:05.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-01T23:35:05.934Z] [2022-12-01T23:35:05.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:35:06.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-01T23:35:06.233Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-01T23:35:06.233Z] b85a868b505f: Pulling fs layer [2022-12-01T23:35:06.233Z] e2be974225ed: Pulling fs layer [2022-12-01T23:35:06.233Z] 339a4e72a1f5: Pulling fs layer [2022-12-01T23:35:06.233Z] 988bab9f4d93: Pulling fs layer [2022-12-01T23:35:06.233Z] 1469e6f7b9e6: Pulling fs layer [2022-12-01T23:35:06.233Z] eaf3925da568: Pulling fs layer [2022-12-01T23:35:06.233Z] bab4dde63d76: Pulling fs layer [2022-12-01T23:35:06.233Z] bde34c3a00c8: Pulling fs layer [2022-12-01T23:35:06.233Z] b352a97aabf1: Pulling fs layer [2022-12-01T23:35:06.233Z] 4872d77fe225: Pulling fs layer [2022-12-01T23:35:06.233Z] 5851b861e8e6: Pulling fs layer [2022-12-01T23:35:06.233Z] bde34c3a00c8: Waiting [2022-12-01T23:35:06.233Z] b352a97aabf1: Waiting [2022-12-01T23:35:06.233Z] 4872d77fe225: Waiting [2022-12-01T23:35:06.233Z] 5851b861e8e6: Waiting [2022-12-01T23:35:06.233Z] 1469e6f7b9e6: Waiting [2022-12-01T23:35:06.233Z] bab4dde63d76: Waiting [2022-12-01T23:35:06.233Z] eaf3925da568: Waiting [2022-12-01T23:35:06.233Z] 988bab9f4d93: Waiting [2022-12-01T23:35:06.233Z] e2be974225ed: Download complete [2022-12-01T23:35:06.233Z] 988bab9f4d93: Verifying Checksum [2022-12-01T23:35:06.233Z] 988bab9f4d93: Download complete [2022-12-01T23:35:06.499Z] 1469e6f7b9e6: Verifying Checksum [2022-12-01T23:35:06.499Z] 1469e6f7b9e6: Download complete [2022-12-01T23:35:06.499Z] eaf3925da568: Download complete [2022-12-01T23:35:06.499Z] 339a4e72a1f5: Verifying Checksum [2022-12-01T23:35:06.499Z] 339a4e72a1f5: Download complete [2022-12-01T23:35:06.499Z] bde34c3a00c8: Verifying Checksum [2022-12-01T23:35:06.499Z] bde34c3a00c8: Download complete [2022-12-01T23:35:06.499Z] b352a97aabf1: Verifying Checksum [2022-12-01T23:35:06.499Z] b352a97aabf1: Download complete [2022-12-01T23:35:06.499Z] 4872d77fe225: Verifying Checksum [2022-12-01T23:35:06.499Z] 4872d77fe225: Download complete [2022-12-01T23:35:06.500Z] 5851b861e8e6: Verifying Checksum [2022-12-01T23:35:06.500Z] 5851b861e8e6: Download complete [2022-12-01T23:35:06.500Z] b85a868b505f: Verifying Checksum [2022-12-01T23:35:06.500Z] b85a868b505f: Download complete [2022-12-01T23:35:07.073Z] bab4dde63d76: Verifying Checksum [2022-12-01T23:35:07.073Z] bab4dde63d76: Download complete [2022-12-01T23:35:08.011Z] b85a868b505f: Pull complete [2022-12-01T23:35:08.011Z] e2be974225ed: Pull complete [2022-12-01T23:35:08.598Z] 339a4e72a1f5: Pull complete [2022-12-01T23:35:08.598Z] 988bab9f4d93: Pull complete [2022-12-01T23:35:08.857Z] 1469e6f7b9e6: Pull complete [2022-12-01T23:35:09.115Z] eaf3925da568: Pull complete [2022-12-01T23:35:11.026Z] bab4dde63d76: Pull complete [2022-12-01T23:35:11.026Z] bde34c3a00c8: Pull complete [2022-12-01T23:35:11.286Z] b352a97aabf1: Pull complete [2022-12-01T23:35:11.286Z] 4872d77fe225: Pull complete [2022-12-01T23:35:11.545Z] 5851b861e8e6: Pull complete [2022-12-01T23:35:11.545Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-01T23:35:11.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-01T23:35:11.545Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T23:35:11.630Z] prd-ubuntu20.04-docker-8c-8g-120369 does not seem to be running inside a container [2022-12-01T23:35:11.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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-01T23:35:14.978Z] $ docker top e9757bd3cd41dc1670eb72b9a38cacc18828df3a22411ef1503d306b1da1ae02 -eo pid,comm [2022-12-01T23:35:15.041Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-12-01T23:35:15.041Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-01T23:35:15.078Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-01T23:35:15.078Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-01T23:35:15.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-01T23:35:15.210Z] $ docker exec e9757bd3cd41dc1670eb72b9a38cacc18828df3a22411ef1503d306b1da1ae02 ssh-agent [2022-12-01T23:35:15.327Z] SSH_AUTH_SOCK=/tmp/ssh-4haRu2Dc61OY/agent.32 [2022-12-01T23:35:15.327Z] SSH_AGENT_PID=38 [2022-12-01T23:35:15.333Z] Running ssh-add (command line suppressed) [2022-12-01T23:35:15.444Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_9356005805255099369.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_9356005805255099369.key) [2022-12-01T23:35:15.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-01T23:35:15.743Z] + git tag --points-at HEAD [Pipeline] } [2022-12-01T23:35:15.786Z] $ docker exec --env ******** --env ******** e9757bd3cd41dc1670eb72b9a38cacc18828df3a22411ef1503d306b1da1ae02 ssh-agent -k [2022-12-01T23:35:15.869Z] unset SSH_AUTH_SOCK; [2022-12-01T23:35:15.869Z] unset SSH_AGENT_PID; [2022-12-01T23:35:15.869Z] echo Agent pid 38 killed; [2022-12-01T23:35:15.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-01T23:35:15.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-01T23:35:15.908Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-01T23:35:16.017Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-01T23:35:16.022Z] $ docker exec e9757bd3cd41dc1670eb72b9a38cacc18828df3a22411ef1503d306b1da1ae02 ssh-agent [2022-12-01T23:35:16.126Z] SSH_AUTH_SOCK=/tmp/ssh-VlsbETwtsT3u/agent.70 [2022-12-01T23:35:16.126Z] SSH_AGENT_PID=76 [2022-12-01T23:35:16.131Z] Running ssh-add (command line suppressed) [2022-12-01T23:35:16.235Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_10898032403460794425.key (/w/workspace/foundry_device-usb-camera_PR-115@tmp/private_key_10898032403460794425.key) [2022-12-01T23:35:16.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-01T23:35:16.532Z] + git semver init [2022-12-01T23:35:16.792Z] 2022-12-01 23:35:16,701 [run_init] DEBUG init version:0.0.0 force:False [2022-12-01T23:35:16.792Z] 2022-12-01 23:35:16,702 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-115/.semver [2022-12-01T23:35:16.792Z] 2022-12-01 23:35:16,703 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-115/.semver [2022-12-01T23:35:16.792Z] 2022-12-01 23:35:16,703 [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-12-01T23:35:17.731Z] 2022-12-01 23:35:17,413 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-115/.git/info/exclude [2022-12-01T23:35:17.731Z] 2022-12-01 23:35:17,414 [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-12-01T23:35:17.731Z] 2022-12-01 23:35:17,414 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 [2022-12-01T23:35:17.731Z] 2022-12-01 23:35:17,419 [execute] INFO git cat-file --batch-check [2022-12-01T23:35:17.731Z] 2022-12-01 23:35:17,419 [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-12-01T23:35:17.731Z] 2022-12-01 23:35:17,427 [execute] INFO git cat-file --batch [2022-12-01T23:35:17.731Z] 2022-12-01 23:35:17,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2022-12-01T23:35:17.731Z] 2022-12-01 23:35:17,432 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-115/.semver/PR-115 [2022-12-01T23:35:17.731Z] 0.0.0 [Pipeline] } [2022-12-01T23:35:17.744Z] $ docker exec --env ******** --env ******** e9757bd3cd41dc1670eb72b9a38cacc18828df3a22411ef1503d306b1da1ae02 ssh-agent -k [2022-12-01T23:35:17.842Z] unset SSH_AUTH_SOCK; [2022-12-01T23:35:17.842Z] unset SSH_AGENT_PID; [2022-12-01T23:35:17.843Z] echo Agent pid 76 killed; [2022-12-01T23:35:17.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-01T23:35:18.148Z] + git semver [Pipeline] } [2022-12-01T23:35:18.424Z] $ docker stop --time=1 e9757bd3cd41dc1670eb72b9a38cacc18828df3a22411ef1503d306b1da1ae02 [2022-12-01T23:35:19.701Z] $ docker rm -f e9757bd3cd41dc1670eb72b9a38cacc18828df3a22411ef1503d306b1da1ae02 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-01T23:35:20.033Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-01T23:35:20.222Z] Stashed 1 file(s) [Pipeline] echo [2022-12-01T23:35:20.225Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-01T23:35:20.382Z] provisioning config files... [2022-12-01T23:35:20.391Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config17902952821441663767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:35:20.689Z] ---> docker-login.sh [2022-12-01T23:35:20.689Z] nexus3.edgexfoundry.org:10001 [2022-12-01T23:35:20.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:20.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:20.689Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:20.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:20.689Z] [2022-12-01T23:35:20.689Z] Login Succeeded [2022-12-01T23:35:20.689Z] nexus3.edgexfoundry.org:10002 [2022-12-01T23:35:20.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:20.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:20.689Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:20.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:20.689Z] [2022-12-01T23:35:20.689Z] Login Succeeded [2022-12-01T23:35:20.689Z] nexus3.edgexfoundry.org:10003 [2022-12-01T23:35:20.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:20.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:20.949Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:20.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:20.949Z] [2022-12-01T23:35:20.949Z] Login Succeeded [2022-12-01T23:35:20.949Z] nexus3.edgexfoundry.org:10004 [2022-12-01T23:35:20.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:20.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:20.949Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:20.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:20.949Z] [2022-12-01T23:35:20.949Z] Login Succeeded [2022-12-01T23:35:20.949Z] docker.io [2022-12-01T23:35:21.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:35:21.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:35:21.208Z] Configure a credential helper to remove this warning. See [2022-12-01T23:35:21.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:35:21.208Z] [2022-12-01T23:35:21.208Z] Login Succeeded [2022-12-01T23:35:21.208Z] ---> docker-login.sh ends [Pipeline] } [2022-12-01T23:35:21.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-01T23:35:21.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-01T23:35:21.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-01T23:35:21.311Z] ========================================================= [2022-12-01T23:35:21.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-01T23:35:21.311Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:35:21.635Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-01T23:35:21.635Z] Sending build context to Docker daemon 1.673MB [2022-12-01T23:35:21.635Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-01T23:35:21.635Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-01T23:35:21.635Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-01T23:35:21.635Z] 213ec9aee27d: Pulling fs layer [2022-12-01T23:35:21.635Z] 4583459ba037: Pulling fs layer [2022-12-01T23:35:21.635Z] 93c1e223e6f2: Pulling fs layer [2022-12-01T23:35:21.635Z] 53926ce57604: Pulling fs layer [2022-12-01T23:35:21.635Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-01T23:35:21.635Z] 22ff95d597cd: Pulling fs layer [2022-12-01T23:35:21.635Z] 12d6caf4c0d1: Pulling fs layer [2022-12-01T23:35:21.635Z] 96b7cbca73a9: Pulling fs layer [2022-12-01T23:35:21.635Z] a7acece74701: Pulling fs layer [2022-12-01T23:35:21.635Z] 96b7cbca73a9: Waiting [2022-12-01T23:35:21.635Z] 22ff95d597cd: Waiting [2022-12-01T23:35:21.635Z] a7acece74701: Waiting [2022-12-01T23:35:21.635Z] 12d6caf4c0d1: Waiting [2022-12-01T23:35:21.635Z] 53926ce57604: Waiting [2022-12-01T23:35:21.635Z] 21b2b0c7a3f4: Waiting [2022-12-01T23:35:21.635Z] 93c1e223e6f2: Verifying Checksum [2022-12-01T23:35:21.635Z] 93c1e223e6f2: Download complete [2022-12-01T23:35:21.635Z] 4583459ba037: Download complete [2022-12-01T23:35:21.635Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-01T23:35:21.635Z] 21b2b0c7a3f4: Download complete [2022-12-01T23:35:21.635Z] 22ff95d597cd: Verifying Checksum [2022-12-01T23:35:21.635Z] 22ff95d597cd: Download complete [2022-12-01T23:35:21.900Z] 213ec9aee27d: Verifying Checksum [2022-12-01T23:35:21.900Z] 213ec9aee27d: Download complete [2022-12-01T23:35:21.900Z] 12d6caf4c0d1: Verifying Checksum [2022-12-01T23:35:21.900Z] 12d6caf4c0d1: Download complete [2022-12-01T23:35:21.900Z] 213ec9aee27d: Pull complete [2022-12-01T23:35:22.167Z] 4583459ba037: Pull complete [2022-12-01T23:35:22.167Z] 93c1e223e6f2: Pull complete [2022-12-01T23:35:22.440Z] a7acece74701: Verifying Checksum [2022-12-01T23:35:22.440Z] a7acece74701: Download complete [2022-12-01T23:35:22.704Z] 53926ce57604: Verifying Checksum [2022-12-01T23:35:22.704Z] 53926ce57604: Download complete [2022-12-01T23:35:22.704Z] 96b7cbca73a9: Verifying Checksum [2022-12-01T23:35:22.704Z] 96b7cbca73a9: Download complete [2022-12-01T23:35:26.890Z] 53926ce57604: Pull complete [2022-12-01T23:35:26.890Z] 21b2b0c7a3f4: Pull complete [2022-12-01T23:35:26.890Z] 22ff95d597cd: Pull complete [2022-12-01T23:35:26.890Z] 12d6caf4c0d1: Pull complete [2022-12-01T23:35:28.792Z] 96b7cbca73a9: Pull complete [2022-12-01T23:35:29.358Z] a7acece74701: Pull complete [2022-12-01T23:35:29.358Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-01T23:35:29.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-01T23:35:29.358Z] ---> db6d94c90886 [2022-12-01T23:35:29.358Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-01T23:35:35.336Z] Still waiting to schedule task [2022-12-01T23:35:35.336Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-01T23:35:36.002Z] ---> Running in 3760695a6642 [2022-12-01T23:35:36.261Z] Removing intermediate container 3760695a6642 [2022-12-01T23:35:36.261Z] ---> c5684ecbc809 [2022-12-01T23:35:36.261Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-01T23:35:36.519Z] ---> Running in a359af7fb4eb [2022-12-01T23:35:36.778Z] Removing intermediate container a359af7fb4eb [2022-12-01T23:35:36.778Z] ---> 90bfebadb16a [2022-12-01T23:35:36.778Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-01T23:35:36.778Z] ---> Running in 8fe1e62a5e68 [2022-12-01T23:35:37.040Z] Removing intermediate container 8fe1e62a5e68 [2022-12-01T23:35:37.040Z] ---> 435e20c82c0b [2022-12-01T23:35:37.040Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-01T23:35:37.040Z] ---> Running in 579699ee0921 [2022-12-01T23:35:37.040Z] Removing intermediate container 579699ee0921 [2022-12-01T23:35:37.040Z] ---> a0879d478c65 [2022-12-01T23:35:37.040Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-01T23:35:37.040Z] ---> Running in c7710d0350d1 [2022-12-01T23:35:37.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-01T23:35:37.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-01T23:35:37.867Z] (1/80) Installing mesa (21.3.8-r2) [2022-12-01T23:35:37.867Z] (2/80) Installing libxau (1.0.9-r0) [2022-12-01T23:35:37.867Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-12-01T23:35:37.867Z] (4/80) Installing libxcb (1.15-r0) [2022-12-01T23:35:37.867Z] (5/80) Installing libx11 (1.8-r0) [2022-12-01T23:35:37.867Z] (6/80) Installing libxext (1.3.4-r0) [2022-12-01T23:35:37.867Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-12-01T23:35:37.867Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-12-01T23:35:37.867Z] (9/80) Installing libpciaccess (0.16-r0) [2022-12-01T23:35:37.867Z] (10/80) Installing libdrm (2.4.110-r0) [2022-12-01T23:35:37.867Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-12-01T23:35:37.867Z] (12/80) Installing libxshmfence (1.3-r1) [2022-12-01T23:35:37.867Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-12-01T23:35:37.867Z] (14/80) Installing icu-data-full (71.1-r2) [2022-12-01T23:35:38.126Z] (15/80) Installing libice (1.0.10-r0) [2022-12-01T23:35:38.126Z] (16/80) Installing libuuid (2.38-r1) [2022-12-01T23:35:38.126Z] (17/80) Installing libsm (1.2.3-r0) [2022-12-01T23:35:38.126Z] (18/80) Installing libxt (1.2.1-r0) [2022-12-01T23:35:38.126Z] (19/80) Installing libxmu (1.1.3-r0) [2022-12-01T23:35:38.126Z] (20/80) Installing xset (1.2.4-r0) [2022-12-01T23:35:38.126Z] (21/80) Installing xprop (1.2.5-r0) [2022-12-01T23:35:38.126Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-12-01T23:35:38.126Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-12-01T23:35:38.126Z] (24/80) Installing libffi (3.4.2-r1) [2022-12-01T23:35:38.126Z] (25/80) Installing libintl (0.21-r2) [2022-12-01T23:35:38.126Z] (26/80) Installing libblkid (2.38-r1) [2022-12-01T23:35:38.126Z] (27/80) Installing libmount (2.38-r1) [2022-12-01T23:35:38.126Z] (28/80) Installing pcre (8.45-r2) [2022-12-01T23:35:38.126Z] (29/80) Installing glib (2.72.1-r0) [2022-12-01T23:35:38.384Z] (30/80) Installing icu-libs (71.1-r2) [2022-12-01T23:35:38.384Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-12-01T23:35:38.384Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-12-01T23:35:38.384Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-12-01T23:35:38.385Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-12-01T23:35:38.385Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-12-01T23:35:38.385Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-12-01T23:35:38.385Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-12-01T23:35:38.385Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-12-01T23:35:38.643Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-12-01T23:35:38.643Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-12-01T23:35:38.643Z] (41/80) Installing libpng (1.6.37-r1) [2022-12-01T23:35:38.643Z] (42/80) Installing freetype (2.12.1-r0) [2022-12-01T23:35:38.643Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-12-01T23:35:38.643Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-12-01T23:35:38.643Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-12-01T23:35:38.643Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-12-01T23:35:38.643Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-12-01T23:35:38.643Z] (48/80) Installing libxml2 (2.9.14-r2) [2022-12-01T23:35:38.643Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-12-01T23:35:38.643Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-12-01T23:35:38.643Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-12-01T23:35:38.643Z] (52/80) Installing avahi-libs (0.8-r6) [2022-12-01T23:35:38.643Z] (53/80) Installing nettle (3.7.3-r0) [2022-12-01T23:35:38.643Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-12-01T23:35:38.643Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-12-01T23:35:38.643Z] (56/80) Installing libunistring (1.0-r0) [2022-12-01T23:35:38.643Z] (57/80) Installing gnutls (3.7.7-r0) [2022-12-01T23:35:38.903Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-12-01T23:35:38.903Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-12-01T23:35:38.903Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-12-01T23:35:38.903Z] (61/80) Installing libevdev (1.12.1-r0) [2022-12-01T23:35:38.903Z] (62/80) Installing mtdev (1.1.6-r0) [2022-12-01T23:35:38.903Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-12-01T23:35:38.903Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-12-01T23:35:38.903Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-12-01T23:35:38.903Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-12-01T23:35:38.903Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-12-01T23:35:38.903Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-12-01T23:35:38.903Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-12-01T23:35:38.903Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-12-01T23:35:38.903Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-12-01T23:35:39.161Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-12-01T23:35:39.161Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-12-01T23:35:39.161Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-12-01T23:35:39.161Z] (75/80) Installing udev-init-scripts (35-r0) [2022-12-01T23:35:39.161Z] Executing udev-init-scripts-35-r0.post-install [2022-12-01T23:35:39.161Z] (76/80) Installing kmod-libs (29-r2) [2022-12-01T23:35:39.161Z] (77/80) Installing eudev (3.2.11-r0) [2022-12-01T23:35:39.161Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-12-01T23:35:39.161Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-12-01T23:35:39.161Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-12-01T23:35:39.161Z] Executing busybox-1.35.0-r17.trigger [2022-12-01T23:35:39.161Z] Executing eudev-3.2.11-r0.trigger [2022-12-01T23:35:39.161Z] OK: 330 MiB in 131 packages [2022-12-01T23:35:43.356Z] Removing intermediate container c7710d0350d1 [2022-12-01T23:35:43.356Z] ---> b554d1730c9f [2022-12-01T23:35:43.356Z] Step 8/13 : WORKDIR /device-usb-camera [2022-12-01T23:35:43.356Z] ---> Running in 1b46deecc023 [2022-12-01T23:35:43.356Z] Removing intermediate container 1b46deecc023 [2022-12-01T23:35:43.356Z] ---> 1a777918b944 [2022-12-01T23:35:43.356Z] Step 9/13 : COPY go.mod vendor* ./ [2022-12-01T23:35:43.356Z] ---> 2f964ef355b2 [2022-12-01T23:35:43.356Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-01T23:35:43.356Z] ---> Running in 0c3b46509038 [2022-12-01T23:36:22.104Z] Removing intermediate container 0c3b46509038 [2022-12-01T23:36:22.104Z] ---> 5add1fe3fa26 [2022-12-01T23:36:22.104Z] Step 11/13 : COPY . . [2022-12-01T23:36:22.104Z] ---> efc9ab3ab488 [2022-12-01T23:36:22.104Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-01T23:36:22.104Z] ---> Running in d57fb999a311 [2022-12-01T23:36:22.104Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T23:36:22.104Z] Dload Upload Total Spent Left Speed [2022-12-01T23:36:22.104Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9857 0 --:--:-- --:--:-- --:--:-- 9925 [2022-12-01T23:36:22.104Z] Removing intermediate container d57fb999a311 [2022-12-01T23:36:22.104Z] ---> 6f3ecbc84f91 [2022-12-01T23:36:22.104Z] Step 13/13 : RUN ${MAKE} [2022-12-01T23:36:22.104Z] ---> Running in 476aa9276aca [2022-12-01T23:36:22.104Z] noop [2022-12-01T23:36:22.104Z] Removing intermediate container 476aa9276aca [2022-12-01T23:36:22.104Z] ---> 817568c34f41 [2022-12-01T23:36:22.104Z] Successfully built 817568c34f41 [2022-12-01T23:36:22.104Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:36:22.418Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-01T23:36:22.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T23:36:22.483Z] prd-ubuntu20.04-docker-8c-8g-120369 does not seem to be running inside a container [2022-12-01T23:36:22.515Z] $ 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 ******** ci-base-image-x86_64 cat [2022-12-01T23:36:22.914Z] $ docker top 27179c61e8a16caa980e8b947b585c5a42208166accd016d3c8f5886dd82739a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T23:36:23.258Z] + go version [2022-12-01T23:36:23.258Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-01T23:36:23.271Z] $ docker stop --time=1 27179c61e8a16caa980e8b947b585c5a42208166accd016d3c8f5886dd82739a [2022-12-01T23:36:24.546Z] $ docker rm -f 27179c61e8a16caa980e8b947b585c5a42208166accd016d3c8f5886dd82739a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:36:24.947Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-01T23:36:24.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T23:36:25.016Z] prd-ubuntu20.04-docker-8c-8g-120369 does not seem to be running inside a container [2022-12-01T23:36:25.048Z] $ 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 ******** ci-base-image-x86_64 cat [2022-12-01T23:36:25.372Z] $ docker top 5cda9b32cc2a75f880c4219c9a90eab28f25b58ea9782d3b9a597779e4bf7c8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T23:36:25.717Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] fileExists [Pipeline] sh [2022-12-01T23:36:26.004Z] + make test [2022-12-01T23:36:26.004Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-12-01T23:36:26.264Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-12-01T23:36:36.232Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-12-01T23:36:36.801Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements [2022-12-01T23:36:44.908Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-12-01T23:36:44.908Z] CGO_ENABLED=1 go vet ./... [2022-12-01T23:36:48.191Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-01T23:36:48.191Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-01T23:36:48.191Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-01T23:36:48.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-01T23:36:48.216Z] $ docker stop --time=1 5cda9b32cc2a75f880c4219c9a90eab28f25b58ea9782d3b9a597779e4bf7c8f [2022-12-01T23:36:50.987Z] $ docker rm -f 5cda9b32cc2a75f880c4219c9a90eab28f25b58ea9782d3b9a597779e4bf7c8f [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-01T23:36:51.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-01T23:36:51.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-01T23:36:51.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-01T23:36:52.230Z] + ls -al . [2022-12-01T23:36:52.230Z] total 200 [2022-12-01T23:36:52.230Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 1 23:36 . [2022-12-01T23:36:52.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 23:34 .. [2022-12-01T23:36:52.230Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 23:36 .git [2022-12-01T23:36:52.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 23:34 .github [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 414 Dec 1 23:34 .gitignore [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 1 23:34 .golangci.yml [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 77 Dec 1 23:34 .hadolint.yml [2022-12-01T23:36:52.230Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 1 23:35 .semver [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 9702 Dec 1 23:34 Attribution.txt [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 1206 Dec 1 23:34 CHANGELOG.md [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 2378 Dec 1 23:34 Dockerfile [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 1 23:34 GOVERNANCE.md [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 659 Dec 1 23:34 Jenkinsfile [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 1 23:34 LICENSE [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 2554 Dec 1 23:34 Makefile [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 1 23:34 OWNERS.md [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 5934 Dec 1 23:34 README.md [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 1 23:35 VERSION [2022-12-01T23:36:52.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 23:34 bin [2022-12-01T23:36:52.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 23:34 cmd [2022-12-01T23:36:52.230Z] -rw-r--r-- 1 jenkins jenkins 30072 Dec 1 23:36 coverage.out [2022-12-01T23:36:52.230Z] -rwxrwxr-x 1 jenkins jenkins 140 Dec 1 23:34 docker-entrypoint.sh [2022-12-01T23:36:52.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 23:34 docs [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 3573 Dec 1 23:34 go.mod [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 45026 Dec 1 23:34 go.sum [2022-12-01T23:36:52.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 23:34 internal [2022-12-01T23:36:52.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 23:34 snap [2022-12-01T23:36:52.230Z] -rw-rw-r-- 1 jenkins jenkins 231 Dec 1 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:36:52.525Z] + 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=65639c945fb3469131c6d4f07b9aeb8d0d0dfeef --label arch=amd64 --label version=0.0.0 . [2022-12-01T23:36:52.525Z] Sending build context to Docker daemon 1.703MB [2022-12-01T23:36:52.525Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-12-01T23:36:52.525Z] Step 2/35 : FROM ${BASE} AS builder [2022-12-01T23:36:52.525Z] ---> 817568c34f41 [2022-12-01T23:36:52.525Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-12-01T23:36:52.525Z] ---> Running in 294099bf2162 [2022-12-01T23:36:52.785Z] Removing intermediate container 294099bf2162 [2022-12-01T23:36:52.785Z] ---> 0ad53d40c3b1 [2022-12-01T23:36:52.785Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-01T23:36:52.785Z] ---> Running in 9682e204f62c [2022-12-01T23:36:52.785Z] Removing intermediate container 9682e204f62c [2022-12-01T23:36:52.785Z] ---> 7cf6b0277a29 [2022-12-01T23:36:52.785Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-01T23:36:52.785Z] ---> Running in 710f5cd5cbef [2022-12-01T23:36:52.785Z] Removing intermediate container 710f5cd5cbef [2022-12-01T23:36:52.785Z] ---> c4a7ae32daf9 [2022-12-01T23:36:52.785Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-01T23:36:53.043Z] ---> Running in 9b91fea688f2 [2022-12-01T23:36:53.043Z] Removing intermediate container 9b91fea688f2 [2022-12-01T23:36:53.043Z] ---> bf7983669b0c [2022-12-01T23:36:53.043Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-01T23:36:53.043Z] ---> Running in 411a70e5bac8 [2022-12-01T23:36:53.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-01T23:36:53.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-01T23:36:53.815Z] OK: 330 MiB in 131 packages [2022-12-01T23:36:54.074Z] Removing intermediate container 411a70e5bac8 [2022-12-01T23:36:54.074Z] ---> 9f04f46113b9 [2022-12-01T23:36:54.074Z] Step 8/35 : WORKDIR /device-usb-camera [2022-12-01T23:36:54.074Z] ---> Running in 237a830d6aa6 [2022-12-01T23:36:54.332Z] Removing intermediate container 237a830d6aa6 [2022-12-01T23:36:54.332Z] ---> 7f7e435caace [2022-12-01T23:36:54.332Z] Step 9/35 : COPY go.mod vendor* ./ [2022-12-01T23:36:54.332Z] ---> 9f4cd7dcb91c [2022-12-01T23:36:54.333Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-01T23:36:54.333Z] ---> Running in 5038d80ba058 [2022-12-01T23:36:55.265Z] Removing intermediate container 5038d80ba058 [2022-12-01T23:36:55.265Z] ---> cbce9f1ac92c [2022-12-01T23:36:55.265Z] Step 11/35 : COPY . . [2022-12-01T23:36:55.265Z] ---> 679fb74eff06 [2022-12-01T23:36:55.265Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-01T23:36:55.265Z] ---> Running in e52f849beda4 [2022-12-01T23:36:55.523Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T23:36:55.523Z]   Dload Upload Total Spent Left Speed [2022-12-01T23:36:55.781Z] 0 0 0 0  0 0  0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 37568 0 --:--:-- --:--:-- --:--:-- 37928 [2022-12-01T23:36:56.039Z] Removing intermediate container e52f849beda4 [2022-12-01T23:36:56.039Z] ---> 48badcc43d8a [2022-12-01T23:36:56.039Z] Step 13/35 : RUN ${MAKE} [2022-12-01T23:36:56.039Z] ---> Running in a5ed2b8f28b0 [2022-12-01T23:36:56.297Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-12-01T23:37:03.721Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-120370 in /w/workspace/foundry_device-usb-camera_PR-115 [Pipeline] { [Pipeline] ws [2022-12-01T23:37:03.734Z] Running in /w/workspace/device-usb-camera/22 [Pipeline] { [Pipeline] checkout [2022-12-01T23:37:03.764Z] Selected Git installation does not exist. Using Default [2022-12-01T23:37:03.764Z] The recommended git tool is: NONE [2022-12-01T23:37:08.592Z] using credential edgex-jenkins-ssh [2022-12-01T23:37:08.608Z] Cloning the remote Git repository [2022-12-01T23:37:08.655Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-12-01T23:37:08.724Z] > git init /w/workspace/device-usb-camera/22 # timeout=10 [2022-12-01T23:37:08.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-12-01T23:37:08.860Z] > git --version # timeout=10 [2022-12-01T23:37:08.892Z] > git --version # 'git version 2.25.1' [2022-12-01T23:37:08.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-01T23:37:08.936Z] Verifying host key using known hosts file [2022-12-01T23:37:09.115Z] 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-12-01T23:37:09.127Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-01T23:37:10.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-12-01T23:37:10.705Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-01T23:37:12.157Z] Merging remotes/origin/main commit a13c0d85fe61587dda65b2f8a27bf555b431ec25 into PR head commit 3025751017d2f9761710310eb1a4c0ba0670a5fa [2022-12-01T23:37:11.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-12-01T23:37:11.533Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-12-01T23:37:11.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-01T23:37:11.539Z] Verifying host key using known hosts file [2022-12-01T23:37:11.545Z] 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-12-01T23:37:11.559Z] > 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-12-01T23:37:12.175Z] > git config core.sparsecheckout # timeout=10 [2022-12-01T23:37:12.197Z] > git checkout -f 3025751017d2f9761710310eb1a4c0ba0670a5fa # timeout=10 [2022-12-01T23:37:12.287Z] > git remote # timeout=10 [2022-12-01T23:37:12.306Z] > git config --get remote.origin.url # timeout=10 [2022-12-01T23:37:12.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-01T23:37:12.338Z] Verifying host key using known hosts file [2022-12-01T23:37:12.341Z] 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-12-01T23:37:12.352Z] > git merge a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 [2022-12-01T23:37:12.423Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-01T23:37:12.450Z] Merge succeeded, producing 862fd16fe1505abb6901f4b16c29b07d190abde1 [2022-12-01T23:37:12.451Z] Checking out Revision 862fd16fe1505abb6901f4b16c29b07d190abde1 (PR-115) [2022-12-01T23:37:12.459Z] > git config core.sparsecheckout # timeout=10 [2022-12-01T23:37:12.474Z] > git checkout -f 862fd16fe1505abb6901f4b16c29b07d190abde1 # timeout=10 [2022-12-01T23:37:15.961Z] Commit message: "Merge commit 'a13c0d85fe61587dda65b2f8a27bf555b431ec25' into HEAD" [2022-12-01T23:37:15.988Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-01T23:37:16.788Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-01T23:37:16.788Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T23:37:16.788Z] Dload Upload Total Spent Left Speed [2022-12-01T23:37:16.788Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91733 [2022-12-01T23:37:15.972Z] > git rev-list --no-walk 8b384a14b72fc54eca9abb0ade94f6b32cbb2e1b # timeout=10 [Pipeline] sh [2022-12-01T23:37:17.461Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-01T23:37:17.783Z] + sudo tee /etc/docker/daemon.new [2022-12-01T23:37:17.783Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-01T23:37:17.783Z] { [2022-12-01T23:37:17.783Z] "registry-mirrors": [ [2022-12-01T23:37:17.783Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-01T23:37:17.783Z] ], [2022-12-01T23:37:17.783Z] "bip": "10.250.0.254/24", [2022-12-01T23:37:17.783Z] "hosts": [ [2022-12-01T23:37:17.783Z] "tcp://0.0.0.0:5555", [2022-12-01T23:37:17.783Z] "unix:///var/run/docker.sock" [2022-12-01T23:37:17.783Z] ], [2022-12-01T23:37:17.783Z] "mtu": 1458, [2022-12-01T23:37:17.783Z] "selinux-enabled": true, [2022-12-01T23:37:17.783Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-01T23:37:17.783Z] } [Pipeline] sh [2022-12-01T23:37:18.102Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-01T23:37:18.433Z] + sudo service docker restart [2022-12-01T23:37:22.841Z] Removing intermediate container a5ed2b8f28b0 [2022-12-01T23:37:22.841Z] ---> 116aa2cb7f98 [2022-12-01T23:37:22.841Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-12-01T23:37:22.841Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-12-01T23:37:22.841Z] af6660deedbd: Pulling fs layer [2022-12-01T23:37:22.841Z] 97cd0a44c592: Pulling fs layer [2022-12-01T23:37:22.841Z] 97cd0a44c592: Verifying Checksum [2022-12-01T23:37:22.841Z] 97cd0a44c592: Download complete [2022-12-01T23:37:22.841Z] af6660deedbd: Verifying Checksum [2022-12-01T23:37:22.841Z] af6660deedbd: Download complete [2022-12-01T23:37:22.841Z] af6660deedbd: Pull complete [2022-12-01T23:37:22.841Z] 97cd0a44c592: Pull complete [2022-12-01T23:37:22.841Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-12-01T23:37:22.841Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-12-01T23:37:22.841Z] ---> fea57e182299 [2022-12-01T23:37:22.841Z] Step 15/35 : FROM alpine:3.16 [2022-12-01T23:37:22.841Z] 3.16: Pulling from library/alpine [2022-12-01T23:37:22.841Z] ca7dd9ec2225: Pulling fs layer [2022-12-01T23:37:22.841Z] ca7dd9ec2225: Verifying Checksum [2022-12-01T23:37:22.841Z] ca7dd9ec2225: Download complete [2022-12-01T23:37:22.841Z] ca7dd9ec2225: Pull complete [2022-12-01T23:37:22.841Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-01T23:37:22.841Z] Status: Downloaded newer image for alpine:3.16 [2022-12-01T23:37:22.841Z] ---> bfe296a52501 [2022-12-01T23:37:22.841Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-01T23:37:22.841Z] ---> Running in 3ab5c8e5714d [2022-12-01T23:37:22.841Z] Removing intermediate container 3ab5c8e5714d [2022-12-01T23:37:22.841Z] ---> de271b91bb60 [2022-12-01T23:37:22.841Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-12-01T23:37:22.841Z] ---> Running in dacabd2adb35 [2022-12-01T23:37:22.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-01T23:37:22.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-01T23:37:23.101Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-12-01T23:37:23.101Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-12-01T23:37:23.101Z] (3/83) Installing libxau (1.0.9-r0) [2022-12-01T23:37:23.101Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-12-01T23:37:23.101Z] (5/83) Installing libxcb (1.15-r0) [2022-12-01T23:37:23.101Z] (6/83) Installing libx11 (1.8-r0) [2022-12-01T23:37:23.101Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-12-01T23:37:23.101Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-12-01T23:37:23.101Z] (9/83) Installing expat (2.5.0-r0) [2022-12-01T23:37:23.101Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-12-01T23:37:23.101Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-12-01T23:37:23.101Z] (12/83) Installing libpng (1.6.37-r1) [2022-12-01T23:37:23.101Z] (13/83) Installing freetype (2.12.1-r0) [2022-12-01T23:37:23.101Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-12-01T23:37:23.101Z] (15/83) Installing fribidi (1.0.12-r0) [2022-12-01T23:37:23.359Z] (16/83) Installing libffi (3.4.2-r1) [2022-12-01T23:37:23.359Z] (17/83) Installing libintl (0.21-r2) [2022-12-01T23:37:23.359Z] (18/83) Installing libblkid (2.38-r1) [2022-12-01T23:37:23.359Z] (19/83) Installing libmount (2.38-r1) [2022-12-01T23:37:23.359Z] (20/83) Installing pcre (8.45-r2) [2022-12-01T23:37:23.359Z] (21/83) Installing glib (2.72.1-r0) [2022-12-01T23:37:23.359Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-12-01T23:37:23.359Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-12-01T23:37:23.359Z] (24/83) Installing libass (0.16.0-r0) [2022-12-01T23:37:23.359Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-12-01T23:37:23.359Z] (26/83) Installing libpciaccess (0.16-r0) [2022-12-01T23:37:23.359Z] (27/83) Installing libdrm (2.4.110-r0) [2022-12-01T23:37:23.359Z] (28/83) Installing gmp (6.2.1-r2) [2022-12-01T23:37:23.359Z] (29/83) Installing nettle (3.7.3-r0) [2022-12-01T23:37:23.359Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-12-01T23:37:23.359Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-12-01T23:37:23.359Z] (32/83) Installing libunistring (1.0-r0) [2022-12-01T23:37:23.359Z] (33/83) Installing gnutls (3.7.7-r0) [2022-12-01T23:37:23.359Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-01T23:37:23.359Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-01T23:37:23.359Z] (36/83) Installing lame (3.100-r0) [2022-12-01T23:37:23.359Z] (37/83) Installing opus (1.3.1-r1) [2022-12-01T23:37:23.359Z] (38/83) Installing libasyncns (0.8-r1) [2022-12-01T23:37:23.359Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-12-01T23:37:23.359Z] (40/83) Installing libltdl (2.4.7-r0) [2022-12-01T23:37:23.618Z] (41/83) Installing orc (0.4.32-r0) [2022-12-01T23:37:23.618Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-12-01T23:37:23.618Z] (43/83) Installing libogg (1.3.5-r1) [2022-12-01T23:37:23.618Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-01T23:37:23.618Z] (45/83) Installing flac (1.3.4-r0) [2022-12-01T23:37:23.618Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-12-01T23:37:23.618Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-12-01T23:37:23.618Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-12-01T23:37:23.618Z] (49/83) Installing soxr (0.1.3-r2) [2022-12-01T23:37:23.618Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-12-01T23:37:23.618Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-12-01T23:37:23.618Z] (52/83) Installing libpulse (15.0-r2) [2022-12-01T23:37:23.618Z] (53/83) Installing cjson (1.7.15-r3) [2022-12-01T23:37:23.618Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-12-01T23:37:23.618Z] (55/83) Installing librist (0.2.6-r1) [2022-12-01T23:37:23.618Z] (56/83) Installing libsrt (1.4.4-r0) [2022-12-01T23:37:23.618Z] (57/83) Installing libssh (0.9.6-r1) [2022-12-01T23:37:23.618Z] (58/83) Installing libtheora (1.1.1-r16) [2022-12-01T23:37:23.618Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-12-01T23:37:23.618Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-12-01T23:37:23.618Z] (61/83) Installing libxext (1.3.4-r0) [2022-12-01T23:37:23.877Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-12-01T23:37:23.877Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-12-01T23:37:23.877Z] (64/83) Installing libva (2.14.0-r0) [2022-12-01T23:37:23.877Z] (65/83) Installing libvdpau (1.5-r0) [2022-12-01T23:37:23.877Z] (66/83) Installing vidstab (1.1.0-r1) [2022-12-01T23:37:23.877Z] (67/83) Installing libvpx (1.11.0-r1) [2022-12-01T23:37:23.877Z] (68/83) Installing libwebp (1.2.3-r0) [2022-12-01T23:37:23.877Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-12-01T23:37:23.877Z] (70/83) Installing numactl (2.0.14-r0) [2022-12-01T23:37:23.877Z] (71/83) Installing x265-libs (3.5-r3) [2022-12-01T23:37:24.136Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-12-01T23:37:24.136Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-12-01T23:37:24.136Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-12-01T23:37:24.136Z] (75/83) Installing udev-init-scripts (35-r0) [2022-12-01T23:37:24.136Z] Executing udev-init-scripts-35-r0.post-install [2022-12-01T23:37:24.136Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-12-01T23:37:24.136Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-12-01T23:37:24.136Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-12-01T23:37:24.136Z] (79/83) Installing kmod-libs (29-r2) [2022-12-01T23:37:24.136Z] (80/83) Installing eudev (3.2.11-r0) [2022-12-01T23:37:24.136Z] (81/83) Installing libsodium (1.0.18-r0) [2022-12-01T23:37:24.394Z] (82/83) Installing libzmq (4.3.4-r0) [2022-12-01T23:37:24.394Z] (83/83) Installing zeromq (4.3.4-r0) [2022-12-01T23:37:24.394Z] Executing busybox-1.35.0-r17.trigger [2022-12-01T23:37:24.394Z] Executing eudev-3.2.11-r0.trigger [2022-12-01T23:37:24.394Z] OK: 101 MiB in 97 packages [2022-12-01T23:37:27.720Z] Removing intermediate container dacabd2adb35 [2022-12-01T23:37:27.720Z] ---> e1263dae46a4 [2022-12-01T23:37:27.720Z] Step 18/35 : WORKDIR / [2022-12-01T23:37:27.720Z] ---> Running in 53c27484dce3 [2022-12-01T23:37:27.720Z] Removing intermediate container 53c27484dce3 [2022-12-01T23:37:27.720Z] ---> a7b1805d89b4 [2022-12-01T23:37:27.720Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-12-01T23:37:28.303Z] ---> f4e880ccfcb0 [2022-12-01T23:37:28.303Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-12-01T23:37:28.303Z] ---> 59c61f03d2d2 [2022-12-01T23:37:28.303Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-12-01T23:37:28.561Z] ---> cd15acb78731 [2022-12-01T23:37:28.561Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-12-01T23:37:28.561Z] ---> f3cab35164c8 [2022-12-01T23:37:28.561Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-12-01T23:37:28.821Z] ---> c1920b2d27df [2022-12-01T23:37:28.821Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-12-01T23:37:28.821Z] ---> b98335ea5dfe [2022-12-01T23:37:28.821Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-12-01T23:37:29.759Z] ---> 9e6feb8e8871 [2022-12-01T23:37:29.759Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-12-01T23:37:29.759Z] ---> Running in a07196fa3a28 [2022-12-01T23:37:30.329Z] Removing intermediate container a07196fa3a28 [2022-12-01T23:37:30.329Z] ---> 109d61673cfc [2022-12-01T23:37:30.329Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-12-01T23:37:30.329Z] ---> Running in d1c65fa3a368 [2022-12-01T23:37:30.906Z] Removing intermediate container d1c65fa3a368 [2022-12-01T23:37:30.906Z] ---> 216ef97600e0 [2022-12-01T23:37:30.906Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-12-01T23:37:30.906Z] ---> Running in 687b963c7fcd [2022-12-01T23:37:31.477Z] Removing intermediate container 687b963c7fcd [2022-12-01T23:37:31.477Z] ---> 3eb1780f8fd2 [2022-12-01T23:37:31.477Z] Step 29/35 : EXPOSE 59983 [2022-12-01T23:37:31.477Z] ---> Running in 735537ad9ef8 [2022-12-01T23:37:31.477Z] Removing intermediate container 735537ad9ef8 [2022-12-01T23:37:31.477Z] ---> 4a84b717b39d [2022-12-01T23:37:31.477Z] Step 30/35 : EXPOSE 8554 [2022-12-01T23:37:31.477Z] ---> Running in 14e1e2ecde08 [2022-12-01T23:37:31.735Z] Removing intermediate container 14e1e2ecde08 [2022-12-01T23:37:31.735Z] ---> d6108b24e005 [2022-12-01T23:37:31.735Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-12-01T23:37:31.735Z] ---> Running in 101a12f1f552 [2022-12-01T23:37:31.735Z] Removing intermediate container 101a12f1f552 [2022-12-01T23:37:31.735Z] ---> 7f0e2e761b2b [2022-12-01T23:37:31.735Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-12-01T23:37:31.735Z] ---> Running in a4914907aef0 [2022-12-01T23:37:31.997Z] Removing intermediate container a4914907aef0 [2022-12-01T23:37:31.997Z] ---> 89985846f841 [2022-12-01T23:37:31.997Z] Step 33/35 : LABEL arch=amd64 [2022-12-01T23:37:31.997Z] ---> Running in 5624910f224e [2022-12-01T23:37:31.997Z] Removing intermediate container 5624910f224e [2022-12-01T23:37:31.997Z] ---> 0d1b8f012e8c [2022-12-01T23:37:31.997Z] Step 34/35 : LABEL git_sha=65639c945fb3469131c6d4f07b9aeb8d0d0dfeef [2022-12-01T23:37:31.997Z] ---> Running in 9a976243ea7e [2022-12-01T23:37:31.997Z] Removing intermediate container 9a976243ea7e [2022-12-01T23:37:31.997Z] ---> ae5b98fbf108 [2022-12-01T23:37:31.997Z] Step 35/35 : LABEL version=0.0.0 [2022-12-01T23:37:31.997Z] ---> Running in 9880e4d2df95 [2022-12-01T23:37:32.256Z] Removing intermediate container 9880e4d2df95 [2022-12-01T23:37:32.256Z] ---> 34dba8a7d7d7 [2022-12-01T23:37:32.256Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-01T23:37:32.256Z] Successfully built 34dba8a7d7d7 [2022-12-01T23:37:32.256Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:37:32.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-01T23:37:32.697Z] [2022-12-01T23:37:32.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:37:32.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-01T23:37:32.995Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-01T23:37:32.995Z] 5eb5b503b376: Pulling fs layer [2022-12-01T23:37:32.995Z] 5c69ac0246d0: Pulling fs layer [2022-12-01T23:37:32.995Z] ec43610c2a17: Pulling fs layer [2022-12-01T23:37:32.995Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-01T23:37:32.995Z] 33b1e0a273af: Pulling fs layer [2022-12-01T23:37:32.995Z] 5d3b04190fa2: Pulling fs layer [2022-12-01T23:37:32.995Z] 2f39f015ded8: Pulling fs layer [2022-12-01T23:37:32.995Z] 33b1e0a273af: Waiting [2022-12-01T23:37:32.995Z] 5d3b04190fa2: Waiting [2022-12-01T23:37:32.995Z] 2f39f015ded8: Waiting [2022-12-01T23:37:32.995Z] 5c69ac0246d0: Download complete [2022-12-01T23:37:32.995Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-01T23:37:32.995Z] 3a2ae6a8a46f: Download complete [2022-12-01T23:37:33.257Z] ec43610c2a17: Verifying Checksum [2022-12-01T23:37:33.257Z] ec43610c2a17: Download complete [2022-12-01T23:37:33.257Z] 33b1e0a273af: Verifying Checksum [2022-12-01T23:37:33.257Z] 33b1e0a273af: Download complete [2022-12-01T23:37:33.257Z] 5d3b04190fa2: Download complete [2022-12-01T23:37:33.257Z] 5eb5b503b376: Verifying Checksum [2022-12-01T23:37:33.257Z] 5eb5b503b376: Download complete [2022-12-01T23:37:33.825Z] 2f39f015ded8: Download complete [2022-12-01T23:37:34.759Z] 5eb5b503b376: Pull complete [2022-12-01T23:37:34.759Z] 5c69ac0246d0: Pull complete [2022-12-01T23:37:35.326Z] ec43610c2a17: Pull complete [2022-12-01T23:37:35.326Z] 3a2ae6a8a46f: Pull complete [2022-12-01T23:37:35.584Z] 33b1e0a273af: Pull complete [2022-12-01T23:37:35.584Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-01T23:37:36.687Z] provisioning config files... [2022-12-01T23:37:36.708Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/22@tmp/config6544554011399607565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:37:37.045Z] ---> docker-login.sh [2022-12-01T23:37:37.045Z] nexus3.edgexfoundry.org:10001 [2022-12-01T23:37:37.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:37:37.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:37:37.581Z] Configure a credential helper to remove this warning. See [2022-12-01T23:37:37.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:37:37.581Z] [2022-12-01T23:37:37.581Z] Login Succeeded [2022-12-01T23:37:37.581Z] nexus3.edgexfoundry.org:10002 [2022-12-01T23:37:37.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:37:37.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:37:37.855Z] Configure a credential helper to remove this warning. See [2022-12-01T23:37:37.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:37:37.855Z] [2022-12-01T23:37:37.855Z] Login Succeeded [2022-12-01T23:37:37.855Z] nexus3.edgexfoundry.org:10003 [2022-12-01T23:37:38.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:37:38.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:37:38.391Z] Configure a credential helper to remove this warning. See [2022-12-01T23:37:38.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:37:38.391Z] [2022-12-01T23:37:38.391Z] Login Succeeded [2022-12-01T23:37:38.391Z] nexus3.edgexfoundry.org:10004 [2022-12-01T23:37:38.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:37:38.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:37:38.658Z] Configure a credential helper to remove this warning. See [2022-12-01T23:37:38.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:37:38.658Z] [2022-12-01T23:37:38.658Z] Login Succeeded [2022-12-01T23:37:38.658Z] docker.io [2022-12-01T23:37:38.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-01T23:37:39.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-01T23:37:39.191Z] Configure a credential helper to remove this warning. See [2022-12-01T23:37:39.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-01T23:37:39.191Z] [2022-12-01T23:37:39.191Z] Login Succeeded [2022-12-01T23:37:39.191Z] ---> docker-login.sh ends [Pipeline] } [2022-12-01T23:37:39.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-01T23:37:39.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-01T23:37:39.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-01T23:37:39.369Z] ========================================================= [2022-12-01T23:37:39.369Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-01T23:37:39.369Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:37:39.699Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-01T23:37:39.782Z] 2f39f015ded8: Pull complete [2022-12-01T23:37:39.782Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-01T23:37:39.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-01T23:37:39.782Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T23:37:39.860Z] prd-ubuntu20.04-docker-8c-8g-120369 does not seem to be running inside a container [2022-12-01T23:37:39.891Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-01T23:37:39.966Z] Sending build context to Docker daemon 1.111MB [2022-12-01T23:37:39.966Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-01T23:37:39.966Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-01T23:37:39.966Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-01T23:37:39.966Z] 9b18e9b68314: Pulling fs layer [2022-12-01T23:37:39.966Z] 35d82f9e3411: Pulling fs layer [2022-12-01T23:37:39.966Z] e16973657156: Pulling fs layer [2022-12-01T23:37:39.966Z] fc693d55d65f: Pulling fs layer [2022-12-01T23:37:39.966Z] 7e9fc2657dce: Pulling fs layer [2022-12-01T23:37:39.966Z] dda99020689f: Pulling fs layer [2022-12-01T23:37:39.966Z] db1c61fa0a46: Pulling fs layer [2022-12-01T23:37:39.966Z] 891c053d2c06: Pulling fs layer [2022-12-01T23:37:39.966Z] dda99020689f: Waiting [2022-12-01T23:37:39.966Z] fc693d55d65f: Waiting [2022-12-01T23:37:39.966Z] db1c61fa0a46: Waiting [2022-12-01T23:37:39.966Z] 7e9fc2657dce: Waiting [2022-12-01T23:37:39.966Z] 891c053d2c06: Waiting [2022-12-01T23:37:40.237Z] e16973657156: Download complete [2022-12-01T23:37:40.237Z] 35d82f9e3411: Verifying Checksum [2022-12-01T23:37:40.237Z] 35d82f9e3411: Download complete [2022-12-01T23:37:40.237Z] 7e9fc2657dce: Verifying Checksum [2022-12-01T23:37:40.237Z] 7e9fc2657dce: Download complete [2022-12-01T23:37:40.237Z] dda99020689f: Verifying Checksum [2022-12-01T23:37:40.237Z] dda99020689f: Download complete [2022-12-01T23:37:40.237Z] 9b18e9b68314: Download complete [2022-12-01T23:37:41.203Z] 9b18e9b68314: Pull complete [2022-12-01T23:37:41.203Z] 891c053d2c06: Verifying Checksum [2022-12-01T23:37:41.203Z] 891c053d2c06: Download complete [2022-12-01T23:37:41.487Z] 35d82f9e3411: Pull complete [2022-12-01T23:37:41.760Z] e16973657156: Pull complete [2022-12-01T23:37:42.345Z] db1c61fa0a46: Verifying Checksum [2022-12-01T23:37:42.345Z] db1c61fa0a46: Download complete [2022-12-01T23:37:42.930Z] fc693d55d65f: Verifying Checksum [2022-12-01T23:37:42.930Z] fc693d55d65f: Download complete [2022-12-01T23:37:44.608Z] $ docker top 047af4bc6ff61cf3e59de09d18092475e4961720e511320cda3c67d303d82d22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:37:45.004Z] ---> job-cost.sh [2022-12-01T23:37:45.004Z] lf-activate-venv: SKIPPING [2022-12-01T23:37:45.004Z] INFO: No Stack... [2022-12-01T23:37:45.263Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-01T23:37:45.522Z] INFO: Archiving Costs [Pipeline] sh [2022-12-01T23:37:45.809Z] + cat /w/workspace/foundry_device-usb-camera_PR-115/archives/cost.csv [2022-12-01T23:37:45.809Z] + cut -d, -f6 [Pipeline] lock [2022-12-01T23:37:45.823Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-22-stack-cost] [2022-12-01T23:37:45.832Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-22-stack-cost] did not exist. Created. [2022-12-01T23:37:45.832Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-01T23:37:46.134Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-01T23:37:46.157Z] Stashed 1 file(s) [Pipeline] } [2022-12-01T23:37:46.166Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-01T23:37:46.181Z] $ docker stop --time=1 047af4bc6ff61cf3e59de09d18092475e4961720e511320cda3c67d303d82d22 [2022-12-01T23:37:47.350Z] $ docker rm -f 047af4bc6ff61cf3e59de09d18092475e4961720e511320cda3c67d303d82d22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-01T23:37:55.259Z] fc693d55d65f: Pull complete [2022-12-01T23:37:55.259Z] 7e9fc2657dce: Pull complete [2022-12-01T23:37:55.259Z] dda99020689f: Pull complete [2022-12-01T23:38:00.621Z] db1c61fa0a46: Pull complete [2022-12-01T23:38:02.051Z] 891c053d2c06: Pull complete [2022-12-01T23:38:02.318Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-01T23:38:02.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-01T23:38:02.318Z] ---> f96f9c87975a [2022-12-01T23:38:02.318Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-01T23:38:04.352Z] ---> Running in d92eae3f943a [2022-12-01T23:38:04.352Z] Removing intermediate container d92eae3f943a [2022-12-01T23:38:04.352Z] ---> f6396e0f806c [2022-12-01T23:38:04.352Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-01T23:38:04.352Z] ---> Running in 125deb1d1bf8 [2022-12-01T23:38:04.941Z] Removing intermediate container 125deb1d1bf8 [2022-12-01T23:38:04.941Z] ---> 8cf18df766d9 [2022-12-01T23:38:04.941Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-01T23:38:04.941Z] ---> Running in 53b126de4715 [2022-12-01T23:38:05.208Z] Removing intermediate container 53b126de4715 [2022-12-01T23:38:05.208Z] ---> 50e035c9127a [2022-12-01T23:38:05.208Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-01T23:38:05.208Z] ---> Running in 58f055fde182 [2022-12-01T23:38:05.474Z] Removing intermediate container 58f055fde182 [2022-12-01T23:38:05.474Z] ---> 053e57e6610f [2022-12-01T23:38:05.474Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-01T23:38:05.474Z] ---> Running in f60828b50b70 [2022-12-01T23:38:06.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-01T23:38:06.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-01T23:38:07.839Z] (1/14) Installing libintl (0.21-r2) [2022-12-01T23:38:07.839Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-12-01T23:38:07.839Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-12-01T23:38:07.839Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-12-01T23:38:07.839Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-12-01T23:38:08.103Z] (6/14) Installing udev-init-scripts (35-r0) [2022-12-01T23:38:08.103Z] Executing udev-init-scripts-35-r0.post-install [2022-12-01T23:38:08.103Z] (7/14) Installing libblkid (2.38-r1) [2022-12-01T23:38:08.103Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-12-01T23:38:08.103Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-12-01T23:38:08.103Z] (10/14) Installing kmod-libs (29-r2) [2022-12-01T23:38:08.103Z] (11/14) Installing eudev (3.2.11-r0) [2022-12-01T23:38:08.103Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-12-01T23:38:08.103Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-12-01T23:38:08.103Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-12-01T23:38:08.368Z] Executing busybox-1.35.0-r17.trigger [2022-12-01T23:38:08.368Z] Executing eudev-3.2.11-r0.trigger [2022-12-01T23:38:08.368Z] OK: 228 MiB in 65 packages [2022-12-01T23:38:09.329Z] Removing intermediate container f60828b50b70 [2022-12-01T23:38:09.329Z] ---> 80d3b46b8915 [2022-12-01T23:38:09.329Z] Step 8/13 : WORKDIR /device-usb-camera [2022-12-01T23:38:09.596Z] ---> Running in 2be63da0b399 [2022-12-01T23:38:09.863Z] Removing intermediate container 2be63da0b399 [2022-12-01T23:38:09.863Z] ---> 344f9be22ee3 [2022-12-01T23:38:09.863Z] Step 9/13 : COPY go.mod vendor* ./ [2022-12-01T23:38:10.135Z] ---> 3def2eee6fb6 [2022-12-01T23:38:10.135Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-01T23:38:10.416Z] ---> Running in 40a52a758a39 [2022-12-01T23:39:06.834Z] Removing intermediate container 40a52a758a39 [2022-12-01T23:39:06.834Z] ---> 0eb092c0f80c [2022-12-01T23:39:06.834Z] Step 11/13 : COPY . . [2022-12-01T23:39:06.834Z] ---> 9ffc8bab8ea7 [2022-12-01T23:39:06.834Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-01T23:39:06.834Z] ---> Running in 912e0aa73c97 [2022-12-01T23:39:06.834Z]   % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T23:39:06.834Z]  Dload Upload Total Spent Left Speed [2022-12-01T23:39:06.834Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14318 0 --:--:-- --:--:-- --:--:-- 14547 [2022-12-01T23:39:06.834Z] Removing intermediate container 912e0aa73c97 [2022-12-01T23:39:06.834Z] ---> ae61748b4ef8 [2022-12-01T23:39:06.834Z] Step 13/13 : RUN ${MAKE} [2022-12-01T23:39:06.834Z] ---> Running in bec69e661ef8 [2022-12-01T23:39:06.834Z] noop [2022-12-01T23:39:06.834Z] Removing intermediate container bec69e661ef8 [2022-12-01T23:39:06.834Z] ---> 9ba45329990c [2022-12-01T23:39:06.834Z] Successfully built 9ba45329990c [2022-12-01T23:39:06.834Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:39:07.183Z] + docker inspect -f . ci-base-image-arm64 [2022-12-01T23:39:07.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T23:39:07.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-120370 does not seem to be running inside a container [2022-12-01T23:39:07.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/22 -v /w/workspace/device-usb-camera/22:/w/workspace/device-usb-camera/22:rw,z -v /w/workspace/device-usb-camera/22@tmp:/w/workspace/device-usb-camera/22@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-12-01T23:39:08.451Z] $ docker top d3a78e2c1766a4f6fdb1693f9ddf0ce053401e94deb006177304a7fac6ebc341 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T23:39:09.259Z] + go version [2022-12-01T23:39:09.259Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-01T23:39:09.280Z] $ docker stop --time=1 d3a78e2c1766a4f6fdb1693f9ddf0ce053401e94deb006177304a7fac6ebc341 [2022-12-01T23:39:10.857Z] $ docker rm -f d3a78e2c1766a4f6fdb1693f9ddf0ce053401e94deb006177304a7fac6ebc341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:39:11.396Z] + docker inspect -f . ci-base-image-arm64 [2022-12-01T23:39:11.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T23:39:11.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-120370 does not seem to be running inside a container [2022-12-01T23:39:11.616Z] $ 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/22 -v /w/workspace/device-usb-camera/22:/w/workspace/device-usb-camera/22:rw,z -v /w/workspace/device-usb-camera/22@tmp:/w/workspace/device-usb-camera/22@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-12-01T23:39:12.651Z] $ docker top 45ed51d2707d71205ece7c7d4e4cda503f232520a7fc3406d3a2cb273635e213 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T23:39:13.140Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/22 [Pipeline] fileExists [Pipeline] sh [2022-12-01T23:39:13.467Z] + make test [2022-12-01T23:39:13.467Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-12-01T23:39:15.420Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-12-01T23:40:52.064Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-12-01T23:40:52.064Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.067s coverage: 1.9% of statements [2022-12-01T23:40:52.064Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-01T23:40:52.064Z] CGO_ENABLED=1 go vet ./... [2022-12-01T23:41:04.386Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-01T23:41:04.386Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-01T23:41:04.386Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-01T23:41:04.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-01T23:41:04.774Z] $ docker stop --time=1 45ed51d2707d71205ece7c7d4e4cda503f232520a7fc3406d3a2cb273635e213 [2022-12-01T23:41:06.486Z] $ docker rm -f 45ed51d2707d71205ece7c7d4e4cda503f232520a7fc3406d3a2cb273635e213 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-01T23:41:07.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-01T23:41:07.408Z] Warning: overwriting stash ‘coverage-report’ [2022-12-01T23:41:07.793Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-01T23:41:08.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-01T23:41:08.487Z] + ls -al . [2022-12-01T23:41:08.487Z] total 196 [2022-12-01T23:41:08.487Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 1 23:39 . [2022-12-01T23:41:08.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 23:37 .. [2022-12-01T23:41:08.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 23:37 .git [2022-12-01T23:41:08.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 23:37 .github [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 414 Dec 1 23:37 .gitignore [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 1 23:37 .golangci.yml [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 77 Dec 1 23:37 .hadolint.yml [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 9702 Dec 1 23:37 Attribution.txt [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 1206 Dec 1 23:37 CHANGELOG.md [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 2378 Dec 1 23:37 Dockerfile [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 1 23:37 GOVERNANCE.md [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 659 Dec 1 23:37 Jenkinsfile [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 1 23:37 LICENSE [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 2554 Dec 1 23:37 Makefile [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 1 23:37 OWNERS.md [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 5934 Dec 1 23:37 README.md [2022-12-01T23:41:08.487Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 1 23:35 VERSION [2022-12-01T23:41:08.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 23:37 bin [2022-12-01T23:41:08.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 23:37 cmd [2022-12-01T23:41:08.488Z] -rw-r--r-- 1 jenkins jenkins 30072 Dec 1 23:40 coverage.out [2022-12-01T23:41:08.488Z] -rwxrwxr-x 1 jenkins jenkins 140 Dec 1 23:37 docker-entrypoint.sh [2022-12-01T23:41:08.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 23:37 docs [2022-12-01T23:41:08.488Z] -rw-rw-r-- 1 jenkins jenkins 3573 Dec 1 23:37 go.mod [2022-12-01T23:41:08.488Z] -rw-rw-r-- 1 jenkins jenkins 45026 Dec 1 23:37 go.sum [2022-12-01T23:41:08.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 23:37 internal [2022-12-01T23:41:08.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 23:37 snap [2022-12-01T23:41:08.488Z] -rw-rw-r-- 1 jenkins jenkins 231 Dec 1 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:41:08.824Z] + 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=862fd16fe1505abb6901f4b16c29b07d190abde1 --label arch=arm64 --label version=0.0.0 . [2022-12-01T23:41:09.098Z] Sending build context to Docker daemon 1.141MB [2022-12-01T23:41:09.098Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-12-01T23:41:09.098Z] Step 2/35 : FROM ${BASE} AS builder [2022-12-01T23:41:09.098Z] ---> 9ba45329990c [2022-12-01T23:41:09.098Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-12-01T23:41:09.098Z] ---> Running in db2e6394bed8 [2022-12-01T23:41:09.367Z] Removing intermediate container db2e6394bed8 [2022-12-01T23:41:09.367Z] ---> cc7049cb23c5 [2022-12-01T23:41:09.367Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-01T23:41:09.636Z] ---> Running in 5a6ab2c78386 [2022-12-01T23:41:09.904Z] Removing intermediate container 5a6ab2c78386 [2022-12-01T23:41:09.904Z] ---> 87d7cf62b3ce [2022-12-01T23:41:09.904Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-12-01T23:41:09.904Z] ---> Running in 6c86b3b95b6a [2022-12-01T23:41:10.172Z] Removing intermediate container 6c86b3b95b6a [2022-12-01T23:41:10.172Z] ---> 5f734e66e09e [2022-12-01T23:41:10.172Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-12-01T23:41:10.172Z] ---> Running in bcf6e5579f53 [2022-12-01T23:41:10.536Z] Removing intermediate container bcf6e5579f53 [2022-12-01T23:41:10.536Z] ---> ec4a069d27a3 [2022-12-01T23:41:10.536Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-01T23:41:10.536Z] ---> Running in 436a823cddc8 [2022-12-01T23:41:11.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-01T23:41:11.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-01T23:41:12.825Z] OK: 228 MiB in 65 packages [2022-12-01T23:41:13.802Z] Removing intermediate container 436a823cddc8 [2022-12-01T23:41:13.803Z] ---> 3529c196de2b [2022-12-01T23:41:13.803Z] Step 8/35 : WORKDIR /device-usb-camera [2022-12-01T23:41:13.803Z] ---> Running in 86e6d5193ea6 [2022-12-01T23:41:14.072Z] Removing intermediate container 86e6d5193ea6 [2022-12-01T23:41:14.072Z] ---> 8d31c6bfc0bd [2022-12-01T23:41:14.072Z] Step 9/35 : COPY go.mod vendor* ./ [2022-12-01T23:41:14.661Z] ---> 9defe3cd1fc1 [2022-12-01T23:41:14.661Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-01T23:41:14.661Z] ---> Running in b046e5dda8b6 [2022-12-01T23:41:17.260Z] Removing intermediate container b046e5dda8b6 [2022-12-01T23:41:17.260Z] ---> 1e496b73c376 [2022-12-01T23:41:17.260Z] Step 11/35 : COPY . . [2022-12-01T23:41:18.239Z] ---> d398719f27f0 [2022-12-01T23:41:18.239Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-12-01T23:41:18.239Z] ---> Running in 85cc94ad4010 [2022-12-01T23:41:19.204Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2022-12-01T23:41:19.204Z] Dload Upload Total Spent Left Speed [2022-12-01T23:41:19.204Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6602 0 --:--:-- --:--:-- --:--:-- 6637 [2022-12-01T23:41:20.177Z] Removing intermediate container 85cc94ad4010 [2022-12-01T23:41:20.177Z] ---> 35d1b53a5412 [2022-12-01T23:41:20.177Z] Step 13/35 : RUN ${MAKE} [2022-12-01T23:41:20.177Z] ---> Running in 4577014938bf [2022-12-01T23:41:21.147Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-12-01T23:44:12.931Z] Removing intermediate container 4577014938bf [2022-12-01T23:44:12.931Z] ---> acc801e31ab1 [2022-12-01T23:44:12.931Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-12-01T23:44:12.931Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-12-01T23:44:12.931Z] eab2503cf8f4: Pulling fs layer [2022-12-01T23:44:12.931Z] 97cd0a44c592: Pulling fs layer [2022-12-01T23:44:12.931Z] 97cd0a44c592: Download complete [2022-12-01T23:44:12.931Z] eab2503cf8f4: Download complete [2022-12-01T23:44:12.931Z] eab2503cf8f4: Pull complete [2022-12-01T23:44:12.931Z] 97cd0a44c592: Pull complete [2022-12-01T23:44:12.931Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-12-01T23:44:12.931Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-12-01T23:44:12.931Z] ---> 7f763cca56b3 [2022-12-01T23:44:12.931Z] Step 15/35 : FROM alpine:3.16 [2022-12-01T23:44:12.931Z] 3.16: Pulling from library/alpine [2022-12-01T23:44:12.931Z] 6875df1f5354: Pulling fs layer [2022-12-01T23:44:12.931Z] 6875df1f5354: Download complete [2022-12-01T23:44:12.931Z] 6875df1f5354: Pull complete [2022-12-01T23:44:12.931Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-01T23:44:12.931Z] Status: Downloaded newer image for alpine:3.16 [2022-12-01T23:44:12.931Z] ---> 2b4661558fb8 [2022-12-01T23:44:12.931Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-01T23:44:12.931Z] ---> Running in d4f1e0e6717f [2022-12-01T23:44:12.931Z] Removing intermediate container d4f1e0e6717f [2022-12-01T23:44:12.931Z] ---> 500d0e1df06d [2022-12-01T23:44:12.931Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-12-01T23:44:12.931Z] ---> Running in 915d33840c7e [2022-12-01T23:44:12.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-01T23:44:12.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-01T23:44:12.931Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-12-01T23:44:12.931Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-12-01T23:44:12.931Z] (3/82) Installing libxau (1.0.9-r0) [2022-12-01T23:44:12.931Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-12-01T23:44:12.931Z] (5/82) Installing libxcb (1.15-r0) [2022-12-01T23:44:12.931Z] (6/82) Installing libx11 (1.8-r0) [2022-12-01T23:44:12.931Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-12-01T23:44:12.931Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-12-01T23:44:12.931Z] (9/82) Installing expat (2.5.0-r0) [2022-12-01T23:44:12.931Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-12-01T23:44:12.931Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-12-01T23:44:12.931Z] (12/82) Installing libpng (1.6.37-r1) [2022-12-01T23:44:12.931Z] (13/82) Installing freetype (2.12.1-r0) [2022-12-01T23:44:12.931Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-12-01T23:44:12.931Z] (15/82) Installing fribidi (1.0.12-r0) [2022-12-01T23:44:12.931Z] (16/82) Installing libffi (3.4.2-r1) [2022-12-01T23:44:12.931Z] (17/82) Installing libintl (0.21-r2) [2022-12-01T23:44:12.931Z] (18/82) Installing libblkid (2.38-r1) [2022-12-01T23:44:12.931Z] (19/82) Installing libmount (2.38-r1) [2022-12-01T23:44:12.931Z] (20/82) Installing pcre (8.45-r2) [2022-12-01T23:44:12.931Z] (21/82) Installing glib (2.72.1-r0) [2022-12-01T23:44:12.931Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-12-01T23:44:12.931Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-12-01T23:44:12.931Z] (24/82) Installing libass (0.16.0-r0) [2022-12-01T23:44:12.931Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-12-01T23:44:12.931Z] (26/82) Installing libdrm (2.4.110-r0) [2022-12-01T23:44:12.931Z] (27/82) Installing gmp (6.2.1-r2) [2022-12-01T23:44:12.931Z] (28/82) Installing nettle (3.7.3-r0) [2022-12-01T23:44:12.931Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-12-01T23:44:12.931Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-12-01T23:44:12.931Z] (31/82) Installing libunistring (1.0-r0) [2022-12-01T23:44:12.931Z] (32/82) Installing gnutls (3.7.7-r0) [2022-12-01T23:44:12.931Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-01T23:44:12.931Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-01T23:44:12.931Z] (35/82) Installing lame (3.100-r0) [2022-12-01T23:44:12.931Z] (36/82) Installing opus (1.3.1-r1) [2022-12-01T23:44:12.931Z] (37/82) Installing libasyncns (0.8-r1) [2022-12-01T23:44:12.931Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-12-01T23:44:12.931Z] (39/82) Installing libltdl (2.4.7-r0) [2022-12-01T23:44:12.931Z] (40/82) Installing orc (0.4.32-r0) [2022-12-01T23:44:12.931Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-12-01T23:44:12.931Z] (42/82) Installing libogg (1.3.5-r1) [2022-12-01T23:44:12.931Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-01T23:44:12.931Z] (44/82) Installing flac (1.3.4-r0) [2022-12-01T23:44:12.931Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-12-01T23:44:12.931Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-12-01T23:44:12.931Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-12-01T23:44:12.931Z] (48/82) Installing soxr (0.1.3-r2) [2022-12-01T23:44:12.931Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-12-01T23:44:12.931Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-12-01T23:44:12.931Z] (51/82) Installing libpulse (15.0-r2) [2022-12-01T23:44:12.931Z] (52/82) Installing cjson (1.7.15-r3) [2022-12-01T23:44:12.931Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-12-01T23:44:12.931Z] (54/82) Installing librist (0.2.6-r1) [2022-12-01T23:44:12.931Z] (55/82) Installing libsrt (1.4.4-r0) [2022-12-01T23:44:12.931Z] (56/82) Installing libssh (0.9.6-r1) [2022-12-01T23:44:12.931Z] (57/82) Installing libtheora (1.1.1-r16) [2022-12-01T23:44:12.931Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-12-01T23:44:12.931Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-12-01T23:44:12.931Z] (60/82) Installing libxext (1.3.4-r0) [2022-12-01T23:44:12.931Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-12-01T23:44:12.931Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-12-01T23:44:12.931Z] (63/82) Installing libva (2.14.0-r0) [2022-12-01T23:44:12.931Z] (64/82) Installing libvdpau (1.5-r0) [2022-12-01T23:44:12.931Z] (65/82) Installing vidstab (1.1.0-r1) [2022-12-01T23:44:12.931Z] (66/82) Installing libvpx (1.11.0-r1) [2022-12-01T23:44:12.931Z] (67/82) Installing libwebp (1.2.3-r0) [2022-12-01T23:44:12.931Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-12-01T23:44:12.931Z] (69/82) Installing numactl (2.0.14-r0) [2022-12-01T23:44:12.931Z] (70/82) Installing x265-libs (3.5-r3) [2022-12-01T23:44:12.931Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-12-01T23:44:12.931Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-12-01T23:44:12.931Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-12-01T23:44:12.931Z] (74/82) Installing udev-init-scripts (35-r0) [2022-12-01T23:44:12.931Z] Executing udev-init-scripts-35-r0.post-install [2022-12-01T23:44:12.931Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-12-01T23:44:12.931Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-12-01T23:44:12.931Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-12-01T23:44:12.931Z] (78/82) Installing kmod-libs (29-r2) [2022-12-01T23:44:12.931Z] (79/82) Installing eudev (3.2.11-r0) [2022-12-01T23:44:12.931Z] (80/82) Installing libsodium (1.0.18-r0) [2022-12-01T23:44:12.931Z] (81/82) Installing libzmq (4.3.4-r0) [2022-12-01T23:44:12.931Z] (82/82) Installing zeromq (4.3.4-r0) [2022-12-01T23:44:12.931Z] Executing busybox-1.35.0-r17.trigger [2022-12-01T23:44:12.931Z] Executing eudev-3.2.11-r0.trigger [2022-12-01T23:44:12.931Z] OK: 78 MiB in 96 packages [2022-12-01T23:44:12.931Z] Removing intermediate container 915d33840c7e [2022-12-01T23:44:12.931Z] ---> df2017a3e64e [2022-12-01T23:44:12.931Z] Step 18/35 : WORKDIR / [2022-12-01T23:44:12.931Z] ---> Running in 70e09a730690 [2022-12-01T23:44:12.931Z] Removing intermediate container 70e09a730690 [2022-12-01T23:44:12.931Z] ---> ca03ad8c2e07 [2022-12-01T23:44:12.931Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-12-01T23:44:12.931Z] ---> 21b7a141670f [2022-12-01T23:44:12.931Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-12-01T23:44:13.515Z] ---> 385de7712d68 [2022-12-01T23:44:13.515Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-12-01T23:44:13.784Z] ---> 023ff9af9179 [2022-12-01T23:44:13.784Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-12-01T23:44:14.373Z] ---> bdaaf5296b94 [2022-12-01T23:44:14.373Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-12-01T23:44:14.957Z] ---> 563fa2e847f6 [2022-12-01T23:44:14.957Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-12-01T23:44:15.541Z] ---> 892d4f5b8d0b [2022-12-01T23:44:15.541Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-12-01T23:44:16.503Z] ---> 940a419e4bf2 [2022-12-01T23:44:16.503Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-12-01T23:44:16.503Z] ---> Running in 31607dbbabea [2022-12-01T23:44:18.448Z] Removing intermediate container 31607dbbabea [2022-12-01T23:44:18.448Z] ---> b2227e709286 [2022-12-01T23:44:18.448Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-12-01T23:44:18.449Z] ---> Running in 882d83f5bc55 [2022-12-01T23:44:19.865Z] Removing intermediate container 882d83f5bc55 [2022-12-01T23:44:19.865Z] ---> 8c6cd096f58b [2022-12-01T23:44:19.865Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-12-01T23:44:19.865Z] ---> Running in 1d87df8706cf [2022-12-01T23:44:22.451Z] Removing intermediate container 1d87df8706cf [2022-12-01T23:44:22.451Z] ---> 8f15a43107dd [2022-12-01T23:44:22.451Z] Step 29/35 : EXPOSE 59983 [2022-12-01T23:44:22.451Z] ---> Running in f329f5ea514a [2022-12-01T23:44:22.451Z] Removing intermediate container f329f5ea514a [2022-12-01T23:44:22.451Z] ---> 1772246a2e73 [2022-12-01T23:44:22.451Z] Step 30/35 : EXPOSE 8554 [2022-12-01T23:44:22.451Z] ---> Running in 6f8367d30a72 [2022-12-01T23:44:22.719Z] Removing intermediate container 6f8367d30a72 [2022-12-01T23:44:22.719Z] ---> 18d5a145a186 [2022-12-01T23:44:22.719Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-12-01T23:44:22.984Z] ---> Running in a0578cbad47a [2022-12-01T23:44:23.252Z] Removing intermediate container a0578cbad47a [2022-12-01T23:44:23.252Z] ---> db8c86487ac5 [2022-12-01T23:44:23.252Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-12-01T23:44:23.252Z] ---> Running in 34afa1d18dfd [2022-12-01T23:44:23.518Z] Removing intermediate container 34afa1d18dfd [2022-12-01T23:44:23.519Z] ---> a2049f7d907b [2022-12-01T23:44:23.519Z] Step 33/35 : LABEL arch=arm64 [2022-12-01T23:44:23.519Z] ---> Running in bb12480b5de0 [2022-12-01T23:44:23.786Z] Removing intermediate container bb12480b5de0 [2022-12-01T23:44:23.786Z] ---> a2de2ad56b6f [2022-12-01T23:44:23.786Z] Step 34/35 : LABEL git_sha=862fd16fe1505abb6901f4b16c29b07d190abde1 [2022-12-01T23:44:23.786Z] ---> Running in 26efe19c19aa [2022-12-01T23:44:24.053Z] Removing intermediate container 26efe19c19aa [2022-12-01T23:44:24.053Z] ---> b20fcf527e91 [2022-12-01T23:44:24.053Z] Step 35/35 : LABEL version=0.0.0 [2022-12-01T23:44:24.336Z] ---> Running in dc19eadb0223 [2022-12-01T23:44:24.603Z] Removing intermediate container dc19eadb0223 [2022-12-01T23:44:24.603Z] ---> 63097f08e21b [2022-12-01T23:44:24.603Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-01T23:44:24.603Z] Successfully built 63097f08e21b [2022-12-01T23:44:24.603Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:44:25.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-01T23:44:25.025Z] [2022-12-01T23:44:25.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:44:25.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-01T23:44:25.345Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-01T23:44:25.345Z] 8998bd30e6a1: Pulling fs layer [2022-12-01T23:44:25.616Z] 04944245beec: Pulling fs layer [2022-12-01T23:44:25.616Z] 699f458cf7ca: Pulling fs layer [2022-12-01T23:44:25.616Z] 765212b225bb: Pulling fs layer [2022-12-01T23:44:25.616Z] f23df028b6ca: Pulling fs layer [2022-12-01T23:44:25.616Z] d65c8cfc05b1: Pulling fs layer [2022-12-01T23:44:25.616Z] 2437ff75d9bd: Pulling fs layer [2022-12-01T23:44:25.616Z] 765212b225bb: Waiting [2022-12-01T23:44:25.616Z] f23df028b6ca: Waiting [2022-12-01T23:44:25.616Z] d65c8cfc05b1: Waiting [2022-12-01T23:44:25.616Z] 2437ff75d9bd: Waiting [2022-12-01T23:44:25.616Z] 04944245beec: Verifying Checksum [2022-12-01T23:44:25.616Z] 04944245beec: Download complete [2022-12-01T23:44:25.616Z] 765212b225bb: Verifying Checksum [2022-12-01T23:44:25.616Z] 765212b225bb: Download complete [2022-12-01T23:44:25.616Z] f23df028b6ca: Verifying Checksum [2022-12-01T23:44:25.616Z] f23df028b6ca: Download complete [2022-12-01T23:44:25.616Z] d65c8cfc05b1: Verifying Checksum [2022-12-01T23:44:25.616Z] d65c8cfc05b1: Download complete [2022-12-01T23:44:25.886Z] 699f458cf7ca: Verifying Checksum [2022-12-01T23:44:25.886Z] 699f458cf7ca: Download complete [2022-12-01T23:44:26.151Z] 8998bd30e6a1: Download complete [2022-12-01T23:44:28.732Z] 2437ff75d9bd: Verifying Checksum [2022-12-01T23:44:28.732Z] 2437ff75d9bd: Download complete [2022-12-01T23:44:30.141Z] 8998bd30e6a1: Pull complete [2022-12-01T23:44:30.409Z] 04944245beec: Pull complete [2022-12-01T23:44:31.819Z] 699f458cf7ca: Pull complete [2022-12-01T23:44:32.087Z] 765212b225bb: Pull complete [2022-12-01T23:44:34.024Z] f23df028b6ca: Pull complete [2022-12-01T23:44:34.024Z] d65c8cfc05b1: Pull complete [2022-12-01T23:44:49.000Z] 2437ff75d9bd: Pull complete [2022-12-01T23:44:49.000Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-01T23:44:49.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-01T23:44:49.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T23:44:49.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-120370 does not seem to be running inside a container [2022-12-01T23:44:49.239Z] $ 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/22 -v /w/workspace/device-usb-camera/22:/w/workspace/device-usb-camera/22:rw,z -v /w/workspace/device-usb-camera/22@tmp:/w/workspace/device-usb-camera/22@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-12-01T23:44:51.752Z] $ docker top 4dcff34c7efbc52bcd712402d8c81dc1564d1d0c32c1d171e6e1b7dbfb787b1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:44:52.564Z] ---> job-cost.sh [2022-12-01T23:44:52.564Z] lf-activate-venv: SKIPPING [2022-12-01T23:44:52.564Z] INFO: No Stack... [2022-12-01T23:44:53.147Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-01T23:44:54.103Z] INFO: Archiving Costs [Pipeline] sh [2022-12-01T23:44:54.415Z] + cat /w/workspace/device-usb-camera/22/archives/cost.csv [2022-12-01T23:44:54.415Z] + cut -d, -f6 [Pipeline] lock [2022-12-01T23:44:54.477Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-115-22-stack-cost] [2022-12-01T23:44:54.482Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-115-22-stack-cost] did not exist. Created. [2022-12-01T23:44:54.483Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-115-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-01T23:44:55.124Z] /w/workspace/device-usb-camera/22@tmp/durable-5e1470ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-01T23:44:55.453Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-01T23:44:55.477Z] Warning: overwriting stash ‘stack-cost’ [2022-12-01T23:44:55.522Z] Stashed 1 file(s) [Pipeline] } [2022-12-01T23:44:55.528Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-115-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-01T23:44:55.545Z] $ docker stop --time=1 4dcff34c7efbc52bcd712402d8c81dc1564d1d0c32c1d171e6e1b7dbfb787b1d [2022-12-01T23:44:57.028Z] $ docker rm -f 4dcff34c7efbc52bcd712402d8c81dc1564d1d0c32c1d171e6e1b7dbfb787b1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-12-01T23:44:57.381Z] provisioning config files... [2022-12-01T23:44:57.389Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config6465043731804778248tmp [Pipeline] { [Pipeline] sh [2022-12-01T23:44:57.694Z] + set +x [2022-12-01T23:44:57.694Z] + curl -s https://codecov.io/bash [2022-12-01T23:44:57.694Z] + bash -s -- [2022-12-01T23:44:57.953Z] [2022-12-01T23:44:57.953Z] _____ _ [2022-12-01T23:44:57.953Z] / ____| | | [2022-12-01T23:44:57.953Z] | | ___ __| | ___ ___ _____ __ [2022-12-01T23:44:57.953Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-01T23:44:57.953Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-01T23:44:57.953Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-01T23:44:57.953Z] Bash-1.0.6 [2022-12-01T23:44:57.953Z] [2022-12-01T23:44:57.953Z] [2022-12-01T23:44:57.953Z] ==> git version 2.25.1 found [2022-12-01T23:44:57.953Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-12-01T23:44:57.953Z] Release-Date: 2020-01-08 [2022-12-01T23:44:57.953Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-01T23:44:57.953Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-01T23:44:57.953Z] ==> Jenkins CI detected. [2022-12-01T23:44:57.953Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-115 [2022-12-01T23:44:57.953Z] project root: . [2022-12-01T23:44:57.953Z] --> token set from env [2022-12-01T23:44:57.953Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-01T23:44:57.953Z] ==> Running gcov in . (disable via -X gcov) [2022-12-01T23:44:57.953Z] ==> Python coveragepy not found [2022-12-01T23:44:57.953Z] ==> Searching for coverage reports in: [2022-12-01T23:44:57.953Z] + . [2022-12-01T23:44:57.953Z] -> Found 1 reports [2022-12-01T23:44:57.953Z] ==> Detecting git/mercurial file structure [2022-12-01T23:44:57.953Z] ==> Reading reports [2022-12-01T23:44:57.953Z] + ./coverage.out bytes=30072 [2022-12-01T23:44:57.953Z] ==> Appending adjustments [2022-12-01T23:44:57.953Z] https://docs.codecov.io/docs/fixing-reports [2022-12-01T23:44:58.212Z] + Found adjustments [2022-12-01T23:44:58.212Z] ==> Gzipping contents [2022-12-01T23:44:58.212Z] 8.0K /tmp/codecov.QGwCLv.gz [2022-12-01T23:44:58.212Z] ==> Uploading reports [2022-12-01T23:44:58.212Z] url: https://codecov.io [2022-12-01T23:44:58.212Z] query: branch=PR-115&commit=65639c945fb3469131c6d4f07b9aeb8d0d0dfeef&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-12-01T23:44:58.212Z] -> Pinging Codecov [2022-12-01T23:44:58.212Z] 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=65639c945fb3469131c6d4f07b9aeb8d0d0dfeef&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-115%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=115&job=&cmd_args= [2022-12-01T23:44:58.471Z] -> Uploading to [2022-12-01T23:44:58.471Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-01/73D8F5FF140700D3E01443B452E23636/65639c945fb3469131c6d4f07b9aeb8d0d0dfeef/402c22c8-1e38-4be7-8b31-41722e6b4328.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221201T234458Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd7371d51b0019ad6d3a12187e39899e1c63b94a905bcfb71788b1f53bdb95b9 [2022-12-01T23:44:58.471Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-01T23:44:58.471Z] Dload Upload Total Spent Left Speed [2022-12-01T23:44:58.730Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4258 0 0 100 4258 0 18675 --:--:-- --:--:-- --:--:-- 18675 [2022-12-01T23:44:58.730Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/65639c945fb3469131c6d4f07b9aeb8d0d0dfeef [Pipeline] } [2022-12-01T23:44:58.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-01T23:44:59.379Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-115/archives ] [2022-12-01T23:44:59.379Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives [2022-12-01T23:44:59.379Z] total 16 [2022-12-01T23:44:59.379Z] drwxr-xr-x 3 root root 4096 Dec 1 23:37 . [2022-12-01T23:44:59.379Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 1 23:37 .. [2022-12-01T23:44:59.379Z] drwxr-xr-x 2 root root 4096 Dec 1 23:37 cost [2022-12-01T23:44:59.379Z] -rw-r--r-- 1 root root 90 Dec 1 23:37 cost.csv [2022-12-01T23:44:59.379Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-115/archives [2022-12-01T23:44:59.379Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-115/archives [2022-12-01T23:44:59.379Z] total 16 [2022-12-01T23:44:59.379Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 1 23:37 . [2022-12-01T23:44:59.379Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 1 23:37 .. [2022-12-01T23:44:59.379Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 1 23:37 cost [2022-12-01T23:44:59.379Z] -rw-r--r-- 1 jenkins jenkins 90 Dec 1 23:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:44:59.666Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:45:00.524Z] ---> package-listing.sh [2022-12-01T23:45:00.524Z] ++ facter osfamily [2022-12-01T23:45:00.524Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-01T23:45:00.784Z] + OS_FAMILY=debian [2022-12-01T23:45:00.784Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-115 [2022-12-01T23:45:00.784Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-01T23:45:00.784Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-01T23:45:00.784Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-01T23:45:00.784Z] + PACKAGES=/tmp/packages_start.txt [2022-12-01T23:45:00.784Z] + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' [2022-12-01T23:45:00.784Z] + PACKAGES=/tmp/packages_end.txt [2022-12-01T23:45:00.784Z] + case "${OS_FAMILY}" in [2022-12-01T23:45:00.784Z] + dpkg -l [2022-12-01T23:45:00.784Z] + grep '^ii' [2022-12-01T23:45:00.784Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-01T23:45:00.784Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-01T23:45:00.784Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-01T23:45:00.784Z] + '[' /w/workspace/foundry_device-usb-camera_PR-115 ']' [2022-12-01T23:45:00.784Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-115/archives/ [2022-12-01T23:45:00.784Z] + 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-12-01T23:45:00.795Z] 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-12-01T23:45:01.075Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-01T23:45:01.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-01T23:45:01.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-01T23:45:01.688Z] prd-ubuntu20.04-docker-8c-8g-120369 does not seem to be running inside a container [2022-12-01T23:45:01.717Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-01T23:45:01.921Z] $ docker top a563ce2f60730e2e0ac282b5dfa718fc437704b8b01c1540c8911b8820837545 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-01T23:45:02.254Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-01T23:45:02.537Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-01T23:45:02.817Z] + ls /var/log/sa-host [2022-12-01T23:45:02.817Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-01T23:45:02.971Z] provisioning config files... [2022-12-01T23:45:02.979Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-115@tmp/config6805129726509284225tmp [Pipeline] { [Pipeline] echo [2022-12-01T23:45:02.987Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:45:03.269Z] ---> create-netrc.sh [Pipeline] } [2022-12-01T23:45:03.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:45:03.593Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-01T23:45:03.601Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:45:03.881Z] ---> sudo-logs.sh [2022-12-01T23:45:03.882Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-01T23:45:03.913Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:45:04.197Z] ---> job-cost.sh [2022-12-01T23:45:04.197Z] lf-activate-venv: SKIPPING [2022-12-01T23:45:04.197Z] DEBUG: total: 0.2199999988079071 [2022-12-01T23:45:04.197Z] INFO: Retrieving Stack Cost... [2022-12-01T23:45:04.766Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-01T23:45:05.025Z] INFO: Archiving Costs [Pipeline] echo [2022-12-01T23:45:05.036Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-01T23:45:05.316Z] ---> logs-deploy.sh [2022-12-01T23:45:05.316Z] lf-activate-venv: SKIPPING [2022-12-01T23:45:05.316Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-115/22 [2022-12-01T23:45:05.316Z] INFO: archiving workspace using pattern(s): [2022-12-01T23:45:06.255Z] Archives upload complete. [2022-12-01T23:45:06.255Z] INFO: archiving logs to Nexus