Pull request #91 opened 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 hahattan for edgexfoundry/device-usb-camera Obtained Jenkinsfile from f7e3d8187848b074643b7ebb27ba5316ac42edff+9d1c11cd5ef3cc85f13508c1a424f1ce30faa340 (718d7adf7d3fff1a3f1f8d3cf248a5cabe4dec2a) 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-ssh10752913750819283940.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-ssh8523597634975392779.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5665857132650226745.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12585037643627607415.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh2093549671059099185.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14082148216104239990.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 ‘prd-ubuntu20.04-docker-8c-8g-1803’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1806 in /w/workspace/xfoundry_device-usb-camera_PR-91 [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/xfoundry_device-usb-camera_PR-91 # 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/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9d1c11cd5ef3cc85f13508c1a424f1ce30faa340 into PR head commit f7e3d8187848b074643b7ebb27ba5316ac42edff Merge succeeded, producing f7e3d8187848b074643b7ebb27ba5316ac42edff Checking out Revision f7e3d8187848b074643b7ebb27ba5316ac42edff (PR-91) > git config core.sparsecheckout # timeout=10 > git checkout -f f7e3d8187848b074643b7ebb27ba5316ac42edff # 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 9d1c11cd5ef3cc85f13508c1a424f1ce30faa340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7e3d8187848b074643b7ebb27ba5316ac42edff # timeout=10 Commit message: "feat: add internal command request/response topics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-28T08:12:55.992Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-28T08:12:56.131Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-28T08:12:56.223Z] ========================================================= [2022-09-28T08:12:56.223Z] EdgeX Global Pipelines Version Info [2022-09-28T08:12:56.223Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:12:56.972Z] ------------------- [2022-09-28T08:12:56.972Z] stable info: [2022-09-28T08:12:56.972Z] ------------------- [2022-09-28T08:12:56.972Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-28T08:12:56.972Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T08:12:56.972Z] Message: update stable to v1.0.239 [2022-09-28T08:12:57.541Z] ------------------- [2022-09-28T08:12:57.541Z] experimental info: [2022-09-28T08:12:57.541Z] ------------------- [2022-09-28T08:12:57.541Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-28T08:12:57.541Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T08:12:57.541Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-28T08:12:57.809Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-09-28T08:12:57.850Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-09-28T08:12:57.898Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-28T08:12:57.934Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-28T08:12:57.973Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-28T08:12:58.014Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-28T08:12:58.055Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-28T08:12:58.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-28T08:12:58.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-28T08:12:58.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-28T08:12:58.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-28T08:12:58.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-09-28T08:12:58.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-28T08:12:58.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-28T08:12:58.387Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T08:12:58.430Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T08:12:58.465Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T08:12:58.502Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T08:12:58.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-28T08:12:58.576Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-28T08:12:58.620Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-28T08:12:58.661Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-28T08:12:58.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-28T08:12:58.748Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-28T08:12:58.791Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-28T08:12:58.850Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-28T08:12:58.984Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-28T08:12:59.027Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo [2022-09-28T08:12:59.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo [2022-09-28T08:12:59.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo [2022-09-28T08:12:59.152Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7e3d8187848b074643b7ebb27ba5316ac42edff [Pipeline] echo [2022-09-28T08:12:59.198Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7e3d81 [Pipeline] echo [2022-09-28T08:12:59.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T08:12:59.350Z] provisioning config files... [2022-09-28T08:12:59.368Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-91@tmp/config13361880441657694843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:12:59.707Z] ---> docker-login.sh [2022-09-28T08:12:59.707Z] nexus3.edgexfoundry.org:10001 [2022-09-28T08:12:59.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:12:59.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:12:59.978Z] Configure a credential helper to remove this warning. See [2022-09-28T08:12:59.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:12:59.978Z] [2022-09-28T08:12:59.978Z] Login Succeeded [2022-09-28T08:12:59.978Z] nexus3.edgexfoundry.org:10002 [2022-09-28T08:13:00.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:13:00.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:13:00.241Z] Configure a credential helper to remove this warning. See [2022-09-28T08:13:00.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:13:00.241Z] [2022-09-28T08:13:00.241Z] Login Succeeded [2022-09-28T08:13:00.241Z] nexus3.edgexfoundry.org:10003 [2022-09-28T08:13:00.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:13:00.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:13:00.241Z] Configure a credential helper to remove this warning. See [2022-09-28T08:13:00.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:13:00.241Z] [2022-09-28T08:13:00.241Z] Login Succeeded [2022-09-28T08:13:00.241Z] nexus3.edgexfoundry.org:10004 [2022-09-28T08:13:00.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:13:00.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:13:00.506Z] Configure a credential helper to remove this warning. See [2022-09-28T08:13:00.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:13:00.506Z] [2022-09-28T08:13:00.506Z] Login Succeeded [2022-09-28T08:13:00.506Z] docker.io [2022-09-28T08:13:00.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:13:00.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:13:00.765Z] Configure a credential helper to remove this warning. See [2022-09-28T08:13:00.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:13:00.765Z] [2022-09-28T08:13:00.765Z] Login Succeeded [2022-09-28T08:13:00.765Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T08:13:00.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-28T08:13:01.375Z] + git rev-list -1 --merges f7e3d8187848b074643b7ebb27ba5316ac42edff~1..f7e3d8187848b074643b7ebb27ba5316ac42edff [Pipeline] echo [2022-09-28T08:13:01.423Z] -----------> git rev-list -1 --merges f7e3d8187848b074643b7ebb27ba5316ac42edff~1..f7e3d8187848b074643b7ebb27ba5316ac42edff f7e3d8187848b074643b7ebb27ba5316ac42edff [false] [Pipeline] sh [2022-09-28T08:13:01.731Z] + git log --format=format:%s -1 f7e3d8187848b074643b7ebb27ba5316ac42edff [Pipeline] echo [2022-09-28T08:13:01.780Z] ========================================================= [2022-09-28T08:13:01.780Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-28T08:13:01.780Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T08:13:02.218Z] + git log --format=format:%s -1 f7e3d8187848b074643b7ebb27ba5316ac42edff [Pipeline] echo [2022-09-28T08:13:02.255Z] [semverPrep] GIT_COMMIT: f7e3d8187848b074643b7ebb27ba5316ac42edff, Commit Message: feat: add internal command request/response topics [Pipeline] echo [2022-09-28T08:13:02.285Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-28T08:13:02.647Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-28T08:13:02.647Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-28T08:13:02.647Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-28T08:13:02.647Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-28T08:13:02.647Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-28T08:13:02.647Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-28T08:13:02.647Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:13:03.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T08:13:03.051Z] [2022-09-28T08:13:03.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:13:03.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T08:13:03.421Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-28T08:13:03.421Z] b85a868b505f: Pulling fs layer [2022-09-28T08:13:03.421Z] e2be974225ed: Pulling fs layer [2022-09-28T08:13:03.421Z] 339a4e72a1f5: Pulling fs layer [2022-09-28T08:13:03.421Z] 988bab9f4d93: Pulling fs layer [2022-09-28T08:13:03.421Z] 1469e6f7b9e6: Pulling fs layer [2022-09-28T08:13:03.421Z] eaf3925da568: Pulling fs layer [2022-09-28T08:13:03.421Z] bab4dde63d76: Pulling fs layer [2022-09-28T08:13:03.421Z] bde34c3a00c8: Pulling fs layer [2022-09-28T08:13:03.421Z] b352a97aabf1: Pulling fs layer [2022-09-28T08:13:03.421Z] 4872d77fe225: Pulling fs layer [2022-09-28T08:13:03.421Z] 5851b861e8e6: Pulling fs layer [2022-09-28T08:13:03.421Z] bab4dde63d76: Waiting [2022-09-28T08:13:03.421Z] bde34c3a00c8: Waiting [2022-09-28T08:13:03.421Z] b352a97aabf1: Waiting [2022-09-28T08:13:03.421Z] 1469e6f7b9e6: Waiting [2022-09-28T08:13:03.421Z] 988bab9f4d93: Waiting [2022-09-28T08:13:03.421Z] eaf3925da568: Waiting [2022-09-28T08:13:03.421Z] 5851b861e8e6: Waiting [2022-09-28T08:13:03.421Z] e2be974225ed: Download complete [2022-09-28T08:13:03.421Z] 988bab9f4d93: Verifying Checksum [2022-09-28T08:13:03.421Z] 988bab9f4d93: Download complete [2022-09-28T08:13:03.683Z] 1469e6f7b9e6: Verifying Checksum [2022-09-28T08:13:03.683Z] 1469e6f7b9e6: Download complete [2022-09-28T08:13:03.683Z] eaf3925da568: Verifying Checksum [2022-09-28T08:13:03.683Z] eaf3925da568: Download complete [2022-09-28T08:13:03.683Z] 339a4e72a1f5: Verifying Checksum [2022-09-28T08:13:03.683Z] 339a4e72a1f5: Download complete [2022-09-28T08:13:03.683Z] bde34c3a00c8: Download complete [2022-09-28T08:13:03.683Z] b352a97aabf1: Verifying Checksum [2022-09-28T08:13:03.684Z] b352a97aabf1: Download complete [2022-09-28T08:13:03.684Z] 4872d77fe225: Verifying Checksum [2022-09-28T08:13:03.684Z] 4872d77fe225: Download complete [2022-09-28T08:13:03.684Z] 5851b861e8e6: Verifying Checksum [2022-09-28T08:13:03.684Z] 5851b861e8e6: Download complete [2022-09-28T08:13:03.684Z] b85a868b505f: Verifying Checksum [2022-09-28T08:13:03.684Z] b85a868b505f: Download complete [2022-09-28T08:13:04.252Z] bab4dde63d76: Verifying Checksum [2022-09-28T08:13:04.252Z] bab4dde63d76: Download complete [2022-09-28T08:13:05.188Z] b85a868b505f: Pull complete [2022-09-28T08:13:05.188Z] e2be974225ed: Pull complete [2022-09-28T08:13:05.755Z] 339a4e72a1f5: Pull complete [2022-09-28T08:13:05.755Z] 988bab9f4d93: Pull complete [2022-09-28T08:13:06.012Z] 1469e6f7b9e6: Pull complete [2022-09-28T08:13:06.012Z] eaf3925da568: Pull complete [2022-09-28T08:13:07.913Z] bab4dde63d76: Pull complete [2022-09-28T08:13:07.913Z] bde34c3a00c8: Pull complete [2022-09-28T08:13:08.173Z] b352a97aabf1: Pull complete [2022-09-28T08:13:08.173Z] 4872d77fe225: Pull complete [2022-09-28T08:13:08.173Z] 5851b861e8e6: Pull complete [2022-09-28T08:13:08.173Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-28T08:13:08.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T08:13:08.173Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T08:13:08.408Z] prd-ubuntu20.04-docker-8c-8g-1806 does not seem to be running inside a container [2022-09-28T08:13:08.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-91 -v /w/workspace/xfoundry_device-usb-camera_PR-91:/w/workspace/xfoundry_device-usb-camera_PR-91:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-91@tmp:/w/workspace/xfoundry_device-usb-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-28T08:13:09.944Z] $ docker top ec3ea8a206e053559c440b78741037d4daa11600efe52cf1ee0341d90c9ecfe6 -eo pid,comm [2022-09-28T08:13:10.034Z] 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-09-28T08:13:10.034Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-28T08:13:10.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T08:13:10.157Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T08:13:10.273Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T08:13:10.275Z] $ docker exec ec3ea8a206e053559c440b78741037d4daa11600efe52cf1ee0341d90c9ecfe6 ssh-agent [2022-09-28T08:13:10.395Z] SSH_AUTH_SOCK=/tmp/ssh-BtYHwQx5yIzE/agent.32 [2022-09-28T08:13:10.395Z] SSH_AGENT_PID=38 [2022-09-28T08:13:10.401Z] Running ssh-add (command line suppressed) [2022-09-28T08:13:10.508Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-91@tmp/private_key_15416770840004620641.key (/w/workspace/xfoundry_device-usb-camera_PR-91@tmp/private_key_15416770840004620641.key) [2022-09-28T08:13:10.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T08:13:10.852Z] + git tag --points-at HEAD [Pipeline] } [2022-09-28T08:13:10.874Z] $ docker exec --env ******** --env ******** ec3ea8a206e053559c440b78741037d4daa11600efe52cf1ee0341d90c9ecfe6 ssh-agent -k [2022-09-28T08:13:10.973Z] unset SSH_AUTH_SOCK; [2022-09-28T08:13:10.973Z] unset SSH_AGENT_PID; [2022-09-28T08:13:10.973Z] echo Agent pid 38 killed; [2022-09-28T08:13:10.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-28T08:13:11.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T08:13:11.072Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T08:13:11.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T08:13:11.177Z] $ docker exec ec3ea8a206e053559c440b78741037d4daa11600efe52cf1ee0341d90c9ecfe6 ssh-agent [2022-09-28T08:13:11.295Z] SSH_AUTH_SOCK=/tmp/ssh-TT2NXmhw2ZQY/agent.70 [2022-09-28T08:13:11.295Z] SSH_AGENT_PID=76 [2022-09-28T08:13:11.300Z] Running ssh-add (command line suppressed) [2022-09-28T08:13:11.403Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-91@tmp/private_key_987625394050915666.key (/w/workspace/xfoundry_device-usb-camera_PR-91@tmp/private_key_987625394050915666.key) [2022-09-28T08:13:11.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T08:13:11.742Z] + git semver init [2022-09-28T08:13:12.001Z] 2022-09-28 08:13:11,911 [run_init] DEBUG init version:0.0.0 force:False [2022-09-28T08:13:12.001Z] 2022-09-28 08:13:11,911 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-91/.semver [2022-09-28T08:13:12.001Z] 2022-09-28 08:13:11,912 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-91/.semver [2022-09-28T08:13:12.001Z] 2022-09-28 08:13:11,912 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-91/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-91, universal_newlines=False, shell=None, istream=None) [2022-09-28T08:13:12.938Z] 2022-09-28 08:13:12,872 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-91/.git/info/exclude [2022-09-28T08:13:12.938Z] 2022-09-28 08:13:12,873 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-91/.semver/PR-91 with force:False [2022-09-28T08:13:12.938Z] 2022-09-28 08:13:12,873 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-91/.semver/PR-91 [2022-09-28T08:13:12.938Z] 2022-09-28 08:13:12,877 [execute] INFO git cat-file --batch-check [2022-09-28T08:13:12.938Z] 2022-09-28 08:13:12,878 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T08:13:12.938Z] 2022-09-28 08:13:12,884 [execute] INFO git cat-file --batch [2022-09-28T08:13:12.938Z] 2022-09-28 08:13:12,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T08:13:12.938Z] 2022-09-28 08:13:12,889 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-91/.semver/PR-91 [2022-09-28T08:13:12.938Z] 0.0.0 [Pipeline] } [2022-09-28T08:13:12.961Z] $ docker exec --env ******** --env ******** ec3ea8a206e053559c440b78741037d4daa11600efe52cf1ee0341d90c9ecfe6 ssh-agent -k [2022-09-28T08:13:13.073Z] unset SSH_AUTH_SOCK; [2022-09-28T08:13:13.073Z] unset SSH_AGENT_PID; [2022-09-28T08:13:13.075Z] echo Agent pid 76 killed; [2022-09-28T08:13:13.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-28T08:13:13.501Z] + git semver [Pipeline] } [2022-09-28T08:13:13.788Z] $ docker stop --time=1 ec3ea8a206e053559c440b78741037d4daa11600efe52cf1ee0341d90c9ecfe6 [2022-09-28T08:13:15.081Z] $ docker rm -f ec3ea8a206e053559c440b78741037d4daa11600efe52cf1ee0341d90c9ecfe6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T08:13:15.516Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-28T08:13:15.736Z] Stashed 1 file(s) [Pipeline] echo [2022-09-28T08:13:15.751Z] [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-09-28T08:13:16.267Z] provisioning config files... [2022-09-28T08:13:16.276Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-91@tmp/config13665854771838908539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:13:16.614Z] ---> docker-login.sh [2022-09-28T08:13:16.614Z] nexus3.edgexfoundry.org:10001 [2022-09-28T08:13:16.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:13:16.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:13:16.614Z] Configure a credential helper to remove this warning. See [2022-09-28T08:13:16.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:13:16.614Z] [2022-09-28T08:13:16.614Z] Login Succeeded [2022-09-28T08:13:16.614Z] nexus3.edgexfoundry.org:10002 [2022-09-28T08:13:16.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:13:16.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:13:16.614Z] Configure a credential helper to remove this warning. See [2022-09-28T08:13:16.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:13:16.614Z] [2022-09-28T08:13:16.614Z] Login Succeeded [2022-09-28T08:13:16.614Z] nexus3.edgexfoundry.org:10003 [2022-09-28T08:13:16.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:13:16.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:13:16.874Z] Configure a credential helper to remove this warning. See [2022-09-28T08:13:16.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:13:16.874Z] [2022-09-28T08:13:16.874Z] Login Succeeded [2022-09-28T08:13:16.874Z] nexus3.edgexfoundry.org:10004 [2022-09-28T08:13:16.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:13:16.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:13:16.874Z] Configure a credential helper to remove this warning. See [2022-09-28T08:13:16.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:13:16.874Z] [2022-09-28T08:13:16.874Z] Login Succeeded [2022-09-28T08:13:16.874Z] docker.io [2022-09-28T08:13:17.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:13:17.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:13:17.393Z] Configure a credential helper to remove this warning. See [2022-09-28T08:13:17.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:13:17.393Z] [2022-09-28T08:13:17.393Z] Login Succeeded [2022-09-28T08:13:17.393Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T08:13:17.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T08:13:17.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T08:13:17.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T08:13:17.684Z] ========================================================= [2022-09-28T08:13:17.684Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-28T08:13:17.684Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:13:18.142Z] + 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-09-28T08:13:18.142Z] Sending build context to Docker daemon 901.1kB [2022-09-28T08:13:18.142Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T08:13:18.142Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-28T08:13:18.142Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-28T08:13:18.142Z] 2408cc74d12b: Pulling fs layer [2022-09-28T08:13:18.142Z] ea60b727a1ce: Pulling fs layer [2022-09-28T08:13:18.142Z] 30c4a7721957: Pulling fs layer [2022-09-28T08:13:18.142Z] 370296b7ddb6: Pulling fs layer [2022-09-28T08:13:18.142Z] 7c6cee850709: Pulling fs layer [2022-09-28T08:13:18.142Z] 39a5fcdaea64: Pulling fs layer [2022-09-28T08:13:18.142Z] d94ebbe4e438: Pulling fs layer [2022-09-28T08:13:18.142Z] bcfd1f05c69d: Pulling fs layer [2022-09-28T08:13:18.142Z] 59ccb84bbe0f: Pulling fs layer [2022-09-28T08:13:18.142Z] bcfd1f05c69d: Waiting [2022-09-28T08:13:18.142Z] d94ebbe4e438: Waiting [2022-09-28T08:13:18.142Z] 370296b7ddb6: Waiting [2022-09-28T08:13:18.142Z] 39a5fcdaea64: Waiting [2022-09-28T08:13:18.142Z] 7c6cee850709: Waiting [2022-09-28T08:13:18.142Z] 30c4a7721957: Verifying Checksum [2022-09-28T08:13:18.142Z] 30c4a7721957: Download complete [2022-09-28T08:13:18.142Z] ea60b727a1ce: Verifying Checksum [2022-09-28T08:13:18.142Z] ea60b727a1ce: Download complete [2022-09-28T08:13:18.142Z] 7c6cee850709: Download complete [2022-09-28T08:13:18.401Z] 39a5fcdaea64: Verifying Checksum [2022-09-28T08:13:18.401Z] 39a5fcdaea64: Download complete [2022-09-28T08:13:18.401Z] 2408cc74d12b: Verifying Checksum [2022-09-28T08:13:18.401Z] 2408cc74d12b: Download complete [2022-09-28T08:13:18.401Z] d94ebbe4e438: Verifying Checksum [2022-09-28T08:13:18.401Z] d94ebbe4e438: Download complete [2022-09-28T08:13:18.401Z] 2408cc74d12b: Pull complete [2022-09-28T08:13:18.663Z] ea60b727a1ce: Pull complete [2022-09-28T08:13:18.663Z] 30c4a7721957: Pull complete [2022-09-28T08:13:18.924Z] 59ccb84bbe0f: Verifying Checksum [2022-09-28T08:13:18.924Z] 59ccb84bbe0f: Download complete [2022-09-28T08:13:19.184Z] bcfd1f05c69d: Verifying Checksum [2022-09-28T08:13:19.184Z] bcfd1f05c69d: Download complete [2022-09-28T08:13:19.184Z] 370296b7ddb6: Verifying Checksum [2022-09-28T08:13:19.184Z] 370296b7ddb6: Download complete [2022-09-28T08:13:23.362Z] 370296b7ddb6: Pull complete [2022-09-28T08:13:23.362Z] 7c6cee850709: Pull complete [2022-09-28T08:13:23.362Z] 39a5fcdaea64: Pull complete [2022-09-28T08:13:23.362Z] d94ebbe4e438: Pull complete [2022-09-28T08:13:24.736Z] bcfd1f05c69d: Pull complete [2022-09-28T08:13:25.666Z] 59ccb84bbe0f: Pull complete [2022-09-28T08:13:25.666Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-28T08:13:25.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-28T08:13:25.666Z] ---> a4fb48ad2a94 [2022-09-28T08:13:25.666Z] Step 3/13 : ARG MAKE="make build" [2022-09-28T08:13:29.852Z] ---> Running in c1665aace63d [2022-09-28T08:13:29.852Z] Removing intermediate container c1665aace63d [2022-09-28T08:13:29.852Z] ---> b3579aa680c8 [2022-09-28T08:13:29.852Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-28T08:13:29.852Z] ---> Running in 5bfa4b36b591 [2022-09-28T08:13:29.852Z] Removing intermediate container 5bfa4b36b591 [2022-09-28T08:13:29.852Z] ---> a0fb3b9e4dbc [2022-09-28T08:13:29.852Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-28T08:13:29.852Z] ---> Running in 1c02aa931821 [2022-09-28T08:13:29.852Z] Removing intermediate container 1c02aa931821 [2022-09-28T08:13:29.852Z] ---> 53c818060030 [2022-09-28T08:13:29.852Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T08:13:29.852Z] ---> Running in d2cced834c18 [2022-09-28T08:13:30.110Z] Removing intermediate container d2cced834c18 [2022-09-28T08:13:30.110Z] ---> 791c024cac70 [2022-09-28T08:13:30.110Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T08:13:30.110Z] ---> Running in c8580be831c3 [2022-09-28T08:13:30.368Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T08:13:31.111Z] Still waiting to schedule task [2022-09-28T08:13:31.111Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1805’ [2022-09-28T08:13:31.305Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T08:13:31.565Z] (1/80) Installing mesa (21.3.8-r2) [2022-09-28T08:13:31.565Z] (2/80) Installing libxau (1.0.9-r0) [2022-09-28T08:13:31.823Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-09-28T08:13:31.823Z] (4/80) Installing libxcb (1.15-r0) [2022-09-28T08:13:31.823Z] (5/80) Installing libx11 (1.8-r0) [2022-09-28T08:13:32.083Z] (6/80) Installing libxext (1.3.4-r0) [2022-09-28T08:13:32.083Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-09-28T08:13:32.083Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-09-28T08:13:32.342Z] (9/80) Installing libpciaccess (0.16-r0) [2022-09-28T08:13:32.342Z] (10/80) Installing libdrm (2.4.110-r0) [2022-09-28T08:13:32.342Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-09-28T08:13:32.603Z] (12/80) Installing libxshmfence (1.3-r1) [2022-09-28T08:13:32.603Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-09-28T08:13:32.603Z] (14/80) Installing icu-data-full (71.1-r2) [2022-09-28T08:13:33.552Z] (15/80) Installing libice (1.0.10-r0) [2022-09-28T08:13:33.552Z] (16/80) Installing libuuid (2.38-r1) [2022-09-28T08:13:33.812Z] (17/80) Installing libsm (1.2.3-r0) [2022-09-28T08:13:33.812Z] (18/80) Installing libxt (1.2.1-r0) [2022-09-28T08:13:33.812Z] (19/80) Installing libxmu (1.1.3-r0) [2022-09-28T08:13:34.071Z] (20/80) Installing xset (1.2.4-r0) [2022-09-28T08:13:34.071Z] (21/80) Installing xprop (1.2.5-r0) [2022-09-28T08:13:34.071Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-09-28T08:13:34.330Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-09-28T08:13:34.331Z] (24/80) Installing libffi (3.4.2-r1) [2022-09-28T08:13:34.331Z] (25/80) Installing libintl (0.21-r2) [2022-09-28T08:13:34.589Z] (26/80) Installing libblkid (2.38-r1) [2022-09-28T08:13:34.589Z] (27/80) Installing libmount (2.38-r1) [2022-09-28T08:13:34.589Z] (28/80) Installing pcre (8.45-r2) [2022-09-28T08:13:34.848Z] (29/80) Installing glib (2.72.1-r0) [2022-09-28T08:13:34.848Z] (30/80) Installing icu-libs (71.1-r2) [2022-09-28T08:13:35.112Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-09-28T08:13:35.112Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-09-28T08:13:35.112Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-09-28T08:13:35.680Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-09-28T08:13:35.680Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-09-28T08:13:35.680Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-09-28T08:13:35.680Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-09-28T08:13:35.984Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-09-28T08:13:36.247Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-09-28T08:13:36.247Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-09-28T08:13:36.505Z] (41/80) Installing libpng (1.6.37-r1) [2022-09-28T08:13:36.505Z] (42/80) Installing freetype (2.12.1-r0) [2022-09-28T08:13:36.505Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-09-28T08:13:36.765Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-09-28T08:13:36.765Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-09-28T08:13:36.765Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-09-28T08:13:37.023Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-09-28T08:13:37.023Z] (48/80) Installing libxml2 (2.9.14-r1) [2022-09-28T08:13:37.287Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-09-28T08:13:37.287Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-09-28T08:13:37.287Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-09-28T08:13:37.543Z] (52/80) Installing avahi-libs (0.8-r6) [2022-09-28T08:13:37.543Z] (53/80) Installing nettle (3.7.3-r0) [2022-09-28T08:13:37.543Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-09-28T08:13:37.800Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-09-28T08:13:37.800Z] (56/80) Installing libunistring (1.0-r0) [2022-09-28T08:13:38.058Z] (57/80) Installing gnutls (3.7.7-r0) [2022-09-28T08:13:38.058Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-09-28T08:13:38.058Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-09-28T08:13:38.316Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-09-28T08:13:38.316Z] (61/80) Installing libevdev (1.12.1-r0) [2022-09-28T08:13:38.316Z] (62/80) Installing mtdev (1.1.6-r0) [2022-09-28T08:13:38.573Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-09-28T08:13:38.573Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-09-28T08:13:38.573Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-09-28T08:13:38.831Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-09-28T08:13:38.831Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-09-28T08:13:38.831Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-09-28T08:13:39.089Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-09-28T08:13:39.089Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-09-28T08:13:39.089Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-09-28T08:13:39.357Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-09-28T08:13:39.925Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-09-28T08:13:39.925Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-09-28T08:13:39.925Z] (75/80) Installing udev-init-scripts (35-r0) [2022-09-28T08:13:39.925Z] Executing udev-init-scripts-35-r0.post-install [2022-09-28T08:13:39.925Z] (76/80) Installing kmod-libs (29-r2) [2022-09-28T08:13:40.183Z] (77/80) Installing eudev (3.2.11-r0) [2022-09-28T08:13:40.183Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-09-28T08:13:40.439Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-09-28T08:13:40.439Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-09-28T08:13:40.439Z] Executing busybox-1.35.0-r13.trigger [2022-09-28T08:13:40.697Z] Executing eudev-3.2.11-r0.trigger [2022-09-28T08:13:40.697Z] OK: 330 MiB in 131 packages [2022-09-28T08:13:43.230Z] Removing intermediate container c8580be831c3 [2022-09-28T08:13:43.230Z] ---> 0d41a9504470 [2022-09-28T08:13:43.230Z] Step 8/13 : WORKDIR /device-usb-camera [2022-09-28T08:13:43.230Z] ---> Running in ceee62738a99 [2022-09-28T08:13:43.230Z] Removing intermediate container ceee62738a99 [2022-09-28T08:13:43.230Z] ---> a27cc7a62dd1 [2022-09-28T08:13:43.230Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-28T08:13:43.488Z] ---> a7c4cae63225 [2022-09-28T08:13:43.488Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T08:13:43.488Z] ---> Running in 315b3a1117ef [2022-09-28T08:14:01.565Z] Removing intermediate container 315b3a1117ef [2022-09-28T08:14:01.565Z] ---> 83deffe11b34 [2022-09-28T08:14:01.565Z] Step 11/13 : COPY . . [2022-09-28T08:14:01.565Z] ---> c57b8d9a9b39 [2022-09-28T08:14:01.565Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-28T08:14:01.565Z] ---> Running in e85480688e63 [2022-09-28T08:14:01.565Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T08:14:01.565Z] Dload Upload  Total Spent Left Speed [2022-09-28T08:14:01.565Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:--     0 100 1062 100 1062 0 0 7292 0 --:--:-- --:--:-- --:--:-- 7324 [2022-09-28T08:14:01.824Z] Removing intermediate container e85480688e63 [2022-09-28T08:14:01.824Z] ---> c2ca913f0622 [2022-09-28T08:14:01.824Z] Step 13/13 : RUN ${MAKE} [2022-09-28T08:14:01.824Z] ---> Running in 4508c39aa056 [2022-09-28T08:14:02.082Z] noop [2022-09-28T08:14:02.341Z] Removing intermediate container 4508c39aa056 [2022-09-28T08:14:02.341Z] ---> a7055c99120a [2022-09-28T08:14:02.341Z] Successfully built a7055c99120a [2022-09-28T08:14:02.341Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:14:02.796Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T08:14:02.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T08:14:02.938Z] prd-ubuntu20.04-docker-8c-8g-1806 does not seem to be running inside a container [2022-09-28T08:14:02.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-91 -v /w/workspace/xfoundry_device-usb-camera_PR-91:/w/workspace/xfoundry_device-usb-camera_PR-91:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-91@tmp:/w/workspace/xfoundry_device-usb-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-28T08:14:03.321Z] $ docker top 52ef99fa13437148a0afe2e20172d82a72d953b4fa3da623872524fb73fd0457 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T08:14:03.710Z] + go version [2022-09-28T08:14:03.711Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-28T08:14:03.742Z] $ docker stop --time=1 52ef99fa13437148a0afe2e20172d82a72d953b4fa3da623872524fb73fd0457 [2022-09-28T08:14:05.054Z] $ docker rm -f 52ef99fa13437148a0afe2e20172d82a72d953b4fa3da623872524fb73fd0457 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:14:05.750Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T08:14:05.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T08:14:05.893Z] prd-ubuntu20.04-docker-8c-8g-1806 does not seem to be running inside a container [2022-09-28T08:14:05.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-91 -v /w/workspace/xfoundry_device-usb-camera_PR-91:/w/workspace/xfoundry_device-usb-camera_PR-91:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-91@tmp:/w/workspace/xfoundry_device-usb-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-28T08:14:06.272Z] $ docker top 7d880110add9648b19d6a4819a78cff2477808dd415403af38850f68223f2614 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T08:14:06.675Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-91 [Pipeline] fileExists [Pipeline] sh [2022-09-28T08:14:07.033Z] + make test [2022-09-28T08:14:07.033Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-09-28T08:14:07.290Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-09-28T08:14:19.500Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-09-28T08:14:19.500Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements [2022-09-28T08:14:26.061Z] 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-09-28T08:14:26.061Z] CGO_ENABLED=1 go vet ./... [2022-09-28T08:14:29.343Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T08:14:29.343Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T08:14:29.343Z] ./bin/test-attribution-txt.sh [2022-09-28T08:14:29.343Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo [2022-09-28T08:14:29.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T08:14:29.411Z] $ docker stop --time=1 7d880110add9648b19d6a4819a78cff2477808dd415403af38850f68223f2614 [2022-09-28T08:14:31.348Z] $ docker rm -f 7d880110add9648b19d6a4819a78cff2477808dd415403af38850f68223f2614 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T08:14:31.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T08:14:31.912Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-28T08:14:32.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T08:14:32.801Z] + ls -al . [2022-09-28T08:14:32.801Z] total 200 [2022-09-28T08:14:32.801Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 08:14 . [2022-09-28T08:14:32.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:12 .. [2022-09-28T08:14:32.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 08:14 .git [2022-09-28T08:14:32.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:12 .github [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 08:12 .gitignore [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 08:12 .golangci.yml [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 08:12 .hadolint.yml [2022-09-28T08:14:32.801Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 08:13 .semver [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 9569 Sep 28 08:12 Attribution.txt [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 08:12 CHANGELOG.md [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 2410 Sep 28 08:12 Dockerfile [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 08:12 GOVERNANCE.md [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 08:12 Jenkinsfile [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 08:12 LICENSE [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 2345 Sep 28 08:12 Makefile [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 08:12 OWNERS.md [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 12817 Sep 28 08:12 README.md [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 08:13 VERSION [2022-09-28T08:14:32.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 08:12 bin [2022-09-28T08:14:32.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:12 cmd [2022-09-28T08:14:32.801Z] -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 08:14 coverage.out [2022-09-28T08:14:32.801Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 08:12 docker-entrypoint.sh [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 08:12 go.mod [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 08:12 go.sum [2022-09-28T08:14:32.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:12 internal [2022-09-28T08:14:32.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:12 snap [2022-09-28T08:14:32.801Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 08:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:14:33.190Z] + 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=f7e3d8187848b074643b7ebb27ba5316ac42edff --label arch=amd64 --label version=0.0.0 . [2022-09-28T08:14:33.190Z] Sending build context to Docker daemon 931.3kB [2022-09-28T08:14:33.190Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T08:14:33.190Z] Step 2/35 : FROM ${BASE} AS builder [2022-09-28T08:14:33.190Z] ---> a7055c99120a [2022-09-28T08:14:33.190Z] Step 3/35 : ARG MAKE="make build" [2022-09-28T08:14:33.190Z] ---> Running in d42964e69278 [2022-09-28T08:14:33.190Z] Removing intermediate container d42964e69278 [2022-09-28T08:14:33.190Z] ---> 8c5bae69c18d [2022-09-28T08:14:33.190Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-28T08:14:33.450Z] ---> Running in 760871afbf68 [2022-09-28T08:14:33.450Z] Removing intermediate container 760871afbf68 [2022-09-28T08:14:33.450Z] ---> 7efc94b95faf [2022-09-28T08:14:33.450Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-28T08:14:33.450Z] ---> Running in 2d2723ffe7c6 [2022-09-28T08:14:33.450Z] Removing intermediate container 2d2723ffe7c6 [2022-09-28T08:14:33.450Z] ---> b3a1b54e7311 [2022-09-28T08:14:33.450Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T08:14:33.450Z] ---> Running in a3d76f8f98e5 [2022-09-28T08:14:34.017Z] Removing intermediate container a3d76f8f98e5 [2022-09-28T08:14:34.017Z] ---> d556d99abb72 [2022-09-28T08:14:34.017Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T08:14:34.017Z] ---> Running in 46a22aabd819 [2022-09-28T08:14:34.586Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T08:14:35.154Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T08:14:35.721Z] OK: 330 MiB in 131 packages [2022-09-28T08:14:35.980Z] Removing intermediate container 46a22aabd819 [2022-09-28T08:14:35.980Z] ---> bfdf010b44ef [2022-09-28T08:14:35.980Z] Step 8/35 : WORKDIR /device-usb-camera [2022-09-28T08:14:35.980Z] ---> Running in aacd30263bad [2022-09-28T08:14:35.980Z] Removing intermediate container aacd30263bad [2022-09-28T08:14:35.980Z] ---> 9ca397ef1bed [2022-09-28T08:14:35.980Z] Step 9/35 : COPY go.mod vendor* ./ [2022-09-28T08:14:36.238Z] ---> 76e28f74f74d [2022-09-28T08:14:36.238Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T08:14:36.238Z] ---> Running in 7c1275107297 [2022-09-28T08:14:36.804Z] Removing intermediate container 7c1275107297 [2022-09-28T08:14:36.804Z] ---> 59e0409310e8 [2022-09-28T08:14:36.804Z] Step 11/35 : COPY . . [2022-09-28T08:14:37.062Z] ---> d0d2a3d3231b [2022-09-28T08:14:37.062Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-28T08:14:37.062Z] ---> Running in 6220efb9879b [2022-09-28T08:14:37.320Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T08:14:37.320Z]  Dload Upload Total Spent Left Speed [2022-09-28T08:14:37.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 46377 0 --:--:-- --:--:-- --:--:-- 48272 [2022-09-28T08:14:37.886Z] Removing intermediate container 6220efb9879b [2022-09-28T08:14:37.886Z] ---> 2fc755ac3e37 [2022-09-28T08:14:37.886Z] Step 13/35 : RUN ${MAKE} [2022-09-28T08:14:37.886Z] ---> Running in 12248faa5ba1 [2022-09-28T08:14:38.145Z] CGO_ENABLED=1 go build -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-09-28T08:15:00.066Z] Removing intermediate container 12248faa5ba1 [2022-09-28T08:15:00.066Z] ---> 6cf096cdc8aa [2022-09-28T08:15:00.066Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-09-28T08:15:00.066Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-09-28T08:15:00.066Z] af6660deedbd: Pulling fs layer [2022-09-28T08:15:00.066Z] 97cd0a44c592: Pulling fs layer [2022-09-28T08:15:00.066Z] 97cd0a44c592: Verifying Checksum [2022-09-28T08:15:00.066Z] af6660deedbd: Verifying Checksum [2022-09-28T08:15:00.066Z] af6660deedbd: Download complete [2022-09-28T08:15:00.066Z] af6660deedbd: Pull complete [2022-09-28T08:15:00.066Z] 97cd0a44c592: Pull complete [2022-09-28T08:15:00.066Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-09-28T08:15:00.066Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-09-28T08:15:00.066Z] ---> fea57e182299 [2022-09-28T08:15:00.066Z] Step 15/35 : FROM alpine:3.16 [2022-09-28T08:15:00.066Z] 3.16: Pulling from library/alpine [2022-09-28T08:15:00.324Z] 213ec9aee27d: Pulling fs layer [2022-09-28T08:15:00.582Z] 213ec9aee27d: Download complete [2022-09-28T08:15:00.582Z] 213ec9aee27d: Pull complete [2022-09-28T08:15:00.582Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T08:15:00.582Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T08:15:00.582Z] ---> 9c6f07244728 [2022-09-28T08:15:00.582Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T08:15:00.582Z] ---> Running in 673d69217fac [2022-09-28T08:15:00.840Z] Removing intermediate container 673d69217fac [2022-09-28T08:15:00.840Z] ---> faf807cecda2 [2022-09-28T08:15:00.840Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-09-28T08:15:00.840Z] ---> Running in e6faed7f3fa6 [2022-09-28T08:15:01.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T08:15:01.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T08:15:01.360Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-09-28T08:15:01.360Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-09-28T08:15:01.360Z] (3/83) Installing libxau (1.0.9-r0) [2022-09-28T08:15:01.360Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-09-28T08:15:01.360Z] (5/83) Installing libxcb (1.15-r0) [2022-09-28T08:15:01.360Z] (6/83) Installing libx11 (1.8-r0) [2022-09-28T08:15:01.360Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-09-28T08:15:01.360Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-09-28T08:15:01.627Z] (9/83) Installing expat (2.4.9-r0) [2022-09-28T08:15:01.627Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-09-28T08:15:01.627Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-09-28T08:15:01.627Z] (12/83) Installing libpng (1.6.37-r1) [2022-09-28T08:15:01.627Z] (13/83) Installing freetype (2.12.1-r0) [2022-09-28T08:15:01.627Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-09-28T08:15:01.627Z] (15/83) Installing fribidi (1.0.12-r0) [2022-09-28T08:15:01.627Z] (16/83) Installing libffi (3.4.2-r1) [2022-09-28T08:15:01.627Z] (17/83) Installing libintl (0.21-r2) [2022-09-28T08:15:01.627Z] (18/83) Installing libblkid (2.38-r1) [2022-09-28T08:15:01.627Z] (19/83) Installing libmount (2.38-r1) [2022-09-28T08:15:01.627Z] (20/83) Installing pcre (8.45-r2) [2022-09-28T08:15:01.627Z] (21/83) Installing glib (2.72.1-r0) [2022-09-28T08:15:01.627Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-09-28T08:15:01.627Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-09-28T08:15:01.627Z] (24/83) Installing libass (0.16.0-r0) [2022-09-28T08:15:01.627Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-09-28T08:15:01.627Z] (26/83) Installing libpciaccess (0.16-r0) [2022-09-28T08:15:01.627Z] (27/83) Installing libdrm (2.4.110-r0) [2022-09-28T08:15:01.627Z] (28/83) Installing gmp (6.2.1-r2) [2022-09-28T08:15:01.627Z] (29/83) Installing nettle (3.7.3-r0) [2022-09-28T08:15:01.627Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-09-28T08:15:01.627Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-09-28T08:15:01.627Z] (32/83) Installing libunistring (1.0-r0) [2022-09-28T08:15:01.627Z] (33/83) Installing gnutls (3.7.7-r0) [2022-09-28T08:15:01.886Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-28T08:15:01.886Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-28T08:15:01.886Z] (36/83) Installing lame (3.100-r0) [2022-09-28T08:15:01.886Z] (37/83) Installing opus (1.3.1-r1) [2022-09-28T08:15:01.886Z] (38/83) Installing libasyncns (0.8-r1) [2022-09-28T08:15:01.886Z] (39/83) Installing dbus-libs (1.14.0-r1) [2022-09-28T08:15:01.886Z] (40/83) Installing libltdl (2.4.7-r0) [2022-09-28T08:15:01.886Z] (41/83) Installing orc (0.4.32-r0) [2022-09-28T08:15:01.886Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T08:15:01.886Z] (43/83) Installing libogg (1.3.5-r1) [2022-09-28T08:15:01.886Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T08:15:01.886Z] (45/83) Installing flac (1.3.4-r0) [2022-09-28T08:15:01.886Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-09-28T08:15:01.886Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-09-28T08:15:01.886Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-09-28T08:15:01.886Z] (49/83) Installing soxr (0.1.3-r2) [2022-09-28T08:15:01.886Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-09-28T08:15:01.886Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-09-28T08:15:01.886Z] (52/83) Installing libpulse (15.0-r2) [2022-09-28T08:15:01.886Z] (53/83) Installing cjson (1.7.15-r3) [2022-09-28T08:15:01.886Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-09-28T08:15:01.886Z] (55/83) Installing librist (0.2.6-r1) [2022-09-28T08:15:01.886Z] (56/83) Installing libsrt (1.4.4-r0) [2022-09-28T08:15:01.886Z] (57/83) Installing libssh (0.9.6-r1) [2022-09-28T08:15:01.887Z] (58/83) Installing libtheora (1.1.1-r16) [2022-09-28T08:15:01.887Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-09-28T08:15:01.887Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-09-28T08:15:01.887Z] (61/83) Installing libxext (1.3.4-r0) [2022-09-28T08:15:01.887Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-09-28T08:15:01.887Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-09-28T08:15:01.887Z] (64/83) Installing libva (2.14.0-r0) [2022-09-28T08:15:01.887Z] (65/83) Installing libvdpau (1.5-r0) [2022-09-28T08:15:02.145Z] (66/83) Installing vidstab (1.1.0-r1) [2022-09-28T08:15:02.145Z] (67/83) Installing libvpx (1.11.0-r1) [2022-09-28T08:15:02.145Z] (68/83) Installing libwebp (1.2.3-r0) [2022-09-28T08:15:02.145Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-09-28T08:15:02.145Z] (70/83) Installing numactl (2.0.14-r0) [2022-09-28T08:15:02.145Z] (71/83) Installing x265-libs (3.5-r3) [2022-09-28T08:15:02.145Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-09-28T08:15:02.145Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-09-28T08:15:02.402Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-09-28T08:15:02.402Z] (75/83) Installing udev-init-scripts (35-r0) [2022-09-28T08:15:02.402Z] Executing udev-init-scripts-35-r0.post-install [2022-09-28T08:15:02.402Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-09-28T08:15:02.402Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-09-28T08:15:02.402Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-09-28T08:15:02.402Z] (79/83) Installing kmod-libs (29-r2) [2022-09-28T08:15:02.402Z] (80/83) Installing eudev (3.2.11-r0) [2022-09-28T08:15:02.402Z] (81/83) Installing libsodium (1.0.18-r0) [2022-09-28T08:15:02.402Z] (82/83) Installing libzmq (4.3.4-r0) [2022-09-28T08:15:02.402Z] (83/83) Installing zeromq (4.3.4-r0) [2022-09-28T08:15:02.402Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T08:15:02.402Z] Executing eudev-3.2.11-r0.trigger [2022-09-28T08:15:02.402Z] OK: 101 MiB in 97 packages [2022-09-28T08:15:03.780Z] Removing intermediate container e6faed7f3fa6 [2022-09-28T08:15:03.780Z] ---> b69e5a68a316 [2022-09-28T08:15:03.780Z] Step 18/35 : WORKDIR / [2022-09-28T08:15:03.780Z] ---> Running in 0e996fff18f7 [2022-09-28T08:15:03.780Z] Removing intermediate container 0e996fff18f7 [2022-09-28T08:15:03.780Z] ---> 96d97059055c [2022-09-28T08:15:03.780Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-09-28T08:15:04.347Z] ---> ee2fc5b91910 [2022-09-28T08:15:04.347Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-09-28T08:15:04.347Z] ---> 3ec700192578 [2022-09-28T08:15:04.347Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-09-28T08:15:04.606Z] ---> 8681698412be [2022-09-28T08:15:04.606Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-09-28T08:15:04.606Z] ---> 6a99be280ee2 [2022-09-28T08:15:04.606Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-09-28T08:15:04.867Z] ---> 5889a91a7646 [2022-09-28T08:15:04.867Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-09-28T08:15:04.867Z] ---> 9233ec15798e [2022-09-28T08:15:04.867Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-09-28T08:15:05.436Z] ---> e64dea945f11 [2022-09-28T08:15:05.436Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-09-28T08:15:05.436Z] ---> Running in 249706d5e0f0 [2022-09-28T08:15:06.005Z] Removing intermediate container 249706d5e0f0 [2022-09-28T08:15:06.005Z] ---> 083207283c87 [2022-09-28T08:15:06.005Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-09-28T08:15:06.005Z] ---> Running in 7d0fe72c8453 [2022-09-28T08:15:06.577Z] Removing intermediate container 7d0fe72c8453 [2022-09-28T08:15:06.577Z] ---> b73c1280e2c3 [2022-09-28T08:15:06.577Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-09-28T08:15:06.577Z] ---> Running in d83b9f1a6154 [2022-09-28T08:15:07.145Z] Removing intermediate container d83b9f1a6154 [2022-09-28T08:15:07.145Z] ---> 80e3416d8f51 [2022-09-28T08:15:07.145Z] Step 29/35 : EXPOSE 59983 [2022-09-28T08:15:07.145Z] ---> Running in 717b2c13b34c [2022-09-28T08:15:07.145Z] Removing intermediate container 717b2c13b34c [2022-09-28T08:15:07.145Z] ---> cbd4dea82716 [2022-09-28T08:15:07.145Z] Step 30/35 : EXPOSE 8554 [2022-09-28T08:15:07.145Z] ---> Running in 35989b5faa6d [2022-09-28T08:15:07.145Z] Removing intermediate container 35989b5faa6d [2022-09-28T08:15:07.145Z] ---> 5e6c6fb79d4e [2022-09-28T08:15:07.146Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-09-28T08:15:07.146Z] ---> Running in ec64e053d0fd [2022-09-28T08:15:07.405Z] Removing intermediate container ec64e053d0fd [2022-09-28T08:15:07.405Z] ---> 59fa688804de [2022-09-28T08:15:07.405Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-09-28T08:15:07.405Z] ---> Running in b8e6b14fa2ad [2022-09-28T08:15:07.405Z] Removing intermediate container b8e6b14fa2ad [2022-09-28T08:15:07.405Z] ---> 8145b04f0894 [2022-09-28T08:15:07.405Z] Step 33/35 : LABEL arch=amd64 [2022-09-28T08:15:07.405Z] ---> Running in 6a1ce6e9d001 [2022-09-28T08:15:07.405Z] Removing intermediate container 6a1ce6e9d001 [2022-09-28T08:15:07.405Z] ---> 666527c6f9f1 [2022-09-28T08:15:07.405Z] Step 34/35 : LABEL git_sha=f7e3d8187848b074643b7ebb27ba5316ac42edff [2022-09-28T08:15:07.405Z] ---> Running in e09c3961ada1 [2022-09-28T08:15:07.665Z] Removing intermediate container e09c3961ada1 [2022-09-28T08:15:07.665Z] ---> e6e4b5545cdf [2022-09-28T08:15:07.665Z] Step 35/35 : LABEL version=0.0.0 [2022-09-28T08:15:07.665Z] ---> Running in d8414c1653e4 [2022-09-28T08:15:07.665Z] Removing intermediate container d8414c1653e4 [2022-09-28T08:15:07.665Z] ---> 2352892d748d [2022-09-28T08:15:07.665Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T08:15:07.665Z] Successfully built 2352892d748d [2022-09-28T08:15:07.665Z] 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-09-28T08:15:08.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T08:15:08.503Z] [2022-09-28T08:15:08.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:15:08.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T08:15:08.867Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-28T08:15:08.867Z] 5eb5b503b376: Pulling fs layer [2022-09-28T08:15:08.867Z] 5c69ac0246d0: Pulling fs layer [2022-09-28T08:15:08.867Z] ec43610c2a17: Pulling fs layer [2022-09-28T08:15:08.867Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-28T08:15:08.867Z] 33b1e0a273af: Pulling fs layer [2022-09-28T08:15:08.867Z] 5d3b04190fa2: Pulling fs layer [2022-09-28T08:15:08.867Z] 2f39f015ded8: Pulling fs layer [2022-09-28T08:15:08.867Z] 3a2ae6a8a46f: Waiting [2022-09-28T08:15:08.867Z] 33b1e0a273af: Waiting [2022-09-28T08:15:08.867Z] 2f39f015ded8: Waiting [2022-09-28T08:15:08.867Z] 5d3b04190fa2: Waiting [2022-09-28T08:15:08.867Z] 5c69ac0246d0: Verifying Checksum [2022-09-28T08:15:08.867Z] 5c69ac0246d0: Download complete [2022-09-28T08:15:08.867Z] 3a2ae6a8a46f: Download complete [2022-09-28T08:15:08.867Z] 33b1e0a273af: Verifying Checksum [2022-09-28T08:15:08.867Z] 33b1e0a273af: Download complete [2022-09-28T08:15:09.129Z] ec43610c2a17: Verifying Checksum [2022-09-28T08:15:09.129Z] ec43610c2a17: Download complete [2022-09-28T08:15:09.129Z] 5d3b04190fa2: Verifying Checksum [2022-09-28T08:15:09.129Z] 5d3b04190fa2: Download complete [2022-09-28T08:15:09.129Z] 5eb5b503b376: Verifying Checksum [2022-09-28T08:15:09.129Z] 5eb5b503b376: Download complete [2022-09-28T08:15:09.698Z] 2f39f015ded8: Download complete [2022-09-28T08:15:10.270Z] 5eb5b503b376: Pull complete [2022-09-28T08:15:10.270Z] 5c69ac0246d0: Pull complete [2022-09-28T08:15:10.840Z] ec43610c2a17: Pull complete [2022-09-28T08:15:10.840Z] 3a2ae6a8a46f: Pull complete [2022-09-28T08:15:11.100Z] 33b1e0a273af: Pull complete [2022-09-28T08:15:11.100Z] 5d3b04190fa2: Pull complete [2022-09-28T08:15:15.296Z] 2f39f015ded8: Pull complete [2022-09-28T08:15:15.296Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-28T08:15:15.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T08:15:15.296Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T08:15:15.518Z] prd-ubuntu20.04-docker-8c-8g-1806 does not seem to be running inside a container [2022-09-28T08:15:15.548Z] $ 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/xfoundry_device-usb-camera_PR-91 -v /w/workspace/xfoundry_device-usb-camera_PR-91:/w/workspace/xfoundry_device-usb-camera_PR-91:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-91@tmp:/w/workspace/xfoundry_device-usb-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T08:15:17.793Z] $ docker top 4ed7ff0103caad0c71c3663db209aec476319106607f9b27dd719fe3e894a377 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:15:18.241Z] ---> job-cost.sh [2022-09-28T08:15:18.241Z] lf-activate-venv: SKIPPING [2022-09-28T08:15:18.241Z] INFO: No Stack... [2022-09-28T08:15:18.501Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T08:15:19.069Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T08:15:19.382Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-91/archives/cost.csv [2022-09-28T08:15:19.382Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T08:15:19.425Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-91-1-stack-cost] [2022-09-28T08:15:19.430Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-91-1-stack-cost] did not exist. Created. [2022-09-28T08:15:19.430Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T08:15:19.819Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-28T08:15:19.870Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T08:15:19.898Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T08:15:19.977Z] $ docker stop --time=1 4ed7ff0103caad0c71c3663db209aec476319106607f9b27dd719fe3e894a377 [2022-09-28T08:15:21.143Z] $ docker rm -f 4ed7ff0103caad0c71c3663db209aec476319106607f9b27dd719fe3e894a377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-28T08:16:24.008Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1808 in /w/workspace/xfoundry_device-usb-camera_PR-91 [Pipeline] { [Pipeline] ws [2022-09-28T08:16:24.050Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-28T08:16:24.127Z] Selected Git installation does not exist. Using Default [2022-09-28T08:16:24.127Z] The recommended git tool is: NONE [2022-09-28T08:16:29.641Z] using credential edgex-jenkins-ssh [2022-09-28T08:16:29.657Z] Cloning the remote Git repository [2022-09-28T08:16:29.708Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-09-28T08:16:29.789Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-09-28T08:16:29.953Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-09-28T08:16:29.954Z] > git --version # timeout=10 [2022-09-28T08:16:29.972Z] > git --version # 'git version 2.25.1' [2022-09-28T08:16:29.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T08:16:30.023Z] Verifying host key using known hosts file [2022-09-28T08:16:30.237Z] 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-09-28T08:16:30.250Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T08:16:30.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-09-28T08:16:30.959Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T08:16:32.553Z] Merging remotes/origin/main commit 9d1c11cd5ef3cc85f13508c1a424f1ce30faa340 into PR head commit f7e3d8187848b074643b7ebb27ba5316ac42edff [2022-09-28T08:16:32.796Z] Merge succeeded, producing f7e3d8187848b074643b7ebb27ba5316ac42edff [2022-09-28T08:16:32.797Z] Checking out Revision f7e3d8187848b074643b7ebb27ba5316ac42edff (PR-91) [2022-09-28T08:16:31.889Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-09-28T08:16:31.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-09-28T08:16:31.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T08:16:31.936Z] Verifying host key using known hosts file [2022-09-28T08:16:31.943Z] 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-09-28T08:16:31.954Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-28T08:16:32.574Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T08:16:32.594Z] > git checkout -f f7e3d8187848b074643b7ebb27ba5316ac42edff # timeout=10 [2022-09-28T08:16:32.688Z] > git remote # timeout=10 [2022-09-28T08:16:32.706Z] > git config --get remote.origin.url # timeout=10 [2022-09-28T08:16:32.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T08:16:32.737Z] Verifying host key using known hosts file [2022-09-28T08:16:32.741Z] 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-09-28T08:16:32.750Z] > git merge 9d1c11cd5ef3cc85f13508c1a424f1ce30faa340 # timeout=10 [2022-09-28T08:16:32.774Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-28T08:16:32.807Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T08:16:32.820Z] > git checkout -f f7e3d8187848b074643b7ebb27ba5316ac42edff # timeout=10 [2022-09-28T08:16:36.329Z] Commit message: "feat: add internal command request/response topics" [2022-09-28T08:16:36.396Z] > git --version # timeout=10 [2022-09-28T08:16:36.411Z] > git --version # 'git version 2.25.1' [2022-09-28T08:16:36.428Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T08:16:37.485Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-28T08:16:37.485Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T08:16:37.485Z] Dload Upload Total Spent Left Speed [2022-09-28T08:16:37.485Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-09-28T08:16:38.225Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-28T08:16:38.570Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-28T08:16:38.570Z] + sudo tee /etc/docker/daemon.new [2022-09-28T08:16:38.570Z] { [2022-09-28T08:16:38.570Z] "registry-mirrors": [ [2022-09-28T08:16:38.570Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-28T08:16:38.570Z] ], [2022-09-28T08:16:38.570Z] "bip": "10.250.0.254/24", [2022-09-28T08:16:38.570Z] "hosts": [ [2022-09-28T08:16:38.570Z] "tcp://0.0.0.0:5555", [2022-09-28T08:16:38.570Z] "unix:///var/run/docker.sock" [2022-09-28T08:16:38.570Z] ], [2022-09-28T08:16:38.570Z] "mtu": 1458, [2022-09-28T08:16:38.570Z] "selinux-enabled": true, [2022-09-28T08:16:38.570Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-28T08:16:38.570Z] } [Pipeline] sh [2022-09-28T08:16:38.914Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-28T08:16:39.261Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T08:16:57.613Z] provisioning config files... [2022-09-28T08:16:57.642Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config11444572835295806707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:16:58.031Z] ---> docker-login.sh [2022-09-28T08:16:58.031Z] nexus3.edgexfoundry.org:10001 [2022-09-28T08:16:58.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:16:58.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:16:58.623Z] Configure a credential helper to remove this warning. See [2022-09-28T08:16:58.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:16:58.623Z] [2022-09-28T08:16:58.895Z] Login Succeeded [2022-09-28T08:16:58.895Z] nexus3.edgexfoundry.org:10002 [2022-09-28T08:16:58.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:16:59.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:16:59.167Z] Configure a credential helper to remove this warning. See [2022-09-28T08:16:59.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:16:59.167Z] [2022-09-28T08:16:59.167Z] Login Succeeded [2022-09-28T08:16:59.167Z] nexus3.edgexfoundry.org:10003 [2022-09-28T08:16:59.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:16:59.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:16:59.439Z] Configure a credential helper to remove this warning. See [2022-09-28T08:16:59.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:16:59.439Z] [2022-09-28T08:16:59.439Z] Login Succeeded [2022-09-28T08:16:59.439Z] nexus3.edgexfoundry.org:10004 [2022-09-28T08:16:59.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:16:59.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:16:59.984Z] Configure a credential helper to remove this warning. See [2022-09-28T08:16:59.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:16:59.984Z] [2022-09-28T08:16:59.984Z] Login Succeeded [2022-09-28T08:16:59.984Z] docker.io [2022-09-28T08:17:00.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T08:17:00.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T08:17:00.522Z] Configure a credential helper to remove this warning. See [2022-09-28T08:17:00.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T08:17:00.522Z] [2022-09-28T08:17:00.522Z] Login Succeeded [2022-09-28T08:17:00.522Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T08:17:00.558Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T08:17:00.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T08:17:00.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T08:17:00.922Z] ========================================================= [2022-09-28T08:17:00.922Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-28T08:17:00.922Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:17:01.427Z] + 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-09-28T08:17:01.701Z] Sending build context to Docker daemon 592.9kB [2022-09-28T08:17:01.701Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T08:17:01.701Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-28T08:17:01.971Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-28T08:17:01.971Z] b3c136eddcbf: Pulling fs layer [2022-09-28T08:17:01.971Z] c0a3192eca97: Pulling fs layer [2022-09-28T08:17:01.971Z] a050256f5b6f: Pulling fs layer [2022-09-28T08:17:01.971Z] 656be50a0ddc: Pulling fs layer [2022-09-28T08:17:01.971Z] 2bbca73fdf42: Pulling fs layer [2022-09-28T08:17:01.971Z] 46d945488cbd: Pulling fs layer [2022-09-28T08:17:01.971Z] 8a5474983e97: Pulling fs layer [2022-09-28T08:17:01.971Z] 329c88fbcd65: Pulling fs layer [2022-09-28T08:17:01.971Z] 46d945488cbd: Waiting [2022-09-28T08:17:01.971Z] 656be50a0ddc: Waiting [2022-09-28T08:17:01.971Z] 2bbca73fdf42: Waiting [2022-09-28T08:17:01.971Z] 8a5474983e97: Waiting [2022-09-28T08:17:01.971Z] 329c88fbcd65: Waiting [2022-09-28T08:17:01.971Z] a050256f5b6f: Verifying Checksum [2022-09-28T08:17:01.971Z] a050256f5b6f: Download complete [2022-09-28T08:17:01.971Z] c0a3192eca97: Verifying Checksum [2022-09-28T08:17:01.971Z] c0a3192eca97: Download complete [2022-09-28T08:17:01.971Z] 2bbca73fdf42: Verifying Checksum [2022-09-28T08:17:01.971Z] 2bbca73fdf42: Download complete [2022-09-28T08:17:01.971Z] 46d945488cbd: Verifying Checksum [2022-09-28T08:17:01.971Z] 46d945488cbd: Download complete [2022-09-28T08:17:01.971Z] b3c136eddcbf: Verifying Checksum [2022-09-28T08:17:01.971Z] b3c136eddcbf: Download complete [2022-09-28T08:17:02.948Z] b3c136eddcbf: Pull complete [2022-09-28T08:17:03.221Z] 329c88fbcd65: Verifying Checksum [2022-09-28T08:17:03.221Z] 329c88fbcd65: Download complete [2022-09-28T08:17:03.511Z] c0a3192eca97: Pull complete [2022-09-28T08:17:04.498Z] 8a5474983e97: Verifying Checksum [2022-09-28T08:17:04.498Z] 8a5474983e97: Download complete [2022-09-28T08:17:04.498Z] a050256f5b6f: Pull complete [2022-09-28T08:17:05.094Z] 656be50a0ddc: Verifying Checksum [2022-09-28T08:17:05.094Z] 656be50a0ddc: Download complete [2022-09-28T08:17:17.457Z] 656be50a0ddc: Pull complete [2022-09-28T08:17:17.726Z] 2bbca73fdf42: Pull complete [2022-09-28T08:17:17.726Z] 46d945488cbd: Pull complete [2022-09-28T08:17:24.411Z] 8a5474983e97: Pull complete [2022-09-28T08:17:26.369Z] 329c88fbcd65: Pull complete [2022-09-28T08:17:26.369Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-28T08:17:26.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-28T08:17:26.369Z] ---> ff4287adb874 [2022-09-28T08:17:26.369Z] Step 3/13 : ARG MAKE="make build" [2022-09-28T08:17:26.954Z] ---> Running in bd0c5c5ff885 [2022-09-28T08:17:27.541Z] Removing intermediate container bd0c5c5ff885 [2022-09-28T08:17:27.541Z] ---> b0bd785abc1e [2022-09-28T08:17:27.541Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-28T08:17:27.541Z] ---> Running in c760d3eaf3e2 [2022-09-28T08:17:27.808Z] Removing intermediate container c760d3eaf3e2 [2022-09-28T08:17:27.808Z] ---> d47281e43430 [2022-09-28T08:17:27.808Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-28T08:17:27.808Z] ---> Running in 7cdcb1292b63 [2022-09-28T08:17:28.080Z] Removing intermediate container 7cdcb1292b63 [2022-09-28T08:17:28.080Z] ---> 14924a4d8452 [2022-09-28T08:17:28.080Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T08:17:28.348Z] ---> Running in 5ae5999be782 [2022-09-28T08:17:30.295Z] Removing intermediate container 5ae5999be782 [2022-09-28T08:17:30.295Z] ---> a649dd6e1ce0 [2022-09-28T08:17:30.295Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T08:17:30.295Z] ---> Running in 6f283063d165 [2022-09-28T08:17:31.258Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T08:17:31.842Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T08:17:32.803Z] (1/14) Installing libintl (0.21-r2) [2022-09-28T08:17:33.073Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-09-28T08:17:33.073Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-09-28T08:17:33.341Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-09-28T08:17:33.341Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-09-28T08:17:33.615Z] (6/14) Installing udev-init-scripts (35-r0) [2022-09-28T08:17:33.615Z] Executing udev-init-scripts-35-r0.post-install [2022-09-28T08:17:33.615Z] (7/14) Installing libblkid (2.38-r1) [2022-09-28T08:17:33.615Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-09-28T08:17:33.885Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-09-28T08:17:33.885Z] (10/14) Installing kmod-libs (29-r2) [2022-09-28T08:17:33.885Z] (11/14) Installing eudev (3.2.11-r0) [2022-09-28T08:17:34.154Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-09-28T08:17:34.154Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-09-28T08:17:34.425Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-09-28T08:17:34.425Z] Executing busybox-1.35.0-r13.trigger [2022-09-28T08:17:34.425Z] Executing eudev-3.2.11-r0.trigger [2022-09-28T08:17:34.425Z] OK: 228 MiB in 65 packages [2022-09-28T08:17:35.841Z] Removing intermediate container 6f283063d165 [2022-09-28T08:17:35.841Z] ---> 0cc38b78d93b [2022-09-28T08:17:35.841Z] Step 8/13 : WORKDIR /device-usb-camera [2022-09-28T08:17:35.841Z] ---> Running in 414f293dc484 [2022-09-28T08:17:36.110Z] Removing intermediate container 414f293dc484 [2022-09-28T08:17:36.110Z] ---> 242196455e71 [2022-09-28T08:17:36.110Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-28T08:17:36.699Z] ---> 77e2f50c4ee3 [2022-09-28T08:17:36.699Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T08:17:36.699Z] ---> Running in 9904faa68fbe [2022-09-28T08:18:33.163Z] Removing intermediate container 9904faa68fbe [2022-09-28T08:18:33.163Z] ---> 25f31cc0488d [2022-09-28T08:18:33.163Z] Step 11/13 : COPY . . [2022-09-28T08:18:33.163Z] ---> 3ab596120ea5 [2022-09-28T08:18:33.163Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-28T08:18:33.163Z] ---> Running in a4c0f5f9aeab [2022-09-28T08:18:33.163Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T08:18:33.163Z]  Dload Upload Total Spent Left Speed [2022-09-28T08:18:33.163Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14482 0 --:--:-- --:--:-- --:--:-- 14750 [2022-09-28T08:18:33.163Z] Removing intermediate container a4c0f5f9aeab [2022-09-28T08:18:33.163Z] ---> fcd60175382a [2022-09-28T08:18:33.163Z] Step 13/13 : RUN ${MAKE} [2022-09-28T08:18:33.163Z] ---> Running in 68812ad9cc81 [2022-09-28T08:18:33.163Z] noop [2022-09-28T08:18:33.163Z] Removing intermediate container 68812ad9cc81 [2022-09-28T08:18:33.163Z] ---> d951b1b5cceb [2022-09-28T08:18:33.163Z] Successfully built d951b1b5cceb [2022-09-28T08:18:33.163Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:18:33.634Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T08:18:33.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T08:18:33.907Z] prd-ubuntu20.04-docker-arm64-4c-16g-1808 does not seem to be running inside a container [2022-09-28T08:18:33.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-28T08:18:35.280Z] $ docker top b175e9a5e1c907b90d9ed2e82633bcee91794eab5cce66c5e51545af7cec1c57 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T08:18:36.184Z] + go version [2022-09-28T08:18:36.184Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-28T08:18:36.221Z] $ docker stop --time=1 b175e9a5e1c907b90d9ed2e82633bcee91794eab5cce66c5e51545af7cec1c57 [2022-09-28T08:18:37.897Z] $ docker rm -f b175e9a5e1c907b90d9ed2e82633bcee91794eab5cce66c5e51545af7cec1c57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:18:38.761Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T08:18:38.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T08:18:39.005Z] prd-ubuntu20.04-docker-arm64-4c-16g-1808 does not seem to be running inside a container [2022-09-28T08:18:39.080Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-28T08:18:40.260Z] $ docker top fa13ae79601b387e4d1e40620facff3b79beef36254485f098b336e4831889bb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T08:18:41.147Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-28T08:18:41.860Z] + make test [2022-09-28T08:18:41.860Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-09-28T08:18:43.270Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-09-28T08:20:19.942Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-09-28T08:20:25.294Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.074s coverage: 1.9% of statements [2022-09-28T08:20:25.562Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-28T08:20:25.562Z] CGO_ENABLED=1 go vet ./... [2022-09-28T08:20:52.246Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T08:20:52.246Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T08:20:52.246Z] ./bin/test-attribution-txt.sh [2022-09-28T08:20:52.246Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo [2022-09-28T08:20:52.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T08:20:52.316Z] $ docker stop --time=1 fa13ae79601b387e4d1e40620facff3b79beef36254485f098b336e4831889bb [2022-09-28T08:20:54.117Z] $ docker rm -f fa13ae79601b387e4d1e40620facff3b79beef36254485f098b336e4831889bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T08:20:55.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T08:20:55.144Z] Warning: overwriting stash ‘coverage-report’ [2022-09-28T08:20:55.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T08:20:56.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T08:20:56.586Z] + ls -al . [2022-09-28T08:20:56.587Z] total 196 [2022-09-28T08:20:56.587Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 08:18 . [2022-09-28T08:20:56.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:16 .. [2022-09-28T08:20:56.587Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 08:16 .git [2022-09-28T08:20:56.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:16 .github [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 08:16 .gitignore [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 08:16 .golangci.yml [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 08:16 .hadolint.yml [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 9569 Sep 28 08:16 Attribution.txt [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 08:16 CHANGELOG.md [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 2410 Sep 28 08:16 Dockerfile [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 08:16 GOVERNANCE.md [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 08:16 Jenkinsfile [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 08:16 LICENSE [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 2345 Sep 28 08:16 Makefile [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 08:16 OWNERS.md [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 12817 Sep 28 08:16 README.md [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 08:13 VERSION [2022-09-28T08:20:56.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 08:16 bin [2022-09-28T08:20:56.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:16 cmd [2022-09-28T08:20:56.587Z] -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 08:20 coverage.out [2022-09-28T08:20:56.587Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 08:16 docker-entrypoint.sh [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 08:16 go.mod [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 08:16 go.sum [2022-09-28T08:20:56.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:16 internal [2022-09-28T08:20:56.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:16 snap [2022-09-28T08:20:56.587Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 08:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:20:57.010Z] + 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=f7e3d8187848b074643b7ebb27ba5316ac42edff --label arch=arm64 --label version=0.0.0 . [2022-09-28T08:20:57.290Z] Sending build context to Docker daemon 623.1kB [2022-09-28T08:20:57.290Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T08:20:57.290Z] Step 2/35 : FROM ${BASE} AS builder [2022-09-28T08:20:57.290Z] ---> d951b1b5cceb [2022-09-28T08:20:57.290Z] Step 3/35 : ARG MAKE="make build" [2022-09-28T08:20:57.567Z] ---> Running in d702e7f670b1 [2022-09-28T08:20:57.836Z] Removing intermediate container d702e7f670b1 [2022-09-28T08:20:57.836Z] ---> 1e90e6bf306f [2022-09-28T08:20:57.836Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-09-28T08:20:57.836Z] ---> Running in 6dbcbcc3d54c [2022-09-28T08:20:58.417Z] Removing intermediate container 6dbcbcc3d54c [2022-09-28T08:20:58.417Z] ---> 524f86e79c37 [2022-09-28T08:20:58.417Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-09-28T08:20:58.417Z] ---> Running in 2f705f84366e [2022-09-28T08:20:59.006Z] Removing intermediate container 2f705f84366e [2022-09-28T08:20:59.006Z] ---> 5e23586244eb [2022-09-28T08:20:59.006Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T08:20:59.006Z] ---> Running in ab5eb2c5fb67 [2022-09-28T08:21:01.597Z] Removing intermediate container ab5eb2c5fb67 [2022-09-28T08:21:01.597Z] ---> 9af7a7bdd3db [2022-09-28T08:21:01.597Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T08:21:01.597Z] ---> Running in 35c52c03aa84 [2022-09-28T08:21:02.561Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T08:21:03.523Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T08:21:04.483Z] OK: 228 MiB in 65 packages [2022-09-28T08:21:05.450Z] Removing intermediate container 35c52c03aa84 [2022-09-28T08:21:05.450Z] ---> d97732343f5d [2022-09-28T08:21:05.450Z] Step 8/35 : WORKDIR /device-usb-camera [2022-09-28T08:21:05.450Z] ---> Running in 7272019439df [2022-09-28T08:21:06.036Z] Removing intermediate container 7272019439df [2022-09-28T08:21:06.036Z] ---> 71e00bd0558a [2022-09-28T08:21:06.036Z] Step 9/35 : COPY go.mod vendor* ./ [2022-09-28T08:21:06.621Z] ---> f0625b2b1cdd [2022-09-28T08:21:06.621Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T08:21:06.621Z] ---> Running in 4bdc983c77e9 [2022-09-28T08:21:09.212Z] Removing intermediate container 4bdc983c77e9 [2022-09-28T08:21:09.212Z] ---> 9e0502298ccf [2022-09-28T08:21:09.212Z] Step 11/35 : COPY . . [2022-09-28T08:21:09.799Z] ---> b79e52866bb8 [2022-09-28T08:21:09.799Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-09-28T08:21:09.799Z] ---> Running in 10449bf2dccf [2022-09-28T08:21:10.765Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T08:21:10.765Z]  Dload Upload Total Spent Left Speed [2022-09-28T08:21:11.032Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6889 0 --:--:-- --:--:-- --:--:-- 6896 [2022-09-28T08:21:11.708Z] Removing intermediate container 10449bf2dccf [2022-09-28T08:21:11.708Z] ---> fcf293006287 [2022-09-28T08:21:11.708Z] Step 13/35 : RUN ${MAKE} [2022-09-28T08:21:11.990Z] ---> Running in 4ae44d9116d2 [2022-09-28T08:21:13.461Z] CGO_ENABLED=1 go build -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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-09-28T08:23:50.299Z] Removing intermediate container 4ae44d9116d2 [2022-09-28T08:23:50.299Z] ---> ef9c38f790cb [2022-09-28T08:23:50.299Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-09-28T08:23:50.299Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-09-28T08:23:50.299Z] eab2503cf8f4: Pulling fs layer [2022-09-28T08:23:50.299Z] 97cd0a44c592: Pulling fs layer [2022-09-28T08:23:50.299Z] 97cd0a44c592: Verifying Checksum [2022-09-28T08:23:50.299Z] 97cd0a44c592: Download complete [2022-09-28T08:23:50.299Z] eab2503cf8f4: Download complete [2022-09-28T08:23:50.299Z] eab2503cf8f4: Pull complete [2022-09-28T08:23:50.299Z] 97cd0a44c592: Pull complete [2022-09-28T08:23:50.299Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-09-28T08:23:50.299Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-09-28T08:23:50.299Z] ---> 7f763cca56b3 [2022-09-28T08:23:50.299Z] Step 15/35 : FROM alpine:3.16 [2022-09-28T08:23:50.299Z] 3.16: Pulling from library/alpine [2022-09-28T08:23:50.299Z] 9b18e9b68314: Pulling fs layer [2022-09-28T08:23:50.299Z] 9b18e9b68314: Verifying Checksum [2022-09-28T08:23:50.299Z] 9b18e9b68314: Download complete [2022-09-28T08:23:50.299Z] 9b18e9b68314: Pull complete [2022-09-28T08:23:50.299Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T08:23:50.300Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T08:23:50.300Z] ---> a6215f271958 [2022-09-28T08:23:50.300Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T08:23:50.300Z] ---> Running in dfc056c77667 [2022-09-28T08:23:50.300Z] Removing intermediate container dfc056c77667 [2022-09-28T08:23:50.300Z] ---> 0fb8e177686b [2022-09-28T08:23:50.300Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-09-28T08:23:50.300Z] ---> Running in 1131c916d335 [2022-09-28T08:23:51.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T08:23:51.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T08:23:52.487Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-09-28T08:23:52.487Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-09-28T08:23:52.487Z] (3/82) Installing libxau (1.0.9-r0) [2022-09-28T08:23:52.487Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-09-28T08:23:52.487Z] (5/82) Installing libxcb (1.15-r0) [2022-09-28T08:23:52.487Z] (6/82) Installing libx11 (1.8-r0) [2022-09-28T08:23:52.754Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-09-28T08:23:52.754Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-09-28T08:23:53.020Z] (9/82) Installing expat (2.4.9-r0) [2022-09-28T08:23:53.020Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-09-28T08:23:53.020Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-09-28T08:23:53.020Z] (12/82) Installing libpng (1.6.37-r1) [2022-09-28T08:23:53.020Z] (13/82) Installing freetype (2.12.1-r0) [2022-09-28T08:23:53.020Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-09-28T08:23:53.020Z] (15/82) Installing fribidi (1.0.12-r0) [2022-09-28T08:23:53.020Z] (16/82) Installing libffi (3.4.2-r1) [2022-09-28T08:23:53.020Z] (17/82) Installing libintl (0.21-r2) [2022-09-28T08:23:53.020Z] (18/82) Installing libblkid (2.38-r1) [2022-09-28T08:23:53.020Z] (19/82) Installing libmount (2.38-r1) [2022-09-28T08:23:53.020Z] (20/82) Installing pcre (8.45-r2) [2022-09-28T08:23:53.020Z] (21/82) Installing glib (2.72.1-r0) [2022-09-28T08:23:53.287Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-09-28T08:23:53.287Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-09-28T08:23:53.287Z] (24/82) Installing libass (0.16.0-r0) [2022-09-28T08:23:53.287Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-09-28T08:23:53.287Z] (26/82) Installing libdrm (2.4.110-r0) [2022-09-28T08:23:53.287Z] (27/82) Installing gmp (6.2.1-r2) [2022-09-28T08:23:53.287Z] (28/82) Installing nettle (3.7.3-r0) [2022-09-28T08:23:53.287Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-09-28T08:23:53.287Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-09-28T08:23:53.287Z] (31/82) Installing libunistring (1.0-r0) [2022-09-28T08:23:53.287Z] (32/82) Installing gnutls (3.7.7-r0) [2022-09-28T08:23:53.553Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-09-28T08:23:53.553Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-09-28T08:23:53.553Z] (35/82) Installing lame (3.100-r0) [2022-09-28T08:23:53.553Z] (36/82) Installing opus (1.3.1-r1) [2022-09-28T08:23:53.553Z] (37/82) Installing libasyncns (0.8-r1) [2022-09-28T08:23:53.553Z] (38/82) Installing dbus-libs (1.14.0-r1) [2022-09-28T08:23:53.553Z] (39/82) Installing libltdl (2.4.7-r0) [2022-09-28T08:23:53.553Z] (40/82) Installing orc (0.4.32-r0) [2022-09-28T08:23:53.553Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T08:23:53.553Z] (42/82) Installing libogg (1.3.5-r1) [2022-09-28T08:23:53.553Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T08:23:53.553Z] (44/82) Installing flac (1.3.4-r0) [2022-09-28T08:23:53.553Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-09-28T08:23:53.553Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-09-28T08:23:53.553Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-09-28T08:23:53.819Z] (48/82) Installing soxr (0.1.3-r2) [2022-09-28T08:23:53.819Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-09-28T08:23:53.819Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-09-28T08:23:53.819Z] (51/82) Installing libpulse (15.0-r2) [2022-09-28T08:23:53.819Z] (52/82) Installing cjson (1.7.15-r3) [2022-09-28T08:23:53.819Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-09-28T08:23:53.819Z] (54/82) Installing librist (0.2.6-r1) [2022-09-28T08:23:53.819Z] (55/82) Installing libsrt (1.4.4-r0) [2022-09-28T08:23:53.819Z] (56/82) Installing libssh (0.9.6-r1) [2022-09-28T08:23:53.819Z] (57/82) Installing libtheora (1.1.1-r16) [2022-09-28T08:23:53.819Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-09-28T08:23:53.819Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-09-28T08:23:53.819Z] (60/82) Installing libxext (1.3.4-r0) [2022-09-28T08:23:53.819Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-09-28T08:23:53.819Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-09-28T08:23:53.819Z] (63/82) Installing libva (2.14.0-r0) [2022-09-28T08:23:53.819Z] (64/82) Installing libvdpau (1.5-r0) [2022-09-28T08:23:54.085Z] (65/82) Installing vidstab (1.1.0-r1) [2022-09-28T08:23:54.085Z] (66/82) Installing libvpx (1.11.0-r1) [2022-09-28T08:23:54.085Z] (67/82) Installing libwebp (1.2.3-r0) [2022-09-28T08:23:54.085Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-09-28T08:23:54.085Z] (69/82) Installing numactl (2.0.14-r0) [2022-09-28T08:23:54.085Z] (70/82) Installing x265-libs (3.5-r3) [2022-09-28T08:23:54.354Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-09-28T08:23:54.354Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-09-28T08:23:54.621Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-09-28T08:23:54.621Z] (74/82) Installing udev-init-scripts (35-r0) [2022-09-28T08:23:54.621Z] Executing udev-init-scripts-35-r0.post-install [2022-09-28T08:23:54.897Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-09-28T08:23:54.897Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-09-28T08:23:54.897Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-09-28T08:23:54.897Z] (78/82) Installing kmod-libs (29-r2) [2022-09-28T08:23:54.897Z] (79/82) Installing eudev (3.2.11-r0) [2022-09-28T08:23:54.897Z] (80/82) Installing libsodium (1.0.18-r0) [2022-09-28T08:23:54.897Z] (81/82) Installing libzmq (4.3.4-r0) [2022-09-28T08:23:54.897Z] (82/82) Installing zeromq (4.3.4-r0) [2022-09-28T08:23:54.897Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T08:23:54.897Z] Executing eudev-3.2.11-r0.trigger [2022-09-28T08:23:54.897Z] OK: 78 MiB in 96 packages [2022-09-28T08:23:58.250Z] Removing intermediate container 1131c916d335 [2022-09-28T08:23:58.251Z] ---> 822d32147c78 [2022-09-28T08:23:58.251Z] Step 18/35 : WORKDIR / [2022-09-28T08:23:58.251Z] ---> Running in 0324e99bc53c [2022-09-28T08:23:58.251Z] Removing intermediate container 0324e99bc53c [2022-09-28T08:23:58.251Z] ---> 79af1775f78a [2022-09-28T08:23:58.251Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-09-28T08:23:59.667Z] ---> ec214ec9e372 [2022-09-28T08:23:59.667Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-09-28T08:24:00.253Z] ---> 9bd59b13aed0 [2022-09-28T08:24:00.253Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-09-28T08:24:00.836Z] ---> 78a1f415195d [2022-09-28T08:24:00.836Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-09-28T08:24:01.102Z] ---> 0c7317f6662f [2022-09-28T08:24:01.102Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-09-28T08:24:01.696Z] ---> 23e7a3699692 [2022-09-28T08:24:01.696Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-09-28T08:24:02.279Z] ---> e7e20aa90891 [2022-09-28T08:24:02.279Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-09-28T08:24:03.688Z] ---> e4b49564612f [2022-09-28T08:24:03.688Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-09-28T08:24:03.688Z] ---> Running in b641ec8dbac5 [2022-09-28T08:24:05.094Z] Removing intermediate container b641ec8dbac5 [2022-09-28T08:24:05.094Z] ---> ff3d20bd6658 [2022-09-28T08:24:05.094Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-09-28T08:24:05.094Z] ---> Running in e01a13d847b5 [2022-09-28T08:24:07.040Z] Removing intermediate container e01a13d847b5 [2022-09-28T08:24:07.040Z] ---> 99f8dfee840e [2022-09-28T08:24:07.040Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-09-28T08:24:07.040Z] ---> Running in 1fd33a2090e5 [2022-09-28T08:24:08.456Z] Removing intermediate container 1fd33a2090e5 [2022-09-28T08:24:08.456Z] ---> 1ced87a934ba [2022-09-28T08:24:08.456Z] Step 29/35 : EXPOSE 59983 [2022-09-28T08:24:08.456Z] ---> Running in 2d43601bb1d3 [2022-09-28T08:24:08.724Z] Removing intermediate container 2d43601bb1d3 [2022-09-28T08:24:08.724Z] ---> 11d089835594 [2022-09-28T08:24:08.724Z] Step 30/35 : EXPOSE 8554 [2022-09-28T08:24:08.724Z] ---> Running in 4f8ca775931f [2022-09-28T08:24:08.993Z] Removing intermediate container 4f8ca775931f [2022-09-28T08:24:08.993Z] ---> b26e63dd198e [2022-09-28T08:24:08.993Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-09-28T08:24:08.993Z] ---> Running in 46256b95ecd8 [2022-09-28T08:24:09.259Z] Removing intermediate container 46256b95ecd8 [2022-09-28T08:24:09.259Z] ---> 224043617d5d [2022-09-28T08:24:09.260Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-09-28T08:24:09.260Z] ---> Running in 087634e2784e [2022-09-28T08:24:09.528Z] Removing intermediate container 087634e2784e [2022-09-28T08:24:09.528Z] ---> 5b871d08f860 [2022-09-28T08:24:09.528Z] Step 33/35 : LABEL arch=arm64 [2022-09-28T08:24:09.799Z] ---> Running in 89b4f5ba9e76 [2022-09-28T08:24:10.066Z] Removing intermediate container 89b4f5ba9e76 [2022-09-28T08:24:10.066Z] ---> 8ea13d171fc4 [2022-09-28T08:24:10.066Z] Step 34/35 : LABEL git_sha=f7e3d8187848b074643b7ebb27ba5316ac42edff [2022-09-28T08:24:10.066Z] ---> Running in 46efdc38550c [2022-09-28T08:24:10.333Z] Removing intermediate container 46efdc38550c [2022-09-28T08:24:10.333Z] ---> 2a595f7fbf83 [2022-09-28T08:24:10.333Z] Step 35/35 : LABEL version=0.0.0 [2022-09-28T08:24:10.333Z] ---> Running in 04f36caebe0a [2022-09-28T08:24:10.599Z] Removing intermediate container 04f36caebe0a [2022-09-28T08:24:10.599Z] ---> 822e4c777937 [2022-09-28T08:24:10.599Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T08:24:10.599Z] Successfully built 822e4c777937 [2022-09-28T08:24:10.599Z] 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-09-28T08:24:11.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T08:24:11.374Z] [2022-09-28T08:24:11.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:24:11.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T08:24:11.776Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-28T08:24:11.776Z] 8998bd30e6a1: Pulling fs layer [2022-09-28T08:24:11.776Z] 04944245beec: Pulling fs layer [2022-09-28T08:24:11.776Z] 699f458cf7ca: Pulling fs layer [2022-09-28T08:24:11.776Z] 765212b225bb: Pulling fs layer [2022-09-28T08:24:11.776Z] f23df028b6ca: Pulling fs layer [2022-09-28T08:24:11.776Z] d65c8cfc05b1: Pulling fs layer [2022-09-28T08:24:11.776Z] 2437ff75d9bd: Pulling fs layer [2022-09-28T08:24:11.776Z] 765212b225bb: Waiting [2022-09-28T08:24:11.776Z] f23df028b6ca: Waiting [2022-09-28T08:24:11.776Z] d65c8cfc05b1: Waiting [2022-09-28T08:24:11.776Z] 2437ff75d9bd: Waiting [2022-09-28T08:24:12.047Z] 04944245beec: Verifying Checksum [2022-09-28T08:24:12.047Z] 04944245beec: Download complete [2022-09-28T08:24:12.047Z] 765212b225bb: Verifying Checksum [2022-09-28T08:24:12.047Z] 765212b225bb: Download complete [2022-09-28T08:24:12.047Z] f23df028b6ca: Verifying Checksum [2022-09-28T08:24:12.047Z] f23df028b6ca: Download complete [2022-09-28T08:24:12.047Z] d65c8cfc05b1: Verifying Checksum [2022-09-28T08:24:12.047Z] d65c8cfc05b1: Download complete [2022-09-28T08:24:12.316Z] 699f458cf7ca: Verifying Checksum [2022-09-28T08:24:12.316Z] 699f458cf7ca: Download complete [2022-09-28T08:24:12.582Z] 8998bd30e6a1: Verifying Checksum [2022-09-28T08:24:12.582Z] 8998bd30e6a1: Download complete [2022-09-28T08:24:15.163Z] 2437ff75d9bd: Verifying Checksum [2022-09-28T08:24:15.163Z] 2437ff75d9bd: Download complete [2022-09-28T08:24:16.570Z] 8998bd30e6a1: Pull complete [2022-09-28T08:24:16.837Z] 04944245beec: Pull complete [2022-09-28T08:24:18.248Z] 699f458cf7ca: Pull complete [2022-09-28T08:24:18.516Z] 765212b225bb: Pull complete [2022-09-28T08:24:19.099Z] f23df028b6ca: Pull complete [2022-09-28T08:24:19.367Z] d65c8cfc05b1: Pull complete [2022-09-28T08:24:34.385Z] 2437ff75d9bd: Pull complete [2022-09-28T08:24:34.385Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-28T08:24:34.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T08:24:34.385Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T08:24:34.698Z] prd-ubuntu20.04-docker-arm64-4c-16g-1808 does not seem to be running inside a container [2022-09-28T08:24:34.757Z] $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-28T08:24:37.186Z] $ docker top d80450b9e6bf89456c34ee14a94bbd2789c5aad90f5abfbf0ad3fb408b9daa90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:24:37.760Z] ---> job-cost.sh [2022-09-28T08:24:38.026Z] lf-activate-venv: SKIPPING [2022-09-28T08:24:38.026Z] INFO: No Stack... [2022-09-28T08:24:38.291Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-28T08:24:39.244Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T08:24:39.579Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-09-28T08:24:39.579Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T08:24:39.661Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-91-1-stack-cost] [2022-09-28T08:24:39.666Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-91-1-stack-cost] did not exist. Created. [2022-09-28T08:24:39.667Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T08:24:40.075Z] /w/workspace/device-usb-camera/1@tmp/durable-d2f591fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-28T08:24:40.436Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-28T08:24:40.474Z] Warning: overwriting stash ‘stack-cost’ [2022-09-28T08:24:40.514Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T08:24:40.529Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T08:24:40.598Z] $ docker stop --time=1 d80450b9e6bf89456c34ee14a94bbd2789c5aad90f5abfbf0ad3fb408b9daa90 [2022-09-28T08:24:42.081Z] $ docker rm -f d80450b9e6bf89456c34ee14a94bbd2789c5aad90f5abfbf0ad3fb408b9daa90 [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-09-28T08:24:43.020Z] provisioning config files... [2022-09-28T08:24:43.026Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-91@tmp/config15284321225894128896tmp [Pipeline] { [Pipeline] sh [2022-09-28T08:24:43.356Z] + set +x [2022-09-28T08:24:43.357Z] + bash -s -- [2022-09-28T08:24:43.357Z] + curl -s https://codecov.io/bash [2022-09-28T08:24:43.357Z] [2022-09-28T08:24:43.357Z] _____ _ [2022-09-28T08:24:43.357Z] / ____| | | [2022-09-28T08:24:43.357Z] | | ___ __| | ___ ___ _____ __ [2022-09-28T08:24:43.357Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-28T08:24:43.357Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-28T08:24:43.357Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-28T08:24:43.357Z] Bash-1.0.6 [2022-09-28T08:24:43.357Z] [2022-09-28T08:24:43.357Z] [2022-09-28T08:24:43.357Z] ==> git version 2.25.1 found [2022-09-28T08:24:43.357Z] ==> 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-09-28T08:24:43.357Z] Release-Date: 2020-01-08 [2022-09-28T08:24:43.357Z] 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-09-28T08:24:43.357Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-28T08:24:43.357Z] ==> Jenkins CI detected. [2022-09-28T08:24:43.357Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-91 [2022-09-28T08:24:43.357Z] project root: . [2022-09-28T08:24:43.357Z] --> token set from env [2022-09-28T08:24:43.357Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-28T08:24:43.357Z] ==> Running gcov in . (disable via -X gcov) [2022-09-28T08:24:43.357Z] ==> Python coveragepy not found [2022-09-28T08:24:43.357Z] ==> Searching for coverage reports in: [2022-09-28T08:24:43.357Z] + . [2022-09-28T08:24:43.357Z] -> Found 1 reports [2022-09-28T08:24:43.357Z] ==> Detecting git/mercurial file structure [2022-09-28T08:24:43.357Z] ==> Reading reports [2022-09-28T08:24:43.357Z] + ./coverage.out bytes=29387 [2022-09-28T08:24:43.357Z] ==> Appending adjustments [2022-09-28T08:24:43.357Z] https://docs.codecov.io/docs/fixing-reports [2022-09-28T08:24:43.616Z] + Found adjustments [2022-09-28T08:24:43.616Z] ==> Gzipping contents [2022-09-28T08:24:43.616Z] 8.0K /tmp/codecov.pADavT.gz [2022-09-28T08:24:43.616Z] ==> Uploading reports [2022-09-28T08:24:43.616Z] url: https://codecov.io [2022-09-28T08:24:43.616Z] query: branch=PR-91&commit=f7e3d8187848b074643b7ebb27ba5316ac42edff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=91&job=&cmd_args= [2022-09-28T08:24:43.616Z] -> Pinging Codecov [2022-09-28T08:24:43.616Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-91&commit=f7e3d8187848b074643b7ebb27ba5316ac42edff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=91&job=&cmd_args= [2022-09-28T08:24:43.876Z] -> Uploading to [2022-09-28T08:24:43.876Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-28/73D8F5FF140700D3E01443B452E23636/f7e3d8187848b074643b7ebb27ba5316ac42edff/cbc82e35-a56a-4167-8bcf-069028944acb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T082443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d4473b37ca0e39e8a530528128fb4ba6ef74ca810bf447fd0754e5891b96bc0 [2022-09-28T08:24:43.876Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T08:24:43.876Z] Dload Upload Total Spent Left Speed [2022-09-28T08:24:44.135Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4135 0 0 100 4135 0 18377 --:--:-- --:--:-- --:--:-- 18377 [2022-09-28T08:24:44.135Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/f7e3d8187848b074643b7ebb27ba5316ac42edff [Pipeline] } [2022-09-28T08:24:44.162Z] 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-09-28T08:24:45.788Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-91/archives ] [2022-09-28T08:24:45.788Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-91/archives [2022-09-28T08:24:45.788Z] total 16 [2022-09-28T08:24:45.788Z] drwxr-xr-x 3 root root 4096 Sep 28 08:15 . [2022-09-28T08:24:45.788Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 08:15 .. [2022-09-28T08:24:45.788Z] drwxr-xr-x 2 root root 4096 Sep 28 08:15 cost [2022-09-28T08:24:45.788Z] -rw-r--r-- 1 root root 88 Sep 28 08:15 cost.csv [2022-09-28T08:24:45.788Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-91/archives [2022-09-28T08:24:45.788Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-91/archives [2022-09-28T08:24:45.788Z] total 16 [2022-09-28T08:24:45.788Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 08:15 . [2022-09-28T08:24:45.788Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 08:15 .. [2022-09-28T08:24:45.788Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 08:15 cost [2022-09-28T08:24:45.788Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 28 08:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:24:46.117Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:24:47.002Z] ---> package-listing.sh [2022-09-28T08:24:47.002Z] ++ facter osfamily [2022-09-28T08:24:47.002Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-28T08:24:47.261Z] + OS_FAMILY=debian [2022-09-28T08:24:47.261Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-91 [2022-09-28T08:24:47.261Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-28T08:24:47.261Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-28T08:24:47.261Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-28T08:24:47.261Z] + PACKAGES=/tmp/packages_start.txt [2022-09-28T08:24:47.261Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-91 ']' [2022-09-28T08:24:47.261Z] + PACKAGES=/tmp/packages_end.txt [2022-09-28T08:24:47.261Z] + case "${OS_FAMILY}" in [2022-09-28T08:24:47.261Z] + dpkg -l [2022-09-28T08:24:47.261Z] + grep '^ii' [2022-09-28T08:24:47.261Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-28T08:24:47.261Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-28T08:24:47.261Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-28T08:24:47.261Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-91 ']' [2022-09-28T08:24:47.261Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-91/archives/ [2022-09-28T08:24:47.261Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-91/archives/ [Pipeline] echo [2022-09-28T08:24:47.292Z] 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/xfoundry_device-usb-camera_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-28T08:24:47.581Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T08:24:48.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T08:24:48.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T08:24:48.332Z] prd-ubuntu20.04-docker-8c-8g-1806 does not seem to be running inside a container [2022-09-28T08:24:48.362Z] $ 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/xfoundry_device-usb-camera_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-91 -v /w/workspace/xfoundry_device-usb-camera_PR-91:/w/workspace/xfoundry_device-usb-camera_PR-91:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-91@tmp:/w/workspace/xfoundry_device-usb-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T08:24:48.599Z] $ docker top a85bfdef8ab47f5674eac15a7f1f77321b712fbce3fa3ea350c153a2e41bdd15 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T08:24:48.983Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-28T08:24:49.292Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-28T08:24:49.600Z] + ls /var/log/sa-host [2022-09-28T08:24:49.600Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T08:24:49.719Z] provisioning config files... [2022-09-28T08:24:49.728Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-91@tmp/config14738838160673759365tmp [Pipeline] { [Pipeline] echo [2022-09-28T08:24:49.772Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:24:50.078Z] ---> create-netrc.sh [Pipeline] } [2022-09-28T08:24:50.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:24:50.484Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-28T08:24:50.516Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:24:50.826Z] ---> sudo-logs.sh [2022-09-28T08:24:50.826Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-28T08:24:50.909Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:24:51.229Z] ---> job-cost.sh [2022-09-28T08:24:51.229Z] lf-activate-venv: SKIPPING [2022-09-28T08:24:51.229Z] DEBUG: total: 0.2199999988079071 [2022-09-28T08:24:51.229Z] INFO: Retrieving Stack Cost... [2022-09-28T08:24:51.797Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T08:24:52.057Z] INFO: Archiving Costs [Pipeline] echo [2022-09-28T08:24:52.097Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T08:24:52.409Z] ---> logs-deploy.sh [2022-09-28T08:24:52.409Z] lf-activate-venv: SKIPPING [2022-09-28T08:24:52.409Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-91/1 [2022-09-28T08:24:52.409Z] INFO: archiving workspace using pattern(s): [2022-09-28T08:24:53.348Z] Archives upload complete. [2022-09-28T08:24:53.348Z] INFO: archiving logs to Nexus