Pull request #192 event Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch levski at 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 rather than d2b9d5cb34ec3a6efbcadf08c2f8dd1980ad3e2c Obtained Jenkinsfile from 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 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-ssh15253288444180065494.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7443426657198266801.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh297487736236837888.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7968163737684883800.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh327999011617545676.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera, goVersion:1.18] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4998 in /w/workspace/foundry_device-usb-camera_PR-192 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-192 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/levski commit 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 into PR head commit d2b9d5cb34ec3a6efbcadf08c2f8dd1980ad3e2c Merge succeeded, producing 8bdd890901883a432705bb75baf3b057b9b8898e Checking out Revision 8bdd890901883a432705bb75baf3b057b9b8898e (PR-192) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2b9d5cb34ec3a6efbcadf08c2f8dd1980ad3e2c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bdd890901883a432705bb75baf3b057b9b8898e # timeout=10 Commit message: "Merge commit '1e8a9a0bc5fafbcf5b64264498bdde32df42f291' into HEAD" > git rev-list --no-walk d2b9d5cb34ec3a6efbcadf08c2f8dd1980ad3e2c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T23:51:34.511Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T23:51:34.572Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T23:51:34.584Z] ========================================================= [2023-03-21T23:51:34.584Z] EdgeX Global Pipelines Version Info [2023-03-21T23:51:34.584Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:51:35.323Z] ------------------- [2023-03-21T23:51:35.323Z] stable info: [2023-03-21T23:51:35.323Z] ------------------- [2023-03-21T23:51:35.323Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T23:51:35.323Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T23:51:35.323Z] Message: update stable to v1.0.245 [2023-03-21T23:51:35.893Z] ------------------- [2023-03-21T23:51:35.893Z] experimental info: [2023-03-21T23:51:35.893Z] ------------------- [2023-03-21T23:51:35.893Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T23:51:35.893Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T23:51:35.893Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T23:51:36.041Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-21T23:51:36.050Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-21T23:51:36.058Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T23:51:36.066Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T23:51:36.074Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T23:51:36.083Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-21T23:51:36.091Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T23:51:36.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T23:51:36.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T23:51:36.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T23:51:36.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T23:51:36.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-21T23:51:36.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T23:51:36.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T23:51:36.195Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T23:51:36.206Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T23:51:36.220Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T23:51:36.233Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T23:51:36.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T23:51:36.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T23:51:36.269Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T23:51:36.280Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T23:51:36.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T23:51:36.305Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T23:51:36.321Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T23:51:36.332Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T23:51:36.346Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T23:51:36.360Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-192 [Pipeline] echo [2023-03-21T23:51:36.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-192 [Pipeline] echo [2023-03-21T23:51:36.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-192 [Pipeline] echo [2023-03-21T23:51:36.395Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bdd890901883a432705bb75baf3b057b9b8898e [Pipeline] echo [2023-03-21T23:51:36.410Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bdd890 [Pipeline] echo [2023-03-21T23:51:36.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T23:51:36.456Z] provisioning config files... [2023-03-21T23:51:36.469Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-192@tmp/config1043968478086787282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:51:36.764Z] ---> docker-login.sh [2023-03-21T23:51:36.764Z] nexus3.edgexfoundry.org:10001 [2023-03-21T23:51:37.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:37.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:37.024Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:37.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:37.024Z] [2023-03-21T23:51:37.024Z] Login Succeeded [2023-03-21T23:51:37.024Z] nexus3.edgexfoundry.org:10002 [2023-03-21T23:51:37.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:37.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:37.024Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:37.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:37.024Z] [2023-03-21T23:51:37.024Z] Login Succeeded [2023-03-21T23:51:37.024Z] nexus3.edgexfoundry.org:10003 [2023-03-21T23:51:37.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:37.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:37.283Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:37.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:37.283Z] [2023-03-21T23:51:37.283Z] Login Succeeded [2023-03-21T23:51:37.283Z] nexus3.edgexfoundry.org:10004 [2023-03-21T23:51:37.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:37.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:37.283Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:37.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:37.283Z] [2023-03-21T23:51:37.283Z] Login Succeeded [2023-03-21T23:51:37.283Z] docker.io [2023-03-21T23:51:37.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:37.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:37.543Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:37.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:37.543Z] [2023-03-21T23:51:37.543Z] Login Succeeded [2023-03-21T23:51:37.543Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T23:51:37.551Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T23:51:37.952Z] + git rev-list -1 --merges 8bdd890901883a432705bb75baf3b057b9b8898e~1..8bdd890901883a432705bb75baf3b057b9b8898e [Pipeline] echo [2023-03-21T23:51:37.996Z] -----------> git rev-list -1 --merges 8bdd890901883a432705bb75baf3b057b9b8898e~1..8bdd890901883a432705bb75baf3b057b9b8898e 8bdd890901883a432705bb75baf3b057b9b8898e [2023-03-21T23:51:37.996Z] 8bdd890901883a432705bb75baf3b057b9b8898e [false] [Pipeline] sh [2023-03-21T23:51:38.284Z] + git log --format=format:%s -1 8bdd890901883a432705bb75baf3b057b9b8898e [Pipeline] echo [2023-03-21T23:51:38.297Z] ========================================================= [2023-03-21T23:51:38.297Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T23:51:38.297Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T23:51:38.622Z] + git log --format=format:%s -1 8bdd890901883a432705bb75baf3b057b9b8898e [Pipeline] echo [2023-03-21T23:51:38.633Z] [semverPrep] GIT_COMMIT: 8bdd890901883a432705bb75baf3b057b9b8898e, Commit Message: Merge commit '1e8a9a0bc5fafbcf5b64264498bdde32df42f291' into HEAD [Pipeline] echo [2023-03-21T23:51:38.642Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T23:51:39.123Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T23:51:39.123Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T23:51:39.123Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T23:51:39.123Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T23:51:39.123Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T23:51:39.123Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T23:51:39.123Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:51:39.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T23:51:39.463Z] [2023-03-21T23:51:39.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:51:39.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T23:51:39.762Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T23:51:39.762Z] b85a868b505f: Pulling fs layer [2023-03-21T23:51:39.762Z] e2be974225ed: Pulling fs layer [2023-03-21T23:51:39.762Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T23:51:39.762Z] 988bab9f4d93: Pulling fs layer [2023-03-21T23:51:39.762Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T23:51:39.762Z] eaf3925da568: Pulling fs layer [2023-03-21T23:51:39.762Z] bab4dde63d76: Pulling fs layer [2023-03-21T23:51:39.762Z] bde34c3a00c8: Pulling fs layer [2023-03-21T23:51:39.762Z] b352a97aabf1: Pulling fs layer [2023-03-21T23:51:39.762Z] 4872d77fe225: Pulling fs layer [2023-03-21T23:51:39.762Z] 5851b861e8e6: Pulling fs layer [2023-03-21T23:51:39.762Z] bab4dde63d76: Waiting [2023-03-21T23:51:39.762Z] 988bab9f4d93: Waiting [2023-03-21T23:51:39.762Z] bde34c3a00c8: Waiting [2023-03-21T23:51:39.762Z] 1469e6f7b9e6: Waiting [2023-03-21T23:51:39.762Z] b352a97aabf1: Waiting [2023-03-21T23:51:39.762Z] eaf3925da568: Waiting [2023-03-21T23:51:39.762Z] 4872d77fe225: Waiting [2023-03-21T23:51:39.762Z] 5851b861e8e6: Waiting [2023-03-21T23:51:39.762Z] e2be974225ed: Verifying Checksum [2023-03-21T23:51:39.762Z] e2be974225ed: Download complete [2023-03-21T23:51:39.762Z] 988bab9f4d93: Verifying Checksum [2023-03-21T23:51:39.762Z] 988bab9f4d93: Download complete [2023-03-21T23:51:40.022Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T23:51:40.022Z] 1469e6f7b9e6: Download complete [2023-03-21T23:51:40.022Z] eaf3925da568: Download complete [2023-03-21T23:51:40.022Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T23:51:40.022Z] 339a4e72a1f5: Download complete [2023-03-21T23:51:40.022Z] bde34c3a00c8: Download complete [2023-03-21T23:51:40.022Z] b352a97aabf1: Download complete [2023-03-21T23:51:40.022Z] 4872d77fe225: Verifying Checksum [2023-03-21T23:51:40.022Z] 4872d77fe225: Download complete [2023-03-21T23:51:40.022Z] 5851b861e8e6: Verifying Checksum [2023-03-21T23:51:40.022Z] 5851b861e8e6: Download complete [2023-03-21T23:51:40.022Z] b85a868b505f: Verifying Checksum [2023-03-21T23:51:40.022Z] b85a868b505f: Download complete [2023-03-21T23:51:40.281Z] bab4dde63d76: Verifying Checksum [2023-03-21T23:51:40.281Z] bab4dde63d76: Download complete [2023-03-21T23:51:41.215Z] b85a868b505f: Pull complete [2023-03-21T23:51:41.473Z] e2be974225ed: Pull complete [2023-03-21T23:51:42.040Z] 339a4e72a1f5: Pull complete [2023-03-21T23:51:42.040Z] 988bab9f4d93: Pull complete [2023-03-21T23:51:42.298Z] 1469e6f7b9e6: Pull complete [2023-03-21T23:51:42.298Z] eaf3925da568: Pull complete [2023-03-21T23:51:43.684Z] bab4dde63d76: Pull complete [2023-03-21T23:51:43.943Z] bde34c3a00c8: Pull complete [2023-03-21T23:51:43.943Z] b352a97aabf1: Pull complete [2023-03-21T23:51:44.203Z] 4872d77fe225: Pull complete [2023-03-21T23:51:44.203Z] 5851b861e8e6: Pull complete [2023-03-21T23:51:44.203Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T23:51:44.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T23:51:44.203Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:51:44.310Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-03-21T23:51:44.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@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-devops/py-git-semver:0.1.4 cat [2023-03-21T23:51:46.896Z] $ docker top 606c05da876c624d8634fdb7e75888fdf073b91a0c7ab9b083aad34c34e55a2a -eo pid,comm [2023-03-21T23:51:46.949Z] 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). [2023-03-21T23:51:46.950Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T23:51:46.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T23:51:46.978Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T23:51:47.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T23:51:47.095Z] $ docker exec 606c05da876c624d8634fdb7e75888fdf073b91a0c7ab9b083aad34c34e55a2a ssh-agent [2023-03-21T23:51:47.199Z] SSH_AUTH_SOCK=/tmp/ssh-NbMgRyqD26js/agent.33 [2023-03-21T23:51:47.199Z] SSH_AGENT_PID=39 [2023-03-21T23:51:47.205Z] Running ssh-add (command line suppressed) [2023-03-21T23:51:47.308Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-192@tmp/private_key_12632953243108848279.key (/w/workspace/foundry_device-usb-camera_PR-192@tmp/private_key_12632953243108848279.key) [2023-03-21T23:51:47.320Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T23:51:47.608Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T23:51:47.634Z] $ docker exec --env ******** --env ******** 606c05da876c624d8634fdb7e75888fdf073b91a0c7ab9b083aad34c34e55a2a ssh-agent -k [2023-03-21T23:51:47.741Z] unset SSH_AUTH_SOCK; [2023-03-21T23:51:47.741Z] unset SSH_AGENT_PID; [2023-03-21T23:51:47.741Z] echo Agent pid 39 killed; [2023-03-21T23:51:47.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T23:51:47.768Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T23:51:47.768Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T23:51:47.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T23:51:47.889Z] $ docker exec 606c05da876c624d8634fdb7e75888fdf073b91a0c7ab9b083aad34c34e55a2a ssh-agent [2023-03-21T23:51:48.008Z] SSH_AUTH_SOCK=/tmp/ssh-7cPDNjnBarqQ/agent.72 [2023-03-21T23:51:48.008Z] SSH_AGENT_PID=78 [2023-03-21T23:51:48.012Z] Running ssh-add (command line suppressed) [2023-03-21T23:51:48.129Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-192@tmp/private_key_16615929323657596984.key (/w/workspace/foundry_device-usb-camera_PR-192@tmp/private_key_16615929323657596984.key) [2023-03-21T23:51:48.139Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T23:51:48.427Z] + git semver init [2023-03-21T23:51:48.687Z] 2023-03-21 23:51:48,610 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T23:51:48.687Z] 2023-03-21 23:51:48,610 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-192/.semver [2023-03-21T23:51:48.687Z] 2023-03-21 23:51:48,611 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-192/.semver [2023-03-21T23:51:48.687Z] 2023-03-21 23:51:48,611 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-192/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-192, universal_newlines=False, shell=None, istream=None) [2023-03-21T23:51:49.625Z] 2023-03-21 23:51:49,269 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-192/.git/info/exclude [2023-03-21T23:51:49.625Z] 2023-03-21 23:51:49,269 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-192/.semver/PR-192 with force:False [2023-03-21T23:51:49.625Z] 2023-03-21 23:51:49,270 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-192/.semver/PR-192 [2023-03-21T23:51:49.625Z] 2023-03-21 23:51:49,274 [execute] INFO git cat-file --batch-check [2023-03-21T23:51:49.625Z] 2023-03-21 23:51:49,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-192/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T23:51:49.625Z] 2023-03-21 23:51:49,281 [execute] INFO git cat-file --batch [2023-03-21T23:51:49.625Z] 2023-03-21 23:51:49,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-192/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T23:51:49.625Z] 2023-03-21 23:51:49,287 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-192/.semver/PR-192 [2023-03-21T23:51:49.625Z] 0.0.0 [Pipeline] } [2023-03-21T23:51:49.638Z] $ docker exec --env ******** --env ******** 606c05da876c624d8634fdb7e75888fdf073b91a0c7ab9b083aad34c34e55a2a ssh-agent -k [2023-03-21T23:51:49.746Z] unset SSH_AUTH_SOCK; [2023-03-21T23:51:49.747Z] unset SSH_AGENT_PID; [2023-03-21T23:51:49.747Z] echo Agent pid 78 killed; [2023-03-21T23:51:49.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T23:51:50.054Z] + git semver [Pipeline] } [2023-03-21T23:51:50.325Z] $ docker stop --time=1 606c05da876c624d8634fdb7e75888fdf073b91a0c7ab9b083aad34c34e55a2a [2023-03-21T23:51:51.583Z] $ docker rm -f --volumes 606c05da876c624d8634fdb7e75888fdf073b91a0c7ab9b083aad34c34e55a2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T23:51:51.904Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T23:51:52.121Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T23:51:52.123Z] [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 [2023-03-21T23:51:52.270Z] provisioning config files... [2023-03-21T23:51:52.280Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-192@tmp/config15206238758214543150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:51:52.574Z] ---> docker-login.sh [2023-03-21T23:51:52.575Z] nexus3.edgexfoundry.org:10001 [2023-03-21T23:51:52.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:52.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:52.575Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:52.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:52.575Z] [2023-03-21T23:51:52.575Z] Login Succeeded [2023-03-21T23:51:52.575Z] nexus3.edgexfoundry.org:10002 [2023-03-21T23:51:52.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:52.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:52.575Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:52.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:52.575Z] [2023-03-21T23:51:52.575Z] Login Succeeded [2023-03-21T23:51:52.575Z] nexus3.edgexfoundry.org:10003 [2023-03-21T23:51:52.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:52.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:52.834Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:52.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:52.834Z] [2023-03-21T23:51:52.834Z] Login Succeeded [2023-03-21T23:51:52.834Z] nexus3.edgexfoundry.org:10004 [2023-03-21T23:51:52.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:52.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:52.834Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:52.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:52.834Z] [2023-03-21T23:51:52.834Z] Login Succeeded [2023-03-21T23:51:52.834Z] docker.io [2023-03-21T23:51:52.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:51:53.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:51:53.092Z] Configure a credential helper to remove this warning. See [2023-03-21T23:51:53.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:51:53.092Z] [2023-03-21T23:51:53.092Z] Login Succeeded [2023-03-21T23:51:53.092Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T23:51:53.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T23:51:53.154Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T23:51:53.164Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T23:51:53.170Z] ========================================================= [2023-03-21T23:51:53.170Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-21T23:51:53.170Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:51:53.471Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T23:51:53.471Z] Sending build context to Docker daemon 1.884MB [2023-03-21T23:51:53.471Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T23:51:53.471Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T23:51:53.471Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T23:51:53.471Z] 213ec9aee27d: Pulling fs layer [2023-03-21T23:51:53.471Z] 4583459ba037: Pulling fs layer [2023-03-21T23:51:53.471Z] 93c1e223e6f2: Pulling fs layer [2023-03-21T23:51:53.471Z] 53926ce57604: Pulling fs layer [2023-03-21T23:51:53.471Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-21T23:51:53.471Z] 22ff95d597cd: Pulling fs layer [2023-03-21T23:51:53.471Z] 12d6caf4c0d1: Pulling fs layer [2023-03-21T23:51:53.471Z] 96b7cbca73a9: Pulling fs layer [2023-03-21T23:51:53.471Z] a7acece74701: Pulling fs layer [2023-03-21T23:51:53.471Z] 22ff95d597cd: Waiting [2023-03-21T23:51:53.471Z] 12d6caf4c0d1: Waiting [2023-03-21T23:51:53.471Z] 96b7cbca73a9: Waiting [2023-03-21T23:51:53.471Z] a7acece74701: Waiting [2023-03-21T23:51:53.471Z] 53926ce57604: Waiting [2023-03-21T23:51:53.471Z] 21b2b0c7a3f4: Waiting [2023-03-21T23:51:53.471Z] 93c1e223e6f2: Verifying Checksum [2023-03-21T23:51:53.471Z] 93c1e223e6f2: Download complete [2023-03-21T23:51:53.471Z] 4583459ba037: Download complete [2023-03-21T23:51:53.471Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-21T23:51:53.471Z] 21b2b0c7a3f4: Download complete [2023-03-21T23:51:53.471Z] 22ff95d597cd: Verifying Checksum [2023-03-21T23:51:53.471Z] 22ff95d597cd: Download complete [2023-03-21T23:51:53.731Z] 213ec9aee27d: Verifying Checksum [2023-03-21T23:51:53.731Z] 213ec9aee27d: Download complete [2023-03-21T23:51:53.731Z] 12d6caf4c0d1: Download complete [2023-03-21T23:51:53.731Z] 213ec9aee27d: Pull complete [2023-03-21T23:51:53.995Z] 4583459ba037: Pull complete [2023-03-21T23:51:53.995Z] 93c1e223e6f2: Pull complete [2023-03-21T23:51:54.257Z] a7acece74701: Verifying Checksum [2023-03-21T23:51:54.257Z] a7acece74701: Download complete [2023-03-21T23:51:54.515Z] 53926ce57604: Download complete [2023-03-21T23:51:54.515Z] 96b7cbca73a9: Verifying Checksum [2023-03-21T23:51:54.515Z] 96b7cbca73a9: Download complete [2023-03-21T23:51:57.797Z] 53926ce57604: Pull complete [2023-03-21T23:51:57.797Z] 21b2b0c7a3f4: Pull complete [2023-03-21T23:51:57.797Z] 22ff95d597cd: Pull complete [2023-03-21T23:51:58.055Z] 12d6caf4c0d1: Pull complete [2023-03-21T23:51:59.956Z] 96b7cbca73a9: Pull complete [2023-03-21T23:52:00.916Z] a7acece74701: Pull complete [2023-03-21T23:52:00.916Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-21T23:52:00.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-21T23:52:00.916Z] ---> db6d94c90886 [2023-03-21T23:52:00.916Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T23:52:05.120Z] ---> Running in c4ec6778f8fc [2023-03-21T23:52:05.120Z] Removing intermediate container c4ec6778f8fc [2023-03-21T23:52:05.120Z] ---> 29971ea2806e [2023-03-21T23:52:05.120Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T23:52:05.120Z] ---> Running in 1961d18134ee [2023-03-21T23:52:05.120Z] Removing intermediate container 1961d18134ee [2023-03-21T23:52:05.120Z] ---> 540ae2b7ae6a [2023-03-21T23:52:05.120Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2023-03-21T23:52:05.120Z] ---> Running in a2495b2b7682 [2023-03-21T23:52:05.120Z] Removing intermediate container a2495b2b7682 [2023-03-21T23:52:05.120Z] ---> 7a0856489e19 [2023-03-21T23:52:05.120Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T23:52:05.120Z] ---> Running in 249f4ab62355 [2023-03-21T23:52:05.380Z] Removing intermediate container 249f4ab62355 [2023-03-21T23:52:05.380Z] ---> 1d0bb86ce6e6 [2023-03-21T23:52:05.380Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T23:52:05.380Z] ---> Running in 2f68db0c05df [2023-03-21T23:52:05.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T23:52:05.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T23:52:06.208Z] (1/80) Installing mesa (21.3.9-r0) [2023-03-21T23:52:06.208Z] (2/80) Installing libxau (1.0.9-r0) [2023-03-21T23:52:06.208Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-03-21T23:52:06.208Z] (4/80) Installing libxcb (1.15-r0) [2023-03-21T23:52:06.208Z] (5/80) Installing libx11 (1.8-r0) [2023-03-21T23:52:06.208Z] (6/80) Installing libxext (1.3.4-r0) [2023-03-21T23:52:06.208Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-03-21T23:52:06.208Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-03-21T23:52:06.208Z] (9/80) Installing libpciaccess (0.16-r0) [2023-03-21T23:52:06.208Z] (10/80) Installing libdrm (2.4.110-r0) [2023-03-21T23:52:06.208Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-03-21T23:52:06.208Z] (12/80) Installing libxshmfence (1.3-r1) [2023-03-21T23:52:06.208Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-03-21T23:52:06.208Z] (14/80) Installing icu-data-full (71.1-r2) [2023-03-21T23:52:06.467Z] (15/80) Installing libice (1.0.10-r0) [2023-03-21T23:52:06.467Z] (16/80) Installing libuuid (2.38-r1) [2023-03-21T23:52:06.467Z] (17/80) Installing libsm (1.2.3-r0) [2023-03-21T23:52:06.467Z] (18/80) Installing libxt (1.2.1-r0) [2023-03-21T23:52:06.467Z] (19/80) Installing libxmu (1.1.3-r0) [2023-03-21T23:52:06.467Z] (20/80) Installing xset (1.2.4-r0) [2023-03-21T23:52:06.467Z] (21/80) Installing xprop (1.2.5-r0) [2023-03-21T23:52:06.467Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-03-21T23:52:06.467Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-03-21T23:52:06.467Z] (24/80) Installing libffi (3.4.2-r1) [2023-03-21T23:52:06.467Z] (25/80) Installing libintl (0.21-r2) [2023-03-21T23:52:06.467Z] (26/80) Installing libblkid (2.38-r1) [2023-03-21T23:52:06.467Z] (27/80) Installing libmount (2.38-r1) [2023-03-21T23:52:06.467Z] (28/80) Installing pcre (8.45-r2) [2023-03-21T23:52:06.467Z] (29/80) Installing glib (2.72.1-r0) [2023-03-21T23:52:06.467Z] (30/80) Installing icu-libs (71.1-r2) [2023-03-21T23:52:06.467Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-03-21T23:52:06.727Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-03-21T23:52:06.727Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-03-21T23:52:06.727Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-03-21T23:52:06.727Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-03-21T23:52:06.727Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-03-21T23:52:06.727Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-21T23:52:06.727Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-03-21T23:52:06.727Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-03-21T23:52:06.727Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-03-21T23:52:06.987Z] (41/80) Installing libpng (1.6.37-r1) [2023-03-21T23:52:06.987Z] (42/80) Installing freetype (2.12.1-r0) [2023-03-21T23:52:06.987Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-03-21T23:52:06.987Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-03-21T23:52:06.987Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-03-21T23:52:06.987Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-03-21T23:52:06.987Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-03-21T23:52:06.987Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-03-21T23:52:06.987Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-03-21T23:52:06.987Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-03-21T23:52:06.987Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-03-21T23:52:06.987Z] (52/80) Installing avahi-libs (0.8-r6) [2023-03-21T23:52:06.987Z] (53/80) Installing nettle (3.7.3-r0) [2023-03-21T23:52:06.987Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-03-21T23:52:06.987Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-03-21T23:52:06.987Z] (56/80) Installing libunistring (1.0-r0) [2023-03-21T23:52:06.987Z] (57/80) Installing gnutls (3.7.7-r1) [2023-03-21T23:52:06.987Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-03-21T23:52:06.987Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-03-21T23:52:06.987Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-03-21T23:52:07.230Z] Still waiting to schedule task [2023-03-21T23:52:07.230Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-21T23:52:07.246Z] (61/80) Installing libevdev (1.12.1-r0) [2023-03-21T23:52:07.246Z] (62/80) Installing mtdev (1.1.6-r0) [2023-03-21T23:52:07.246Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-03-21T23:52:07.246Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-03-21T23:52:07.246Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-21T23:52:07.246Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-03-21T23:52:07.246Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-03-21T23:52:07.246Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-03-21T23:52:07.246Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-03-21T23:52:07.246Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-03-21T23:52:07.246Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-03-21T23:52:07.246Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-03-21T23:52:07.246Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-21T23:52:07.246Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-03-21T23:52:07.246Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-21T23:52:07.246Z] Executing udev-init-scripts-35-r0.post-install [2023-03-21T23:52:07.246Z] (76/80) Installing kmod-libs (29-r2) [2023-03-21T23:52:07.246Z] (77/80) Installing eudev (3.2.11-r0) [2023-03-21T23:52:07.504Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-03-21T23:52:07.504Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-21T23:52:07.504Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-03-21T23:52:07.504Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T23:52:07.504Z] Executing eudev-3.2.11-r0.trigger [2023-03-21T23:52:07.504Z] OK: 331 MiB in 131 packages [2023-03-21T23:52:10.793Z] Removing intermediate container 2f68db0c05df [2023-03-21T23:52:10.793Z] ---> d4957c42738a [2023-03-21T23:52:10.793Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-21T23:52:10.793Z] ---> Running in 1ecd7d2cfc56 [2023-03-21T23:52:10.793Z] Removing intermediate container 1ecd7d2cfc56 [2023-03-21T23:52:10.793Z] ---> 0aa2de41dbb2 [2023-03-21T23:52:10.793Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-21T23:52:11.052Z] ---> 117d5af81a35 [2023-03-21T23:52:11.052Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T23:52:11.052Z] ---> Running in 116ab2b2d51f [2023-03-21T23:52:37.640Z] Removing intermediate container 116ab2b2d51f [2023-03-21T23:52:37.640Z] ---> d1777270d7b5 [2023-03-21T23:52:37.640Z] Step 11/13 : COPY . . [2023-03-21T23:52:37.640Z] ---> 8fe575f7a5c1 [2023-03-21T23:52:37.640Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T23:52:37.640Z] ---> Running in 4111e81b473a [2023-03-21T23:52:37.640Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:52:37.640Z] Dload Upload Total Spent Left Speed [2023-03-21T23:52:37.640Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 35169 0 --:--:-- --:--:-- --:--:-- 35400 [2023-03-21T23:52:37.640Z] Removing intermediate container 4111e81b473a [2023-03-21T23:52:37.640Z] ---> 27679eac60d9 [2023-03-21T23:52:37.640Z] Step 13/13 : RUN ${MAKE} [2023-03-21T23:52:37.640Z] ---> Running in c47cb860f5ae [2023-03-21T23:52:37.640Z] noop [2023-03-21T23:52:37.640Z] Removing intermediate container c47cb860f5ae [2023-03-21T23:52:37.640Z] ---> b3fbf4376733 [2023-03-21T23:52:37.640Z] Successfully built b3fbf4376733 [2023-03-21T23:52:37.640Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:52:37.944Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T23:52:37.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:52:38.013Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-03-21T23:52:38.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T23:52:38.401Z] $ docker top 08c5a39865cf9a3cd4ff9048a91297da621862b5898dd33710d1142c3d0ffa28 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T23:52:38.734Z] + go version [2023-03-21T23:52:38.734Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-21T23:52:38.747Z] $ docker stop --time=1 08c5a39865cf9a3cd4ff9048a91297da621862b5898dd33710d1142c3d0ffa28 [2023-03-21T23:52:40.008Z] $ docker rm -f --volumes 08c5a39865cf9a3cd4ff9048a91297da621862b5898dd33710d1142c3d0ffa28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:52:40.409Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T23:52:40.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:52:40.476Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-03-21T23:52:40.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T23:52:40.820Z] $ docker top 23a824f44fefe0c572091f04b97a5e4d10fafe75e700c3f07affc31522a80fa7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T23:52:41.153Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-192 [Pipeline] fileExists [Pipeline] sh [2023-03-21T23:52:41.445Z] + make test [2023-03-21T23:52:41.445Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2023-03-21T23:52:41.702Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-21T23:52:51.669Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-21T23:52:51.669Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements [2023-03-21T23:52:58.240Z] 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." [2023-03-21T23:52:58.240Z] CGO_ENABLED=1 go vet ./... [2023-03-21T23:53:00.771Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T23:53:00.771Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T23:53:00.771Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T23:53:00.784Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T23:53:00.797Z] $ docker stop --time=1 23a824f44fefe0c572091f04b97a5e4d10fafe75e700c3f07affc31522a80fa7 [2023-03-21T23:53:03.377Z] $ docker rm -f --volumes 23a824f44fefe0c572091f04b97a5e4d10fafe75e700c3f07affc31522a80fa7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T23:53:03.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T23:53:03.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T23:53:04.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T23:53:04.669Z] + ls -al . [2023-03-21T23:53:04.669Z] total 204 [2023-03-21T23:53:04.669Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 23:52 . [2023-03-21T23:53:04.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:51 .. [2023-03-21T23:53:04.669Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 23:52 .git [2023-03-21T23:53:04.669Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:51 .github [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 21 23:51 .gitignore [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 23:51 .golangci.yml [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 23:51 .hadolint.yml [2023-03-21T23:53:04.669Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 23:51 .semver [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 9702 Mar 21 23:51 Attribution.txt [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 21 23:51 CHANGELOG.md [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 2378 Mar 21 23:51 Dockerfile [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 23:51 GOVERNANCE.md [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 21 23:51 Jenkinsfile [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 23:51 LICENSE [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 2554 Mar 21 23:51 Makefile [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 23:51 OWNERS.md [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 5485 Mar 21 23:51 README.md [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 23:51 VERSION [2023-03-21T23:53:04.669Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 23:51 bin [2023-03-21T23:53:04.669Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:51 cmd [2023-03-21T23:53:04.669Z] -rw-r--r-- 1 jenkins jenkins 30666 Mar 21 23:52 coverage.out [2023-03-21T23:53:04.669Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 21 23:51 docker-entrypoint.sh [2023-03-21T23:53:04.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:51 docs [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 3573 Mar 21 23:51 go.mod [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 45026 Mar 21 23:51 go.sum [2023-03-21T23:53:04.669Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:51 internal [2023-03-21T23:53:04.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:51 snap [2023-03-21T23:53:04.669Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 23:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:53:04.973Z] + 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=8bdd890901883a432705bb75baf3b057b9b8898e --label arch=amd64 --label version=0.0.0 . [2023-03-21T23:53:04.974Z] Sending build context to Docker daemon 1.915MB [2023-03-21T23:53:04.974Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T23:53:04.974Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-21T23:53:04.974Z] ---> b3fbf4376733 [2023-03-21T23:53:04.974Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-21T23:53:05.233Z] ---> Running in 61404afc02a2 [2023-03-21T23:53:05.233Z] Removing intermediate container 61404afc02a2 [2023-03-21T23:53:05.233Z] ---> 081093f4ee4c [2023-03-21T23:53:05.233Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T23:53:05.233Z] ---> Running in d3be5c6e0505 [2023-03-21T23:53:05.233Z] Removing intermediate container d3be5c6e0505 [2023-03-21T23:53:05.233Z] ---> ed8fe91180fb [2023-03-21T23:53:05.233Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2023-03-21T23:53:05.233Z] ---> Running in 028663982c9d [2023-03-21T23:53:05.493Z] Removing intermediate container 028663982c9d [2023-03-21T23:53:05.493Z] ---> 9bab7d0e158e [2023-03-21T23:53:05.493Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T23:53:05.493Z] ---> Running in c46bb01f2cfe [2023-03-21T23:53:05.493Z] Removing intermediate container c46bb01f2cfe [2023-03-21T23:53:05.493Z] ---> 9a1132c68204 [2023-03-21T23:53:05.493Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T23:53:05.493Z] ---> Running in b4d9e923a2e0 [2023-03-21T23:53:05.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T23:53:06.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T23:53:06.271Z] OK: 331 MiB in 131 packages [2023-03-21T23:53:06.530Z] Removing intermediate container b4d9e923a2e0 [2023-03-21T23:53:06.530Z] ---> 545c1ff61ee2 [2023-03-21T23:53:06.530Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-21T23:53:06.530Z] ---> Running in c61151b7c5f0 [2023-03-21T23:53:06.530Z] Removing intermediate container c61151b7c5f0 [2023-03-21T23:53:06.530Z] ---> 668c834fc8c7 [2023-03-21T23:53:06.530Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-21T23:53:06.788Z] ---> fea549da21be [2023-03-21T23:53:06.788Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T23:53:06.788Z] ---> Running in 8b8fc48c2b5c [2023-03-21T23:53:07.356Z] Removing intermediate container 8b8fc48c2b5c [2023-03-21T23:53:07.356Z] ---> 4defd83d0972 [2023-03-21T23:53:07.356Z] Step 11/35 : COPY . . [2023-03-21T23:53:07.615Z] ---> 45c7a8ffe9c9 [2023-03-21T23:53:07.615Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T23:53:07.615Z] ---> Running in 6a6d7def83bf [2023-03-21T23:53:07.874Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:53:07.874Z] Dload Upload Total Spent Left Speed [2023-03-21T23:53:07.874Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 44437 0 --:--:-- --:--:-- --:--:-- 46173 [2023-03-21T23:53:08.132Z] Removing intermediate container 6a6d7def83bf [2023-03-21T23:53:08.132Z] ---> c9eab0149e21 [2023-03-21T23:53:08.132Z] Step 13/35 : RUN ${MAKE} [2023-03-21T23:53:08.132Z] ---> Running in 01659c107780 [2023-03-21T23:53:08.700Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2023-03-21T23:53:35.246Z] Removing intermediate container 01659c107780 [2023-03-21T23:53:35.246Z] ---> 593269b21719 [2023-03-21T23:53:35.246Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-21T23:53:35.246Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-21T23:53:35.246Z] 4acc49c71d14: Pulling fs layer [2023-03-21T23:53:35.246Z] 4acc49c71d14: Verifying Checksum [2023-03-21T23:53:35.246Z] 4acc49c71d14: Download complete [2023-03-21T23:53:35.246Z] 4acc49c71d14: Pull complete [2023-03-21T23:53:35.246Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-21T23:53:35.246Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-21T23:53:35.246Z] ---> 01a2bd3e5fff [2023-03-21T23:53:35.246Z] Step 15/35 : FROM alpine:3.16 [2023-03-21T23:53:35.246Z] 3.16: Pulling from library/alpine [2023-03-21T23:53:35.246Z] ef5531b6e74e: Pulling fs layer [2023-03-21T23:53:35.246Z] ef5531b6e74e: Download complete [2023-03-21T23:53:35.246Z] ef5531b6e74e: Pull complete [2023-03-21T23:53:35.246Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T23:53:35.246Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T23:53:35.246Z] ---> dfd21b5a31f5 [2023-03-21T23:53:35.246Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T23:53:35.246Z] ---> Running in 3bc504a92bad [2023-03-21T23:53:35.246Z] Removing intermediate container 3bc504a92bad [2023-03-21T23:53:35.246Z] ---> 0cc84252df1a [2023-03-21T23:53:35.246Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2023-03-21T23:53:35.246Z] ---> Running in 226e1c3cc1fe [2023-03-21T23:53:35.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T23:53:35.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T23:53:35.246Z] (1/83) Installing dumb-init (1.2.5-r1) [2023-03-21T23:53:35.246Z] (2/83) Installing sdl2 (2.0.22-r0) [2023-03-21T23:53:35.246Z] (3/83) Installing libxau (1.0.9-r0) [2023-03-21T23:53:35.246Z] (4/83) Installing libxdmcp (1.1.3-r0) [2023-03-21T23:53:35.246Z] (5/83) Installing libxcb (1.15-r0) [2023-03-21T23:53:35.246Z] (6/83) Installing libx11 (1.8-r0) [2023-03-21T23:53:35.246Z] (7/83) Installing aom-libs (3.3.0-r0) [2023-03-21T23:53:35.246Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2023-03-21T23:53:35.246Z] (9/83) Installing expat (2.5.0-r0) [2023-03-21T23:53:35.246Z] (10/83) Installing brotli-libs (1.0.9-r6) [2023-03-21T23:53:35.246Z] (11/83) Installing libbz2 (1.0.8-r1) [2023-03-21T23:53:35.246Z] (12/83) Installing libpng (1.6.37-r1) [2023-03-21T23:53:35.246Z] (13/83) Installing freetype (2.12.1-r0) [2023-03-21T23:53:35.246Z] (14/83) Installing fontconfig (2.14.0-r0) [2023-03-21T23:53:35.246Z] (15/83) Installing fribidi (1.0.12-r0) [2023-03-21T23:53:35.246Z] (16/83) Installing libffi (3.4.2-r1) [2023-03-21T23:53:35.246Z] (17/83) Installing libintl (0.21-r2) [2023-03-21T23:53:35.246Z] (18/83) Installing libblkid (2.38-r1) [2023-03-21T23:53:35.246Z] (19/83) Installing libmount (2.38-r1) [2023-03-21T23:53:35.246Z] (20/83) Installing pcre (8.45-r2) [2023-03-21T23:53:35.246Z] (21/83) Installing glib (2.72.1-r0) [2023-03-21T23:53:35.246Z] (22/83) Installing graphite2 (1.3.14-r1) [2023-03-21T23:53:35.246Z] (23/83) Installing harfbuzz (4.3.0-r0) [2023-03-21T23:53:35.246Z] (24/83) Installing libass (0.16.0-r0) [2023-03-21T23:53:35.246Z] (25/83) Installing libdav1d (1.0.0-r0) [2023-03-21T23:53:35.246Z] (26/83) Installing libpciaccess (0.16-r0) [2023-03-21T23:53:35.246Z] (27/83) Installing libdrm (2.4.110-r0) [2023-03-21T23:53:35.246Z] (28/83) Installing gmp (6.2.1-r2) [2023-03-21T23:53:35.246Z] (29/83) Installing nettle (3.7.3-r0) [2023-03-21T23:53:35.246Z] (30/83) Installing p11-kit (0.24.1-r0) [2023-03-21T23:53:35.246Z] (31/83) Installing libtasn1 (4.18.0-r1) [2023-03-21T23:53:35.246Z] (32/83) Installing libunistring (1.0-r0) [2023-03-21T23:53:35.246Z] (33/83) Installing gnutls (3.7.7-r1) [2023-03-21T23:53:35.246Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-21T23:53:35.246Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-21T23:53:35.246Z] (36/83) Installing lame (3.100-r0) [2023-03-21T23:53:35.246Z] (37/83) Installing opus (1.3.1-r1) [2023-03-21T23:53:35.246Z] (38/83) Installing libasyncns (0.8-r1) [2023-03-21T23:53:35.246Z] (39/83) Installing dbus-libs (1.14.4-r0) [2023-03-21T23:53:35.246Z] (40/83) Installing libltdl (2.4.7-r0) [2023-03-21T23:53:35.246Z] (41/83) Installing orc (0.4.32-r0) [2023-03-21T23:53:35.246Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T23:53:35.246Z] (43/83) Installing libogg (1.3.5-r1) [2023-03-21T23:53:35.246Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T23:53:35.246Z] (45/83) Installing flac (1.3.4-r0) [2023-03-21T23:53:35.246Z] (46/83) Installing libvorbis (1.3.7-r0) [2023-03-21T23:53:35.246Z] (47/83) Installing libsndfile (1.1.0-r0) [2023-03-21T23:53:35.246Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2023-03-21T23:53:35.246Z] (49/83) Installing soxr (0.1.3-r2) [2023-03-21T23:53:35.246Z] (50/83) Installing speexdsp (1.2.0-r0) [2023-03-21T23:53:35.246Z] (51/83) Installing tdb-libs (1.4.6-r0) [2023-03-21T23:53:35.246Z] (52/83) Installing libpulse (15.0-r2) [2023-03-21T23:53:35.246Z] (53/83) Installing cjson (1.7.15-r3) [2023-03-21T23:53:35.246Z] (54/83) Installing mbedtls (2.28.2-r0) [2023-03-21T23:53:35.246Z] (55/83) Installing librist (0.2.6-r1) [2023-03-21T23:53:35.246Z] (56/83) Installing libsrt (1.4.4-r0) [2023-03-21T23:53:35.246Z] (57/83) Installing libssh (0.9.6-r1) [2023-03-21T23:53:35.246Z] (58/83) Installing libtheora (1.1.1-r16) [2023-03-21T23:53:35.246Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2023-03-21T23:53:35.246Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2023-03-21T23:53:35.246Z] (61/83) Installing libxext (1.3.4-r0) [2023-03-21T23:53:35.246Z] (62/83) Installing libxfixes (6.0.0-r0) [2023-03-21T23:53:35.246Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2023-03-21T23:53:35.246Z] (64/83) Installing libva (2.14.0-r0) [2023-03-21T23:53:35.246Z] (65/83) Installing libvdpau (1.5-r0) [2023-03-21T23:53:35.246Z] (66/83) Installing vidstab (1.1.0-r1) [2023-03-21T23:53:35.246Z] (67/83) Installing libvpx (1.11.0-r1) [2023-03-21T23:53:35.246Z] (68/83) Installing libwebp (1.2.3-r0) [2023-03-21T23:53:35.246Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2023-03-21T23:53:35.246Z] (70/83) Installing numactl (2.0.14-r0) [2023-03-21T23:53:35.246Z] (71/83) Installing x265-libs (3.5-r3) [2023-03-21T23:53:35.504Z] (72/83) Installing xvidcore (1.3.7-r1) [2023-03-21T23:53:35.504Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2023-03-21T23:53:35.504Z] (74/83) Installing ffmpeg (5.0.1-r1) [2023-03-21T23:53:35.504Z] (75/83) Installing udev-init-scripts (35-r0) [2023-03-21T23:53:35.504Z] Executing udev-init-scripts-35-r0.post-install [2023-03-21T23:53:35.504Z] (76/83) Installing eudev-libs (3.2.11-r0) [2023-03-21T23:53:35.504Z] (77/83) Installing xz-libs (5.2.5-r1) [2023-03-21T23:53:35.504Z] (78/83) Installing zstd-libs (1.5.2-r1) [2023-03-21T23:53:35.505Z] (79/83) Installing kmod-libs (29-r2) [2023-03-21T23:53:35.505Z] (80/83) Installing eudev (3.2.11-r0) [2023-03-21T23:53:35.505Z] (81/83) Installing libsodium (1.0.18-r0) [2023-03-21T23:53:35.763Z] (82/83) Installing libzmq (4.3.4-r0) [2023-03-21T23:53:35.763Z] (83/83) Installing zeromq (4.3.4-r0) [2023-03-21T23:53:35.763Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T23:53:35.763Z] Executing eudev-3.2.11-r0.trigger [2023-03-21T23:53:35.763Z] OK: 101 MiB in 97 packages [2023-03-21T23:53:38.290Z] Removing intermediate container 226e1c3cc1fe [2023-03-21T23:53:38.291Z] ---> 9788084e8b59 [2023-03-21T23:53:38.291Z] Step 18/35 : WORKDIR / [2023-03-21T23:53:38.291Z] ---> Running in bebfcc5baed6 [2023-03-21T23:53:38.291Z] Removing intermediate container bebfcc5baed6 [2023-03-21T23:53:38.291Z] ---> 72ead0929892 [2023-03-21T23:53:38.291Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-21T23:53:38.973Z] ---> c8df75f39708 [2023-03-21T23:53:38.973Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-21T23:53:39.231Z] ---> 8e05086e1e6c [2023-03-21T23:53:39.231Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-21T23:53:39.231Z] ---> c765108ae641 [2023-03-21T23:53:39.231Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-21T23:53:39.493Z] ---> e744fc842d0c [2023-03-21T23:53:39.493Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-21T23:53:39.752Z] ---> dd684cb30079 [2023-03-21T23:53:39.752Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-21T23:53:39.752Z] ---> cf556f2d5671 [2023-03-21T23:53:39.752Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-21T23:53:40.684Z] ---> db286f38e4d0 [2023-03-21T23:53:40.684Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-21T23:53:40.684Z] ---> Running in bdc11d6fff1a [2023-03-21T23:53:41.249Z] Removing intermediate container bdc11d6fff1a [2023-03-21T23:53:41.249Z] ---> bc1b990df15e [2023-03-21T23:53:41.249Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-21T23:53:41.249Z] ---> Running in 3a8041a4dc94 [2023-03-21T23:53:43.174Z] Removing intermediate container 3a8041a4dc94 [2023-03-21T23:53:43.174Z] ---> f94f992ac4f3 [2023-03-21T23:53:43.174Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-21T23:53:43.435Z] ---> Running in 1b11c9439663 [2023-03-21T23:53:44.001Z] Removing intermediate container 1b11c9439663 [2023-03-21T23:53:44.001Z] ---> 5f0f1f1d05be [2023-03-21T23:53:44.001Z] Step 29/35 : EXPOSE 59983 [2023-03-21T23:53:44.260Z] ---> Running in b982d1c979b8 [2023-03-21T23:53:44.260Z] Removing intermediate container b982d1c979b8 [2023-03-21T23:53:44.260Z] ---> 0c1acd5d29ca [2023-03-21T23:53:44.260Z] Step 30/35 : EXPOSE 8554 [2023-03-21T23:53:44.260Z] ---> Running in e9f4cd0ffa10 [2023-03-21T23:53:44.260Z] Removing intermediate container e9f4cd0ffa10 [2023-03-21T23:53:44.260Z] ---> 5939d0e576c8 [2023-03-21T23:53:44.260Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-21T23:53:44.260Z] ---> Running in 3fe249774cf7 [2023-03-21T23:53:44.603Z] Removing intermediate container 3fe249774cf7 [2023-03-21T23:53:44.603Z] ---> a78af9a4be19 [2023-03-21T23:53:44.603Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2023-03-21T23:53:44.603Z] ---> Running in 9ca3314b2590 [2023-03-21T23:53:46.082Z] Removing intermediate container 9ca3314b2590 [2023-03-21T23:53:46.082Z] ---> 9a4a6e6307a9 [2023-03-21T23:53:46.082Z] Step 33/35 : LABEL arch=amd64 [2023-03-21T23:53:46.342Z] ---> Running in b06a4d6dfe00 [2023-03-21T23:53:46.342Z] Removing intermediate container b06a4d6dfe00 [2023-03-21T23:53:46.342Z] ---> 1b988dffa87c [2023-03-21T23:53:46.342Z] Step 34/35 : LABEL git_sha=8bdd890901883a432705bb75baf3b057b9b8898e [2023-03-21T23:53:46.342Z] ---> Running in de5794e4c80c [2023-03-21T23:53:46.342Z] Removing intermediate container de5794e4c80c [2023-03-21T23:53:46.342Z] ---> 17fecd724672 [2023-03-21T23:53:46.342Z] Step 35/35 : LABEL version=0.0.0 [2023-03-21T23:53:46.342Z] ---> Running in a5b344528fd2 [2023-03-21T23:53:46.601Z] Removing intermediate container a5b344528fd2 [2023-03-21T23:53:46.601Z] ---> ac59223382ff [2023-03-21T23:53:46.601Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T23:53:46.601Z] Successfully built ac59223382ff [2023-03-21T23:53:46.601Z] 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 [2023-03-21T23:53:47.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T23:53:47.038Z] [2023-03-21T23:53:47.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:53:47.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T23:53:47.342Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T23:53:47.342Z] 5eb5b503b376: Pulling fs layer [2023-03-21T23:53:47.342Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T23:53:47.342Z] ec43610c2a17: Pulling fs layer [2023-03-21T23:53:47.342Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T23:53:47.342Z] 33b1e0a273af: Pulling fs layer [2023-03-21T23:53:47.342Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T23:53:47.342Z] 2f39f015ded8: Pulling fs layer [2023-03-21T23:53:47.342Z] 3a2ae6a8a46f: Waiting [2023-03-21T23:53:47.342Z] 33b1e0a273af: Waiting [2023-03-21T23:53:47.342Z] 5d3b04190fa2: Waiting [2023-03-21T23:53:47.342Z] 2f39f015ded8: Waiting [2023-03-21T23:53:47.342Z] 5c69ac0246d0: Download complete [2023-03-21T23:53:47.342Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T23:53:47.342Z] 3a2ae6a8a46f: Download complete [2023-03-21T23:53:47.600Z] 33b1e0a273af: Verifying Checksum [2023-03-21T23:53:47.600Z] 33b1e0a273af: Download complete [2023-03-21T23:53:47.600Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T23:53:47.600Z] 5d3b04190fa2: Download complete [2023-03-21T23:53:47.600Z] ec43610c2a17: Verifying Checksum [2023-03-21T23:53:47.600Z] ec43610c2a17: Download complete [2023-03-21T23:53:47.600Z] 5eb5b503b376: Verifying Checksum [2023-03-21T23:53:47.600Z] 5eb5b503b376: Download complete [2023-03-21T23:53:48.167Z] 2f39f015ded8: Download complete [2023-03-21T23:53:48.739Z] 5eb5b503b376: Pull complete [2023-03-21T23:53:48.997Z] 5c69ac0246d0: Pull complete [2023-03-21T23:53:49.565Z] ec43610c2a17: Pull complete [2023-03-21T23:53:49.565Z] 3a2ae6a8a46f: Pull complete [2023-03-21T23:53:49.823Z] 33b1e0a273af: Pull complete [2023-03-21T23:53:49.823Z] 5d3b04190fa2: Pull complete [2023-03-21T23:53:54.005Z] 2f39f015ded8: Pull complete [2023-03-21T23:53:54.005Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T23:53:54.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T23:53:54.005Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:53:54.079Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-03-21T23:53:54.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T23:53:58.116Z] $ docker top 3e2c5e8a67de2081df1a3d90d2bd9673c603ab6729d37d75c8bcb79ee4c1d4a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:53:58.497Z] ---> job-cost.sh [2023-03-21T23:53:58.497Z] lf-activate-venv: SKIPPING [2023-03-21T23:53:58.497Z] INFO: No Stack... [2023-03-21T23:53:59.065Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T23:53:59.324Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T23:53:59.612Z] + cat /w/workspace/foundry_device-usb-camera_PR-192/archives/cost.csv [2023-03-21T23:53:59.612Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T23:53:59.626Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-192-2-stack-cost] [2023-03-21T23:53:59.631Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-192-2-stack-cost] did not exist. Created. [2023-03-21T23:53:59.631Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-192-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T23:53:59.933Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T23:53:59.961Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T23:53:59.967Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-192-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T23:53:59.985Z] $ docker stop --time=1 3e2c5e8a67de2081df1a3d90d2bd9673c603ab6729d37d75c8bcb79ee4c1d4a5 [2023-03-21T23:54:01.139Z] $ docker rm -f --volumes 3e2c5e8a67de2081df1a3d90d2bd9673c603ab6729d37d75c8bcb79ee4c1d4a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T23:55:17.563Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5000 in /w/workspace/foundry_device-usb-camera_PR-192 [Pipeline] { [Pipeline] ws [2023-03-21T23:55:17.575Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-21T23:55:17.608Z] Selected Git installation does not exist. Using Default [2023-03-21T23:55:17.608Z] The recommended git tool is: NONE [2023-03-21T23:55:24.055Z] using credential edgex-jenkins-ssh [2023-03-21T23:55:24.077Z] Cloning the remote Git repository [2023-03-21T23:55:24.141Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-21T23:55:24.258Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-03-21T23:55:24.439Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-21T23:55:24.440Z] > git --version # timeout=10 [2023-03-21T23:55:24.465Z] > git --version # 'git version 2.25.1' [2023-03-21T23:55:24.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T23:55:24.647Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T23:55:25.438Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-21T23:55:25.465Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T23:55:26.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-21T23:55:26.512Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-21T23:55:26.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T23:55:26.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-21T23:55:27.112Z] Merging remotes/origin/levski commit 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 into PR head commit d2b9d5cb34ec3a6efbcadf08c2f8dd1980ad3e2c [2023-03-21T23:55:27.514Z] Merge succeeded, producing 9dab81cc734060b605ea70e4e05f3dd6114ceba9 [2023-03-21T23:55:27.515Z] Checking out Revision 9dab81cc734060b605ea70e4e05f3dd6114ceba9 (PR-192) [2023-03-21T23:55:27.137Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T23:55:27.238Z] > git checkout -f d2b9d5cb34ec3a6efbcadf08c2f8dd1980ad3e2c # timeout=10 [2023-03-21T23:55:27.343Z] > git remote # timeout=10 [2023-03-21T23:55:27.367Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T23:55:27.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T23:55:27.406Z] > git merge 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 # timeout=10 [2023-03-21T23:55:27.492Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T23:55:27.526Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T23:55:27.546Z] > git checkout -f 9dab81cc734060b605ea70e4e05f3dd6114ceba9 # timeout=10 [2023-03-21T23:55:31.091Z] Commit message: "Merge commit '1e8a9a0bc5fafbcf5b64264498bdde32df42f291' into HEAD" [2023-03-21T23:55:31.104Z] > git rev-list --no-walk d2b9d5cb34ec3a6efbcadf08c2f8dd1980ad3e2c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T23:55:32.239Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T23:55:32.239Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:55:32.239Z] Dload Upload Total Spent Left Speed [2023-03-21T23:55:32.239Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-03-21T23:55:32.939Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T23:55:33.271Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T23:55:33.271Z] + sudo tee /etc/docker/daemon.new [2023-03-21T23:55:33.271Z] { [2023-03-21T23:55:33.271Z] "registry-mirrors": [ [2023-03-21T23:55:33.271Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T23:55:33.271Z] ], [2023-03-21T23:55:33.271Z] "bip": "10.250.0.254/24", [2023-03-21T23:55:33.271Z] "hosts": [ [2023-03-21T23:55:33.271Z] "tcp://0.0.0.0:5555", [2023-03-21T23:55:33.271Z] "unix:///var/run/docker.sock" [2023-03-21T23:55:33.271Z] ], [2023-03-21T23:55:33.271Z] "mtu": 1458, [2023-03-21T23:55:33.271Z] "selinux-enabled": true, [2023-03-21T23:55:33.271Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T23:55:33.271Z] } [Pipeline] sh [2023-03-21T23:55:33.597Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T23:55:33.929Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T23:55:52.230Z] provisioning config files... [2023-03-21T23:55:52.261Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config17922280076689824962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T23:55:52.618Z] ---> docker-login.sh [2023-03-21T23:55:52.618Z] nexus3.edgexfoundry.org:10001 [2023-03-21T23:55:53.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:55:53.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:55:53.208Z] Configure a credential helper to remove this warning. See [2023-03-21T23:55:53.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:55:53.208Z] [2023-03-21T23:55:53.208Z] Login Succeeded [2023-03-21T23:55:53.480Z] nexus3.edgexfoundry.org:10002 [2023-03-21T23:55:53.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:55:53.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:55:53.752Z] Configure a credential helper to remove this warning. See [2023-03-21T23:55:53.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:55:53.752Z] [2023-03-21T23:55:53.752Z] Login Succeeded [2023-03-21T23:55:53.752Z] nexus3.edgexfoundry.org:10003 [2023-03-21T23:55:54.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:55:54.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:55:54.023Z] Configure a credential helper to remove this warning. See [2023-03-21T23:55:54.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:55:54.023Z] [2023-03-21T23:55:54.023Z] Login Succeeded [2023-03-21T23:55:54.023Z] nexus3.edgexfoundry.org:10004 [2023-03-21T23:55:54.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:55:54.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:55:54.585Z] Configure a credential helper to remove this warning. See [2023-03-21T23:55:54.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:55:54.585Z] [2023-03-21T23:55:54.585Z] Login Succeeded [2023-03-21T23:55:54.585Z] docker.io [2023-03-21T23:55:54.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T23:55:55.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T23:55:55.130Z] Configure a credential helper to remove this warning. See [2023-03-21T23:55:55.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T23:55:55.130Z] [2023-03-21T23:55:55.130Z] Login Succeeded [2023-03-21T23:55:55.130Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T23:55:55.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T23:55:55.469Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T23:55:55.485Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T23:55:55.499Z] ========================================================= [2023-03-21T23:55:55.499Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-21T23:55:55.499Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:55:55.857Z] + 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 . [2023-03-21T23:55:56.130Z] Sending build context to Docker daemon 1.227MB [2023-03-21T23:55:56.130Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T23:55:56.130Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T23:55:56.419Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T23:55:56.419Z] 9b18e9b68314: Pulling fs layer [2023-03-21T23:55:56.419Z] 35d82f9e3411: Pulling fs layer [2023-03-21T23:55:56.419Z] e16973657156: Pulling fs layer [2023-03-21T23:55:56.419Z] fc693d55d65f: Pulling fs layer [2023-03-21T23:55:56.419Z] 7e9fc2657dce: Pulling fs layer [2023-03-21T23:55:56.419Z] dda99020689f: Pulling fs layer [2023-03-21T23:55:56.419Z] db1c61fa0a46: Pulling fs layer [2023-03-21T23:55:56.419Z] 891c053d2c06: Pulling fs layer [2023-03-21T23:55:56.419Z] fc693d55d65f: Waiting [2023-03-21T23:55:56.419Z] 7e9fc2657dce: Waiting [2023-03-21T23:55:56.419Z] dda99020689f: Waiting [2023-03-21T23:55:56.419Z] db1c61fa0a46: Waiting [2023-03-21T23:55:56.419Z] 891c053d2c06: Waiting [2023-03-21T23:55:56.419Z] e16973657156: Verifying Checksum [2023-03-21T23:55:56.419Z] e16973657156: Download complete [2023-03-21T23:55:56.419Z] 35d82f9e3411: Verifying Checksum [2023-03-21T23:55:56.419Z] 35d82f9e3411: Download complete [2023-03-21T23:55:56.419Z] 7e9fc2657dce: Download complete [2023-03-21T23:55:56.711Z] dda99020689f: Verifying Checksum [2023-03-21T23:55:56.711Z] dda99020689f: Download complete [2023-03-21T23:55:56.711Z] 9b18e9b68314: Verifying Checksum [2023-03-21T23:55:56.711Z] 9b18e9b68314: Download complete [2023-03-21T23:55:58.149Z] 891c053d2c06: Verifying Checksum [2023-03-21T23:55:58.149Z] 891c053d2c06: Download complete [2023-03-21T23:55:59.119Z] db1c61fa0a46: Verifying Checksum [2023-03-21T23:55:59.119Z] db1c61fa0a46: Download complete [2023-03-21T23:55:59.388Z] 9b18e9b68314: Pull complete [2023-03-21T23:55:59.974Z] 35d82f9e3411: Pull complete [2023-03-21T23:55:59.974Z] fc693d55d65f: Verifying Checksum [2023-03-21T23:55:59.974Z] fc693d55d65f: Download complete [2023-03-21T23:55:59.974Z] e16973657156: Pull complete [2023-03-21T23:56:12.322Z] fc693d55d65f: Pull complete [2023-03-21T23:56:12.322Z] 7e9fc2657dce: Pull complete [2023-03-21T23:56:12.322Z] dda99020689f: Pull complete [2023-03-21T23:56:17.672Z] db1c61fa0a46: Pull complete [2023-03-21T23:56:20.264Z] 891c053d2c06: Pull complete [2023-03-21T23:56:20.264Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-21T23:56:20.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-21T23:56:20.264Z] ---> f96f9c87975a [2023-03-21T23:56:20.264Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T23:56:22.214Z] ---> Running in e0f778a2a9d7 [2023-03-21T23:56:22.214Z] Removing intermediate container e0f778a2a9d7 [2023-03-21T23:56:22.214Z] ---> 2e1f48c92abb [2023-03-21T23:56:22.214Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T23:56:22.214Z] ---> Running in 4f9e0fdb6e3d [2023-03-21T23:56:22.480Z] Removing intermediate container 4f9e0fdb6e3d [2023-03-21T23:56:22.480Z] ---> 7dc42d682fa3 [2023-03-21T23:56:22.480Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2023-03-21T23:56:22.480Z] ---> Running in 3b528ab7371f [2023-03-21T23:56:23.074Z] Removing intermediate container 3b528ab7371f [2023-03-21T23:56:23.074Z] ---> 8d44f617db47 [2023-03-21T23:56:23.074Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T23:56:23.074Z] ---> Running in acf92f4155a8 [2023-03-21T23:56:23.340Z] Removing intermediate container acf92f4155a8 [2023-03-21T23:56:23.340Z] ---> dcaa9ddf7c2d [2023-03-21T23:56:23.340Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T23:56:23.340Z] ---> Running in 3f1a3773ebfd [2023-03-21T23:56:24.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T23:56:24.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T23:56:25.710Z] (1/14) Installing libintl (0.21-r2) [2023-03-21T23:56:25.710Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-03-21T23:56:25.710Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-03-21T23:56:25.710Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-03-21T23:56:25.710Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-03-21T23:56:25.988Z] (6/14) Installing udev-init-scripts (35-r0) [2023-03-21T23:56:25.988Z] Executing udev-init-scripts-35-r0.post-install [2023-03-21T23:56:25.988Z] (7/14) Installing libblkid (2.38-r1) [2023-03-21T23:56:25.988Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-03-21T23:56:25.988Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-03-21T23:56:25.988Z] (10/14) Installing kmod-libs (29-r2) [2023-03-21T23:56:25.988Z] (11/14) Installing eudev (3.2.11-r0) [2023-03-21T23:56:25.988Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-03-21T23:56:25.988Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-21T23:56:25.988Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-03-21T23:56:25.988Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T23:56:25.988Z] Executing eudev-3.2.11-r0.trigger [2023-03-21T23:56:26.255Z] OK: 228 MiB in 65 packages [2023-03-21T23:56:27.664Z] Removing intermediate container 3f1a3773ebfd [2023-03-21T23:56:27.664Z] ---> c4a96d64a049 [2023-03-21T23:56:27.664Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-21T23:56:27.932Z] ---> Running in 250a19b252d7 [2023-03-21T23:56:28.201Z] Removing intermediate container 250a19b252d7 [2023-03-21T23:56:28.201Z] ---> ed206e2b220f [2023-03-21T23:56:28.201Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-21T23:56:28.783Z] ---> 700fd55c133b [2023-03-21T23:56:28.783Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T23:56:28.783Z] ---> Running in 5abff8cf7cd5 [2023-03-21T23:57:25.203Z] Removing intermediate container 5abff8cf7cd5 [2023-03-21T23:57:25.203Z] ---> cea21df6b18d [2023-03-21T23:57:25.203Z] Step 11/13 : COPY . . [2023-03-21T23:57:25.203Z] ---> bd20f2957cf8 [2023-03-21T23:57:25.203Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T23:57:25.203Z] ---> Running in 6ae08d0dc15d [2023-03-21T23:57:25.203Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:57:25.203Z] Dload Upload Total Spent Left Speed [2023-03-21T23:57:25.471Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6140 0 --:--:-- --:--:-- --:--:--  6138 [2023-03-21T23:57:26.067Z] Removing intermediate container 6ae08d0dc15d [2023-03-21T23:57:26.067Z] ---> a24da2f66082 [2023-03-21T23:57:26.067Z] Step 13/13 : RUN ${MAKE} [2023-03-21T23:57:26.337Z] ---> Running in 1eb4f087d3aa [2023-03-21T23:57:27.300Z] noop [2023-03-21T23:57:27.890Z] Removing intermediate container 1eb4f087d3aa [2023-03-21T23:57:27.890Z] ---> 4fd6c7801191 [2023-03-21T23:57:27.890Z] Successfully built 4fd6c7801191 [2023-03-21T23:57:27.890Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:57:28.243Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T23:57:28.243Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:57:28.444Z] prd-ubuntu20.04-docker-arm64-4c-16g-5000 does not seem to be running inside a container [2023-03-21T23:57:28.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T23:57:29.711Z] $ docker top a7853daa729f151e479b2c4ec73d819956d0bdcb1bebe8d3c76bcdf1e23f6625 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T23:57:30.539Z] + go version [2023-03-21T23:57:30.540Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-21T23:57:30.561Z] $ docker stop --time=1 a7853daa729f151e479b2c4ec73d819956d0bdcb1bebe8d3c76bcdf1e23f6625 [2023-03-21T23:57:34.099Z] $ docker rm -f --volumes a7853daa729f151e479b2c4ec73d819956d0bdcb1bebe8d3c76bcdf1e23f6625 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:57:34.617Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T23:57:34.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T23:57:34.783Z] prd-ubuntu20.04-docker-arm64-4c-16g-5000 does not seem to be running inside a container [2023-03-21T23:57:34.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T23:57:35.964Z] $ docker top 22f48789ec079ce0465d8af46a7a78437ed9778860736358ccdaffbe7afdea7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T23:57:36.456Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-21T23:57:36.783Z] + make test [2023-03-21T23:57:36.783Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2023-03-21T23:57:38.724Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-21T23:59:15.520Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-21T23:59:15.520Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.067s coverage: 1.9% of statements [2023-03-21T23:59:15.520Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T23:59:15.520Z] CGO_ENABLED=1 go vet ./... [2023-03-21T23:59:33.752Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T23:59:33.752Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T23:59:33.752Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T23:59:33.769Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T23:59:33.783Z] $ docker stop --time=1 22f48789ec079ce0465d8af46a7a78437ed9778860736358ccdaffbe7afdea7a [2023-03-21T23:59:35.676Z] $ docker rm -f --volumes 22f48789ec079ce0465d8af46a7a78437ed9778860736358ccdaffbe7afdea7a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T23:59:36.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T23:59:36.600Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T23:59:37.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T23:59:37.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T23:59:37.960Z] + ls -al . [2023-03-21T23:59:37.960Z] total 200 [2023-03-21T23:59:37.960Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 23:57 . [2023-03-21T23:59:37.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:55 .. [2023-03-21T23:59:37.960Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 23:55 .git [2023-03-21T23:59:37.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:55 .github [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 21 23:55 .gitignore [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 23:55 .golangci.yml [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 23:55 .hadolint.yml [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 9702 Mar 21 23:55 Attribution.txt [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 21 23:55 CHANGELOG.md [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 2378 Mar 21 23:55 Dockerfile [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 23:55 GOVERNANCE.md [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 21 23:55 Jenkinsfile [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 23:55 LICENSE [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 2554 Mar 21 23:55 Makefile [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 23:55 OWNERS.md [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 5485 Mar 21 23:55 README.md [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 23:51 VERSION [2023-03-21T23:59:37.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 23:55 bin [2023-03-21T23:59:37.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:55 cmd [2023-03-21T23:59:37.960Z] -rw-r--r-- 1 jenkins jenkins 30666 Mar 21 23:59 coverage.out [2023-03-21T23:59:37.960Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 21 23:55 docker-entrypoint.sh [2023-03-21T23:59:37.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:55 docs [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 3573 Mar 21 23:55 go.mod [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 45026 Mar 21 23:55 go.sum [2023-03-21T23:59:37.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:55 internal [2023-03-21T23:59:37.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:55 snap [2023-03-21T23:59:37.960Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 23:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T23:59:38.385Z] + 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=9dab81cc734060b605ea70e4e05f3dd6114ceba9 --label arch=arm64 --label version=0.0.0 . [2023-03-21T23:59:39.377Z] Sending build context to Docker daemon 1.258MB [2023-03-21T23:59:39.648Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T23:59:39.648Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-21T23:59:39.648Z] ---> 4fd6c7801191 [2023-03-21T23:59:39.648Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-21T23:59:39.648Z] ---> Running in 16f9fd3a23f1 [2023-03-21T23:59:39.926Z] Removing intermediate container 16f9fd3a23f1 [2023-03-21T23:59:39.926Z] ---> bd779ae990ae [2023-03-21T23:59:39.926Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T23:59:39.926Z] ---> Running in b146f899c29b [2023-03-21T23:59:40.192Z] Removing intermediate container b146f899c29b [2023-03-21T23:59:40.192Z] ---> ff595b8f5966 [2023-03-21T23:59:40.192Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2023-03-21T23:59:40.459Z] ---> Running in 714fd086204b [2023-03-21T23:59:40.727Z] Removing intermediate container 714fd086204b [2023-03-21T23:59:40.727Z] ---> 773e06bd5eec [2023-03-21T23:59:40.727Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-21T23:59:40.727Z] ---> Running in 2d28e66ad029 [2023-03-21T23:59:40.995Z] Removing intermediate container 2d28e66ad029 [2023-03-21T23:59:40.995Z] ---> d3e9decd0e92 [2023-03-21T23:59:40.995Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T23:59:41.262Z] ---> Running in f7fe13972d88 [2023-03-21T23:59:42.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T23:59:42.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T23:59:43.475Z] OK: 228 MiB in 65 packages [2023-03-21T23:59:45.423Z] Removing intermediate container f7fe13972d88 [2023-03-21T23:59:45.423Z] ---> c208c266f0bd [2023-03-21T23:59:45.423Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-21T23:59:45.423Z] ---> Running in f606abc3e20e [2023-03-21T23:59:46.025Z] Removing intermediate container f606abc3e20e [2023-03-21T23:59:46.025Z] ---> 057a83301601 [2023-03-21T23:59:46.025Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-21T23:59:46.292Z] ---> 34d0dbaed9ae [2023-03-21T23:59:46.292Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T23:59:46.560Z] ---> Running in 6f8d32cb97bb [2023-03-21T23:59:48.520Z] Removing intermediate container 6f8d32cb97bb [2023-03-21T23:59:48.520Z] ---> 16a1540ff72e [2023-03-21T23:59:48.520Z] Step 11/35 : COPY . . [2023-03-21T23:59:49.931Z] ---> 0928d524e177 [2023-03-21T23:59:49.931Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-21T23:59:49.931Z] ---> Running in 6c848cd0eaeb [2023-03-21T23:59:50.902Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T23:59:50.902Z] Dload Upload Total Spent Left Speed [2023-03-21T23:59:51.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12549 0 --:--:-- --:--:-- --:--:-- 12642 [2023-03-21T23:59:51.765Z] Removing intermediate container 6c848cd0eaeb [2023-03-21T23:59:51.765Z] ---> a338d405c039 [2023-03-21T23:59:51.765Z] Step 13/35 : RUN ${MAKE} [2023-03-21T23:59:51.765Z] ---> Running in 6944308d0c67 [2023-03-21T23:59:53.719Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2023-03-22T00:02:30.426Z] Removing intermediate container 6944308d0c67 [2023-03-22T00:02:30.427Z] ---> 590e1ca34560 [2023-03-22T00:02:30.427Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-22T00:02:30.427Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-22T00:02:30.427Z] 8766b47fe142: Pulling fs layer [2023-03-22T00:02:30.427Z] 8766b47fe142: Verifying Checksum [2023-03-22T00:02:30.427Z] 8766b47fe142: Download complete [2023-03-22T00:02:30.427Z] 8766b47fe142: Pull complete [2023-03-22T00:02:30.427Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-22T00:02:30.427Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-22T00:02:30.427Z] ---> 69d40e2cb93c [2023-03-22T00:02:30.427Z] Step 15/35 : FROM alpine:3.16 [2023-03-22T00:02:30.427Z] 3.16: Pulling from library/alpine [2023-03-22T00:02:30.427Z] 3760b48202b3: Pulling fs layer [2023-03-22T00:02:30.427Z] 3760b48202b3: Verifying Checksum [2023-03-22T00:02:30.427Z] 3760b48202b3: Download complete [2023-03-22T00:02:30.427Z] 3760b48202b3: Pull complete [2023-03-22T00:02:30.427Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-22T00:02:30.427Z] Status: Downloaded newer image for alpine:3.16 [2023-03-22T00:02:30.427Z] ---> 4c81e5bf8899 [2023-03-22T00:02:30.427Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-22T00:02:30.427Z] ---> Running in 585de55fa1c6 [2023-03-22T00:02:30.427Z] Removing intermediate container 585de55fa1c6 [2023-03-22T00:02:30.427Z] ---> bbd843250a78 [2023-03-22T00:02:30.427Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2023-03-22T00:02:30.427Z] ---> Running in fcc72c916d64 [2023-03-22T00:02:30.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-22T00:02:30.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-22T00:02:30.427Z] (1/82) Installing dumb-init (1.2.5-r1) [2023-03-22T00:02:30.427Z] (2/82) Installing sdl2 (2.0.22-r0) [2023-03-22T00:02:30.427Z] (3/82) Installing libxau (1.0.9-r0) [2023-03-22T00:02:30.427Z] (4/82) Installing libxdmcp (1.1.3-r0) [2023-03-22T00:02:30.427Z] (5/82) Installing libxcb (1.15-r0) [2023-03-22T00:02:30.427Z] (6/82) Installing libx11 (1.8-r0) [2023-03-22T00:02:30.427Z] (7/82) Installing aom-libs (3.3.0-r0) [2023-03-22T00:02:30.427Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2023-03-22T00:02:30.427Z] (9/82) Installing expat (2.5.0-r0) [2023-03-22T00:02:30.427Z] (10/82) Installing brotli-libs (1.0.9-r6) [2023-03-22T00:02:30.427Z] (11/82) Installing libbz2 (1.0.8-r1) [2023-03-22T00:02:30.427Z] (12/82) Installing libpng (1.6.37-r1) [2023-03-22T00:02:30.427Z] (13/82) Installing freetype (2.12.1-r0) [2023-03-22T00:02:30.427Z] (14/82) Installing fontconfig (2.14.0-r0) [2023-03-22T00:02:30.427Z] (15/82) Installing fribidi (1.0.12-r0) [2023-03-22T00:02:30.427Z] (16/82) Installing libffi (3.4.2-r1) [2023-03-22T00:02:30.427Z] (17/82) Installing libintl (0.21-r2) [2023-03-22T00:02:30.427Z] (18/82) Installing libblkid (2.38-r1) [2023-03-22T00:02:30.427Z] (19/82) Installing libmount (2.38-r1) [2023-03-22T00:02:30.427Z] (20/82) Installing pcre (8.45-r2) [2023-03-22T00:02:30.427Z] (21/82) Installing glib (2.72.1-r0) [2023-03-22T00:02:30.427Z] (22/82) Installing graphite2 (1.3.14-r1) [2023-03-22T00:02:30.427Z] (23/82) Installing harfbuzz (4.3.0-r0) [2023-03-22T00:02:30.427Z] (24/82) Installing libass (0.16.0-r0) [2023-03-22T00:02:30.427Z] (25/82) Installing libdav1d (1.0.0-r0) [2023-03-22T00:02:30.427Z] (26/82) Installing libdrm (2.4.110-r0) [2023-03-22T00:02:30.427Z] (27/82) Installing gmp (6.2.1-r2) [2023-03-22T00:02:30.427Z] (28/82) Installing nettle (3.7.3-r0) [2023-03-22T00:02:30.427Z] (29/82) Installing p11-kit (0.24.1-r0) [2023-03-22T00:02:30.427Z] (30/82) Installing libtasn1 (4.18.0-r1) [2023-03-22T00:02:30.427Z] (31/82) Installing libunistring (1.0-r0) [2023-03-22T00:02:30.427Z] (32/82) Installing gnutls (3.7.7-r1) [2023-03-22T00:02:30.427Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-22T00:02:30.427Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-22T00:02:30.427Z] (35/82) Installing lame (3.100-r0) [2023-03-22T00:02:30.427Z] (36/82) Installing opus (1.3.1-r1) [2023-03-22T00:02:30.427Z] (37/82) Installing libasyncns (0.8-r1) [2023-03-22T00:02:30.427Z] (38/82) Installing dbus-libs (1.14.4-r0) [2023-03-22T00:02:30.427Z] (39/82) Installing libltdl (2.4.7-r0) [2023-03-22T00:02:30.427Z] (40/82) Installing orc (0.4.32-r0) [2023-03-22T00:02:30.427Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2023-03-22T00:02:30.427Z] (42/82) Installing libogg (1.3.5-r1) [2023-03-22T00:02:30.427Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-22T00:02:30.427Z] (44/82) Installing flac (1.3.4-r0) [2023-03-22T00:02:30.427Z] (45/82) Installing libvorbis (1.3.7-r0) [2023-03-22T00:02:30.427Z] (46/82) Installing libsndfile (1.1.0-r0) [2023-03-22T00:02:30.427Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2023-03-22T00:02:30.427Z] (48/82) Installing soxr (0.1.3-r2) [2023-03-22T00:02:30.427Z] (49/82) Installing speexdsp (1.2.0-r0) [2023-03-22T00:02:30.427Z] (50/82) Installing tdb-libs (1.4.6-r0) [2023-03-22T00:02:30.427Z] (51/82) Installing libpulse (15.0-r2) [2023-03-22T00:02:30.427Z] (52/82) Installing cjson (1.7.15-r3) [2023-03-22T00:02:30.427Z] (53/82) Installing mbedtls (2.28.2-r0) [2023-03-22T00:02:30.427Z] (54/82) Installing librist (0.2.6-r1) [2023-03-22T00:02:30.427Z] (55/82) Installing libsrt (1.4.4-r0) [2023-03-22T00:02:30.427Z] (56/82) Installing libssh (0.9.6-r1) [2023-03-22T00:02:30.427Z] (57/82) Installing libtheora (1.1.1-r16) [2023-03-22T00:02:30.427Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2023-03-22T00:02:30.427Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2023-03-22T00:02:30.427Z] (60/82) Installing libxext (1.3.4-r0) [2023-03-22T00:02:30.427Z] (61/82) Installing libxfixes (6.0.0-r0) [2023-03-22T00:02:30.427Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2023-03-22T00:02:30.427Z] (63/82) Installing libva (2.14.0-r0) [2023-03-22T00:02:30.427Z] (64/82) Installing libvdpau (1.5-r0) [2023-03-22T00:02:30.427Z] (65/82) Installing vidstab (1.1.0-r1) [2023-03-22T00:02:30.427Z] (66/82) Installing libvpx (1.11.0-r1) [2023-03-22T00:02:30.427Z] (67/82) Installing libwebp (1.2.3-r0) [2023-03-22T00:02:30.427Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2023-03-22T00:02:30.427Z] (69/82) Installing numactl (2.0.14-r0) [2023-03-22T00:02:30.427Z] (70/82) Installing x265-libs (3.5-r3) [2023-03-22T00:02:30.427Z] (71/82) Installing xvidcore (1.3.7-r1) [2023-03-22T00:02:30.427Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2023-03-22T00:02:30.427Z] (73/82) Installing ffmpeg (5.0.1-r1) [2023-03-22T00:02:30.427Z] (74/82) Installing udev-init-scripts (35-r0) [2023-03-22T00:02:30.427Z] Executing udev-init-scripts-35-r0.post-install [2023-03-22T00:02:30.427Z] (75/82) Installing eudev-libs (3.2.11-r0) [2023-03-22T00:02:30.427Z] (76/82) Installing xz-libs (5.2.5-r1) [2023-03-22T00:02:30.427Z] (77/82) Installing zstd-libs (1.5.2-r1) [2023-03-22T00:02:30.427Z] (78/82) Installing kmod-libs (29-r2) [2023-03-22T00:02:30.427Z] (79/82) Installing eudev (3.2.11-r0) [2023-03-22T00:02:30.427Z] (80/82) Installing libsodium (1.0.18-r0) [2023-03-22T00:02:30.427Z] (81/82) Installing libzmq (4.3.4-r0) [2023-03-22T00:02:30.427Z] (82/82) Installing zeromq (4.3.4-r0) [2023-03-22T00:02:30.427Z] Executing busybox-1.35.0-r17.trigger [2023-03-22T00:02:30.427Z] Executing eudev-3.2.11-r0.trigger [2023-03-22T00:02:30.427Z] OK: 78 MiB in 96 packages [2023-03-22T00:02:32.361Z] Removing intermediate container fcc72c916d64 [2023-03-22T00:02:32.361Z] ---> 57d1de63775e [2023-03-22T00:02:32.361Z] Step 18/35 : WORKDIR / [2023-03-22T00:02:32.361Z] ---> Running in 30b83634d7b7 [2023-03-22T00:02:32.626Z] Removing intermediate container 30b83634d7b7 [2023-03-22T00:02:32.626Z] ---> d34f01469933 [2023-03-22T00:02:32.626Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-22T00:02:34.034Z] ---> 78cc69702669 [2023-03-22T00:02:34.034Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-22T00:02:34.299Z] ---> a7e2d534cb98 [2023-03-22T00:02:34.299Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-22T00:02:34.880Z] ---> 868748077959 [2023-03-22T00:02:34.880Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-22T00:02:35.152Z] ---> 5a7bc90ba572 [2023-03-22T00:02:35.152Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-22T00:02:35.734Z] ---> e04bbd0999bf [2023-03-22T00:02:35.734Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-22T00:02:37.135Z] ---> edd7da6988cf [2023-03-22T00:02:37.136Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-22T00:02:38.540Z] ---> 6f48e296b56c [2023-03-22T00:02:38.540Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-22T00:02:38.540Z] ---> Running in f19d2f9eae69 [2023-03-22T00:02:39.946Z] Removing intermediate container f19d2f9eae69 [2023-03-22T00:02:39.946Z] ---> 192ac5e2cd76 [2023-03-22T00:02:39.946Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-22T00:02:40.219Z] ---> Running in fd4a7c62f2b0 [2023-03-22T00:02:41.628Z] Removing intermediate container fd4a7c62f2b0 [2023-03-22T00:02:41.628Z] ---> d437f9c441f2 [2023-03-22T00:02:41.628Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-22T00:02:41.628Z] ---> Running in 4d011576a119 [2023-03-22T00:02:43.568Z] Removing intermediate container 4d011576a119 [2023-03-22T00:02:43.568Z] ---> b9fed39793af [2023-03-22T00:02:43.568Z] Step 29/35 : EXPOSE 59983 [2023-03-22T00:02:43.568Z] ---> Running in dc89c47a850d [2023-03-22T00:02:43.568Z] Removing intermediate container dc89c47a850d [2023-03-22T00:02:43.568Z] ---> 3ace19fb1777 [2023-03-22T00:02:43.568Z] Step 30/35 : EXPOSE 8554 [2023-03-22T00:02:43.568Z] ---> Running in 005d42d99765 [2023-03-22T00:02:43.833Z] Removing intermediate container 005d42d99765 [2023-03-22T00:02:43.833Z] ---> 28ec69f0a464 [2023-03-22T00:02:43.833Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-22T00:02:43.833Z] ---> Running in 9622e41d13cf [2023-03-22T00:02:44.099Z] Removing intermediate container 9622e41d13cf [2023-03-22T00:02:44.100Z] ---> 7a2cb1f29472 [2023-03-22T00:02:44.100Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2023-03-22T00:02:44.380Z] ---> Running in 58c1ffe0735a [2023-03-22T00:02:44.646Z] Removing intermediate container 58c1ffe0735a [2023-03-22T00:02:44.646Z] ---> 61ac7fe42714 [2023-03-22T00:02:44.646Z] Step 33/35 : LABEL arch=arm64 [2023-03-22T00:02:44.646Z] ---> Running in 0e06e2ad5ac5 [2023-03-22T00:02:44.910Z] Removing intermediate container 0e06e2ad5ac5 [2023-03-22T00:02:44.910Z] ---> e599d477f985 [2023-03-22T00:02:44.910Z] Step 34/35 : LABEL git_sha=9dab81cc734060b605ea70e4e05f3dd6114ceba9 [2023-03-22T00:02:44.910Z] ---> Running in 6ea1be3d6efd [2023-03-22T00:02:45.175Z] Removing intermediate container 6ea1be3d6efd [2023-03-22T00:02:45.175Z] ---> ea4ecdbf8844 [2023-03-22T00:02:45.175Z] Step 35/35 : LABEL version=0.0.0 [2023-03-22T00:02:45.175Z] ---> Running in d7d36826b7cc [2023-03-22T00:02:45.439Z] Removing intermediate container d7d36826b7cc [2023-03-22T00:02:45.439Z] ---> 01d87e236db2 [2023-03-22T00:02:45.439Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T00:02:45.439Z] Successfully built 01d87e236db2 [2023-03-22T00:02:45.439Z] 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 [2023-03-22T00:02:45.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T00:02:45.840Z] [2023-03-22T00:02:45.840Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T00:02:46.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T00:02:46.163Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T00:02:46.163Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T00:02:46.163Z] 04944245beec: Pulling fs layer [2023-03-22T00:02:46.163Z] 699f458cf7ca: Pulling fs layer [2023-03-22T00:02:46.163Z] 765212b225bb: Pulling fs layer [2023-03-22T00:02:46.163Z] f23df028b6ca: Pulling fs layer [2023-03-22T00:02:46.163Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T00:02:46.163Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T00:02:46.163Z] f23df028b6ca: Waiting [2023-03-22T00:02:46.163Z] d65c8cfc05b1: Waiting [2023-03-22T00:02:46.163Z] 2437ff75d9bd: Waiting [2023-03-22T00:02:46.163Z] 765212b225bb: Waiting [2023-03-22T00:02:46.429Z] 04944245beec: Verifying Checksum [2023-03-22T00:02:46.429Z] 04944245beec: Download complete [2023-03-22T00:02:46.429Z] 765212b225bb: Verifying Checksum [2023-03-22T00:02:46.429Z] 765212b225bb: Download complete [2023-03-22T00:02:46.429Z] f23df028b6ca: Download complete [2023-03-22T00:02:46.429Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T00:02:46.429Z] d65c8cfc05b1: Download complete [2023-03-22T00:02:46.429Z] 699f458cf7ca: Verifying Checksum [2023-03-22T00:02:46.429Z] 699f458cf7ca: Download complete [2023-03-22T00:02:47.011Z] 8998bd30e6a1: Download complete [2023-03-22T00:02:48.947Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T00:02:48.947Z] 2437ff75d9bd: Download complete [2023-03-22T00:02:50.884Z] 8998bd30e6a1: Pull complete [2023-03-22T00:02:51.463Z] 04944245beec: Pull complete [2023-03-22T00:02:52.864Z] 699f458cf7ca: Pull complete [2023-03-22T00:02:52.864Z] 765212b225bb: Pull complete [2023-03-22T00:02:53.444Z] f23df028b6ca: Pull complete [2023-03-22T00:02:53.709Z] d65c8cfc05b1: Pull complete [2023-03-22T00:03:05.995Z] 2437ff75d9bd: Pull complete [2023-03-22T00:03:05.995Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T00:03:05.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T00:03:05.995Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T00:03:06.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-5000 does not seem to be running inside a container [2023-03-22T00:03:06.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T00:03:08.851Z] $ docker top 353c0051083a880d3411ecd35fb30eed72a067e9fd1c5688a0c7f47329a5791c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T00:03:09.674Z] ---> job-cost.sh [2023-03-22T00:03:09.675Z] lf-activate-venv: SKIPPING [2023-03-22T00:03:09.675Z] INFO: No Stack... [2023-03-22T00:03:10.255Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T00:03:11.208Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T00:03:11.527Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2023-03-22T00:03:11.527Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T00:03:11.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-192-2-stack-cost] [2023-03-22T00:03:11.856Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-192-2-stack-cost] did not exist. Created. [2023-03-22T00:03:11.857Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-192-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T00:03:12.184Z] /w/workspace/device-usb-camera/2@tmp/durable-82dac521/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T00:03:12.511Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T00:03:12.798Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T00:03:12.857Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T00:03:12.865Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-192-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T00:03:12.882Z] $ docker stop --time=1 353c0051083a880d3411ecd35fb30eed72a067e9fd1c5688a0c7f47329a5791c [2023-03-22T00:03:14.387Z] $ docker rm -f --volumes 353c0051083a880d3411ecd35fb30eed72a067e9fd1c5688a0c7f47329a5791c [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 [2023-03-22T00:03:14.742Z] provisioning config files... [2023-03-22T00:03:14.749Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-192@tmp/config11805759583796585390tmp [Pipeline] { [Pipeline] sh [2023-03-22T00:03:15.038Z] + set +x [2023-03-22T00:03:15.038Z] + curl -s https://codecov.io/bash [2023-03-22T00:03:15.038Z] + bash -s -- [2023-03-22T00:03:15.038Z] [2023-03-22T00:03:15.038Z] _____ _ [2023-03-22T00:03:15.038Z] / ____| | | [2023-03-22T00:03:15.038Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T00:03:15.038Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T00:03:15.038Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T00:03:15.038Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T00:03:15.038Z] Bash-1.0.6 [2023-03-22T00:03:15.038Z] [2023-03-22T00:03:15.038Z] [2023-03-22T00:03:15.038Z] ==> git version 2.25.1 found [2023-03-22T00:03:15.038Z] ==> 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 [2023-03-22T00:03:15.038Z] Release-Date: 2020-01-08 [2023-03-22T00:03:15.038Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-22T00:03:15.038Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T00:03:15.038Z] ==> Jenkins CI detected. [2023-03-22T00:03:15.038Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-192 [2023-03-22T00:03:15.038Z] project root: . [2023-03-22T00:03:15.038Z] --> token set from env [2023-03-22T00:03:15.038Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T00:03:15.038Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T00:03:15.038Z] ==> Python coveragepy not found [2023-03-22T00:03:15.038Z] ==> Searching for coverage reports in: [2023-03-22T00:03:15.038Z] + . [2023-03-22T00:03:15.038Z] -> Found 1 reports [2023-03-22T00:03:15.038Z] ==> Detecting git/mercurial file structure [2023-03-22T00:03:15.038Z] ==> Reading reports [2023-03-22T00:03:15.038Z] + ./coverage.out bytes=30666 [2023-03-22T00:03:15.038Z] ==> Appending adjustments [2023-03-22T00:03:15.038Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T00:03:15.298Z] + Found adjustments [2023-03-22T00:03:15.298Z] ==> Gzipping contents [2023-03-22T00:03:15.298Z] 8.0K /tmp/codecov.tuKcJ6.gz [2023-03-22T00:03:15.298Z] ==> Uploading reports [2023-03-22T00:03:15.298Z] url: https://codecov.io [2023-03-22T00:03:15.298Z] query: branch=PR-192&commit=8bdd890901883a432705bb75baf3b057b9b8898e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-192%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=192&job=&cmd_args= [2023-03-22T00:03:15.298Z] -> Pinging Codecov [2023-03-22T00:03:15.298Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-192&commit=8bdd890901883a432705bb75baf3b057b9b8898e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-192%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=192&job=&cmd_args= [2023-03-22T00:03:15.298Z] -> Uploading to [2023-03-22T00:03:15.298Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/73D8F5FF140700D3E01443B452E23636/8bdd890901883a432705bb75baf3b057b9b8898e/a028cdfe-1927-42cf-876b-76bb0c5ac6ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T000315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=19759d4930b53c5c38ab33b73e45b6ca13826edc4de0aca5230d18be622b2301 [2023-03-22T00:03:15.298Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T00:03:15.298Z] Dload Upload Total Spent Left Speed [2023-03-22T00:03:15.558Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4338 0 0 100 4338 0 15774 --:--:-- --:--:-- --:--:-- 15774 [2023-03-22T00:03:15.558Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/8bdd890901883a432705bb75baf3b057b9b8898e [Pipeline] } [2023-03-22T00:03:15.566Z] 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 [2023-03-22T00:03:16.228Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-192/archives ] [2023-03-22T00:03:16.228Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-192/archives [2023-03-22T00:03:16.228Z] total 16 [2023-03-22T00:03:16.228Z] drwxr-xr-x 3 root root 4096 Mar 21 23:53 . [2023-03-22T00:03:16.228Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 23:53 .. [2023-03-22T00:03:16.228Z] drwxr-xr-x 2 root root 4096 Mar 21 23:53 cost [2023-03-22T00:03:16.228Z] -rw-r--r-- 1 root root 89 Mar 21 23:53 cost.csv [2023-03-22T00:03:16.228Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-192/archives [2023-03-22T00:03:16.228Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-192/archives [2023-03-22T00:03:16.228Z] total 16 [2023-03-22T00:03:16.228Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 23:53 . [2023-03-22T00:03:16.228Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 23:53 .. [2023-03-22T00:03:16.228Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 23:53 cost [2023-03-22T00:03:16.228Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 21 23:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T00:03:16.512Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T00:03:17.368Z] ---> package-listing.sh [2023-03-22T00:03:17.368Z] ++ facter osfamily [2023-03-22T00:03:17.368Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T00:03:17.627Z] + OS_FAMILY=debian [2023-03-22T00:03:17.627Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-192 [2023-03-22T00:03:17.627Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T00:03:17.627Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T00:03:17.627Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T00:03:17.627Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T00:03:17.627Z] + '[' /w/workspace/foundry_device-usb-camera_PR-192 ']' [2023-03-22T00:03:17.627Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T00:03:17.627Z] + case "${OS_FAMILY}" in [2023-03-22T00:03:17.627Z] + dpkg -l [2023-03-22T00:03:17.627Z] + grep '^ii' [2023-03-22T00:03:17.627Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T00:03:17.627Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T00:03:17.627Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T00:03:17.627Z] + '[' /w/workspace/foundry_device-usb-camera_PR-192 ']' [2023-03-22T00:03:17.627Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-192/archives/ [2023-03-22T00:03:17.627Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-192/archives/ [Pipeline] echo [2023-03-22T00:03:17.636Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T00:03:17.915Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T00:03:18.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T00:03:18.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T00:03:18.548Z] prd-ubuntu20.04-docker-8c-8g-4998 does not seem to be running inside a container [2023-03-22T00:03:18.581Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-192 -v /w/workspace/foundry_device-usb-camera_PR-192:/w/workspace/foundry_device-usb-camera_PR-192:rw,z -v /w/workspace/foundry_device-usb-camera_PR-192@tmp:/w/workspace/foundry_device-usb-camera_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T00:03:18.817Z] $ docker top 7fb4d92723a9054319ecdcb5d2ed52f81f963d24f1273ea7305862d60619d505 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T00:03:19.159Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T00:03:19.446Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T00:03:19.729Z] + ls /var/log/sa-host [2023-03-22T00:03:19.729Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T00:03:19.798Z] provisioning config files... [2023-03-22T00:03:19.807Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-192@tmp/config17067770393648426016tmp [Pipeline] { [Pipeline] echo [2023-03-22T00:03:19.817Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T00:03:20.100Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T00:03:20.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T00:03:20.429Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T00:03:20.436Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T00:03:20.719Z] ---> sudo-logs.sh [2023-03-22T00:03:20.719Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T00:03:20.750Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T00:03:21.036Z] ---> job-cost.sh [2023-03-22T00:03:21.036Z] lf-activate-venv: SKIPPING [2023-03-22T00:03:21.036Z] DEBUG: total: 0.2199999988079071 [2023-03-22T00:03:21.036Z] INFO: Retrieving Stack Cost... [2023-03-22T00:03:21.294Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T00:03:21.861Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T00:03:21.871Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T00:03:22.153Z] ---> logs-deploy.sh [2023-03-22T00:03:22.153Z] lf-activate-venv: SKIPPING [2023-03-22T00:03:22.153Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-192/2 [2023-03-22T00:03:22.153Z] INFO: archiving workspace using pattern(s): [2023-03-22T00:03:23.089Z] Archives upload complete. [2023-03-22T00:03:23.089Z] INFO: archiving logs to Nexus