Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at e381fef93e2e423e063e21a7b547118aa6f1cf75 rather than 7fedce7edd12652b29de3089237b3736a9072910 Obtained Jenkinsfile from e381fef93e2e423e063e21a7b547118aa6f1cf75 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-ssh2453211964268514154.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11251430399682128814.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7725680089438228765.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh3938223323509832540.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-100/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh179500865252715807.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7632 in /w/workspace/foundry_device-usb-camera_PR-100 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-100 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e381fef93e2e423e063e21a7b547118aa6f1cf75 into PR head commit 7fedce7edd12652b29de3089237b3736a9072910 Merge succeeded, producing f960238d04fd6725cdd527158cbe43bba046f3cc Checking out Revision f960238d04fd6725cdd527158cbe43bba046f3cc (PR-100) > git config core.sparsecheckout # timeout=10 > git checkout -f 7fedce7edd12652b29de3089237b3736a9072910 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e381fef93e2e423e063e21a7b547118aa6f1cf75 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f960238d04fd6725cdd527158cbe43bba046f3cc # timeout=10 Commit message: "Merge commit 'e381fef93e2e423e063e21a7b547118aa6f1cf75' into HEAD" > git rev-list --no-walk 7fedce7edd12652b29de3089237b3736a9072910 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-11T06:15:28.004Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-11T06:15:28.065Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-11T06:15:28.081Z] ========================================================= [2022-10-11T06:15:28.081Z] EdgeX Global Pipelines Version Info [2022-10-11T06:15:28.081Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:15:28.786Z] ------------------- [2022-10-11T06:15:28.786Z] stable info: [2022-10-11T06:15:28.786Z] ------------------- [2022-10-11T06:15:28.786Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-11T06:15:28.786Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T06:15:28.786Z] Message: update stable to v1.0.239 [2022-10-11T06:15:29.368Z] ------------------- [2022-10-11T06:15:29.368Z] experimental info: [2022-10-11T06:15:29.368Z] ------------------- [2022-10-11T06:15:29.369Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-11T06:15:29.369Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T06:15:29.369Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-11T06:15:29.557Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-10-11T06:15:29.574Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-10-11T06:15:29.595Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-11T06:15:29.613Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-11T06:15:29.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-11T06:15:29.657Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-11T06:15:29.673Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-11T06:15:29.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-11T06:15:29.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-11T06:15:29.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-11T06:15:29.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-11T06:15:29.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-10-11T06:15:29.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-11T06:15:29.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-11T06:15:29.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-11T06:15:29.816Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-11T06:15:29.828Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-11T06:15:29.841Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-11T06:15:29.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-11T06:15:29.863Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-11T06:15:29.874Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-11T06:15:29.885Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-11T06:15:29.896Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-11T06:15:29.909Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-11T06:15:29.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-11T06:15:29.931Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-11T06:15:29.943Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-11T06:15:29.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-100 [Pipeline] echo [2022-10-11T06:15:29.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-100 [Pipeline] echo [2022-10-11T06:15:29.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-100 [Pipeline] echo [2022-10-11T06:15:29.987Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f960238d04fd6725cdd527158cbe43bba046f3cc [Pipeline] echo [2022-10-11T06:15:29.998Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f960238 [Pipeline] echo [2022-10-11T06:15:30.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T06:15:30.048Z] provisioning config files... [2022-10-11T06:15:30.062Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config935255230976639154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:15:30.365Z] ---> docker-login.sh [2022-10-11T06:15:30.365Z] nexus3.edgexfoundry.org:10001 [2022-10-11T06:15:30.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:30.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:30.884Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:30.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:30.884Z] [2022-10-11T06:15:30.884Z] Login Succeeded [2022-10-11T06:15:30.884Z] nexus3.edgexfoundry.org:10002 [2022-10-11T06:15:30.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:30.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:30.884Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:30.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:30.884Z] [2022-10-11T06:15:30.884Z] Login Succeeded [2022-10-11T06:15:30.884Z] nexus3.edgexfoundry.org:10003 [2022-10-11T06:15:31.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:31.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:31.143Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:31.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:31.143Z] [2022-10-11T06:15:31.143Z] Login Succeeded [2022-10-11T06:15:31.143Z] nexus3.edgexfoundry.org:10004 [2022-10-11T06:15:31.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:31.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:31.143Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:31.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:31.143Z] [2022-10-11T06:15:31.143Z] Login Succeeded [2022-10-11T06:15:31.143Z] docker.io [2022-10-11T06:15:31.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:31.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:31.663Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:31.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:31.663Z] [2022-10-11T06:15:31.663Z] Login Succeeded [2022-10-11T06:15:31.663Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T06:15:31.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-11T06:15:32.058Z] + git rev-list -1 --merges f960238d04fd6725cdd527158cbe43bba046f3cc~1..f960238d04fd6725cdd527158cbe43bba046f3cc [Pipeline] echo [2022-10-11T06:15:32.090Z] -----------> git rev-list -1 --merges f960238d04fd6725cdd527158cbe43bba046f3cc~1..f960238d04fd6725cdd527158cbe43bba046f3cc f960238d04fd6725cdd527158cbe43bba046f3cc [2022-10-11T06:15:32.090Z] f960238d04fd6725cdd527158cbe43bba046f3cc [false] [Pipeline] sh [2022-10-11T06:15:32.382Z] + git log --format=format:%s -1 f960238d04fd6725cdd527158cbe43bba046f3cc [Pipeline] echo [2022-10-11T06:15:32.397Z] ========================================================= [2022-10-11T06:15:32.397Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-11T06:15:32.397Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T06:15:32.737Z] + git log --format=format:%s -1 f960238d04fd6725cdd527158cbe43bba046f3cc [Pipeline] echo [2022-10-11T06:15:32.754Z] [semverPrep] GIT_COMMIT: f960238d04fd6725cdd527158cbe43bba046f3cc, Commit Message: Merge commit 'e381fef93e2e423e063e21a7b547118aa6f1cf75' into HEAD [Pipeline] echo [2022-10-11T06:15:32.762Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-11T06:15:33.125Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-11T06:15:33.125Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-11T06:15:33.125Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-11T06:15:33.125Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-11T06:15:33.125Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-10-11T06:15:33.125Z] tee -a /etc/ssh/ssh_known_hosts [2022-10-11T06:15:33.125Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:15:33.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T06:15:33.527Z] [2022-10-11T06:15:33.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:15:33.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T06:15:33.828Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-11T06:15:33.828Z] b85a868b505f: Pulling fs layer [2022-10-11T06:15:33.828Z] e2be974225ed: Pulling fs layer [2022-10-11T06:15:33.828Z] 339a4e72a1f5: Pulling fs layer [2022-10-11T06:15:33.828Z] 988bab9f4d93: Pulling fs layer [2022-10-11T06:15:33.828Z] 1469e6f7b9e6: Pulling fs layer [2022-10-11T06:15:33.828Z] eaf3925da568: Pulling fs layer [2022-10-11T06:15:33.828Z] bab4dde63d76: Pulling fs layer [2022-10-11T06:15:33.828Z] bde34c3a00c8: Pulling fs layer [2022-10-11T06:15:33.828Z] b352a97aabf1: Pulling fs layer [2022-10-11T06:15:33.828Z] 4872d77fe225: Pulling fs layer [2022-10-11T06:15:33.828Z] 5851b861e8e6: Pulling fs layer [2022-10-11T06:15:33.828Z] 988bab9f4d93: Waiting [2022-10-11T06:15:33.828Z] b352a97aabf1: Waiting [2022-10-11T06:15:33.828Z] 5851b861e8e6: Waiting [2022-10-11T06:15:33.828Z] 1469e6f7b9e6: Waiting [2022-10-11T06:15:33.828Z] eaf3925da568: Waiting [2022-10-11T06:15:33.828Z] 4872d77fe225: Waiting [2022-10-11T06:15:33.828Z] bab4dde63d76: Waiting [2022-10-11T06:15:33.828Z] bde34c3a00c8: Waiting [2022-10-11T06:15:33.828Z] e2be974225ed: Verifying Checksum [2022-10-11T06:15:33.828Z] e2be974225ed: Download complete [2022-10-11T06:15:33.828Z] 988bab9f4d93: Verifying Checksum [2022-10-11T06:15:33.828Z] 988bab9f4d93: Download complete [2022-10-11T06:15:34.088Z] 339a4e72a1f5: Verifying Checksum [2022-10-11T06:15:34.088Z] 339a4e72a1f5: Download complete [2022-10-11T06:15:34.088Z] 1469e6f7b9e6: Verifying Checksum [2022-10-11T06:15:34.088Z] 1469e6f7b9e6: Download complete [2022-10-11T06:15:34.088Z] eaf3925da568: Verifying Checksum [2022-10-11T06:15:34.088Z] eaf3925da568: Download complete [2022-10-11T06:15:34.088Z] bde34c3a00c8: Verifying Checksum [2022-10-11T06:15:34.088Z] bde34c3a00c8: Download complete [2022-10-11T06:15:34.088Z] b352a97aabf1: Download complete [2022-10-11T06:15:34.088Z] 4872d77fe225: Download complete [2022-10-11T06:15:34.088Z] 5851b861e8e6: Download complete [2022-10-11T06:15:34.088Z] b85a868b505f: Verifying Checksum [2022-10-11T06:15:34.088Z] b85a868b505f: Download complete [2022-10-11T06:15:34.346Z] bab4dde63d76: Verifying Checksum [2022-10-11T06:15:34.346Z] bab4dde63d76: Download complete [2022-10-11T06:15:35.280Z] b85a868b505f: Pull complete [2022-10-11T06:15:35.280Z] e2be974225ed: Pull complete [2022-10-11T06:15:35.847Z] 339a4e72a1f5: Pull complete [2022-10-11T06:15:35.847Z] 988bab9f4d93: Pull complete [2022-10-11T06:15:36.414Z] 1469e6f7b9e6: Pull complete [2022-10-11T06:15:36.414Z] eaf3925da568: Pull complete [2022-10-11T06:15:38.311Z] bab4dde63d76: Pull complete [2022-10-11T06:15:38.311Z] bde34c3a00c8: Pull complete [2022-10-11T06:15:38.311Z] b352a97aabf1: Pull complete [2022-10-11T06:15:38.311Z] 4872d77fe225: Pull complete [2022-10-11T06:15:38.570Z] 5851b861e8e6: Pull complete [2022-10-11T06:15:38.570Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-11T06:15:38.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T06:15:38.570Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T06:15:38.683Z] prd-ubuntu20.04-docker-8c-8g-7632 does not seem to be running inside a container [2022-10-11T06:15:38.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-11T06:15:41.788Z] $ docker top 0d25f8f5fd2de8797c64846670c2a5455b0fcf488c8b399dfaeaefe5f4dee6aa -eo pid,comm [2022-10-11T06:15:41.834Z] 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-10-11T06:15:41.834Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-11T06:15:41.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-11T06:15:41.864Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-11T06:15:41.974Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-11T06:15:41.977Z] $ docker exec 0d25f8f5fd2de8797c64846670c2a5455b0fcf488c8b399dfaeaefe5f4dee6aa ssh-agent [2022-10-11T06:15:42.083Z] SSH_AUTH_SOCK=/tmp/ssh-o2twTchbCHie/agent.32 [2022-10-11T06:15:42.083Z] SSH_AGENT_PID=39 [2022-10-11T06:15:42.089Z] Running ssh-add (command line suppressed) [2022-10-11T06:15:42.188Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_3762304564123423935.key (/w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_3762304564123423935.key) [2022-10-11T06:15:42.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-11T06:15:42.485Z] + git tag --points-at HEAD [Pipeline] } [2022-10-11T06:15:42.500Z] $ docker exec --env ******** --env ******** 0d25f8f5fd2de8797c64846670c2a5455b0fcf488c8b399dfaeaefe5f4dee6aa ssh-agent -k [2022-10-11T06:15:42.593Z] unset SSH_AUTH_SOCK; [2022-10-11T06:15:42.594Z] unset SSH_AGENT_PID; [2022-10-11T06:15:42.594Z] echo Agent pid 39 killed; [2022-10-11T06:15:42.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-11T06:15:42.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-11T06:15:42.622Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-11T06:15:42.731Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-11T06:15:42.734Z] $ docker exec 0d25f8f5fd2de8797c64846670c2a5455b0fcf488c8b399dfaeaefe5f4dee6aa ssh-agent [2022-10-11T06:15:42.839Z] SSH_AUTH_SOCK=/tmp/ssh-WubykTmO6lrI/agent.71 [2022-10-11T06:15:42.839Z] SSH_AGENT_PID=77 [2022-10-11T06:15:42.844Z] Running ssh-add (command line suppressed) [2022-10-11T06:15:42.947Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_17209258367924802065.key (/w/workspace/foundry_device-usb-camera_PR-100@tmp/private_key_17209258367924802065.key) [2022-10-11T06:15:42.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-11T06:15:43.247Z] + git semver init [2022-10-11T06:15:43.506Z] 2022-10-11 06:15:43,409 [run_init] DEBUG init version:0.0.0 force:False [2022-10-11T06:15:43.506Z] 2022-10-11 06:15:43,410 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-100/.semver [2022-10-11T06:15:43.506Z] 2022-10-11 06:15:43,410 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-100/.semver [2022-10-11T06:15:43.506Z] 2022-10-11 06:15:43,411 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-100/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-100, universal_newlines=False, shell=None, istream=None) [2022-10-11T06:15:44.445Z] 2022-10-11 06:15:44,214 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-100/.git/info/exclude [2022-10-11T06:15:44.445Z] 2022-10-11 06:15:44,215 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-100/.semver/PR-100 with force:False [2022-10-11T06:15:44.445Z] 2022-10-11 06:15:44,215 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-100/.semver/PR-100 [2022-10-11T06:15:44.445Z] 2022-10-11 06:15:44,218 [execute] INFO git cat-file --batch-check [2022-10-11T06:15:44.445Z] 2022-10-11 06:15:44,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-10-11T06:15:44.445Z] 2022-10-11 06:15:44,224 [execute] INFO git cat-file --batch [2022-10-11T06:15:44.445Z] 2022-10-11 06:15:44,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-100/.semver, universal_newlines=False, shell=None, istream=) [2022-10-11T06:15:44.445Z] 2022-10-11 06:15:44,230 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-100/.semver/PR-100 [2022-10-11T06:15:44.445Z] 0.0.0 [Pipeline] } [2022-10-11T06:15:44.454Z] $ docker exec --env ******** --env ******** 0d25f8f5fd2de8797c64846670c2a5455b0fcf488c8b399dfaeaefe5f4dee6aa ssh-agent -k [2022-10-11T06:15:44.556Z] unset SSH_AUTH_SOCK; [2022-10-11T06:15:44.557Z] unset SSH_AGENT_PID; [2022-10-11T06:15:44.557Z] echo Agent pid 77 killed; [2022-10-11T06:15:44.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-11T06:15:44.864Z] + git semver [Pipeline] } [2022-10-11T06:15:45.138Z] $ docker stop --time=1 0d25f8f5fd2de8797c64846670c2a5455b0fcf488c8b399dfaeaefe5f4dee6aa [2022-10-11T06:15:46.415Z] $ docker rm -f 0d25f8f5fd2de8797c64846670c2a5455b0fcf488c8b399dfaeaefe5f4dee6aa [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T06:15:46.739Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-11T06:15:46.906Z] Stashed 1 file(s) [Pipeline] echo [2022-10-11T06:15:46.908Z] [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-10-11T06:15:47.009Z] provisioning config files... [2022-10-11T06:15:47.017Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config5884515253589153109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:15:47.308Z] ---> docker-login.sh [2022-10-11T06:15:47.308Z] nexus3.edgexfoundry.org:10001 [2022-10-11T06:15:47.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:47.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:47.308Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:47.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:47.308Z] [2022-10-11T06:15:47.308Z] Login Succeeded [2022-10-11T06:15:47.308Z] nexus3.edgexfoundry.org:10002 [2022-10-11T06:15:47.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:47.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:47.308Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:47.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:47.308Z] [2022-10-11T06:15:47.308Z] Login Succeeded [2022-10-11T06:15:47.308Z] nexus3.edgexfoundry.org:10003 [2022-10-11T06:15:47.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:47.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:47.566Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:47.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:47.566Z] [2022-10-11T06:15:47.566Z] Login Succeeded [2022-10-11T06:15:47.566Z] nexus3.edgexfoundry.org:10004 [2022-10-11T06:15:47.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:47.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:47.566Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:47.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:47.566Z] [2022-10-11T06:15:47.566Z] Login Succeeded [2022-10-11T06:15:47.566Z] docker.io [2022-10-11T06:15:47.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:15:48.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:15:48.081Z] Configure a credential helper to remove this warning. See [2022-10-11T06:15:48.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:15:48.081Z] [2022-10-11T06:15:48.081Z] Login Succeeded [2022-10-11T06:15:48.081Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T06:15:48.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-11T06:15:48.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T06:15:48.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T06:15:48.170Z] ========================================================= [2022-10-11T06:15:48.170Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-11T06:15:48.170Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:15:48.471Z] + 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-10-11T06:15:48.471Z] Sending build context to Docker daemon 1.53MB [2022-10-11T06:15:48.471Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T06:15:48.471Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-11T06:15:48.472Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-11T06:15:48.472Z] 213ec9aee27d: Pulling fs layer [2022-10-11T06:15:48.472Z] 4583459ba037: Pulling fs layer [2022-10-11T06:15:48.472Z] 93c1e223e6f2: Pulling fs layer [2022-10-11T06:15:48.472Z] 53926ce57604: Pulling fs layer [2022-10-11T06:15:48.472Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-11T06:15:48.472Z] 30f14e443154: Pulling fs layer [2022-10-11T06:15:48.472Z] 21b2b0c7a3f4: Waiting [2022-10-11T06:15:48.472Z] 53926ce57604: Waiting [2022-10-11T06:15:48.472Z] 801331c1e519: Pulling fs layer [2022-10-11T06:15:48.472Z] 99cc6dd402b0: Pulling fs layer [2022-10-11T06:15:48.472Z] 7d9ed39f4882: Pulling fs layer [2022-10-11T06:15:48.472Z] 801331c1e519: Waiting [2022-10-11T06:15:48.472Z] 99cc6dd402b0: Waiting [2022-10-11T06:15:48.472Z] 7d9ed39f4882: Waiting [2022-10-11T06:15:48.472Z] 30f14e443154: Waiting [2022-10-11T06:15:48.472Z] 93c1e223e6f2: Verifying Checksum [2022-10-11T06:15:48.472Z] 93c1e223e6f2: Download complete [2022-10-11T06:15:48.472Z] 4583459ba037: Download complete [2022-10-11T06:15:48.472Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-11T06:15:48.472Z] 21b2b0c7a3f4: Download complete [2022-10-11T06:15:48.472Z] 30f14e443154: Verifying Checksum [2022-10-11T06:15:48.472Z] 30f14e443154: Download complete [2022-10-11T06:15:48.472Z] 213ec9aee27d: Download complete [2022-10-11T06:15:48.734Z] 801331c1e519: Download complete [2022-10-11T06:15:48.734Z] 213ec9aee27d: Pull complete [2022-10-11T06:15:49.003Z] 4583459ba037: Pull complete [2022-10-11T06:15:49.003Z] 93c1e223e6f2: Pull complete [2022-10-11T06:15:49.263Z] 99cc6dd402b0: Verifying Checksum [2022-10-11T06:15:49.263Z] 99cc6dd402b0: Download complete [2022-10-11T06:15:49.521Z] 53926ce57604: Verifying Checksum [2022-10-11T06:15:49.521Z] 53926ce57604: Download complete [2022-10-11T06:15:49.521Z] 7d9ed39f4882: Verifying Checksum [2022-10-11T06:15:49.521Z] 7d9ed39f4882: Download complete [2022-10-11T06:15:53.718Z] 53926ce57604: Pull complete [2022-10-11T06:15:53.718Z] 21b2b0c7a3f4: Pull complete [2022-10-11T06:15:53.718Z] 30f14e443154: Pull complete [2022-10-11T06:15:53.718Z] 801331c1e519: Pull complete [2022-10-11T06:15:55.616Z] 99cc6dd402b0: Pull complete [2022-10-11T06:15:56.184Z] 7d9ed39f4882: Pull complete [2022-10-11T06:15:56.184Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-11T06:15:56.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-11T06:15:56.184Z] ---> 1dedd983c030 [2022-10-11T06:15:56.184Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-11T06:16:00.374Z] ---> Running in 046a7f7ea2ec [2022-10-11T06:16:00.374Z] Removing intermediate container 046a7f7ea2ec [2022-10-11T06:16:00.374Z] ---> a30c82b6241b [2022-10-11T06:16:00.374Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T06:16:00.374Z] ---> Running in 67752346703b [2022-10-11T06:16:00.374Z] Removing intermediate container 67752346703b [2022-10-11T06:16:00.374Z] ---> bdf71abf7f39 [2022-10-11T06:16:00.374Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-11T06:16:00.374Z] ---> Running in f991e84b4663 [2022-10-11T06:16:00.374Z] Removing intermediate container f991e84b4663 [2022-10-11T06:16:00.374Z] ---> c6c8fa42725e [2022-10-11T06:16:00.374Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-11T06:16:00.374Z] ---> Running in 9b94b531414b [2022-10-11T06:16:00.633Z] Removing intermediate container 9b94b531414b [2022-10-11T06:16:00.633Z] ---> bdeabce89a0b [2022-10-11T06:16:00.633Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T06:16:00.633Z] ---> Running in 2da9b68b9add [2022-10-11T06:16:01.203Z] Removing intermediate container 2da9b68b9add [2022-10-11T06:16:01.203Z] ---> 69651e314aa3 [2022-10-11T06:16:01.203Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T06:16:01.203Z] ---> Running in 8c9b859f3ce6 [2022-10-11T06:16:01.463Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T06:16:01.981Z] Still waiting to schedule task [2022-10-11T06:16:01.981Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-11T06:16:02.402Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T06:16:02.662Z] (1/80) Installing mesa (21.3.8-r2) [2022-10-11T06:16:02.920Z] (2/80) Installing libxau (1.0.9-r0) [2022-10-11T06:16:02.920Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-10-11T06:16:02.920Z] (4/80) Installing libxcb (1.15-r0) [2022-10-11T06:16:03.180Z] (5/80) Installing libx11 (1.8-r0) [2022-10-11T06:16:03.180Z] (6/80) Installing libxext (1.3.4-r0) [2022-10-11T06:16:03.439Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-10-11T06:16:03.439Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-10-11T06:16:03.439Z] (9/80) Installing libpciaccess (0.16-r0) [2022-10-11T06:16:03.698Z] (10/80) Installing libdrm (2.4.110-r0) [2022-10-11T06:16:03.698Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-10-11T06:16:03.698Z] (12/80) Installing libxshmfence (1.3-r1) [2022-10-11T06:16:03.957Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-10-11T06:16:03.957Z] (14/80) Installing icu-data-full (71.1-r2) [2022-10-11T06:16:05.335Z] (15/80) Installing libice (1.0.10-r0) [2022-10-11T06:16:05.335Z] (16/80) Installing libuuid (2.38-r1) [2022-10-11T06:16:05.335Z] (17/80) Installing libsm (1.2.3-r0) [2022-10-11T06:16:05.335Z] (18/80) Installing libxt (1.2.1-r0) [2022-10-11T06:16:05.593Z] (19/80) Installing libxmu (1.1.3-r0) [2022-10-11T06:16:05.593Z] (20/80) Installing xset (1.2.4-r0) [2022-10-11T06:16:05.593Z] (21/80) Installing xprop (1.2.5-r0) [2022-10-11T06:16:05.851Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-10-11T06:16:05.851Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-10-11T06:16:05.851Z] (24/80) Installing libffi (3.4.2-r1) [2022-10-11T06:16:06.110Z] (25/80) Installing libintl (0.21-r2) [2022-10-11T06:16:06.110Z] (26/80) Installing libblkid (2.38-r1) [2022-10-11T06:16:06.110Z] (27/80) Installing libmount (2.38-r1) [2022-10-11T06:16:06.369Z] (28/80) Installing pcre (8.45-r2) [2022-10-11T06:16:06.369Z] (29/80) Installing glib (2.72.1-r0) [2022-10-11T06:16:06.627Z] (30/80) Installing icu-libs (71.1-r2) [2022-10-11T06:16:06.886Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-10-11T06:16:06.886Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-10-11T06:16:06.886Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-10-11T06:16:07.457Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-10-11T06:16:07.457Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-10-11T06:16:07.457Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-10-11T06:16:07.716Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-10-11T06:16:07.716Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-10-11T06:16:08.283Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-10-11T06:16:08.283Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-10-11T06:16:08.542Z] (41/80) Installing libpng (1.6.37-r1) [2022-10-11T06:16:08.542Z] (42/80) Installing freetype (2.12.1-r0) [2022-10-11T06:16:08.542Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-10-11T06:16:08.801Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-10-11T06:16:08.801Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-10-11T06:16:08.801Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-10-11T06:16:09.060Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-10-11T06:16:09.060Z] (48/80) Installing libxml2 (2.9.14-r1) [2022-10-11T06:16:09.319Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-10-11T06:16:09.319Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-10-11T06:16:09.577Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-10-11T06:16:09.577Z] (52/80) Installing avahi-libs (0.8-r6) [2022-10-11T06:16:09.577Z] (53/80) Installing nettle (3.7.3-r0) [2022-10-11T06:16:09.836Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-10-11T06:16:09.836Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-10-11T06:16:10.096Z] (56/80) Installing libunistring (1.0-r0) [2022-10-11T06:16:10.096Z] (57/80) Installing gnutls (3.7.7-r0) [2022-10-11T06:16:10.354Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-10-11T06:16:10.355Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-10-11T06:16:10.355Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-10-11T06:16:10.613Z] (61/80) Installing libevdev (1.12.1-r0) [2022-10-11T06:16:10.613Z] (62/80) Installing mtdev (1.1.6-r0) [2022-10-11T06:16:10.613Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-10-11T06:16:10.871Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-10-11T06:16:10.871Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-10-11T06:16:11.130Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-10-11T06:16:11.130Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-10-11T06:16:11.130Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-10-11T06:16:11.397Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-10-11T06:16:11.398Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-10-11T06:16:11.656Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-10-11T06:16:11.657Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-10-11T06:16:12.223Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-10-11T06:16:12.481Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-10-11T06:16:12.481Z] (75/80) Installing udev-init-scripts (35-r0) [2022-10-11T06:16:12.481Z] Executing udev-init-scripts-35-r0.post-install [2022-10-11T06:16:12.481Z] (76/80) Installing kmod-libs (29-r2) [2022-10-11T06:16:12.739Z] (77/80) Installing eudev (3.2.11-r0) [2022-10-11T06:16:12.739Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-10-11T06:16:12.739Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-10-11T06:16:12.998Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-10-11T06:16:12.998Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T06:16:12.998Z] Executing eudev-3.2.11-r0.trigger [2022-10-11T06:16:12.998Z] OK: 330 MiB in 131 packages [2022-10-11T06:16:15.536Z] Removing intermediate container 8c9b859f3ce6 [2022-10-11T06:16:15.536Z] ---> bf84e70a76e2 [2022-10-11T06:16:15.536Z] Step 9/14 : WORKDIR /device-usb-camera [2022-10-11T06:16:15.536Z] ---> Running in 99547e03d016 [2022-10-11T06:16:15.536Z] Removing intermediate container 99547e03d016 [2022-10-11T06:16:15.536Z] ---> b4d45248fe7a [2022-10-11T06:16:15.536Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-11T06:16:15.536Z] ---> 7c7fd3817125 [2022-10-11T06:16:15.536Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T06:16:15.794Z] ---> Running in 643ccdbeea79 [2022-10-11T06:16:42.338Z] Removing intermediate container 643ccdbeea79 [2022-10-11T06:16:42.338Z] ---> abb20ea7abff [2022-10-11T06:16:42.338Z] Step 12/14 : COPY . . [2022-10-11T06:16:42.338Z] ---> 1779a262e7ae [2022-10-11T06:16:42.338Z] Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-11T06:16:42.338Z] ---> Running in b9f725af98d5 [2022-10-11T06:16:42.338Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T06:16:42.338Z] Dload Upload Total Spent Left Speed [2022-10-11T06:16:42.338Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0     0 11503      0 --:--:-- --:--:-- --:--:-- 11543 [2022-10-11T06:16:42.338Z] Removing intermediate container b9f725af98d5 [2022-10-11T06:16:42.338Z] ---> 25ec3fe447ed [2022-10-11T06:16:42.338Z] Step 14/14 : RUN ${MAKE} [2022-10-11T06:16:42.338Z] ---> Running in e40f12c9989a [2022-10-11T06:16:42.338Z] noop [2022-10-11T06:16:42.338Z] Removing intermediate container e40f12c9989a [2022-10-11T06:16:42.338Z] ---> 89a2213546f9 [2022-10-11T06:16:42.338Z] Successfully built 89a2213546f9 [2022-10-11T06:16:42.338Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:16:42.655Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-11T06:16:42.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T06:16:42.765Z] prd-ubuntu20.04-docker-8c-8g-7632 does not seem to be running inside a container [2022-10-11T06:16:42.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-11T06:16:43.126Z] $ docker top 278c204abe1a83e33da50b15e1cb3db6491391de6ba2bbcf94a6ea77418d3631 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T06:16:43.458Z] + go version [2022-10-11T06:16:43.458Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-11T06:16:43.471Z] $ docker stop --time=1 278c204abe1a83e33da50b15e1cb3db6491391de6ba2bbcf94a6ea77418d3631 [2022-10-11T06:16:44.734Z] $ docker rm -f 278c204abe1a83e33da50b15e1cb3db6491391de6ba2bbcf94a6ea77418d3631 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:16:45.115Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-11T06:16:45.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T06:16:45.178Z] prd-ubuntu20.04-docker-8c-8g-7632 does not seem to be running inside a container [2022-10-11T06:16:45.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-11T06:16:45.534Z] $ docker top 0381ea786cf383ed5d0f088c62f6da1b849dc16cea5a81e63c9bba2f045f1ca5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T06:16:45.876Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-100 [Pipeline] fileExists [Pipeline] sh [2022-10-11T06:16:46.166Z] + make test [2022-10-11T06:16:46.167Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-10-11T06:16:46.425Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-10-11T06:16:56.384Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-10-11T06:16:56.640Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.9% of statements [2022-10-11T06:17:04.742Z] 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-10-11T06:17:04.742Z] CGO_ENABLED=1 go vet ./... [2022-10-11T06:17:07.268Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-11T06:17:07.268Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-11T06:17:07.268Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-11T06:17:07.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-11T06:17:07.294Z] $ docker stop --time=1 0381ea786cf383ed5d0f088c62f6da1b849dc16cea5a81e63c9bba2f045f1ca5 [2022-10-11T06:17:10.080Z] $ docker rm -f 0381ea786cf383ed5d0f088c62f6da1b849dc16cea5a81e63c9bba2f045f1ca5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T06:17:10.547Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-11T06:17:10.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-11T06:17:11.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-11T06:17:11.372Z] + ls -al . [2022-10-11T06:17:11.372Z] total 196 [2022-10-11T06:17:11.372Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 06:16 . [2022-10-11T06:17:11.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 06:15 .. [2022-10-11T06:17:11.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 06:16 .git [2022-10-11T06:17:11.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:15 .github [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 414 Oct 11 06:15 .gitignore [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 06:15 .golangci.yml [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 11 06:15 .hadolint.yml [2022-10-11T06:17:11.372Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 06:15 .semver [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 9702 Oct 11 06:15 Attribution.txt [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 1206 Oct 11 06:15 CHANGELOG.md [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 2467 Oct 11 06:15 Dockerfile [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 11 06:15 GOVERNANCE.md [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 11 06:15 Jenkinsfile [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 06:15 LICENSE [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 2554 Oct 11 06:15 Makefile [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 11 06:15 OWNERS.md [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 5773 Oct 11 06:15 README.md [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 06:15 VERSION [2022-10-11T06:17:11.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 06:15 bin [2022-10-11T06:17:11.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:15 cmd [2022-10-11T06:17:11.372Z] -rw-r--r-- 1 jenkins jenkins 29387 Oct 11 06:16 coverage.out [2022-10-11T06:17:11.372Z] -rwxrwxr-x 1 jenkins jenkins 140 Oct 11 06:15 docker-entrypoint.sh [2022-10-11T06:17:11.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:15 docs [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 3633 Oct 11 06:15 go.mod [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 38103 Oct 11 06:15 go.sum [2022-10-11T06:17:11.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:15 internal [2022-10-11T06:17:11.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 06:15 snap [2022-10-11T06:17:11.372Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 11 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:17:11.680Z] + 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=f960238d04fd6725cdd527158cbe43bba046f3cc --label arch=amd64 --label version=0.0.0 . [2022-10-11T06:17:11.680Z] Sending build context to Docker daemon 1.56MB [2022-10-11T06:17:11.680Z] Step 1/36 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T06:17:11.680Z] Step 2/36 : FROM ${BASE} AS builder [2022-10-11T06:17:11.680Z] ---> 89a2213546f9 [2022-10-11T06:17:11.680Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2022-10-11T06:17:11.680Z] ---> Running in 7a6c7324bb4e [2022-10-11T06:17:11.939Z] Removing intermediate container 7a6c7324bb4e [2022-10-11T06:17:11.939Z] ---> 8a9a595a2aa6 [2022-10-11T06:17:11.939Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T06:17:11.939Z] ---> Running in 83e2f0ffc9c3 [2022-10-11T06:17:11.939Z] Removing intermediate container 83e2f0ffc9c3 [2022-10-11T06:17:11.939Z] ---> e0439d458106 [2022-10-11T06:17:11.939Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-11T06:17:11.939Z] ---> Running in 6005c9dd8fdc [2022-10-11T06:17:11.939Z] Removing intermediate container 6005c9dd8fdc [2022-10-11T06:17:11.939Z] ---> cc7da2a991bd [2022-10-11T06:17:11.939Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-11T06:17:11.939Z] ---> Running in 5b5210581ff3 [2022-10-11T06:17:12.198Z] Removing intermediate container 5b5210581ff3 [2022-10-11T06:17:12.198Z] ---> c59f3c2f240c [2022-10-11T06:17:12.198Z] Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T06:17:12.198Z] ---> Running in 8ec4e8a776e6 [2022-10-11T06:17:12.766Z] Removing intermediate container 8ec4e8a776e6 [2022-10-11T06:17:12.766Z] ---> 4b081ffffcc6 [2022-10-11T06:17:12.766Z] Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T06:17:12.766Z] ---> Running in 446eb961cffe [2022-10-11T06:17:13.026Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T06:17:13.974Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T06:17:14.234Z] OK: 330 MiB in 131 packages [2022-10-11T06:17:14.493Z] Removing intermediate container 446eb961cffe [2022-10-11T06:17:14.493Z] ---> 4344bc6fd57b [2022-10-11T06:17:14.493Z] Step 9/36 : WORKDIR /device-usb-camera [2022-10-11T06:17:14.493Z] ---> Running in 0665a8511d07 [2022-10-11T06:17:14.493Z] Removing intermediate container 0665a8511d07 [2022-10-11T06:17:14.493Z] ---> 451621393dae [2022-10-11T06:17:14.493Z] Step 10/36 : COPY go.mod vendor* ./ [2022-10-11T06:17:14.752Z] ---> fa0f6112e6cb [2022-10-11T06:17:14.752Z] Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T06:17:14.752Z] ---> Running in 6ddd00b73564 [2022-10-11T06:17:15.320Z] Removing intermediate container 6ddd00b73564 [2022-10-11T06:17:15.320Z] ---> 7d5cc4754078 [2022-10-11T06:17:15.320Z] Step 12/36 : COPY . . [2022-10-11T06:17:15.579Z] ---> c1a92d4e87ff [2022-10-11T06:17:15.579Z] Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-11T06:17:15.579Z] ---> Running in 03d4939baf38 [2022-10-11T06:17:15.838Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T06:17:15.838Z] Dload Upload Total Spent Left Speed [2022-10-11T06:17:16.096Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 47237 0 --:--:-- --:--:-- --:--:-- 48272 [2022-10-11T06:17:16.354Z] Removing intermediate container 03d4939baf38 [2022-10-11T06:17:16.354Z] ---> 93a5d16468fc [2022-10-11T06:17:16.354Z] Step 14/36 : RUN ${MAKE} [2022-10-11T06:17:16.354Z] ---> Running in 62dbbc4ca7d5 [2022-10-11T06:17:16.613Z] 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-dev.37" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-10-11T06:17:31.450Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7633 in /w/workspace/foundry_device-usb-camera_PR-100 [Pipeline] { [Pipeline] ws [2022-10-11T06:17:31.466Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2022-10-11T06:17:31.497Z] Selected Git installation does not exist. Using Default [2022-10-11T06:17:31.497Z] The recommended git tool is: NONE [2022-10-11T06:17:36.312Z] using credential edgex-jenkins-ssh [2022-10-11T06:17:36.326Z] Cloning the remote Git repository [2022-10-11T06:17:36.367Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-10-11T06:17:36.446Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2022-10-11T06:17:36.609Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-10-11T06:17:36.610Z] > git --version # timeout=10 [2022-10-11T06:17:36.632Z] > git --version # 'git version 2.25.1' [2022-10-11T06:17:36.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T06:17:36.680Z] Verifying host key using known hosts file [2022-10-11T06:17:36.850Z] 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-10-11T06:17:36.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-11T06:17:37.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-10-11T06:17:37.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-11T06:17:38.428Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-10-11T06:17:38.478Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-10-11T06:17:38.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T06:17:38.483Z] Verifying host key using known hosts file [2022-10-11T06:17:38.489Z] 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-10-11T06:17:38.500Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/100/head:refs/remotes/origin/PR-100 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-11T06:17:39.113Z] Merging remotes/origin/main commit e381fef93e2e423e063e21a7b547118aa6f1cf75 into PR head commit 7fedce7edd12652b29de3089237b3736a9072910 [2022-10-11T06:17:39.360Z] Merge succeeded, producing 9f6c948af4643d692dfd1f6dc5a37606bd27b23c [2022-10-11T06:17:39.360Z] Checking out Revision 9f6c948af4643d692dfd1f6dc5a37606bd27b23c (PR-100) [2022-10-11T06:17:39.132Z] > git config core.sparsecheckout # timeout=10 [2022-10-11T06:17:39.149Z] > git checkout -f 7fedce7edd12652b29de3089237b3736a9072910 # timeout=10 [2022-10-11T06:17:39.230Z] > git remote # timeout=10 [2022-10-11T06:17:39.248Z] > git config --get remote.origin.url # timeout=10 [2022-10-11T06:17:39.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T06:17:39.272Z] Verifying host key using known hosts file [2022-10-11T06:17:39.276Z] 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-10-11T06:17:39.284Z] > git merge e381fef93e2e423e063e21a7b547118aa6f1cf75 # timeout=10 [2022-10-11T06:17:39.345Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-11T06:17:39.366Z] > git config core.sparsecheckout # timeout=10 [2022-10-11T06:17:39.379Z] > git checkout -f 9f6c948af4643d692dfd1f6dc5a37606bd27b23c # timeout=10 [2022-10-11T06:17:42.831Z] Commit message: "Merge commit 'e381fef93e2e423e063e21a7b547118aa6f1cf75' into HEAD" [2022-10-11T06:17:42.839Z] > git rev-list --no-walk 7fedce7edd12652b29de3089237b3736a9072910 # timeout=10 [2022-10-11T06:17:43.146Z] Removing intermediate container 62dbbc4ca7d5 [2022-10-11T06:17:43.146Z] ---> 34d84bca1245 [2022-10-11T06:17:43.146Z] Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-10-11T06:17:43.146Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-10-11T06:17:43.146Z] af6660deedbd: Pulling fs layer [2022-10-11T06:17:43.146Z] 97cd0a44c592: Pulling fs layer [2022-10-11T06:17:43.146Z] 97cd0a44c592: Verifying Checksum [2022-10-11T06:17:43.146Z] 97cd0a44c592: Download complete [2022-10-11T06:17:43.146Z] af6660deedbd: Verifying Checksum [2022-10-11T06:17:43.146Z] af6660deedbd: Download complete [2022-10-11T06:17:43.146Z] af6660deedbd: Pull complete [2022-10-11T06:17:43.146Z] 97cd0a44c592: Pull complete [2022-10-11T06:17:43.146Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-10-11T06:17:43.146Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-10-11T06:17:43.146Z] ---> fea57e182299 [2022-10-11T06:17:43.146Z] Step 16/36 : FROM alpine:3.16 [2022-10-11T06:17:43.146Z] 3.16: Pulling from library/alpine [2022-10-11T06:17:43.146Z] 213ec9aee27d: Already exists [2022-10-11T06:17:43.146Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-11T06:17:43.146Z] Status: Downloaded newer image for alpine:3.16 [2022-10-11T06:17:43.146Z] ---> 9c6f07244728 [2022-10-11T06:17:43.146Z] Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-11T06:17:43.146Z] ---> Running in 91dd282b3131 [2022-10-11T06:17:43.146Z] Removing intermediate container 91dd282b3131 [2022-10-11T06:17:43.146Z] ---> 9120cef9c6a5 [2022-10-11T06:17:43.146Z] Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-10-11T06:17:43.146Z] ---> Running in 178b92ce5064 [2022-10-11T06:17:43.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T06:17:43.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T06:17:43.146Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-10-11T06:17:43.146Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-10-11T06:17:43.146Z] (3/83) Installing libxau (1.0.9-r0) [2022-10-11T06:17:43.146Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-10-11T06:17:43.146Z] (5/83) Installing libxcb (1.15-r0) [2022-10-11T06:17:43.146Z] (6/83) Installing libx11 (1.8-r0) [2022-10-11T06:17:43.146Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-10-11T06:17:43.146Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-10-11T06:17:43.146Z] (9/83) Installing expat (2.4.9-r0) [2022-10-11T06:17:43.146Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-10-11T06:17:43.146Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-10-11T06:17:43.146Z] (12/83) Installing libpng (1.6.37-r1) [2022-10-11T06:17:43.146Z] (13/83) Installing freetype (2.12.1-r0) [2022-10-11T06:17:43.146Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-10-11T06:17:43.146Z] (15/83) Installing fribidi (1.0.12-r0) [2022-10-11T06:17:43.146Z] (16/83) Installing libffi (3.4.2-r1) [2022-10-11T06:17:43.146Z] (17/83) Installing libintl (0.21-r2) [2022-10-11T06:17:43.146Z] (18/83) Installing libblkid (2.38-r1) [2022-10-11T06:17:43.146Z] (19/83) Installing libmount (2.38-r1) [2022-10-11T06:17:43.146Z] (20/83) Installing pcre (8.45-r2) [2022-10-11T06:17:43.146Z] (21/83) Installing glib (2.72.1-r0) [2022-10-11T06:17:43.146Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-10-11T06:17:43.146Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-10-11T06:17:43.146Z] (24/83) Installing libass (0.16.0-r0) [2022-10-11T06:17:43.146Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-10-11T06:17:43.146Z] (26/83) Installing libpciaccess (0.16-r0) [2022-10-11T06:17:43.146Z] (27/83) Installing libdrm (2.4.110-r0) [2022-10-11T06:17:43.146Z] (28/83) Installing gmp (6.2.1-r2) [2022-10-11T06:17:43.146Z] (29/83) Installing nettle (3.7.3-r0) [2022-10-11T06:17:43.146Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-10-11T06:17:43.146Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-10-11T06:17:43.146Z] (32/83) Installing libunistring (1.0-r0) [2022-10-11T06:17:43.146Z] (33/83) Installing gnutls (3.7.7-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T06:17:43.407Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-11T06:17:43.407Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-11T06:17:43.407Z] (36/83) Installing lame (3.100-r0) [2022-10-11T06:17:43.407Z] (37/83) Installing opus (1.3.1-r1) [2022-10-11T06:17:43.407Z] (38/83) Installing libasyncns (0.8-r1) [2022-10-11T06:17:43.407Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-10-11T06:17:43.407Z] (40/83) Installing libltdl (2.4.7-r0) [2022-10-11T06:17:43.407Z] (41/83) Installing orc (0.4.32-r0) [2022-10-11T06:17:43.407Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-10-11T06:17:43.407Z] (43/83) Installing libogg (1.3.5-r1) [2022-10-11T06:17:43.407Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-11T06:17:43.407Z] (45/83) Installing flac (1.3.4-r0) [2022-10-11T06:17:43.407Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-10-11T06:17:43.407Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-10-11T06:17:43.407Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-10-11T06:17:43.407Z] (49/83) Installing soxr (0.1.3-r2) [2022-10-11T06:17:43.407Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-10-11T06:17:43.407Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-10-11T06:17:43.407Z] (52/83) Installing libpulse (15.0-r2) [2022-10-11T06:17:43.667Z] (53/83) Installing cjson (1.7.15-r3) [2022-10-11T06:17:43.667Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-10-11T06:17:43.667Z] (55/83) Installing librist (0.2.6-r1) [2022-10-11T06:17:43.667Z] (56/83) Installing libsrt (1.4.4-r0) [2022-10-11T06:17:43.667Z] (57/83) Installing libssh (0.9.6-r1) [2022-10-11T06:17:43.667Z] (58/83) Installing libtheora (1.1.1-r16) [2022-10-11T06:17:43.667Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-10-11T06:17:43.667Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-10-11T06:17:43.667Z] (61/83) Installing libxext (1.3.4-r0) [2022-10-11T06:17:43.667Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-10-11T06:17:43.667Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-10-11T06:17:43.667Z] (64/83) Installing libva (2.14.0-r0) [2022-10-11T06:17:43.667Z] (65/83) Installing libvdpau (1.5-r0) [2022-10-11T06:17:43.667Z] (66/83) Installing vidstab (1.1.0-r1) [2022-10-11T06:17:43.667Z] (67/83) Installing libvpx (1.11.0-r1) [2022-10-11T06:17:43.667Z] (68/83) Installing libwebp (1.2.3-r0) [2022-10-11T06:17:43.667Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-10-11T06:17:43.667Z] (70/83) Installing numactl (2.0.14-r0) [2022-10-11T06:17:43.667Z] (71/83) Installing x265-libs (3.5-r3) [2022-10-11T06:17:43.802Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-11T06:17:43.802Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T06:17:43.802Z] Dload Upload Total Spent Left Speed [2022-10-11T06:17:43.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 [2022-10-11T06:17:43.925Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-10-11T06:17:43.925Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-10-11T06:17:43.925Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-10-11T06:17:43.925Z] (75/83) Installing udev-init-scripts (35-r0) [2022-10-11T06:17:43.925Z] Executing udev-init-scripts-35-r0.post-install [2022-10-11T06:17:43.925Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-10-11T06:17:43.925Z] (77/83) Installing xz-libs (5.2.5-r1) [Pipeline] sh [2022-10-11T06:17:44.182Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-10-11T06:17:44.182Z] (79/83) Installing kmod-libs (29-r2) [2022-10-11T06:17:44.182Z] (80/83) Installing eudev (3.2.11-r0) [2022-10-11T06:17:44.182Z] (81/83) Installing libsodium (1.0.18-r0) [2022-10-11T06:17:44.182Z] (82/83) Installing libzmq (4.3.4-r0) [2022-10-11T06:17:44.182Z] (83/83) Installing zeromq (4.3.4-r0) [2022-10-11T06:17:44.182Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T06:17:44.182Z] Executing eudev-3.2.11-r0.trigger [2022-10-11T06:17:44.182Z] OK: 101 MiB in 97 packages [2022-10-11T06:17:44.475Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-11T06:17:44.803Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-11T06:17:44.803Z] + sudo tee /etc/docker/daemon.new [2022-10-11T06:17:44.803Z] { [2022-10-11T06:17:44.803Z] "registry-mirrors": [ [2022-10-11T06:17:44.803Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-11T06:17:44.803Z] ], [2022-10-11T06:17:44.803Z] "bip": "10.250.0.254/24", [2022-10-11T06:17:44.803Z] "hosts": [ [2022-10-11T06:17:44.803Z] "tcp://0.0.0.0:5555", [2022-10-11T06:17:44.803Z] "unix:///var/run/docker.sock" [2022-10-11T06:17:44.803Z] ], [2022-10-11T06:17:44.803Z] "mtu": 1458, [2022-10-11T06:17:44.803Z] "selinux-enabled": true, [2022-10-11T06:17:44.803Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-11T06:17:44.803Z] } [Pipeline] sh [2022-10-11T06:17:45.127Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-11T06:17:45.453Z] + sudo service docker restart [2022-10-11T06:17:46.714Z] Removing intermediate container 178b92ce5064 [2022-10-11T06:17:46.714Z] ---> 34605034fcd8 [2022-10-11T06:17:46.714Z] Step 19/36 : WORKDIR / [2022-10-11T06:17:46.714Z] ---> Running in 183268b5ac0a [2022-10-11T06:17:46.714Z] Removing intermediate container 183268b5ac0a [2022-10-11T06:17:46.714Z] ---> f5c1bb3f1e6c [2022-10-11T06:17:46.714Z] Step 20/36 : COPY --from=builder /device-usb-camera/cmd / [2022-10-11T06:17:47.651Z] ---> 475bfdddf941 [2022-10-11T06:17:47.651Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / [2022-10-11T06:17:47.910Z] ---> f07898476492 [2022-10-11T06:17:47.910Z] Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-10-11T06:17:48.168Z] ---> a51701a3d9e7 [2022-10-11T06:17:48.168Z] Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-10-11T06:17:48.168Z] ---> 5ec1839c2ba6 [2022-10-11T06:17:48.168Z] Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-10-11T06:17:48.427Z] ---> b3eef596a882 [2022-10-11T06:17:48.427Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-10-11T06:17:48.687Z] ---> 3a37ff2a2e05 [2022-10-11T06:17:48.687Z] Step 26/36 : COPY --from=rtsp /rtsp-simple-server / [2022-10-11T06:17:49.624Z] ---> eafbedd62b00 [2022-10-11T06:17:49.624Z] Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-10-11T06:17:49.624Z] ---> Running in 77d82efce8c6 [2022-10-11T06:17:50.191Z] Removing intermediate container 77d82efce8c6 [2022-10-11T06:17:50.191Z] ---> 2b0139219baf [2022-10-11T06:17:50.191Z] Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-10-11T06:17:50.191Z] ---> Running in 5667c297f823 [2022-10-11T06:17:50.761Z] Removing intermediate container 5667c297f823 [2022-10-11T06:17:50.761Z] ---> 8c0709d12859 [2022-10-11T06:17:50.761Z] Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-10-11T06:17:50.761Z] ---> Running in 996d1f60abfc [2022-10-11T06:17:51.328Z] Removing intermediate container 996d1f60abfc [2022-10-11T06:17:51.328Z] ---> fe0b938b32b8 [2022-10-11T06:17:51.328Z] Step 30/36 : EXPOSE 59983 [2022-10-11T06:17:51.328Z] ---> Running in bef1aa7621c6 [2022-10-11T06:17:51.328Z] Removing intermediate container bef1aa7621c6 [2022-10-11T06:17:51.328Z] ---> faded0528bf2 [2022-10-11T06:17:51.328Z] Step 31/36 : EXPOSE 8554 [2022-10-11T06:17:51.328Z] ---> Running in 70a14d465491 [2022-10-11T06:17:51.328Z] Removing intermediate container 70a14d465491 [2022-10-11T06:17:51.328Z] ---> 0b1153a7ec17 [2022-10-11T06:17:51.328Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-10-11T06:17:51.328Z] ---> Running in dedfb0fd3d57 [2022-10-11T06:17:51.585Z] Removing intermediate container dedfb0fd3d57 [2022-10-11T06:17:51.585Z] ---> e0e284fca528 [2022-10-11T06:17:51.585Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-10-11T06:17:51.585Z] ---> Running in 738d526cb631 [2022-10-11T06:17:51.843Z] Removing intermediate container 738d526cb631 [2022-10-11T06:17:51.843Z] ---> 004d659df27d [2022-10-11T06:17:51.843Z] Step 34/36 : LABEL arch=amd64 [2022-10-11T06:17:51.843Z] ---> Running in 617833dad8c8 [2022-10-11T06:17:51.843Z] Removing intermediate container 617833dad8c8 [2022-10-11T06:17:51.843Z] ---> 95a3ba23a33a [2022-10-11T06:17:51.843Z] Step 35/36 : LABEL git_sha=f960238d04fd6725cdd527158cbe43bba046f3cc [2022-10-11T06:17:51.843Z] ---> Running in 206b3f27ee3b [2022-10-11T06:17:52.104Z] Removing intermediate container 206b3f27ee3b [2022-10-11T06:17:52.104Z] ---> f9ac49bab812 [2022-10-11T06:17:52.104Z] Step 36/36 : LABEL version=0.0.0 [2022-10-11T06:17:52.104Z] ---> Running in d5043d522b16 [2022-10-11T06:17:52.104Z] Removing intermediate container d5043d522b16 [2022-10-11T06:17:52.104Z] ---> 641875afe242 [2022-10-11T06:17:52.104Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-11T06:17:52.104Z] Successfully built 641875afe242 [2022-10-11T06:17:52.104Z] 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-10-11T06:17:52.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T06:17:52.526Z] [2022-10-11T06:17:52.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:17:52.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T06:17:52.823Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-11T06:17:52.823Z] 5eb5b503b376: Pulling fs layer [2022-10-11T06:17:52.823Z] 5c69ac0246d0: Pulling fs layer [2022-10-11T06:17:52.823Z] ec43610c2a17: Pulling fs layer [2022-10-11T06:17:52.823Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-11T06:17:52.823Z] 33b1e0a273af: Pulling fs layer [2022-10-11T06:17:52.823Z] 5d3b04190fa2: Pulling fs layer [2022-10-11T06:17:52.823Z] 2f39f015ded8: Pulling fs layer [2022-10-11T06:17:52.823Z] 3a2ae6a8a46f: Waiting [2022-10-11T06:17:52.823Z] 33b1e0a273af: Waiting [2022-10-11T06:17:52.823Z] 5d3b04190fa2: Waiting [2022-10-11T06:17:52.823Z] 2f39f015ded8: Waiting [2022-10-11T06:17:52.823Z] 5c69ac0246d0: Verifying Checksum [2022-10-11T06:17:52.823Z] 5c69ac0246d0: Download complete [2022-10-11T06:17:52.823Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-11T06:17:52.823Z] 3a2ae6a8a46f: Download complete [2022-10-11T06:17:52.823Z] 33b1e0a273af: Verifying Checksum [2022-10-11T06:17:52.823Z] 33b1e0a273af: Download complete [2022-10-11T06:17:52.823Z] 5d3b04190fa2: Download complete [2022-10-11T06:17:52.823Z] ec43610c2a17: Verifying Checksum [2022-10-11T06:17:52.823Z] ec43610c2a17: Download complete [2022-10-11T06:17:53.081Z] 5eb5b503b376: Verifying Checksum [2022-10-11T06:17:53.081Z] 5eb5b503b376: Download complete [2022-10-11T06:17:54.017Z] 2f39f015ded8: Verifying Checksum [2022-10-11T06:17:54.017Z] 2f39f015ded8: Download complete [2022-10-11T06:17:54.277Z] 5eb5b503b376: Pull complete [2022-10-11T06:17:54.540Z] 5c69ac0246d0: Pull complete [2022-10-11T06:17:55.141Z] ec43610c2a17: Pull complete [2022-10-11T06:17:55.141Z] 3a2ae6a8a46f: Pull complete [2022-10-11T06:17:55.141Z] 33b1e0a273af: Pull complete [2022-10-11T06:17:55.405Z] 5d3b04190fa2: Pull complete [2022-10-11T06:17:59.611Z] 2f39f015ded8: Pull complete [2022-10-11T06:17:59.611Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-11T06:17:59.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T06:17:59.611Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T06:17:59.682Z] prd-ubuntu20.04-docker-8c-8g-7632 does not seem to be running inside a container [2022-10-11T06:17:59.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T06:18:03.781Z] $ docker top 93f22943f491709704353364bccdb69b463ea18bb913d37a9a6f8091b29d1e79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2022-10-11T06:18:03.936Z] provisioning config files... [2022-10-11T06:18:03.961Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config2349398379844923587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:18:04.188Z] ---> job-cost.sh [2022-10-11T06:18:04.188Z] lf-activate-venv: SKIPPING [2022-10-11T06:18:04.188Z] INFO: No Stack... [2022-10-11T06:18:04.308Z] ---> docker-login.sh [2022-10-11T06:18:04.308Z] nexus3.edgexfoundry.org:10001 [2022-10-11T06:18:04.447Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-11T06:18:04.705Z] INFO: Archiving Costs [Pipeline] sh [2022-10-11T06:18:04.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:18:04.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:18:04.897Z] Configure a credential helper to remove this warning. See [2022-10-11T06:18:04.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:18:04.897Z] [2022-10-11T06:18:04.897Z] Login Succeeded [2022-10-11T06:18:04.897Z] nexus3.edgexfoundry.org:10002 [2022-10-11T06:18:04.987Z] + cat /w/workspace/foundry_device-usb-camera_PR-100/archives/cost.csv [2022-10-11T06:18:04.987Z] + cut -d, -f6 [Pipeline] lock [2022-10-11T06:18:05.000Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-100-2-stack-cost] [2022-10-11T06:18:05.006Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-100-2-stack-cost] did not exist. Created. [2022-10-11T06:18:05.006Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-11T06:18:05.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:18:05.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:18:05.167Z] Configure a credential helper to remove this warning. See [2022-10-11T06:18:05.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:18:05.167Z] [2022-10-11T06:18:05.167Z] Login Succeeded [2022-10-11T06:18:05.167Z] nexus3.edgexfoundry.org:10003 [2022-10-11T06:18:05.304Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-11T06:18:05.333Z] Stashed 1 file(s) [Pipeline] } [2022-10-11T06:18:05.339Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-100-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-11T06:18:05.358Z] $ docker stop --time=1 93f22943f491709704353364bccdb69b463ea18bb913d37a9a6f8091b29d1e79 [2022-10-11T06:18:05.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:18:05.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:18:05.711Z] Configure a credential helper to remove this warning. See [2022-10-11T06:18:05.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:18:05.711Z] [2022-10-11T06:18:05.711Z] Login Succeeded [2022-10-11T06:18:05.711Z] nexus3.edgexfoundry.org:10004 [2022-10-11T06:18:05.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:18:05.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:18:05.986Z] Configure a credential helper to remove this warning. See [2022-10-11T06:18:05.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:18:05.986Z] [2022-10-11T06:18:05.986Z] Login Succeeded [2022-10-11T06:18:05.986Z] docker.io [2022-10-11T06:18:06.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T06:18:06.500Z] $ docker rm -f 93f22943f491709704353364bccdb69b463ea18bb913d37a9a6f8091b29d1e79 [2022-10-11T06:18:06.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T06:18:06.525Z] Configure a credential helper to remove this warning. See [2022-10-11T06:18:06.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T06:18:06.525Z] [2022-10-11T06:18:06.525Z] Login Succeeded [2022-10-11T06:18:06.525Z] ---> docker-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2022-10-11T06:18:06.550Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2022-10-11T06:18:06.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T06:18:06.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T06:18:06.695Z] ========================================================= [2022-10-11T06:18:06.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-11T06:18:06.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:18:07.026Z] + 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-10-11T06:18:07.295Z] Sending build context to Docker daemon 1.011MB [2022-10-11T06:18:07.295Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T06:18:07.295Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-11T06:18:07.564Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-11T06:18:07.564Z] 9b18e9b68314: Pulling fs layer [2022-10-11T06:18:07.564Z] d32db5db7311: Pulling fs layer [2022-10-11T06:18:07.564Z] d0c4b47475fc: Pulling fs layer [2022-10-11T06:18:07.564Z] 5831b945b038: Pulling fs layer [2022-10-11T06:18:07.564Z] 86bbec2aaacd: Pulling fs layer [2022-10-11T06:18:07.564Z] e10730c5d714: Pulling fs layer [2022-10-11T06:18:07.564Z] 5dd5c2283517: Pulling fs layer [2022-10-11T06:18:07.564Z] d5ac0230b979: Pulling fs layer [2022-10-11T06:18:07.564Z] 5831b945b038: Waiting [2022-10-11T06:18:07.564Z] 86bbec2aaacd: Waiting [2022-10-11T06:18:07.564Z] e10730c5d714: Waiting [2022-10-11T06:18:07.564Z] 5dd5c2283517: Waiting [2022-10-11T06:18:07.564Z] d0c4b47475fc: Verifying Checksum [2022-10-11T06:18:07.564Z] d0c4b47475fc: Download complete [2022-10-11T06:18:07.564Z] d32db5db7311: Verifying Checksum [2022-10-11T06:18:07.564Z] d32db5db7311: Download complete [2022-10-11T06:18:07.564Z] 86bbec2aaacd: Verifying Checksum [2022-10-11T06:18:07.564Z] 86bbec2aaacd: Download complete [2022-10-11T06:18:07.564Z] e10730c5d714: Verifying Checksum [2022-10-11T06:18:07.564Z] e10730c5d714: Download complete [2022-10-11T06:18:07.564Z] 9b18e9b68314: Verifying Checksum [2022-10-11T06:18:07.564Z] 9b18e9b68314: Download complete [2022-10-11T06:18:08.539Z] 9b18e9b68314: Pull complete [2022-10-11T06:18:08.824Z] d5ac0230b979: Verifying Checksum [2022-10-11T06:18:08.824Z] d5ac0230b979: Download complete [2022-10-11T06:18:09.100Z] d32db5db7311: Pull complete [2022-10-11T06:18:09.370Z] d0c4b47475fc: Pull complete [2022-10-11T06:18:09.955Z] 5dd5c2283517: Verifying Checksum [2022-10-11T06:18:09.955Z] 5dd5c2283517: Download complete [2022-10-11T06:18:10.543Z] 5831b945b038: Verifying Checksum [2022-10-11T06:18:10.543Z] 5831b945b038: Download complete [2022-10-11T06:18:22.884Z] 5831b945b038: Pull complete [2022-10-11T06:18:22.884Z] 86bbec2aaacd: Pull complete [2022-10-11T06:18:22.884Z] e10730c5d714: Pull complete [2022-10-11T06:18:29.543Z] 5dd5c2283517: Pull complete [2022-10-11T06:18:31.511Z] d5ac0230b979: Pull complete [2022-10-11T06:18:31.511Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-11T06:18:31.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-11T06:18:31.511Z] ---> 59b3b1a385d4 [2022-10-11T06:18:31.511Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-11T06:18:32.914Z] ---> Running in a6a3d21cf789 [2022-10-11T06:18:33.179Z] Removing intermediate container a6a3d21cf789 [2022-10-11T06:18:33.179Z] ---> d9f86d91c7fc [2022-10-11T06:18:33.179Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T06:18:33.179Z] ---> Running in 8baa3aeb8dec [2022-10-11T06:18:33.446Z] Removing intermediate container 8baa3aeb8dec [2022-10-11T06:18:33.446Z] ---> af9ed276099d [2022-10-11T06:18:33.446Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-11T06:18:33.446Z] ---> Running in 1f879ab7925e [2022-10-11T06:18:33.713Z] Removing intermediate container 1f879ab7925e [2022-10-11T06:18:33.713Z] ---> ccdb59732100 [2022-10-11T06:18:33.713Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-11T06:18:33.979Z] ---> Running in 7b189b4567b3 [2022-10-11T06:18:34.248Z] Removing intermediate container 7b189b4567b3 [2022-10-11T06:18:34.248Z] ---> b4d7427933f6 [2022-10-11T06:18:34.248Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T06:18:34.248Z] ---> Running in 7062a2c56e74 [2022-10-11T06:18:36.196Z] Removing intermediate container 7062a2c56e74 [2022-10-11T06:18:36.196Z] ---> 58dba858cca3 [2022-10-11T06:18:36.196Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T06:18:36.196Z] ---> Running in eeb05771282c [2022-10-11T06:18:37.154Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T06:18:38.110Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T06:18:38.690Z] (1/14) Installing libintl (0.21-r2) [2022-10-11T06:18:38.690Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-10-11T06:18:38.956Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-10-11T06:18:38.956Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-10-11T06:18:39.221Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-10-11T06:18:39.221Z] (6/14) Installing udev-init-scripts (35-r0) [2022-10-11T06:18:39.486Z] Executing udev-init-scripts-35-r0.post-install [2022-10-11T06:18:39.486Z] (7/14) Installing libblkid (2.38-r1) [2022-10-11T06:18:39.486Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-10-11T06:18:39.486Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-10-11T06:18:39.753Z] (10/14) Installing kmod-libs (29-r2) [2022-10-11T06:18:39.753Z] (11/14) Installing eudev (3.2.11-r0) [2022-10-11T06:18:40.021Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-10-11T06:18:40.021Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-10-11T06:18:40.021Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-10-11T06:18:40.291Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T06:18:40.291Z] Executing eudev-3.2.11-r0.trigger [2022-10-11T06:18:40.291Z] OK: 228 MiB in 65 packages [2022-10-11T06:18:41.712Z] Removing intermediate container eeb05771282c [2022-10-11T06:18:41.712Z] ---> 14ee28670c04 [2022-10-11T06:18:41.712Z] Step 9/14 : WORKDIR /device-usb-camera [2022-10-11T06:18:41.712Z] ---> Running in 2fca869236e1 [2022-10-11T06:18:41.712Z] Removing intermediate container 2fca869236e1 [2022-10-11T06:18:41.712Z] ---> 7ec37ee75f5e [2022-10-11T06:18:41.712Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-11T06:18:42.677Z] ---> 4d4370f67c29 [2022-10-11T06:18:42.677Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T06:18:42.945Z] ---> Running in 9176adee783a [2022-10-11T06:19:29.827Z] Removing intermediate container 9176adee783a [2022-10-11T06:19:29.827Z] ---> d0c281838284 [2022-10-11T06:19:29.827Z] Step 12/14 : COPY . . [2022-10-11T06:19:29.827Z] ---> f9b566ec5337 [2022-10-11T06:19:29.827Z] Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-11T06:19:29.827Z] ---> Running in 90216c666b41 [2022-10-11T06:19:30.410Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2022-10-11T06:19:30.410Z]   Dload Upload Total Spent Left Speed [2022-10-11T06:19:30.410Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 13715 0 --:--:-- --:--:-- --:--:-- 13973 [2022-10-11T06:19:31.378Z] Removing intermediate container 90216c666b41 [2022-10-11T06:19:31.378Z] ---> 2705cac46cc2 [2022-10-11T06:19:31.378Z] Step 14/14 : RUN ${MAKE} [2022-10-11T06:19:31.378Z] ---> Running in e2b51a751814 [2022-10-11T06:19:32.341Z] noop [2022-10-11T06:19:32.925Z] Removing intermediate container e2b51a751814 [2022-10-11T06:19:32.925Z] ---> ef35cdeb584b [2022-10-11T06:19:32.925Z] Successfully built ef35cdeb584b [2022-10-11T06:19:32.925Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:19:33.280Z] + docker inspect -f . ci-base-image-arm64 [2022-10-11T06:19:33.280Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T06:19:33.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-7633 does not seem to be running inside a container [2022-10-11T06:19:33.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-11T06:19:34.662Z] $ docker top 359626eb3ac86fa856c9d549bc63312e2ec3eb8226c6c332226c2116d9068bb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T06:19:35.480Z] + go version [2022-10-11T06:19:35.480Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-11T06:19:35.498Z] $ docker stop --time=1 359626eb3ac86fa856c9d549bc63312e2ec3eb8226c6c332226c2116d9068bb9 [2022-10-11T06:19:37.097Z] $ docker rm -f 359626eb3ac86fa856c9d549bc63312e2ec3eb8226c6c332226c2116d9068bb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:19:37.620Z] + docker inspect -f . ci-base-image-arm64 [2022-10-11T06:19:37.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T06:19:37.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-7633 does not seem to be running inside a container [2022-10-11T06:19:37.857Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-11T06:19:39.025Z] $ docker top 6c7be6fc128fa229aa314269ae3a0095d65861382d4475f76b6f130f2146721a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T06:19:39.522Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-10-11T06:19:40.114Z] + make test [2022-10-11T06:19:40.387Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-10-11T06:19:41.792Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-10-11T06:21:18.444Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-10-11T06:21:18.444Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.071s coverage: 1.9% of statements [2022-10-11T06:21:18.444Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-11T06:21:18.444Z] CGO_ENABLED=1 go vet ./... [2022-10-11T06:21:30.760Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-11T06:21:30.760Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-11T06:21:30.760Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-11T06:21:31.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-11T06:21:31.054Z] $ docker stop --time=1 6c7be6fc128fa229aa314269ae3a0095d65861382d4475f76b6f130f2146721a [2022-10-11T06:21:32.808Z] $ docker rm -f 6c7be6fc128fa229aa314269ae3a0095d65861382d4475f76b6f130f2146721a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T06:21:33.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-11T06:21:33.706Z] Warning: overwriting stash ‘coverage-report’ [2022-10-11T06:21:34.082Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T06:21:34.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-11T06:21:34.759Z] + ls -al . [2022-10-11T06:21:34.759Z] total 192 [2022-10-11T06:21:34.759Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 06:19 . [2022-10-11T06:21:34.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 06:17 .. [2022-10-11T06:21:34.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 06:17 .git [2022-10-11T06:21:34.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:17 .github [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 414 Oct 11 06:17 .gitignore [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 06:17 .golangci.yml [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 11 06:17 .hadolint.yml [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 9702 Oct 11 06:17 Attribution.txt [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 1206 Oct 11 06:17 CHANGELOG.md [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 2467 Oct 11 06:17 Dockerfile [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 11 06:17 GOVERNANCE.md [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 11 06:17 Jenkinsfile [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 06:17 LICENSE [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 2554 Oct 11 06:17 Makefile [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 11 06:17 OWNERS.md [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 5773 Oct 11 06:17 README.md [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 06:15 VERSION [2022-10-11T06:21:34.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 06:17 bin [2022-10-11T06:21:34.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:17 cmd [2022-10-11T06:21:34.759Z] -rw-r--r-- 1 jenkins jenkins 29387 Oct 11 06:21 coverage.out [2022-10-11T06:21:34.759Z] -rwxrwxr-x 1 jenkins jenkins 140 Oct 11 06:17 docker-entrypoint.sh [2022-10-11T06:21:34.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:17 docs [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 3633 Oct 11 06:17 go.mod [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 38103 Oct 11 06:17 go.sum [2022-10-11T06:21:34.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:17 internal [2022-10-11T06:21:34.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 06:17 snap [2022-10-11T06:21:34.759Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 11 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:21:35.094Z] + 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=9f6c948af4643d692dfd1f6dc5a37606bd27b23c --label arch=arm64 --label version=0.0.0 . [2022-10-11T06:21:35.426Z] Sending build context to Docker daemon 1.041MB [2022-10-11T06:21:35.426Z] Step 1/36 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T06:21:35.426Z] Step 2/36 : FROM ${BASE} AS builder [2022-10-11T06:21:35.426Z] ---> ef35cdeb584b [2022-10-11T06:21:35.426Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2022-10-11T06:21:35.426Z] ---> Running in a497de8ad3d8 [2022-10-11T06:21:35.715Z] Removing intermediate container a497de8ad3d8 [2022-10-11T06:21:35.715Z] ---> 8dbd9552fb35 [2022-10-11T06:21:35.715Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T06:21:35.715Z] ---> Running in 73d72c200988 [2022-10-11T06:21:35.993Z] Removing intermediate container 73d72c200988 [2022-10-11T06:21:35.993Z] ---> 1da2474efb94 [2022-10-11T06:21:35.993Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-10-11T06:21:36.273Z] ---> Running in 2647f89a2935 [2022-10-11T06:21:36.549Z] Removing intermediate container 2647f89a2935 [2022-10-11T06:21:36.549Z] ---> 87f8204943fc [2022-10-11T06:21:36.549Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-10-11T06:21:36.549Z] ---> Running in 1d2533b01914 [2022-10-11T06:21:36.823Z] Removing intermediate container 1d2533b01914 [2022-10-11T06:21:36.823Z] ---> 5856cf109d5e [2022-10-11T06:21:36.823Z] Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T06:21:36.823Z] ---> Running in 41d3167934de [2022-10-11T06:21:38.793Z] Removing intermediate container 41d3167934de [2022-10-11T06:21:38.793Z] ---> ab1f0e2b5575 [2022-10-11T06:21:38.793Z] Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T06:21:38.793Z] ---> Running in f558f70a60b2 [2022-10-11T06:21:39.379Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T06:21:40.344Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T06:21:41.307Z] OK: 228 MiB in 65 packages [2022-10-11T06:21:42.272Z] Removing intermediate container f558f70a60b2 [2022-10-11T06:21:42.272Z] ---> 6f23300af427 [2022-10-11T06:21:42.272Z] Step 9/36 : WORKDIR /device-usb-camera [2022-10-11T06:21:42.272Z] ---> Running in 6257ebf07b14 [2022-10-11T06:21:42.542Z] Removing intermediate container 6257ebf07b14 [2022-10-11T06:21:42.542Z] ---> 47d9cffd3e6d [2022-10-11T06:21:42.542Z] Step 10/36 : COPY go.mod vendor* ./ [2022-10-11T06:21:42.810Z] ---> f127a75239c5 [2022-10-11T06:21:42.810Z] Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T06:21:43.078Z] ---> Running in 830a8fceaddd [2022-10-11T06:21:45.029Z] Removing intermediate container 830a8fceaddd [2022-10-11T06:21:45.029Z] ---> e78428f7f1ea [2022-10-11T06:21:45.029Z] Step 12/36 : COPY . . [2022-10-11T06:21:45.616Z] ---> 7695f987a6c5 [2022-10-11T06:21:45.616Z] Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-10-11T06:21:45.884Z] ---> Running in 5c283e0ba68a [2022-10-11T06:21:46.848Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T06:21:46.848Z]  Dload  Upload Total Spent Left Speed [2022-10-11T06:21:46.848Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0  7531  0 --:--:-- --:--:-- --:--:-- 7585 [2022-10-11T06:21:47.433Z] Removing intermediate container 5c283e0ba68a [2022-10-11T06:21:47.433Z] ---> 4d1c9d6c9f7f [2022-10-11T06:21:47.433Z] Step 14/36 : RUN ${MAKE} [2022-10-11T06:21:47.433Z] ---> Running in 1e28bbb04cb2 [2022-10-11T06:21:48.397Z] 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-dev.37" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-10-11T06:24:25.180Z] Removing intermediate container 1e28bbb04cb2 [2022-10-11T06:24:25.180Z] ---> be8ef90b8ee7 [2022-10-11T06:24:25.180Z] Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-10-11T06:24:25.180Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-10-11T06:24:25.180Z] eab2503cf8f4: Pulling fs layer [2022-10-11T06:24:25.180Z] 97cd0a44c592: Pulling fs layer [2022-10-11T06:24:25.180Z] 97cd0a44c592: Verifying Checksum [2022-10-11T06:24:25.180Z] 97cd0a44c592: Download complete [2022-10-11T06:24:25.180Z] eab2503cf8f4: Verifying Checksum [2022-10-11T06:24:25.180Z] eab2503cf8f4: Download complete [2022-10-11T06:24:25.180Z] eab2503cf8f4: Pull complete [2022-10-11T06:24:25.180Z] 97cd0a44c592: Pull complete [2022-10-11T06:24:25.180Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-10-11T06:24:25.180Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-10-11T06:24:25.180Z] ---> 7f763cca56b3 [2022-10-11T06:24:25.180Z] Step 16/36 : FROM alpine:3.16 [2022-10-11T06:24:25.180Z] 3.16: Pulling from library/alpine [2022-10-11T06:24:25.180Z] 9b18e9b68314: Already exists [2022-10-11T06:24:25.180Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-11T06:24:25.180Z] Status: Downloaded newer image for alpine:3.16 [2022-10-11T06:24:25.180Z] ---> a6215f271958 [2022-10-11T06:24:25.180Z] Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-11T06:24:25.180Z] ---> Running in 3e7a3407bf11 [2022-10-11T06:24:25.180Z] Removing intermediate container 3e7a3407bf11 [2022-10-11T06:24:25.180Z] ---> a2a9372193bd [2022-10-11T06:24:25.180Z] Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-10-11T06:24:25.180Z] ---> Running in b5c8a1c134c9 [2022-10-11T06:24:26.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T06:24:26.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T06:24:27.362Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-10-11T06:24:27.362Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-10-11T06:24:27.362Z] (3/82) Installing libxau (1.0.9-r0) [2022-10-11T06:24:27.362Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-10-11T06:24:27.362Z] (5/82) Installing libxcb (1.15-r0) [2022-10-11T06:24:27.362Z] (6/82) Installing libx11 (1.8-r0) [2022-10-11T06:24:27.629Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-10-11T06:24:27.629Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-10-11T06:24:27.895Z] (9/82) Installing expat (2.4.9-r0) [2022-10-11T06:24:27.895Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-10-11T06:24:27.895Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-10-11T06:24:27.895Z] (12/82) Installing libpng (1.6.37-r1) [2022-10-11T06:24:27.895Z] (13/82) Installing freetype (2.12.1-r0) [2022-10-11T06:24:27.895Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-10-11T06:24:27.895Z] (15/82) Installing fribidi (1.0.12-r0) [2022-10-11T06:24:27.895Z] (16/82) Installing libffi (3.4.2-r1) [2022-10-11T06:24:27.895Z] (17/82) Installing libintl (0.21-r2) [2022-10-11T06:24:27.895Z] (18/82) Installing libblkid (2.38-r1) [2022-10-11T06:24:27.895Z] (19/82) Installing libmount (2.38-r1) [2022-10-11T06:24:27.895Z] (20/82) Installing pcre (8.45-r2) [2022-10-11T06:24:27.895Z] (21/82) Installing glib (2.72.1-r0) [2022-10-11T06:24:28.162Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-10-11T06:24:28.162Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-10-11T06:24:28.162Z] (24/82) Installing libass (0.16.0-r0) [2022-10-11T06:24:28.162Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-10-11T06:24:28.162Z] (26/82) Installing libdrm (2.4.110-r0) [2022-10-11T06:24:28.162Z] (27/82) Installing gmp (6.2.1-r2) [2022-10-11T06:24:28.162Z] (28/82) Installing nettle (3.7.3-r0) [2022-10-11T06:24:28.162Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-10-11T06:24:28.162Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-10-11T06:24:28.162Z] (31/82) Installing libunistring (1.0-r0) [2022-10-11T06:24:28.431Z] (32/82) Installing gnutls (3.7.7-r0) [2022-10-11T06:24:28.431Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-11T06:24:28.431Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-11T06:24:28.431Z] (35/82) Installing lame (3.100-r0) [2022-10-11T06:24:28.431Z] (36/82) Installing opus (1.3.1-r1) [2022-10-11T06:24:28.431Z] (37/82) Installing libasyncns (0.8-r1) [2022-10-11T06:24:28.431Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-10-11T06:24:28.431Z] (39/82) Installing libltdl (2.4.7-r0) [2022-10-11T06:24:28.431Z] (40/82) Installing orc (0.4.32-r0) [2022-10-11T06:24:28.431Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-10-11T06:24:28.431Z] (42/82) Installing libogg (1.3.5-r1) [2022-10-11T06:24:28.431Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-11T06:24:28.431Z] (44/82) Installing flac (1.3.4-r0) [2022-10-11T06:24:28.698Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-10-11T06:24:28.698Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-10-11T06:24:28.698Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-10-11T06:24:28.698Z] (48/82) Installing soxr (0.1.3-r2) [2022-10-11T06:24:28.698Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-10-11T06:24:28.698Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-10-11T06:24:28.698Z] (51/82) Installing libpulse (15.0-r2) [2022-10-11T06:24:28.698Z] (52/82) Installing cjson (1.7.15-r3) [2022-10-11T06:24:28.698Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-10-11T06:24:28.698Z] (54/82) Installing librist (0.2.6-r1) [2022-10-11T06:24:28.698Z] (55/82) Installing libsrt (1.4.4-r0) [2022-10-11T06:24:28.698Z] (56/82) Installing libssh (0.9.6-r1) [2022-10-11T06:24:28.698Z] (57/82) Installing libtheora (1.1.1-r16) [2022-10-11T06:24:28.698Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-10-11T06:24:28.698Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-10-11T06:24:28.966Z] (60/82) Installing libxext (1.3.4-r0) [2022-10-11T06:24:28.966Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-10-11T06:24:28.966Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-10-11T06:24:28.966Z] (63/82) Installing libva (2.14.0-r0) [2022-10-11T06:24:28.966Z] (64/82) Installing libvdpau (1.5-r0) [2022-10-11T06:24:28.966Z] (65/82) Installing vidstab (1.1.0-r1) [2022-10-11T06:24:28.966Z] (66/82) Installing libvpx (1.11.0-r1) [2022-10-11T06:24:28.966Z] (67/82) Installing libwebp (1.2.3-r0) [2022-10-11T06:24:28.966Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-10-11T06:24:29.234Z] (69/82) Installing numactl (2.0.14-r0) [2022-10-11T06:24:29.234Z] (70/82) Installing x265-libs (3.5-r3) [2022-10-11T06:24:29.234Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-10-11T06:24:29.234Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-10-11T06:24:29.818Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-10-11T06:24:29.818Z] (74/82) Installing udev-init-scripts (35-r0) [2022-10-11T06:24:29.818Z] Executing udev-init-scripts-35-r0.post-install [2022-10-11T06:24:29.818Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-10-11T06:24:29.818Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-10-11T06:24:29.818Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-10-11T06:24:29.818Z] (78/82) Installing kmod-libs (29-r2) [2022-10-11T06:24:29.818Z] (79/82) Installing eudev (3.2.11-r0) [2022-10-11T06:24:29.818Z] (80/82) Installing libsodium (1.0.18-r0) [2022-10-11T06:24:29.818Z] (81/82) Installing libzmq (4.3.4-r0) [2022-10-11T06:24:30.086Z] (82/82) Installing zeromq (4.3.4-r0) [2022-10-11T06:24:30.086Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T06:24:30.086Z] Executing eudev-3.2.11-r0.trigger [2022-10-11T06:24:30.086Z] OK: 78 MiB in 96 packages [2022-10-11T06:24:33.433Z] Removing intermediate container b5c8a1c134c9 [2022-10-11T06:24:33.433Z] ---> 20263d67ed29 [2022-10-11T06:24:33.433Z] Step 19/36 : WORKDIR / [2022-10-11T06:24:33.433Z] ---> Running in 5990223bc4ef [2022-10-11T06:24:33.433Z] Removing intermediate container 5990223bc4ef [2022-10-11T06:24:33.433Z] ---> 7b7ea25cf378 [2022-10-11T06:24:33.433Z] Step 20/36 : COPY --from=builder /device-usb-camera/cmd / [2022-10-11T06:24:35.391Z] ---> d9e4fdb35adc [2022-10-11T06:24:35.391Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / [2022-10-11T06:24:35.658Z] ---> 36638072383c [2022-10-11T06:24:35.658Z] Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-10-11T06:24:36.244Z] ---> 5e4c17629737 [2022-10-11T06:24:36.244Z] Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-10-11T06:24:36.511Z] ---> 255531041282 [2022-10-11T06:24:36.511Z] Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-10-11T06:24:37.097Z] ---> bebef10e1032 [2022-10-11T06:24:37.097Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-10-11T06:24:37.680Z] ---> 1c7ad0095989 [2022-10-11T06:24:37.680Z] Step 26/36 : COPY --from=rtsp /rtsp-simple-server / [2022-10-11T06:24:39.087Z] ---> c2d1f6d100f6 [2022-10-11T06:24:39.087Z] Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-10-11T06:24:39.087Z] ---> Running in 0e83ac6c6e8c [2022-10-11T06:24:40.497Z] Removing intermediate container 0e83ac6c6e8c [2022-10-11T06:24:40.497Z] ---> 41ee4bc00870 [2022-10-11T06:24:40.497Z] Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-10-11T06:24:40.497Z] ---> Running in c5ef03b46a51 [2022-10-11T06:24:41.914Z] Removing intermediate container c5ef03b46a51 [2022-10-11T06:24:41.914Z] ---> 70b785d5977f [2022-10-11T06:24:41.914Z] Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-10-11T06:24:42.183Z] ---> Running in a79f4bd54be0 [2022-10-11T06:24:43.585Z] Removing intermediate container a79f4bd54be0 [2022-10-11T06:24:43.585Z] ---> 4120011e25e7 [2022-10-11T06:24:43.585Z] Step 30/36 : EXPOSE 59983 [2022-10-11T06:24:43.585Z] ---> Running in 1e3042171cc5 [2022-10-11T06:24:43.852Z] Removing intermediate container 1e3042171cc5 [2022-10-11T06:24:43.852Z] ---> c48828ed6ec4 [2022-10-11T06:24:43.852Z] Step 31/36 : EXPOSE 8554 [2022-10-11T06:24:44.119Z] ---> Running in d146417427b8 [2022-10-11T06:24:44.389Z] Removing intermediate container d146417427b8 [2022-10-11T06:24:44.389Z] ---> 0541f7de650c [2022-10-11T06:24:44.389Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-10-11T06:24:44.389Z] ---> Running in ccbab7395b1d [2022-10-11T06:24:44.654Z] Removing intermediate container ccbab7395b1d [2022-10-11T06:24:44.654Z] ---> 4c5cbcf9ed4b [2022-10-11T06:24:44.654Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-10-11T06:24:44.654Z] ---> Running in c5dadce139bd [2022-10-11T06:24:44.923Z] Removing intermediate container c5dadce139bd [2022-10-11T06:24:44.923Z] ---> 52101c742965 [2022-10-11T06:24:44.923Z] Step 34/36 : LABEL arch=arm64 [2022-10-11T06:24:44.923Z] ---> Running in 412499326f45 [2022-10-11T06:24:45.191Z] Removing intermediate container 412499326f45 [2022-10-11T06:24:45.191Z] ---> bec58d0bc7ae [2022-10-11T06:24:45.191Z] Step 35/36 : LABEL git_sha=9f6c948af4643d692dfd1f6dc5a37606bd27b23c [2022-10-11T06:24:45.457Z] ---> Running in 82385cda2c6f [2022-10-11T06:24:45.723Z] Removing intermediate container 82385cda2c6f [2022-10-11T06:24:45.723Z] ---> e784c60b01ff [2022-10-11T06:24:45.723Z] Step 36/36 : LABEL version=0.0.0 [2022-10-11T06:24:45.723Z] ---> Running in 91bc22fa795e [2022-10-11T06:24:45.990Z] Removing intermediate container 91bc22fa795e [2022-10-11T06:24:45.990Z] ---> a1872cf731c0 [2022-10-11T06:24:45.990Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-11T06:24:45.990Z] Successfully built a1872cf731c0 [2022-10-11T06:24:45.990Z] 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-10-11T06:24:46.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T06:24:46.436Z] [2022-10-11T06:24:46.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:24:46.760Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T06:24:46.760Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-11T06:24:46.760Z] 8998bd30e6a1: Pulling fs layer [2022-10-11T06:24:46.760Z] 04944245beec: Pulling fs layer [2022-10-11T06:24:46.760Z] 699f458cf7ca: Pulling fs layer [2022-10-11T06:24:46.760Z] 765212b225bb: Pulling fs layer [2022-10-11T06:24:46.760Z] f23df028b6ca: Pulling fs layer [2022-10-11T06:24:46.760Z] d65c8cfc05b1: Pulling fs layer [2022-10-11T06:24:46.760Z] 2437ff75d9bd: Pulling fs layer [2022-10-11T06:24:46.760Z] f23df028b6ca: Waiting [2022-10-11T06:24:46.760Z] d65c8cfc05b1: Waiting [2022-10-11T06:24:46.760Z] 2437ff75d9bd: Waiting [2022-10-11T06:24:46.760Z] 765212b225bb: Waiting [2022-10-11T06:24:47.028Z] 04944245beec: Verifying Checksum [2022-10-11T06:24:47.028Z] 04944245beec: Download complete [2022-10-11T06:24:47.028Z] 765212b225bb: Verifying Checksum [2022-10-11T06:24:47.028Z] 765212b225bb: Download complete [2022-10-11T06:24:47.028Z] f23df028b6ca: Verifying Checksum [2022-10-11T06:24:47.028Z] f23df028b6ca: Download complete [2022-10-11T06:24:47.028Z] d65c8cfc05b1: Verifying Checksum [2022-10-11T06:24:47.028Z] d65c8cfc05b1: Download complete [2022-10-11T06:24:47.028Z] 699f458cf7ca: Verifying Checksum [2022-10-11T06:24:47.028Z] 699f458cf7ca: Download complete [2022-10-11T06:24:47.623Z] 8998bd30e6a1: Verifying Checksum [2022-10-11T06:24:47.623Z] 8998bd30e6a1: Download complete [2022-10-11T06:24:49.557Z] 2437ff75d9bd: Verifying Checksum [2022-10-11T06:24:49.557Z] 2437ff75d9bd: Download complete [2022-10-11T06:24:51.490Z] 8998bd30e6a1: Pull complete [2022-10-11T06:24:51.757Z] 04944245beec: Pull complete [2022-10-11T06:24:53.165Z] 699f458cf7ca: Pull complete [2022-10-11T06:24:53.432Z] 765212b225bb: Pull complete [2022-10-11T06:24:54.015Z] f23df028b6ca: Pull complete [2022-10-11T06:24:54.283Z] d65c8cfc05b1: Pull complete [2022-10-11T06:25:09.285Z] 2437ff75d9bd: Pull complete [2022-10-11T06:25:09.285Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-11T06:25:09.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T06:25:09.285Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T06:25:09.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-7633 does not seem to be running inside a container [2022-10-11T06:25:09.504Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-11T06:25:12.202Z] $ docker top 29986227dbaf558a005ceaad7c3b1fa0393b4e883a1dd1eab017151c814ffc9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:25:12.694Z] ---> job-cost.sh [2022-10-11T06:25:12.959Z] lf-activate-venv: SKIPPING [2022-10-11T06:25:12.959Z] INFO: No Stack... [2022-10-11T06:25:13.224Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-11T06:25:14.178Z] INFO: Archiving Costs [Pipeline] sh [2022-10-11T06:25:14.490Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2022-10-11T06:25:14.490Z] + cut -d, -f6 [Pipeline] lock [2022-10-11T06:25:14.548Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-100-2-stack-cost] [2022-10-11T06:25:14.555Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-100-2-stack-cost] did not exist. Created. [2022-10-11T06:25:14.555Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-100-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-11T06:25:14.878Z] /w/workspace/device-usb-camera/2@tmp/durable-bc742e98/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-11T06:25:15.208Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-11T06:25:15.237Z] Warning: overwriting stash ‘stack-cost’ [2022-10-11T06:25:15.280Z] Stashed 1 file(s) [Pipeline] } [2022-10-11T06:25:15.287Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-100-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-11T06:25:15.299Z] $ docker stop --time=1 29986227dbaf558a005ceaad7c3b1fa0393b4e883a1dd1eab017151c814ffc9d [2022-10-11T06:25:16.756Z] $ docker rm -f 29986227dbaf558a005ceaad7c3b1fa0393b4e883a1dd1eab017151c814ffc9d [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-10-11T06:25:17.103Z] provisioning config files... [2022-10-11T06:25:17.109Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config15141402954364536735tmp [Pipeline] { [Pipeline] sh [2022-10-11T06:25:17.396Z] + set +x [2022-10-11T06:25:17.396Z] + + curl -s https://codecov.io/bash [2022-10-11T06:25:17.396Z] bash -s -- [2022-10-11T06:25:17.396Z] [2022-10-11T06:25:17.396Z] _____ _ [2022-10-11T06:25:17.396Z] / ____| | | [2022-10-11T06:25:17.396Z] | | ___ __| | ___ ___ _____ __ [2022-10-11T06:25:17.396Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-11T06:25:17.396Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-11T06:25:17.396Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-11T06:25:17.396Z] Bash-1.0.6 [2022-10-11T06:25:17.396Z] [2022-10-11T06:25:17.396Z] [2022-10-11T06:25:17.396Z] ==> git version 2.25.1 found [2022-10-11T06:25:17.396Z] ==> 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-10-11T06:25:17.396Z] Release-Date: 2020-01-08 [2022-10-11T06:25:17.396Z] 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-10-11T06:25:17.396Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-11T06:25:17.396Z] ==> Jenkins CI detected. [2022-10-11T06:25:17.396Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-100 [2022-10-11T06:25:17.396Z] project root: . [2022-10-11T06:25:17.396Z] --> token set from env [2022-10-11T06:25:17.396Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-11T06:25:17.396Z] ==> Running gcov in . (disable via -X gcov) [2022-10-11T06:25:17.396Z] ==> Python coveragepy not found [2022-10-11T06:25:17.396Z] ==> Searching for coverage reports in: [2022-10-11T06:25:17.396Z] + . [2022-10-11T06:25:17.396Z] -> Found 1 reports [2022-10-11T06:25:17.396Z] ==> Detecting git/mercurial file structure [2022-10-11T06:25:17.396Z] ==> Reading reports [2022-10-11T06:25:17.655Z] + ./coverage.out bytes=29387 [2022-10-11T06:25:17.655Z] ==> Appending adjustments [2022-10-11T06:25:17.655Z] https://docs.codecov.io/docs/fixing-reports [2022-10-11T06:25:17.655Z] + Found adjustments [2022-10-11T06:25:17.655Z] ==> Gzipping contents [2022-10-11T06:25:17.655Z] 8.0K /tmp/codecov.E53JRP.gz [2022-10-11T06:25:17.655Z] ==> Uploading reports [2022-10-11T06:25:17.655Z] url: https://codecov.io [2022-10-11T06:25:17.655Z] query: branch=PR-100&commit=f960238d04fd6725cdd527158cbe43bba046f3cc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-100%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-10-11T06:25:17.655Z] -> Pinging Codecov [2022-10-11T06:25:17.655Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-100&commit=f960238d04fd6725cdd527158cbe43bba046f3cc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-100%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=100&job=&cmd_args= [2022-10-11T06:25:17.914Z] -> Uploading to [2022-10-11T06:25:17.914Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-11/73D8F5FF140700D3E01443B452E23636/f960238d04fd6725cdd527158cbe43bba046f3cc/7fad9ed7-08d0-4c1a-ab9b-a57f795024fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221011T062517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00b6df29928472b9ece7113d70317ce7739a94dc3f02b0d68f17c7e6021cb47d [2022-10-11T06:25:17.914Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T06:25:17.914Z] Dload Upload Total Spent Left Speed [2022-10-11T06:25:18.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4178 0 0 100 4178 0 18008 --:--:-- --:--:-- --:--:-- 18008 [2022-10-11T06:25:18.172Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/f960238d04fd6725cdd527158cbe43bba046f3cc [Pipeline] } [2022-10-11T06:25:18.179Z] 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-10-11T06:25:18.841Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-100/archives ] [2022-10-11T06:25:18.841Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-100/archives [2022-10-11T06:25:18.841Z] total 16 [2022-10-11T06:25:18.841Z] drwxr-xr-x 3 root root 4096 Oct 11 06:18 . [2022-10-11T06:25:18.841Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 06:18 .. [2022-10-11T06:25:18.841Z] drwxr-xr-x 2 root root 4096 Oct 11 06:18 cost [2022-10-11T06:25:18.841Z] -rw-r--r-- 1 root root 89 Oct 11 06:18 cost.csv [2022-10-11T06:25:18.841Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-100/archives [2022-10-11T06:25:18.841Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-100/archives [2022-10-11T06:25:18.841Z] total 16 [2022-10-11T06:25:18.841Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 06:18 . [2022-10-11T06:25:18.841Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 06:18 .. [2022-10-11T06:25:18.841Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 06:18 cost [2022-10-11T06:25:18.841Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 11 06:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:25:19.130Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:25:19.987Z] ---> package-listing.sh [2022-10-11T06:25:19.987Z] ++ facter osfamily [2022-10-11T06:25:19.987Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-11T06:25:20.246Z] + OS_FAMILY=debian [2022-10-11T06:25:20.246Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-100 [2022-10-11T06:25:20.246Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-11T06:25:20.246Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-11T06:25:20.246Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-11T06:25:20.246Z] + PACKAGES=/tmp/packages_start.txt [2022-10-11T06:25:20.246Z] + '[' /w/workspace/foundry_device-usb-camera_PR-100 ']' [2022-10-11T06:25:20.246Z] + PACKAGES=/tmp/packages_end.txt [2022-10-11T06:25:20.246Z] + case "${OS_FAMILY}" in [2022-10-11T06:25:20.246Z] + dpkg -l [2022-10-11T06:25:20.246Z] + grep '^ii' [2022-10-11T06:25:20.246Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-11T06:25:20.246Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-11T06:25:20.246Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-11T06:25:20.246Z] + '[' /w/workspace/foundry_device-usb-camera_PR-100 ']' [2022-10-11T06:25:20.246Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-100/archives/ [2022-10-11T06:25:20.246Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-100/archives/ [Pipeline] echo [2022-10-11T06:25:20.257Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-11T06:25:20.534Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T06:25:21.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T06:25:21.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T06:25:21.154Z] prd-ubuntu20.04-docker-8c-8g-7632 does not seem to be running inside a container [2022-10-11T06:25:21.189Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-100/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-100 -v /w/workspace/foundry_device-usb-camera_PR-100:/w/workspace/foundry_device-usb-camera_PR-100:rw,z -v /w/workspace/foundry_device-usb-camera_PR-100@tmp:/w/workspace/foundry_device-usb-camera_PR-100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T06:25:21.389Z] $ docker top 7062ff5841ed8221494517cf76f852dbdd45ef2b3cb2d2be7dcdccf52006fcd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T06:25:21.722Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-11T06:25:22.009Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-11T06:25:22.295Z] + ls /var/log/sa-host [2022-10-11T06:25:22.295Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T06:25:22.430Z] provisioning config files... [2022-10-11T06:25:22.437Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-100@tmp/config5888692320846846982tmp [Pipeline] { [Pipeline] echo [2022-10-11T06:25:22.451Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:25:22.730Z] ---> create-netrc.sh [Pipeline] } [2022-10-11T06:25:22.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:25:23.063Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-11T06:25:23.073Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:25:23.355Z] ---> sudo-logs.sh [2022-10-11T06:25:23.355Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-11T06:25:23.384Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:25:23.664Z] ---> job-cost.sh [2022-10-11T06:25:23.664Z] lf-activate-venv: SKIPPING [2022-10-11T06:25:23.664Z] DEBUG: total: 0.2199999988079071 [2022-10-11T06:25:23.664Z] INFO: Retrieving Stack Cost... [2022-10-11T06:25:23.922Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-11T06:25:24.489Z] INFO: Archiving Costs [Pipeline] echo [2022-10-11T06:25:24.501Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T06:25:24.782Z] ---> logs-deploy.sh [2022-10-11T06:25:24.782Z] lf-activate-venv: SKIPPING [2022-10-11T06:25:24.782Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-100/2 [2022-10-11T06:25:24.782Z] INFO: archiving workspace using pattern(s): [2022-10-11T06:25:25.718Z] Archives upload complete. [2022-10-11T06:25:25.718Z] INFO: archiving logs to Nexus