Pull request #262 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b rather than 473ff219b026b6d71cd1b6f680fc2769aaac1390 Obtained Jenkinsfile from c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b 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-ssh10967690315558304350.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh14784581785620119725.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-262/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-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14736472536684949149.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh10145618181582177454.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-262/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-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3787758259563817640.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] ========================================================= [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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-137 in /w/workspace/foundry_device-usb-camera_PR-262 [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-262 # 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/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit 473ff219b026b6d71cd1b6f680fc2769aaac1390 > 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/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 473ff219b026b6d71cd1b6f680fc2769aaac1390 # timeout=10 Merge succeeded, producing 473ff219b026b6d71cd1b6f680fc2769aaac1390 Checking out Revision 473ff219b026b6d71cd1b6f680fc2769aaac1390 (PR-262) Commit message: "feat: addressed more code review comments" > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 473ff219b026b6d71cd1b6f680fc2769aaac1390 # timeout=10 > git rev-list --no-walk 22d2067314cc1ebefed40a88bb932c9f627f71ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-28T20:55:48.964Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-28T20:55:49.016Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-28T20:55:49.037Z] ========================================================= [2023-06-28T20:55:49.037Z] EdgeX Global Pipelines Version Info [2023-06-28T20:55:49.037Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-28T20:55:49.783Z] ------------------- [2023-06-28T20:55:49.783Z] stable info: [2023-06-28T20:55:49.783Z] ------------------- [2023-06-28T20:55:49.783Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-28T20:55:49.783Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-28T20:55:49.783Z] Message: update stable to v1.0.250 [2023-06-28T20:55:50.352Z] ------------------- [2023-06-28T20:55:50.352Z] experimental info: [2023-06-28T20:55:50.352Z] ------------------- [2023-06-28T20:55:50.352Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-28T20:55:50.352Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-28T20:55:50.352Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-28T20:55:50.526Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-06-28T20:55:50.542Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-06-28T20:55:50.561Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-28T20:55:50.577Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-28T20:55:50.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-28T20:55:50.609Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-28T20:55:50.627Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-28T20:55:50.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-28T20:55:50.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-28T20:55:50.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-28T20:55:50.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-28T20:55:50.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-06-28T20:55:50.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-28T20:55:50.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-28T20:55:50.750Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-28T20:55:50.770Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-28T20:55:50.787Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-28T20:55:50.799Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-28T20:55:50.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-28T20:55:50.828Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-28T20:55:50.840Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-28T20:55:50.852Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-28T20:55:50.868Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-28T20:55:50.885Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-28T20:55:50.904Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-28T20:55:50.920Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-28T20:55:50.938Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-28T20:55:50.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo [2023-06-28T20:55:50.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo [2023-06-28T20:55:50.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo [2023-06-28T20:55:51.009Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] echo [2023-06-28T20:55:51.022Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 473ff21 [Pipeline] echo [2023-06-28T20:55:51.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-28T20:55:51.097Z] provisioning config files... [2023-06-28T20:55:51.113Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config16719945737053850899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T20:55:51.418Z] ---> docker-login.sh [2023-06-28T20:55:51.418Z] nexus3.edgexfoundry.org:10001 [2023-06-28T20:55:51.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:55:51.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:55:51.679Z] Configure a credential helper to remove this warning. See [2023-06-28T20:55:51.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:55:51.679Z] [2023-06-28T20:55:51.679Z] Login Succeeded [2023-06-28T20:55:51.679Z] nexus3.edgexfoundry.org:10002 [2023-06-28T20:55:51.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:55:51.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:55:51.939Z] Configure a credential helper to remove this warning. See [2023-06-28T20:55:51.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:55:51.939Z] [2023-06-28T20:55:51.939Z] Login Succeeded [2023-06-28T20:55:51.939Z] nexus3.edgexfoundry.org:10003 [2023-06-28T20:55:51.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:55:51.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:55:51.939Z] Configure a credential helper to remove this warning. See [2023-06-28T20:55:51.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:55:51.939Z] [2023-06-28T20:55:51.939Z] Login Succeeded [2023-06-28T20:55:51.939Z] nexus3.edgexfoundry.org:10004 [2023-06-28T20:55:52.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:55:52.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:55:52.199Z] Configure a credential helper to remove this warning. See [2023-06-28T20:55:52.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:55:52.199Z] [2023-06-28T20:55:52.199Z] Login Succeeded [2023-06-28T20:55:52.199Z] docker.io [2023-06-28T20:55:52.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:55:52.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:55:52.459Z] Configure a credential helper to remove this warning. See [2023-06-28T20:55:52.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:55:52.460Z] [2023-06-28T20:55:52.460Z] Login Succeeded [2023-06-28T20:55:52.460Z] ---> docker-login.sh ends [Pipeline] } [2023-06-28T20:55:52.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-28T20:55:52.833Z] + git rev-list -1 --merges 473ff219b026b6d71cd1b6f680fc2769aaac1390~1..473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] echo [2023-06-28T20:55:52.888Z] -----------> git rev-list -1 --merges 473ff219b026b6d71cd1b6f680fc2769aaac1390~1..473ff219b026b6d71cd1b6f680fc2769aaac1390 473ff219b026b6d71cd1b6f680fc2769aaac1390 [false] [Pipeline] sh [2023-06-28T20:55:53.175Z] + git log --format=format:%s -1 473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] echo [2023-06-28T20:55:53.192Z] ========================================================= [2023-06-28T20:55:53.192Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-28T20:55:53.192Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-28T20:55:53.508Z] + git log --format=format:%s -1 473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] echo [2023-06-28T20:55:53.520Z] [semverPrep] GIT_COMMIT: 473ff219b026b6d71cd1b6f680fc2769aaac1390, Commit Message: feat: addressed more code review comments [Pipeline] echo [2023-06-28T20:55:53.528Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-28T20:55:53.886Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-28T20:55:53.886Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-28T20:55:53.886Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-28T20:55:53.886Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-28T20:55:53.886Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-28T20:55:53.886Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-28T20:55:53.886Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T20:55:54.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-28T20:55:54.301Z] [2023-06-28T20:55:54.301Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T20:55:54.598Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-28T20:55:54.598Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-28T20:55:54.598Z] b85a868b505f: Pulling fs layer [2023-06-28T20:55:54.598Z] e2be974225ed: Pulling fs layer [2023-06-28T20:55:54.598Z] 339a4e72a1f5: Pulling fs layer [2023-06-28T20:55:54.598Z] 988bab9f4d93: Pulling fs layer [2023-06-28T20:55:54.598Z] 1469e6f7b9e6: Pulling fs layer [2023-06-28T20:55:54.598Z] eaf3925da568: Pulling fs layer [2023-06-28T20:55:54.598Z] bab4dde63d76: Pulling fs layer [2023-06-28T20:55:54.598Z] bde34c3a00c8: Pulling fs layer [2023-06-28T20:55:54.598Z] b352a97aabf1: Pulling fs layer [2023-06-28T20:55:54.598Z] 4872d77fe225: Pulling fs layer [2023-06-28T20:55:54.598Z] 5851b861e8e6: Pulling fs layer [2023-06-28T20:55:54.598Z] bab4dde63d76: Waiting [2023-06-28T20:55:54.598Z] 988bab9f4d93: Waiting [2023-06-28T20:55:54.598Z] 1469e6f7b9e6: Waiting [2023-06-28T20:55:54.598Z] 4872d77fe225: Waiting [2023-06-28T20:55:54.598Z] 5851b861e8e6: Waiting [2023-06-28T20:55:54.598Z] bde34c3a00c8: Waiting [2023-06-28T20:55:54.598Z] b352a97aabf1: Waiting [2023-06-28T20:55:54.598Z] eaf3925da568: Waiting [2023-06-28T20:55:54.598Z] e2be974225ed: Download complete [2023-06-28T20:55:54.598Z] 988bab9f4d93: Download complete [2023-06-28T20:55:54.598Z] 1469e6f7b9e6: Verifying Checksum [2023-06-28T20:55:54.598Z] 1469e6f7b9e6: Download complete [2023-06-28T20:55:54.598Z] eaf3925da568: Verifying Checksum [2023-06-28T20:55:54.598Z] eaf3925da568: Download complete [2023-06-28T20:55:54.598Z] 339a4e72a1f5: Download complete [2023-06-28T20:55:54.856Z] bde34c3a00c8: Verifying Checksum [2023-06-28T20:55:54.856Z] bde34c3a00c8: Download complete [2023-06-28T20:55:54.856Z] b352a97aabf1: Download complete [2023-06-28T20:55:54.856Z] 4872d77fe225: Verifying Checksum [2023-06-28T20:55:54.856Z] 4872d77fe225: Download complete [2023-06-28T20:55:54.856Z] 5851b861e8e6: Download complete [2023-06-28T20:55:54.856Z] b85a868b505f: Download complete [2023-06-28T20:55:55.132Z] bab4dde63d76: Verifying Checksum [2023-06-28T20:55:55.132Z] bab4dde63d76: Download complete [2023-06-28T20:55:56.077Z] b85a868b505f: Pull complete [2023-06-28T20:55:56.336Z] e2be974225ed: Pull complete [2023-06-28T20:55:56.904Z] 339a4e72a1f5: Pull complete [2023-06-28T20:55:56.904Z] 988bab9f4d93: Pull complete [2023-06-28T20:55:57.166Z] 1469e6f7b9e6: Pull complete [2023-06-28T20:55:57.166Z] eaf3925da568: Pull complete [2023-06-28T20:55:59.070Z] bab4dde63d76: Pull complete [2023-06-28T20:55:59.070Z] bde34c3a00c8: Pull complete [2023-06-28T20:55:59.070Z] b352a97aabf1: Pull complete [2023-06-28T20:55:59.070Z] 4872d77fe225: Pull complete [2023-06-28T20:55:59.329Z] 5851b861e8e6: Pull complete [2023-06-28T20:55:59.329Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-28T20:55:59.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-28T20:55:59.329Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T20:55:59.426Z] prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container [2023-06-28T20:55:59.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-28T20:56:01.980Z] $ docker top db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d -eo pid,comm [2023-06-28T20:56:02.038Z] 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-06-28T20:56:02.038Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-28T20:56:02.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-28T20:56:02.076Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-28T20:56:02.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-28T20:56:02.195Z] $ docker exec db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d ssh-agent [2023-06-28T20:56:02.301Z] SSH_AUTH_SOCK=/tmp/ssh-78ouFLJaRtVT/agent.33 [2023-06-28T20:56:02.301Z] SSH_AGENT_PID=40 [2023-06-28T20:56:02.308Z] Running ssh-add (command line suppressed) [2023-06-28T20:56:02.427Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_1918414686917886916.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_1918414686917886916.key) [2023-06-28T20:56:02.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-28T20:56:02.723Z] + git tag --points-at HEAD [Pipeline] } [2023-06-28T20:56:02.737Z] $ docker exec --env ******** --env ******** db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d ssh-agent -k [2023-06-28T20:56:02.841Z] unset SSH_AUTH_SOCK; [2023-06-28T20:56:02.842Z] unset SSH_AGENT_PID; [2023-06-28T20:56:02.843Z] echo Agent pid 40 killed; [2023-06-28T20:56:02.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-28T20:56:02.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-28T20:56:02.880Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-28T20:56:02.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-28T20:56:02.995Z] $ docker exec db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d ssh-agent [2023-06-28T20:56:03.103Z] SSH_AUTH_SOCK=/tmp/ssh-rpg0hOgwxIGF/agent.73 [2023-06-28T20:56:03.103Z] SSH_AGENT_PID=79 [2023-06-28T20:56:03.108Z] Running ssh-add (command line suppressed) [2023-06-28T20:56:03.213Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_9264188583204849519.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_9264188583204849519.key) [2023-06-28T20:56:03.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-28T20:56:03.515Z] + git semver init [2023-06-28T20:56:03.778Z] 2023-06-28 20:56:03,697 [run_init] DEBUG init version:0.0.0 force:False [2023-06-28T20:56:03.778Z] 2023-06-28 20:56:03,698 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-28T20:56:03.778Z] 2023-06-28 20:56:03,698 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-28T20:56:03.778Z] 2023-06-28 20:56:03,699 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-262/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-262, universal_newlines=False, shell=None, istream=None) [2023-06-28T20:56:04.715Z] 2023-06-28 20:56:04,404 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude [2023-06-28T20:56:04.716Z] 2023-06-28 20:56:04,404 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 with force:False [2023-06-28T20:56:04.716Z] 2023-06-28 20:56:04,404 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-28T20:56:04.716Z] 2023-06-28 20:56:04,407 [execute] INFO git cat-file --batch-check [2023-06-28T20:56:04.716Z] 2023-06-28 20:56:04,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-06-28T20:56:04.716Z] 2023-06-28 20:56:04,413 [execute] INFO git cat-file --batch [2023-06-28T20:56:04.716Z] 2023-06-28 20:56:04,413 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-06-28T20:56:04.716Z] 2023-06-28 20:56:04,418 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-28T20:56:04.716Z] 0.0.0 [Pipeline] } [2023-06-28T20:56:04.727Z] $ docker exec --env ******** --env ******** db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d ssh-agent -k [2023-06-28T20:56:04.826Z] unset SSH_AUTH_SOCK; [2023-06-28T20:56:04.826Z] unset SSH_AGENT_PID; [2023-06-28T20:56:04.827Z] echo Agent pid 79 killed; [2023-06-28T20:56:04.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-28T20:56:05.138Z] + git semver [Pipeline] } [2023-06-28T20:56:05.420Z] $ docker stop --time=1 db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d [2023-06-28T20:56:06.745Z] $ docker rm -f --volumes db4a2da334c53eeffddf19d8f6bbad803e2732f3c22176dd7a7882cc5889e58d [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-28T20:56:07.085Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-28T20:56:07.319Z] Stashed 1 file(s) [Pipeline] echo [2023-06-28T20:56:07.321Z] [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-06-28T20:56:07.464Z] provisioning config files... [2023-06-28T20:56:07.473Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config3788476447860637017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T20:56:07.771Z] ---> docker-login.sh [2023-06-28T20:56:07.771Z] nexus3.edgexfoundry.org:10001 [2023-06-28T20:56:07.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:56:07.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:56:07.771Z] Configure a credential helper to remove this warning. See [2023-06-28T20:56:07.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:56:07.771Z] [2023-06-28T20:56:07.771Z] Login Succeeded [2023-06-28T20:56:07.771Z] nexus3.edgexfoundry.org:10002 [2023-06-28T20:56:07.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:56:07.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:56:07.771Z] Configure a credential helper to remove this warning. See [2023-06-28T20:56:07.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:56:07.771Z] [2023-06-28T20:56:07.771Z] Login Succeeded [2023-06-28T20:56:07.771Z] nexus3.edgexfoundry.org:10003 [2023-06-28T20:56:08.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:56:08.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:56:08.031Z] Configure a credential helper to remove this warning. See [2023-06-28T20:56:08.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:56:08.031Z] [2023-06-28T20:56:08.031Z] Login Succeeded [2023-06-28T20:56:08.031Z] nexus3.edgexfoundry.org:10004 [2023-06-28T20:56:08.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:56:08.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:56:08.031Z] Configure a credential helper to remove this warning. See [2023-06-28T20:56:08.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:56:08.031Z] [2023-06-28T20:56:08.031Z] Login Succeeded [2023-06-28T20:56:08.031Z] docker.io [2023-06-28T20:56:08.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:56:08.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:56:08.290Z] Configure a credential helper to remove this warning. See [2023-06-28T20:56:08.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:56:08.290Z] [2023-06-28T20:56:08.290Z] Login Succeeded [2023-06-28T20:56:08.290Z] ---> docker-login.sh ends [Pipeline] } [2023-06-28T20:56:08.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-28T20:56:08.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-28T20:56:08.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-28T20:56:08.373Z] ========================================================= [2023-06-28T20:56:08.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-28T20:56:08.373Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T20:56:08.727Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-28T20:56:08.727Z] Sending build context to Docker daemon 2.028MB [2023-06-28T20:56:08.727Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-28T20:56:08.727Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-28T20:56:08.727Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-28T20:56:08.727Z] f56be85fc22e: Pulling fs layer [2023-06-28T20:56:08.727Z] 85791d961cd3: Pulling fs layer [2023-06-28T20:56:08.727Z] d694b5ae8c79: Pulling fs layer [2023-06-28T20:56:08.727Z] 9f32a84ed3da: Pulling fs layer [2023-06-28T20:56:08.727Z] 4d19c01a9841: Pulling fs layer [2023-06-28T20:56:08.727Z] 9325e15d5711: Pulling fs layer [2023-06-28T20:56:08.727Z] 556b6ee489ea: Pulling fs layer [2023-06-28T20:56:08.727Z] c5a4b2cf53e6: Pulling fs layer [2023-06-28T20:56:08.727Z] 9f32a84ed3da: Waiting [2023-06-28T20:56:08.727Z] 4d19c01a9841: Waiting [2023-06-28T20:56:08.727Z] 9325e15d5711: Waiting [2023-06-28T20:56:08.727Z] 556b6ee489ea: Waiting [2023-06-28T20:56:08.727Z] c5a4b2cf53e6: Waiting [2023-06-28T20:56:08.727Z] 85791d961cd3: Download complete [2023-06-28T20:56:08.727Z] 9f32a84ed3da: Verifying Checksum [2023-06-28T20:56:08.727Z] 9f32a84ed3da: Download complete [2023-06-28T20:56:08.727Z] 4d19c01a9841: Verifying Checksum [2023-06-28T20:56:08.727Z] 4d19c01a9841: Download complete [2023-06-28T20:56:08.727Z] f56be85fc22e: Verifying Checksum [2023-06-28T20:56:08.727Z] f56be85fc22e: Download complete [2023-06-28T20:56:08.989Z] 9325e15d5711: Verifying Checksum [2023-06-28T20:56:08.989Z] 9325e15d5711: Download complete [2023-06-28T20:56:08.989Z] f56be85fc22e: Pull complete [2023-06-28T20:56:09.253Z] 85791d961cd3: Pull complete [2023-06-28T20:56:09.513Z] c5a4b2cf53e6: Verifying Checksum [2023-06-28T20:56:09.513Z] c5a4b2cf53e6: Download complete [2023-06-28T20:56:09.513Z] d694b5ae8c79: Verifying Checksum [2023-06-28T20:56:09.513Z] d694b5ae8c79: Download complete [2023-06-28T20:56:09.771Z] 556b6ee489ea: Verifying Checksum [2023-06-28T20:56:09.771Z] 556b6ee489ea: Download complete [2023-06-28T20:56:13.056Z] d694b5ae8c79: Pull complete [2023-06-28T20:56:13.315Z] 9f32a84ed3da: Pull complete [2023-06-28T20:56:13.315Z] 4d19c01a9841: Pull complete [2023-06-28T20:56:13.315Z] 9325e15d5711: Pull complete [2023-06-28T20:56:15.845Z] 556b6ee489ea: Pull complete [2023-06-28T20:56:16.782Z] c5a4b2cf53e6: Pull complete [2023-06-28T20:56:16.782Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-28T20:56:16.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-28T20:56:16.782Z] ---> c4be618373d6 [2023-06-28T20:56:16.782Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-28T20:56:21.028Z] ---> Running in a90ae98b7280 [2023-06-28T20:56:21.028Z] Removing intermediate container a90ae98b7280 [2023-06-28T20:56:21.028Z] ---> ca23427b15f4 [2023-06-28T20:56:21.028Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-28T20:56:21.028Z] ---> Running in 12770ec4c835 [2023-06-28T20:56:21.028Z] Removing intermediate container 12770ec4c835 [2023-06-28T20:56:21.028Z] ---> 525fa26b594b [2023-06-28T20:56:21.028Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-28T20:56:21.028Z] ---> Running in 9219408535ca [2023-06-28T20:56:21.028Z] Removing intermediate container 9219408535ca [2023-06-28T20:56:21.028Z] ---> 02c0383faaf6 [2023-06-28T20:56:21.028Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-28T20:56:21.287Z] ---> Running in 949ffabf1053 [2023-06-28T20:56:21.287Z] Removing intermediate container 949ffabf1053 [2023-06-28T20:56:21.287Z] ---> 5a8cbaad4ee7 [2023-06-28T20:56:21.287Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-28T20:56:21.287Z] ---> Running in aa8968ae9124 [2023-06-28T20:56:21.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-28T20:56:21.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-28T20:56:21.805Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-28T20:56:21.805Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-28T20:56:21.805Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-28T20:56:21.805Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-28T20:56:21.805Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-28T20:56:22.065Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-28T20:56:22.065Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-28T20:56:22.065Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-28T20:56:22.065Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-28T20:56:22.065Z] (10/14) Installing kmod-libs (30-r1) [2023-06-28T20:56:22.065Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-28T20:56:22.065Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-28T20:56:22.065Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-28T20:56:22.065Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-28T20:56:22.065Z] Executing busybox-1.35.0-r29.trigger [2023-06-28T20:56:22.065Z] Executing eudev-3.2.11-r4.trigger [2023-06-28T20:56:22.065Z] OK: 272 MiB in 67 packages [2023-06-28T20:56:22.429Z] Still waiting to schedule task [2023-06-28T20:56:22.430Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-28T20:56:22.633Z] Removing intermediate container aa8968ae9124 [2023-06-28T20:56:22.633Z] ---> bde564cf2e78 [2023-06-28T20:56:22.633Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-28T20:56:22.633Z] ---> Running in b7bd658c92d4 [2023-06-28T20:56:22.633Z] Removing intermediate container b7bd658c92d4 [2023-06-28T20:56:22.633Z] ---> fc3912a0ef57 [2023-06-28T20:56:22.633Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-28T20:56:22.892Z] ---> 51339c35f4c0 [2023-06-28T20:56:22.892Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-28T20:56:22.892Z] ---> Running in 6ed9f8a6aa0f [2023-06-28T20:57:09.598Z] Removing intermediate container 6ed9f8a6aa0f [2023-06-28T20:57:09.598Z] ---> 1a61e1abc6e2 [2023-06-28T20:57:09.598Z] Step 11/13 : COPY . . [2023-06-28T20:57:09.598Z] ---> 17032155eaf7 [2023-06-28T20:57:09.598Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-28T20:57:09.598Z] ---> Running in 6afd5e306e0f [2023-06-28T20:57:09.598Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-28T20:57:09.598Z] Dload Upload Total Spent Left Speed [2023-06-28T20:57:09.598Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8069 0 --:--:-- --:--:-- --:--:-- 8045 [2023-06-28T20:57:09.598Z] Removing intermediate container 6afd5e306e0f [2023-06-28T20:57:09.598Z] ---> 715281402f90 [2023-06-28T20:57:09.598Z] Step 13/13 : RUN ${MAKE} [2023-06-28T20:57:09.598Z] ---> Running in a6c67046ebc4 [2023-06-28T20:57:09.598Z] noop [2023-06-28T20:57:09.598Z] Removing intermediate container a6c67046ebc4 [2023-06-28T20:57:09.598Z] ---> 5975d75ca650 [2023-06-28T20:57:09.598Z] Successfully built 5975d75ca650 [2023-06-28T20:57:09.598Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T20:57:09.903Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-28T20:57:09.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T20:57:09.979Z] prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container [2023-06-28T20:57:10.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-28T20:57:10.369Z] $ docker top 03bdb9fcaa3a1157385e13f1c9952086867d8a65c9bb68f34ee02e9a0919e299 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T20:57:10.711Z] + go version [2023-06-28T20:57:10.711Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-28T20:57:10.724Z] $ docker stop --time=1 03bdb9fcaa3a1157385e13f1c9952086867d8a65c9bb68f34ee02e9a0919e299 [2023-06-28T20:57:11.976Z] $ docker rm -f --volumes 03bdb9fcaa3a1157385e13f1c9952086867d8a65c9bb68f34ee02e9a0919e299 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T20:57:12.391Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-28T20:57:12.391Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T20:57:12.460Z] prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container [2023-06-28T20:57:12.494Z] $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-28T20:57:12.813Z] $ docker top aedf9c33baa27decf0bf4aa3468a4d73cdf84f8a9349b82cfd5b3b1f7f3bd740 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T20:57:13.157Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh [2023-06-28T20:57:13.454Z] + make test [2023-06-28T20:57:13.454Z] go test ./... -coverprofile=coverage.out ./... [2023-06-28T20:57:18.726Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-28T20:57:30.944Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-28T20:57:30.944Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.022s coverage: 4.1% of statements [2023-06-28T20:57:37.725Z] go vet ./... [2023-06-28T20:57:41.012Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-28T20:57:41.012Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-28T20:57:41.012Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-28T20:57:41.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-28T20:57:41.041Z] $ docker stop --time=1 aedf9c33baa27decf0bf4aa3468a4d73cdf84f8a9349b82cfd5b3b1f7f3bd740 [2023-06-28T20:57:44.678Z] $ docker rm -f --volumes aedf9c33baa27decf0bf4aa3468a4d73cdf84f8a9349b82cfd5b3b1f7f3bd740 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-28T20:57:45.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-28T20:57:45.204Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-28T20:57:45.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-28T20:57:46.021Z] + ls -al . [2023-06-28T20:57:46.021Z] total 200 [2023-06-28T20:57:46.021Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 20:57 . [2023-06-28T20:57:46.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:55 .. [2023-06-28T20:57:46.021Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 20:56 .git [2023-06-28T20:57:46.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:55 .github [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 28 20:55 .gitignore [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 45 Jun 28 20:55 .golangci.yml [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 28 20:55 .hadolint.yml [2023-06-28T20:57:46.021Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 20:56 .semver [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jun 28 20:55 Attribution.txt [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jun 28 20:55 CHANGELOG.md [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jun 28 20:55 Dockerfile [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 28 20:55 GOVERNANCE.md [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 28 20:55 Jenkinsfile [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 20:55 LICENSE [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jun 28 20:55 Makefile [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 28 20:55 OWNERS.md [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jun 28 20:55 README.md [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 20:56 VERSION [2023-06-28T20:57:46.021Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:55 bin [2023-06-28T20:57:46.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:55 cmd [2023-06-28T20:57:46.021Z] -rw-r--r-- 1 jenkins jenkins 37272 Jun 28 20:57 coverage.out [2023-06-28T20:57:46.021Z] -rwxrwxr-x 1 jenkins jenkins 140 Jun 28 20:55 docker-entrypoint.sh [2023-06-28T20:57:46.021Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:55 docs [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jun 28 20:55 go.mod [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jun 28 20:55 go.sum [2023-06-28T20:57:46.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:55 internal [2023-06-28T20:57:46.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:55 snap [2023-06-28T20:57:46.021Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 28 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T20:57:46.332Z] + 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=473ff219b026b6d71cd1b6f680fc2769aaac1390 --label arch=amd64 --label version=0.0.0 . [2023-06-28T20:57:46.332Z] Sending build context to Docker daemon 2.066MB [2023-06-28T20:57:46.332Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-06-28T20:57:46.332Z] Step 2/36 : FROM ${BASE} AS builder [2023-06-28T20:57:46.332Z] ---> 5975d75ca650 [2023-06-28T20:57:46.332Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-06-28T20:57:46.593Z] ---> Running in 8d9fb9feaf29 [2023-06-28T20:57:46.593Z] Removing intermediate container 8d9fb9feaf29 [2023-06-28T20:57:46.593Z] ---> 967de8331279 [2023-06-28T20:57:46.593Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-28T20:57:46.593Z] ---> Running in fcff43098b47 [2023-06-28T20:57:46.593Z] Removing intermediate container fcff43098b47 [2023-06-28T20:57:46.593Z] ---> d221396dee02 [2023-06-28T20:57:46.593Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-28T20:57:46.593Z] ---> Running in 08f4da7c6be4 [2023-06-28T20:57:46.854Z] Removing intermediate container 08f4da7c6be4 [2023-06-28T20:57:46.854Z] ---> 1b35de47c129 [2023-06-28T20:57:46.854Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-28T20:57:46.854Z] ---> Running in eb4201290ecf [2023-06-28T20:57:46.854Z] Removing intermediate container eb4201290ecf [2023-06-28T20:57:46.854Z] ---> 78932244b8a7 [2023-06-28T20:57:46.854Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-28T20:57:46.854Z] ---> Running in e8fc2cefa535 [2023-06-28T20:57:47.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-28T20:57:47.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-28T20:57:47.633Z] OK: 272 MiB in 67 packages [2023-06-28T20:57:47.892Z] Removing intermediate container e8fc2cefa535 [2023-06-28T20:57:47.892Z] ---> de673b4365ad [2023-06-28T20:57:47.892Z] Step 8/36 : WORKDIR /device-usb-camera [2023-06-28T20:57:48.151Z] ---> Running in 8d05d9c41fb8 [2023-06-28T20:57:48.151Z] Removing intermediate container 8d05d9c41fb8 [2023-06-28T20:57:48.151Z] ---> 463140fac5a9 [2023-06-28T20:57:48.151Z] Step 9/36 : COPY go.mod vendor* ./ [2023-06-28T20:57:48.151Z] ---> 4dbbb9f48c0b [2023-06-28T20:57:48.151Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-28T20:57:48.151Z] ---> Running in 23b414fe60f0 [2023-06-28T20:57:49.085Z] Removing intermediate container 23b414fe60f0 [2023-06-28T20:57:49.085Z] ---> 0fed3c0c9f27 [2023-06-28T20:57:49.085Z] Step 11/36 : COPY . . [2023-06-28T20:57:49.343Z] ---> b69cfcf173eb [2023-06-28T20:57:49.343Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-28T20:57:49.343Z] ---> Running in 2ed42632ddfe [2023-06-28T20:57:49.603Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-28T20:57:49.604Z] Dload Upload Total Spent Left Speed [2023-06-28T20:57:49.604Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20495 0 --:--:-- --:--:-- --:--:-- 20823 [2023-06-28T20:57:49.865Z] Removing intermediate container 2ed42632ddfe [2023-06-28T20:57:49.865Z] ---> f3ec4ca9f766 [2023-06-28T20:57:49.865Z] Step 13/36 : RUN ${MAKE} [2023-06-28T20:57:50.055Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-138 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws [2023-06-28T20:57:50.069Z] Running in /w/workspace/device-usb-camera/17 [Pipeline] { [Pipeline] checkout [2023-06-28T20:57:50.105Z] Selected Git installation does not exist. Using Default [2023-06-28T20:57:50.105Z] The recommended git tool is: NONE [2023-06-28T20:57:50.125Z] ---> Running in 77aa8e33705c [2023-06-28T20:57:50.385Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-06-28T20:57:55.016Z] using credential edgex-jenkins-ssh [2023-06-28T20:57:55.032Z] Cloning the remote Git repository [2023-06-28T20:57:55.080Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-06-28T20:57:55.178Z] > git init /w/workspace/device-usb-camera/17 # timeout=10 [2023-06-28T20:57:55.306Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-28T20:57:55.307Z] > git --version # timeout=10 [2023-06-28T20:57:55.326Z] > git --version # 'git version 2.25.1' [2023-06-28T20:57:55.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-28T20:57:55.465Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-28T20:57:57.227Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-28T20:57:57.246Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-28T20:57:58.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-28T20:57:58.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-28T20:57:58.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-28T20:57:58.110Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-28T20:58:00.915Z] Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit 473ff219b026b6d71cd1b6f680fc2769aaac1390 [2023-06-28T20:58:01.201Z] Merge succeeded, producing 473ff219b026b6d71cd1b6f680fc2769aaac1390 [2023-06-28T20:58:01.201Z] Checking out Revision 473ff219b026b6d71cd1b6f680fc2769aaac1390 (PR-262) [2023-06-28T20:58:01.615Z] Commit message: "feat: addressed more code review comments" [2023-06-28T20:58:00.934Z] > git config core.sparsecheckout # timeout=10 [2023-06-28T20:58:01.004Z] > git checkout -f 473ff219b026b6d71cd1b6f680fc2769aaac1390 # timeout=10 [2023-06-28T20:58:01.094Z] > git remote # timeout=10 [2023-06-28T20:58:01.115Z] > git config --get remote.origin.url # timeout=10 [2023-06-28T20:58:01.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-28T20:58:01.157Z] > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 [2023-06-28T20:58:01.183Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-28T20:58:01.207Z] > git config core.sparsecheckout # timeout=10 [2023-06-28T20:58:01.220Z] > git checkout -f 473ff219b026b6d71cd1b6f680fc2769aaac1390 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-28T20:58:02.598Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-28T20:58:02.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-28T20:58:02.598Z] Dload Upload Total Spent Left Speed [2023-06-28T20:58:02.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-06-28T20:58:03.163Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-28T20:58:03.490Z] + sudo tee /etc/docker/daemon.new [2023-06-28T20:58:03.490Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-28T20:58:03.490Z] { [2023-06-28T20:58:03.490Z] "registry-mirrors": [ [2023-06-28T20:58:03.490Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-28T20:58:03.490Z] ], [2023-06-28T20:58:03.490Z] "bip": "10.250.0.254/24", [2023-06-28T20:58:03.490Z] "hosts": [ [2023-06-28T20:58:03.490Z] "tcp://0.0.0.0:5555", [2023-06-28T20:58:03.490Z] "unix:///var/run/docker.sock" [2023-06-28T20:58:03.490Z] ], [2023-06-28T20:58:03.490Z] "mtu": 1458, [2023-06-28T20:58:03.490Z] "selinux-enabled": true, [2023-06-28T20:58:03.490Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-28T20:58:03.490Z] } [Pipeline] sh [2023-06-28T20:58:03.806Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-28T20:58:04.127Z] + sudo service docker restart [2023-06-28T20:58:12.319Z] Removing intermediate container 77aa8e33705c [2023-06-28T20:58:12.319Z] ---> a6a5568a43ef [2023-06-28T20:58:12.319Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-06-28T20:58:12.577Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-06-28T20:58:12.838Z] 4acc49c71d14: Pulling fs layer [2023-06-28T20:58:13.098Z] 4acc49c71d14: Verifying Checksum [2023-06-28T20:58:13.098Z] 4acc49c71d14: Download complete [2023-06-28T20:58:13.357Z] 4acc49c71d14: Pull complete [2023-06-28T20:58:13.357Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-06-28T20:58:13.357Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-06-28T20:58:13.357Z] ---> 01a2bd3e5fff [2023-06-28T20:58:13.357Z] Step 15/36 : FROM alpine:3.17 [2023-06-28T20:58:13.615Z] 3.17: Pulling from library/alpine [2023-06-28T20:58:13.874Z] 4db1b89c0bd1: Pulling fs layer [2023-06-28T20:58:13.874Z] 4db1b89c0bd1: Verifying Checksum [2023-06-28T20:58:13.874Z] 4db1b89c0bd1: Download complete [2023-06-28T20:58:14.133Z] 4db1b89c0bd1: Pull complete [2023-06-28T20:58:14.133Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-06-28T20:58:14.133Z] Status: Downloaded newer image for alpine:3.17 [2023-06-28T20:58:14.133Z] ---> 1f73a9d63274 [2023-06-28T20:58:14.133Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-28T20:58:14.393Z] ---> Running in fd8c18f3b43e [2023-06-28T20:58:14.651Z] Removing intermediate container fd8c18f3b43e [2023-06-28T20:58:14.651Z] ---> d7373458cf5d [2023-06-28T20:58:14.651Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-06-28T20:58:14.651Z] ---> Running in 1ca3cbf2cb8c [2023-06-28T20:58:14.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-28T20:58:15.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-28T20:58:15.426Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-06-28T20:58:15.426Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-06-28T20:58:15.426Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-06-28T20:58:15.426Z] (4/86) Installing libxau (1.0.10-r0) [2023-06-28T20:58:15.426Z] (5/86) Installing libmd (1.0.4-r0) [2023-06-28T20:58:15.426Z] (6/86) Installing libbsd (0.11.7-r0) [2023-06-28T20:58:15.426Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-06-28T20:58:15.426Z] (8/86) Installing libxcb (1.15-r0) [2023-06-28T20:58:15.426Z] (9/86) Installing libx11 (1.8.4-r1) [2023-06-28T20:58:15.426Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-06-28T20:58:15.686Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-06-28T20:58:15.686Z] (12/86) Installing libexpat (2.5.0-r0) [2023-06-28T20:58:15.686Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-06-28T20:58:15.686Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-06-28T20:58:15.686Z] (15/86) Installing libpng (1.6.38-r0) [2023-06-28T20:58:15.686Z] (16/86) Installing freetype (2.12.1-r0) [2023-06-28T20:58:15.686Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-06-28T20:58:15.686Z] (18/86) Installing fribidi (1.0.12-r0) [2023-06-28T20:58:15.686Z] (19/86) Installing libffi (3.4.4-r0) [2023-06-28T20:58:15.686Z] (20/86) Installing libintl (0.21.1-r1) [2023-06-28T20:58:15.686Z] (21/86) Installing libblkid (2.38.1-r1) [2023-06-28T20:58:15.686Z] (22/86) Installing libmount (2.38.1-r1) [2023-06-28T20:58:15.686Z] (23/86) Installing pcre2 (10.42-r0) [2023-06-28T20:58:15.686Z] (24/86) Installing glib (2.74.7-r0) [2023-06-28T20:58:15.686Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-06-28T20:58:15.686Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-06-28T20:58:15.686Z] (27/86) Installing libass (0.16.0-r1) [2023-06-28T20:58:15.686Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-06-28T20:58:15.686Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-06-28T20:58:15.686Z] (30/86) Installing libpciaccess (0.17-r0) [2023-06-28T20:58:15.686Z] (31/86) Installing libdrm (2.4.114-r0) [2023-06-28T20:58:15.686Z] (32/86) Installing gmp (6.2.1-r2) [2023-06-28T20:58:15.686Z] (33/86) Installing nettle (3.8.1-r0) [2023-06-28T20:58:15.945Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-06-28T20:58:15.945Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-06-28T20:58:15.945Z] (36/86) Installing libunistring (1.1-r0) [2023-06-28T20:58:15.945Z] (37/86) Installing gnutls (3.7.8-r3) [2023-06-28T20:58:15.945Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-06-28T20:58:15.945Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-06-28T20:58:15.945Z] (40/86) Installing lame (3.100-r2) [2023-06-28T20:58:15.945Z] (41/86) Installing opus (1.3.1-r1) [2023-06-28T20:58:15.945Z] (42/86) Installing libasyncns (0.8-r1) [2023-06-28T20:58:15.945Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-06-28T20:58:15.945Z] (44/86) Installing libltdl (2.4.7-r1) [2023-06-28T20:58:15.945Z] (45/86) Installing orc (0.4.33-r0) [2023-06-28T20:58:15.945Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-06-28T20:58:15.945Z] (47/86) Installing libogg (1.3.5-r2) [2023-06-28T20:58:15.945Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-06-28T20:58:15.945Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-06-28T20:58:15.945Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-06-28T20:58:15.945Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-06-28T20:58:15.945Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-06-28T20:58:15.945Z] (53/86) Installing soxr (0.1.3-r3) [2023-06-28T20:58:15.945Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-06-28T20:58:15.945Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-06-28T20:58:15.945Z] (56/86) Installing libpulse (16.1-r6) [2023-06-28T20:58:16.204Z] (57/86) Installing cjson (1.7.15-r3) [2023-06-28T20:58:16.204Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-06-28T20:58:16.204Z] (59/86) Installing librist (0.2.7-r0) [2023-06-28T20:58:16.204Z] (60/86) Installing libsrt (1.5.1-r0) [2023-06-28T20:58:16.204Z] (61/86) Installing libssh (0.10.5-r0) [2023-06-28T20:58:16.204Z] (62/86) Installing libtheora (1.1.1-r16) [2023-06-28T20:58:16.204Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-06-28T20:58:16.204Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-06-28T20:58:16.204Z] (65/86) Installing libxext (1.3.5-r0) [2023-06-28T20:58:16.204Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-06-28T20:58:16.204Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-06-28T20:58:16.204Z] (68/86) Installing libva (2.16.0-r0) [2023-06-28T20:58:16.204Z] (69/86) Installing libvdpau (1.5-r0) [2023-06-28T20:58:16.204Z] (70/86) Installing vidstab (1.1.0-r2) [2023-06-28T20:58:16.204Z] (71/86) Installing libvpx (1.12.0-r1) [2023-06-28T20:58:16.204Z] (72/86) Installing libwebp (1.2.4-r2) [2023-06-28T20:58:16.204Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-06-28T20:58:16.204Z] (74/86) Installing numactl (2.0.16-r1) [2023-06-28T20:58:16.204Z] (75/86) Installing x265-libs (3.5-r3) [2023-06-28T20:58:16.204Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-06-28T20:58:16.462Z] (77/86) Installing libsodium (1.0.18-r2) [2023-06-28T20:58:16.462Z] (78/86) Installing libzmq (4.3.4-r1) [2023-06-28T20:58:16.462Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-06-28T20:58:16.462Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-06-28T20:58:16.462Z] (81/86) Installing udev-init-scripts (35-r1) [2023-06-28T20:58:16.462Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-06-28T20:58:16.462Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-06-28T20:58:16.462Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-06-28T20:58:16.462Z] (85/86) Installing kmod-libs (30-r1) [2023-06-28T20:58:16.462Z] (86/86) Installing eudev (3.2.11-r4) [2023-06-28T20:58:16.462Z] Executing busybox-1.35.0-r29.trigger [2023-06-28T20:58:16.462Z] Executing eudev-3.2.11-r4.trigger [2023-06-28T20:58:16.462Z] OK: 112 MiB in 101 packages [2023-06-28T20:58:19.033Z] Removing intermediate container 1ca3cbf2cb8c [2023-06-28T20:58:19.033Z] ---> 77d2e718a0c4 [2023-06-28T20:58:19.033Z] Step 18/36 : WORKDIR / [2023-06-28T20:58:19.033Z] ---> Running in 25d999f191db [2023-06-28T20:58:19.033Z] Removing intermediate container 25d999f191db [2023-06-28T20:58:19.033Z] ---> 95616ff97d87 [2023-06-28T20:58:19.033Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-06-28T20:58:19.969Z] ---> 32e3d5c25278 [2023-06-28T20:58:19.969Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-06-28T20:58:19.969Z] ---> 43e47f08cb10 [2023-06-28T20:58:19.969Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-06-28T20:58:19.969Z] ---> dc4247012818 [2023-06-28T20:58:19.969Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-06-28T20:58:19.969Z] ---> 4a142f11ed58 [2023-06-28T20:58:19.969Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-06-28T20:58:20.228Z] ---> aff895e12553 [2023-06-28T20:58:20.228Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-06-28T20:58:20.228Z] ---> e4e2a13609b2 [2023-06-28T20:58:20.228Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-06-28T20:58:21.166Z] ---> 497494563a06 [2023-06-28T20:58:21.166Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-06-28T20:58:21.166Z] ---> Running in 72c7f3a3a6b0 [2023-06-28T20:58:21.734Z] Removing intermediate container 72c7f3a3a6b0 [2023-06-28T20:58:21.734Z] ---> 42c9877cad37 [2023-06-28T20:58:21.734Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-06-28T20:58:21.734Z] ---> Running in 91e95b210141 [2023-06-28T20:58:22.302Z] Removing intermediate container 91e95b210141 [2023-06-28T20:58:22.302Z] ---> 7d92741a3cfe [2023-06-28T20:58:22.302Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-06-28T20:58:22.302Z] ---> Running in 88ed2a4b44d1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-28T20:58:22.364Z] provisioning config files... [2023-06-28T20:58:22.387Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/17@tmp/config2644118271413796865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T20:58:22.726Z] ---> docker-login.sh [2023-06-28T20:58:22.726Z] nexus3.edgexfoundry.org:10001 [2023-06-28T20:58:22.870Z] Removing intermediate container 88ed2a4b44d1 [2023-06-28T20:58:22.871Z] ---> e45cc1e12cf2 [2023-06-28T20:58:22.871Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-06-28T20:58:22.871Z] ---> Running in bcc5a0c354d5 [2023-06-28T20:58:22.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:58:23.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:58:23.267Z] Configure a credential helper to remove this warning. See [2023-06-28T20:58:23.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:58:23.267Z] [2023-06-28T20:58:23.267Z] Login Succeeded [2023-06-28T20:58:23.267Z] nexus3.edgexfoundry.org:10002 [2023-06-28T20:58:23.438Z] Removing intermediate container bcc5a0c354d5 [2023-06-28T20:58:23.438Z] ---> 7efff9b05b02 [2023-06-28T20:58:23.438Z] Step 30/36 : EXPOSE 59983 [2023-06-28T20:58:23.438Z] ---> Running in b834d9741277 [2023-06-28T20:58:23.438Z] Removing intermediate container b834d9741277 [2023-06-28T20:58:23.438Z] ---> ea6adae73a20 [2023-06-28T20:58:23.438Z] Step 31/36 : EXPOSE 8554 [2023-06-28T20:58:23.438Z] ---> Running in 588f5bb8b0a9 [2023-06-28T20:58:23.438Z] Removing intermediate container 588f5bb8b0a9 [2023-06-28T20:58:23.438Z] ---> ddbe0ca59879 [2023-06-28T20:58:23.438Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-06-28T20:58:23.438Z] ---> Running in 9b8de2756757 [2023-06-28T20:58:23.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:58:23.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:58:23.539Z] Configure a credential helper to remove this warning. See [2023-06-28T20:58:23.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:58:23.539Z] [2023-06-28T20:58:23.539Z] Login Succeeded [2023-06-28T20:58:23.539Z] nexus3.edgexfoundry.org:10003 [2023-06-28T20:58:23.698Z] Removing intermediate container 9b8de2756757 [2023-06-28T20:58:23.698Z] ---> 7c1ee4c3ff19 [2023-06-28T20:58:23.698Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-06-28T20:58:23.698Z] ---> Running in fc0a647a55fc [2023-06-28T20:58:23.698Z] Removing intermediate container fc0a647a55fc [2023-06-28T20:58:23.698Z] ---> de4994a5fb98 [2023-06-28T20:58:23.698Z] Step 34/36 : LABEL arch=amd64 [2023-06-28T20:58:23.698Z] ---> Running in 953ae859d1e0 [2023-06-28T20:58:23.698Z] Removing intermediate container 953ae859d1e0 [2023-06-28T20:58:23.698Z] ---> dde023f39a2d [2023-06-28T20:58:23.698Z] Step 35/36 : LABEL git_sha=473ff219b026b6d71cd1b6f680fc2769aaac1390 [2023-06-28T20:58:23.698Z] ---> Running in b64d917b735a [2023-06-28T20:58:23.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:58:23.958Z] Removing intermediate container b64d917b735a [2023-06-28T20:58:23.958Z] ---> 2b0d11b8fdef [2023-06-28T20:58:23.958Z] Step 36/36 : LABEL version=0.0.0 [2023-06-28T20:58:23.958Z] ---> Running in 365e3e045462 [2023-06-28T20:58:23.958Z] Removing intermediate container 365e3e045462 [2023-06-28T20:58:23.958Z] ---> cfa6c3f0bd07 [2023-06-28T20:58:23.958Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-28T20:58:23.958Z] Successfully built cfa6c3f0bd07 [2023-06-28T20:58:23.958Z] 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] } [2023-06-28T20:58:24.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:58:24.079Z] Configure a credential helper to remove this warning. See [2023-06-28T20:58:24.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:58:24.079Z] [2023-06-28T20:58:24.079Z] Login Succeeded [2023-06-28T20:58:24.079Z] nexus3.edgexfoundry.org:10004 [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T20:58:24.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:58:24.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:58:24.348Z] Configure a credential helper to remove this warning. See [2023-06-28T20:58:24.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:58:24.348Z] [2023-06-28T20:58:24.348Z] Login Succeeded [2023-06-28T20:58:24.348Z] docker.io [2023-06-28T20:58:24.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-28T20:58:24.410Z] [2023-06-28T20:58:24.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T20:58:24.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T20:58:24.714Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-28T20:58:24.714Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-28T20:58:24.714Z] 5eb5b503b376: Pulling fs layer [2023-06-28T20:58:24.714Z] 5c69ac0246d0: Pulling fs layer [2023-06-28T20:58:24.714Z] ec43610c2a17: Pulling fs layer [2023-06-28T20:58:24.714Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-28T20:58:24.714Z] 33b1e0a273af: Pulling fs layer [2023-06-28T20:58:24.714Z] 5d3b04190fa2: Pulling fs layer [2023-06-28T20:58:24.714Z] 2f39f015ded8: Pulling fs layer [2023-06-28T20:58:24.714Z] 3a2ae6a8a46f: Waiting [2023-06-28T20:58:24.714Z] 33b1e0a273af: Waiting [2023-06-28T20:58:24.714Z] 2f39f015ded8: Waiting [2023-06-28T20:58:24.714Z] 5d3b04190fa2: Waiting [2023-06-28T20:58:24.714Z] 5c69ac0246d0: Verifying Checksum [2023-06-28T20:58:24.714Z] 5c69ac0246d0: Download complete [2023-06-28T20:58:24.714Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-28T20:58:24.714Z] 3a2ae6a8a46f: Download complete [2023-06-28T20:58:24.714Z] 33b1e0a273af: Verifying Checksum [2023-06-28T20:58:24.714Z] 33b1e0a273af: Download complete [2023-06-28T20:58:24.714Z] 5d3b04190fa2: Verifying Checksum [2023-06-28T20:58:24.714Z] 5d3b04190fa2: Download complete [2023-06-28T20:58:24.714Z] ec43610c2a17: Download complete [2023-06-28T20:58:24.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T20:58:24.886Z] Configure a credential helper to remove this warning. See [2023-06-28T20:58:24.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T20:58:24.886Z] [2023-06-28T20:58:24.886Z] Login Succeeded [2023-06-28T20:58:24.886Z] ---> docker-login.sh ends [Pipeline] } [2023-06-28T20:58:24.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-06-28T20:58:24.973Z] 5eb5b503b376: Download complete [Pipeline] echo [2023-06-28T20:58:25.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-28T20:58:25.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-28T20:58:25.161Z] ========================================================= [2023-06-28T20:58:25.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-28T20:58:25.161Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T20:58:25.491Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-28T20:58:25.541Z] 2f39f015ded8: Download complete [2023-06-28T20:58:25.759Z] Sending build context to Docker daemon 1.229MB [2023-06-28T20:58:25.759Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-28T20:58:25.759Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-28T20:58:26.478Z] 5eb5b503b376: Pull complete [2023-06-28T20:58:26.478Z] 5c69ac0246d0: Pull complete [2023-06-28T20:58:26.737Z] ec43610c2a17: Pull complete [2023-06-28T20:58:26.996Z] 3a2ae6a8a46f: Pull complete [2023-06-28T20:58:27.254Z] 33b1e0a273af: Pull complete [2023-06-28T20:58:27.254Z] 5d3b04190fa2: Pull complete [2023-06-28T20:58:28.345Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-28T20:58:28.345Z] c41833b44d91: Pulling fs layer [2023-06-28T20:58:28.345Z] ed15518f5707: Pulling fs layer [2023-06-28T20:58:28.345Z] feae8fd75edb: Pulling fs layer [2023-06-28T20:58:28.345Z] 242c74f7c9fa: Pulling fs layer [2023-06-28T20:58:28.345Z] 3cdef696dda3: Pulling fs layer [2023-06-28T20:58:28.345Z] 2ced38df9373: Pulling fs layer [2023-06-28T20:58:28.345Z] 58f1dce35555: Pulling fs layer [2023-06-28T20:58:28.345Z] 3cdef696dda3: Waiting [2023-06-28T20:58:28.345Z] 2ced38df9373: Waiting [2023-06-28T20:58:28.345Z] 58f1dce35555: Waiting [2023-06-28T20:58:28.345Z] 242c74f7c9fa: Waiting [2023-06-28T20:58:28.345Z] ed15518f5707: Verifying Checksum [2023-06-28T20:58:28.345Z] ed15518f5707: Download complete [2023-06-28T20:58:28.345Z] 242c74f7c9fa: Verifying Checksum [2023-06-28T20:58:28.345Z] 242c74f7c9fa: Download complete [2023-06-28T20:58:28.345Z] 3cdef696dda3: Verifying Checksum [2023-06-28T20:58:28.345Z] 3cdef696dda3: Download complete [2023-06-28T20:58:28.345Z] c41833b44d91: Verifying Checksum [2023-06-28T20:58:28.345Z] c41833b44d91: Download complete [2023-06-28T20:58:29.331Z] c41833b44d91: Pull complete [2023-06-28T20:58:29.599Z] 58f1dce35555: Verifying Checksum [2023-06-28T20:58:29.599Z] 58f1dce35555: Download complete [2023-06-28T20:58:30.309Z] ed15518f5707: Pull complete [2023-06-28T20:58:30.613Z] feae8fd75edb: Verifying Checksum [2023-06-28T20:58:30.613Z] feae8fd75edb: Download complete [2023-06-28T20:58:30.895Z] 2ced38df9373: Verifying Checksum [2023-06-28T20:58:30.895Z] 2ced38df9373: Download complete [2023-06-28T20:58:32.526Z] 2f39f015ded8: Pull complete [2023-06-28T20:58:32.526Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-28T20:58:32.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-28T20:58:32.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T20:58:32.618Z] prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container [2023-06-28T20:58:32.652Z] $ 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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-28T20:58:35.612Z] $ docker top c3f2327f276be906dbc8800da7addc2c5fdba5aeab5f924f294ab5ab003ce8e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T20:58:36.016Z] ---> job-cost.sh [2023-06-28T20:58:36.016Z] lf-activate-venv: SKIPPING [2023-06-28T20:58:36.016Z] INFO: No Stack... [2023-06-28T20:58:36.275Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-28T20:58:36.846Z] INFO: Archiving Costs [Pipeline] sh [2023-06-28T20:58:37.140Z] + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv [2023-06-28T20:58:37.140Z] + cut -d, -f6 [Pipeline] lock [2023-06-28T20:58:37.154Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [2023-06-28T20:58:37.160Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] did not exist. Created. [2023-06-28T20:58:37.160Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-28T20:58:37.464Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-28T20:58:37.498Z] Stashed 1 file(s) [Pipeline] } [2023-06-28T20:58:37.505Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-28T20:58:37.529Z] $ docker stop --time=1 c3f2327f276be906dbc8800da7addc2c5fdba5aeab5f924f294ab5ab003ce8e5 [2023-06-28T20:58:38.689Z] $ docker rm -f --volumes c3f2327f276be906dbc8800da7addc2c5fdba5aeab5f924f294ab5ab003ce8e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-28T20:58:43.239Z] feae8fd75edb: Pull complete [2023-06-28T20:58:43.239Z] 242c74f7c9fa: Pull complete [2023-06-28T20:58:43.239Z] 3cdef696dda3: Pull complete [2023-06-28T20:58:48.592Z] 2ced38df9373: Pull complete [2023-06-28T20:58:51.184Z] 58f1dce35555: Pull complete [2023-06-28T20:58:51.184Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-28T20:58:51.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-28T20:58:51.184Z] ---> fadd8f120f05 [2023-06-28T20:58:51.184Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-28T20:58:52.605Z] ---> Running in ea515f1c04da [2023-06-28T20:58:52.871Z] Removing intermediate container ea515f1c04da [2023-06-28T20:58:52.871Z] ---> 0f13d25fb02e [2023-06-28T20:58:52.871Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-28T20:58:53.141Z] ---> Running in 0c2913be4ef9 [2023-06-28T20:58:53.410Z] Removing intermediate container 0c2913be4ef9 [2023-06-28T20:58:53.410Z] ---> 05d7c0e35b1e [2023-06-28T20:58:53.410Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-28T20:58:53.410Z] ---> Running in f9e5f56812f4 [2023-06-28T20:58:53.677Z] Removing intermediate container f9e5f56812f4 [2023-06-28T20:58:53.677Z] ---> dce68dd1fc04 [2023-06-28T20:58:53.677Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-28T20:58:53.677Z] ---> Running in c48af91f3ad7 [2023-06-28T20:58:53.946Z] Removing intermediate container c48af91f3ad7 [2023-06-28T20:58:53.946Z] ---> 809946cdae38 [2023-06-28T20:58:53.946Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-28T20:58:54.223Z] ---> Running in e314933ccdfe [2023-06-28T20:58:55.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-28T20:58:55.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-28T20:58:56.730Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-28T20:58:56.730Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-28T20:58:56.730Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-28T20:58:56.730Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-28T20:58:56.730Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-28T20:58:56.996Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-28T20:58:56.996Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-28T20:58:56.996Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-28T20:58:56.996Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-28T20:58:56.996Z] (10/14) Installing kmod-libs (30-r1) [2023-06-28T20:58:56.996Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-28T20:58:56.996Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-28T20:58:56.996Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-28T20:58:56.996Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-28T20:58:57.260Z] Executing busybox-1.35.0-r29.trigger [2023-06-28T20:58:57.260Z] Executing eudev-3.2.11-r4.trigger [2023-06-28T20:58:57.260Z] OK: 271 MiB in 67 packages [2023-06-28T20:58:58.223Z] Removing intermediate container e314933ccdfe [2023-06-28T20:58:58.223Z] ---> eee451b63e96 [2023-06-28T20:58:58.223Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-28T20:58:58.223Z] ---> Running in 4f1b014cefee [2023-06-28T20:58:58.488Z] Removing intermediate container 4f1b014cefee [2023-06-28T20:58:58.488Z] ---> 6c5f5f4898f5 [2023-06-28T20:58:58.488Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-28T20:58:59.070Z] ---> f26d7e3968f3 [2023-06-28T20:58:59.070Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-28T20:58:59.070Z] ---> Running in d527195c205e [2023-06-28T21:00:06.940Z] Removing intermediate container d527195c205e [2023-06-28T21:00:06.940Z] ---> 343befc972a4 [2023-06-28T21:00:06.940Z] Step 11/13 : COPY . . [2023-06-28T21:00:06.940Z] ---> 18b080d71dbf [2023-06-28T21:00:06.940Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-28T21:00:06.940Z] ---> Running in ec7b670f7e12 [2023-06-28T21:00:06.940Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-28T21:00:06.940Z]  Dload Upload Total  Spent Left Speed [2023-06-28T21:00:06.940Z] 0  0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4314 0 --:--:-- --:--:-- --:--:-- 4317 [2023-06-28T21:00:06.940Z] Removing intermediate container ec7b670f7e12 [2023-06-28T21:00:06.940Z] ---> e858008e7086 [2023-06-28T21:00:06.940Z] Step 13/13 : RUN ${MAKE} [2023-06-28T21:00:06.940Z] ---> Running in c331d532eb8e [2023-06-28T21:00:06.940Z] noop [2023-06-28T21:00:06.940Z] Removing intermediate container c331d532eb8e [2023-06-28T21:00:06.940Z] ---> 10954c8c97bf [2023-06-28T21:00:06.940Z] Successfully built 10954c8c97bf [2023-06-28T21:00:06.940Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T21:00:07.289Z] + docker inspect -f . ci-base-image-arm64 [2023-06-28T21:00:07.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T21:00:07.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-138 does not seem to be running inside a container [2023-06-28T21:00:07.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/17 -v /w/workspace/device-usb-camera/17:/w/workspace/device-usb-camera/17:rw,z -v /w/workspace/device-usb-camera/17@tmp:/w/workspace/device-usb-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-28T21:00:08.667Z] $ docker top a7da9cb74fc42936e8f063250627235fb1b6324339da193b92053accd9602bff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T21:00:09.485Z] + go version [2023-06-28T21:00:09.485Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-28T21:00:09.506Z] $ docker stop --time=1 a7da9cb74fc42936e8f063250627235fb1b6324339da193b92053accd9602bff [2023-06-28T21:00:11.114Z] $ docker rm -f --volumes a7da9cb74fc42936e8f063250627235fb1b6324339da193b92053accd9602bff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T21:00:11.644Z] + docker inspect -f . ci-base-image-arm64 [2023-06-28T21:00:11.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T21:00:11.812Z] prd-ubuntu20.04-docker-arm64-4c-16g-138 does not seem to be running inside a container [2023-06-28T21:00:11.872Z] $ 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/17 -v /w/workspace/device-usb-camera/17:/w/workspace/device-usb-camera/17:rw,z -v /w/workspace/device-usb-camera/17@tmp:/w/workspace/device-usb-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-28T21:00:13.010Z] $ docker top 0108b808a0f9b679e30fdf813ff38e3c96d2a04913dec2c8239da8a51f879107 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T21:00:13.825Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/17 [Pipeline] fileExists [Pipeline] sh [2023-06-28T21:00:14.151Z] + make test [2023-06-28T21:00:14.151Z] go test ./... -coverprofile=coverage.out ./... [2023-06-28T21:00:46.378Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-28T21:02:38.054Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-28T21:02:44.716Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 4.1% of statements [2023-06-28T21:02:44.716Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-28T21:02:44.716Z] go vet ./... [2023-06-28T21:03:16.948Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-28T21:03:16.948Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-28T21:03:16.948Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-28T21:03:16.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-28T21:03:16.984Z] $ docker stop --time=1 0108b808a0f9b679e30fdf813ff38e3c96d2a04913dec2c8239da8a51f879107 [2023-06-28T21:03:19.104Z] $ docker rm -f --volumes 0108b808a0f9b679e30fdf813ff38e3c96d2a04913dec2c8239da8a51f879107 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-28T21:03:20.329Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-28T21:03:20.351Z] Warning: overwriting stash ‘coverage-report’ [2023-06-28T21:03:20.856Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-28T21:03:21.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-28T21:03:21.568Z] + ls -al . [2023-06-28T21:03:21.568Z] total 196 [2023-06-28T21:03:21.568Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 21:00 . [2023-06-28T21:03:21.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:57 .. [2023-06-28T21:03:21.568Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 20:58 .git [2023-06-28T21:03:21.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:58 .github [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 28 20:58 .gitignore [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 45 Jun 28 20:58 .golangci.yml [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 28 20:58 .hadolint.yml [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 9783 Jun 28 20:58 Attribution.txt [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jun 28 20:58 CHANGELOG.md [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jun 28 20:58 Dockerfile [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 28 20:58 GOVERNANCE.md [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 28 20:58 Jenkinsfile [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 20:58 LICENSE [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jun 28 20:58 Makefile [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 28 20:58 OWNERS.md [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jun 28 20:58 README.md [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 20:56 VERSION [2023-06-28T21:03:21.568Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:58 bin [2023-06-28T21:03:21.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:58 cmd [2023-06-28T21:03:21.568Z] -rw-r--r-- 1 jenkins jenkins 37272 Jun 28 21:02 coverage.out [2023-06-28T21:03:21.568Z] -rwxrwxr-x 1 jenkins jenkins 140 Jun 28 20:58 docker-entrypoint.sh [2023-06-28T21:03:21.568Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 20:58 docs [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 3416 Jun 28 20:58 go.mod [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jun 28 20:58 go.sum [2023-06-28T21:03:21.568Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 20:58 internal [2023-06-28T21:03:21.568Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 20:58 snap [2023-06-28T21:03:21.568Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 28 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T21:03:21.901Z] + 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=473ff219b026b6d71cd1b6f680fc2769aaac1390 --label arch=arm64 --label version=0.0.0 . [2023-06-28T21:03:22.877Z] Sending build context to Docker daemon 1.267MB [2023-06-28T21:03:22.877Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-06-28T21:03:22.877Z] Step 2/36 : FROM ${BASE} AS builder [2023-06-28T21:03:22.877Z] ---> 10954c8c97bf [2023-06-28T21:03:22.877Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-06-28T21:03:24.845Z] ---> Running in 2700690ef61d [2023-06-28T21:03:24.845Z] Removing intermediate container 2700690ef61d [2023-06-28T21:03:24.845Z] ---> 138c9cd1e8f7 [2023-06-28T21:03:24.845Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-28T21:03:24.845Z] ---> Running in 75b065cc57d8 [2023-06-28T21:03:25.114Z] Removing intermediate container 75b065cc57d8 [2023-06-28T21:03:25.114Z] ---> 25a0443e09a0 [2023-06-28T21:03:25.114Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-28T21:03:25.384Z] ---> Running in 31755c63ea1e [2023-06-28T21:03:25.655Z] Removing intermediate container 31755c63ea1e [2023-06-28T21:03:25.655Z] ---> ba01cbdbfc26 [2023-06-28T21:03:25.655Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-28T21:03:25.655Z] ---> Running in 9d6a771eadf2 [2023-06-28T21:03:25.929Z] Removing intermediate container 9d6a771eadf2 [2023-06-28T21:03:25.929Z] ---> d611b8fed0d2 [2023-06-28T21:03:25.929Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-28T21:03:26.197Z] ---> Running in fc459e39d209 [2023-06-28T21:03:27.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-28T21:03:27.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-28T21:03:28.703Z] OK: 271 MiB in 67 packages [2023-06-28T21:03:29.665Z] Removing intermediate container fc459e39d209 [2023-06-28T21:03:29.665Z] ---> b54a3620ddd0 [2023-06-28T21:03:29.665Z] Step 8/36 : WORKDIR /device-usb-camera [2023-06-28T21:03:29.665Z] ---> Running in a1f545113356 [2023-06-28T21:03:29.934Z] Removing intermediate container a1f545113356 [2023-06-28T21:03:29.934Z] ---> 9ff62f06a9db [2023-06-28T21:03:29.934Z] Step 9/36 : COPY go.mod vendor* ./ [2023-06-28T21:03:30.521Z] ---> 562832360d57 [2023-06-28T21:03:30.521Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-28T21:03:30.521Z] ---> Running in c79b29b5edf9 [2023-06-28T21:03:33.103Z] Removing intermediate container c79b29b5edf9 [2023-06-28T21:03:33.103Z] ---> 79db97986cc3 [2023-06-28T21:03:33.103Z] Step 11/36 : COPY . . [2023-06-28T21:03:33.687Z] ---> 8b3d92cca3eb [2023-06-28T21:03:33.687Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-28T21:03:33.687Z] ---> Running in 33c5d0fc2529 [2023-06-28T21:03:34.647Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-28T21:03:34.648Z]  Dload Upload Total Spent Left Speed [2023-06-28T21:03:34.913Z] 0 0 0  0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3168 0 --:--:-- --:--:-- --:--:-- 3170 100 1062 100  1062 0 0 3162 0 --:--:-- --:--:-- --:--:-- 3160 [2023-06-28T21:03:35.892Z] Removing intermediate container 33c5d0fc2529 [2023-06-28T21:03:35.892Z] ---> 7f71f68a3155 [2023-06-28T21:03:35.892Z] Step 13/36 : RUN ${MAKE} [2023-06-28T21:03:35.892Z] ---> Running in 4c76846c9d31 [2023-06-28T21:03:36.475Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-06-28T21:05:58.147Z] Removing intermediate container 4c76846c9d31 [2023-06-28T21:05:58.147Z] ---> a35c2e0e2648 [2023-06-28T21:05:58.147Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-06-28T21:05:58.147Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-06-28T21:05:58.147Z] 8766b47fe142: Pulling fs layer [2023-06-28T21:05:58.147Z] 8766b47fe142: Verifying Checksum [2023-06-28T21:05:58.147Z] 8766b47fe142: Download complete [2023-06-28T21:05:58.147Z] 8766b47fe142: Pull complete [2023-06-28T21:05:58.147Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-06-28T21:05:58.147Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-06-28T21:05:58.147Z] ---> 69d40e2cb93c [2023-06-28T21:05:58.147Z] Step 15/36 : FROM alpine:3.17 [2023-06-28T21:05:58.147Z] 3.17: Pulling from library/alpine [2023-06-28T21:05:58.147Z] edb6bdbacee9: Pulling fs layer [2023-06-28T21:05:58.147Z] edb6bdbacee9: Verifying Checksum [2023-06-28T21:05:58.147Z] edb6bdbacee9: Download complete [2023-06-28T21:05:58.147Z] edb6bdbacee9: Pull complete [2023-06-28T21:05:58.147Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-06-28T21:05:58.147Z] Status: Downloaded newer image for alpine:3.17 [2023-06-28T21:05:58.147Z] ---> 779605e5fbc0 [2023-06-28T21:05:58.147Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-28T21:05:58.147Z] ---> Running in ad3947d9a451 [2023-06-28T21:05:58.147Z] Removing intermediate container ad3947d9a451 [2023-06-28T21:05:58.147Z] ---> c01d9969622f [2023-06-28T21:05:58.147Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-06-28T21:05:58.147Z] ---> Running in ebc5d4413d99 [2023-06-28T21:05:59.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-28T21:05:59.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-28T21:06:00.645Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-06-28T21:06:00.645Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-06-28T21:06:00.645Z] (3/83) Installing libxau (1.0.10-r0) [2023-06-28T21:06:00.645Z] (4/83) Installing libmd (1.0.4-r0) [2023-06-28T21:06:00.645Z] (5/83) Installing libbsd (0.11.7-r0) [2023-06-28T21:06:00.645Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-06-28T21:06:00.645Z] (7/83) Installing libxcb (1.15-r0) [2023-06-28T21:06:00.645Z] (8/83) Installing libx11 (1.8.4-r1) [2023-06-28T21:06:00.910Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-06-28T21:06:00.910Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-06-28T21:06:01.177Z] (11/83) Installing libexpat (2.5.0-r0) [2023-06-28T21:06:01.177Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-06-28T21:06:01.177Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-06-28T21:06:01.177Z] (14/83) Installing libpng (1.6.38-r0) [2023-06-28T21:06:01.177Z] (15/83) Installing freetype (2.12.1-r0) [2023-06-28T21:06:01.177Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-06-28T21:06:01.177Z] (17/83) Installing fribidi (1.0.12-r0) [2023-06-28T21:06:01.177Z] (18/83) Installing libffi (3.4.4-r0) [2023-06-28T21:06:01.177Z] (19/83) Installing libintl (0.21.1-r1) [2023-06-28T21:06:01.177Z] (20/83) Installing libblkid (2.38.1-r1) [2023-06-28T21:06:01.177Z] (21/83) Installing libmount (2.38.1-r1) [2023-06-28T21:06:01.177Z] (22/83) Installing pcre2 (10.42-r0) [2023-06-28T21:06:01.443Z] (23/83) Installing glib (2.74.7-r0) [2023-06-28T21:06:01.443Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-06-28T21:06:01.443Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-06-28T21:06:01.443Z] (26/83) Installing libass (0.16.0-r1) [2023-06-28T21:06:01.443Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-06-28T21:06:01.443Z] (28/83) Installing libdrm (2.4.114-r0) [2023-06-28T21:06:01.443Z] (29/83) Installing gmp (6.2.1-r2) [2023-06-28T21:06:01.443Z] (30/83) Installing nettle (3.8.1-r0) [2023-06-28T21:06:01.710Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-06-28T21:06:01.710Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-06-28T21:06:01.710Z] (33/83) Installing libunistring (1.1-r0) [2023-06-28T21:06:01.710Z] (34/83) Installing gnutls (3.7.8-r3) [2023-06-28T21:06:01.710Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-06-28T21:06:01.710Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-06-28T21:06:01.710Z] (37/83) Installing lame (3.100-r2) [2023-06-28T21:06:01.710Z] (38/83) Installing opus (1.3.1-r1) [2023-06-28T21:06:01.976Z] (39/83) Installing libasyncns (0.8-r1) [2023-06-28T21:06:01.976Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-06-28T21:06:01.976Z] (41/83) Installing libltdl (2.4.7-r1) [2023-06-28T21:06:01.976Z] (42/83) Installing orc (0.4.33-r0) [2023-06-28T21:06:01.976Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-06-28T21:06:01.976Z] (44/83) Installing libogg (1.3.5-r2) [2023-06-28T21:06:01.976Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-06-28T21:06:01.976Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-06-28T21:06:01.976Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-06-28T21:06:01.976Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-06-28T21:06:01.976Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-06-28T21:06:01.976Z] (50/83) Installing soxr (0.1.3-r3) [2023-06-28T21:06:01.976Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-06-28T21:06:01.976Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-06-28T21:06:01.976Z] (53/83) Installing libpulse (16.1-r6) [2023-06-28T21:06:02.242Z] (54/83) Installing cjson (1.7.15-r3) [2023-06-28T21:06:02.242Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-06-28T21:06:02.242Z] (56/83) Installing librist (0.2.7-r0) [2023-06-28T21:06:02.242Z] (57/83) Installing libsrt (1.5.1-r0) [2023-06-28T21:06:02.242Z] (58/83) Installing libssh (0.10.5-r0) [2023-06-28T21:06:02.242Z] (59/83) Installing libtheora (1.1.1-r16) [2023-06-28T21:06:02.242Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-06-28T21:06:02.242Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-06-28T21:06:02.242Z] (62/83) Installing libxext (1.3.5-r0) [2023-06-28T21:06:02.242Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-06-28T21:06:02.242Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-06-28T21:06:02.242Z] (65/83) Installing libva (2.16.0-r0) [2023-06-28T21:06:02.242Z] (66/83) Installing libvdpau (1.5-r0) [2023-06-28T21:06:02.242Z] (67/83) Installing vidstab (1.1.0-r2) [2023-06-28T21:06:02.242Z] (68/83) Installing libvpx (1.12.0-r1) [2023-06-28T21:06:02.506Z] (69/83) Installing libwebp (1.2.4-r2) [2023-06-28T21:06:02.506Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-06-28T21:06:02.506Z] (71/83) Installing numactl (2.0.16-r1) [2023-06-28T21:06:02.506Z] (72/83) Installing x265-libs (3.5-r3) [2023-06-28T21:06:02.771Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-06-28T21:06:02.771Z] (74/83) Installing libsodium (1.0.18-r2) [2023-06-28T21:06:02.771Z] (75/83) Installing libzmq (4.3.4-r1) [2023-06-28T21:06:02.771Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-06-28T21:06:03.351Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-06-28T21:06:03.351Z] (78/83) Installing udev-init-scripts (35-r1) [2023-06-28T21:06:03.351Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-06-28T21:06:03.351Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-06-28T21:06:03.351Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-06-28T21:06:03.351Z] (82/83) Installing kmod-libs (30-r1) [2023-06-28T21:06:03.351Z] (83/83) Installing eudev (3.2.11-r4) [2023-06-28T21:06:03.618Z] Executing busybox-1.35.0-r29.trigger [2023-06-28T21:06:03.618Z] Executing eudev-3.2.11-r4.trigger [2023-06-28T21:06:03.618Z] OK: 86 MiB in 98 packages [2023-06-28T21:06:08.949Z] Removing intermediate container ebc5d4413d99 [2023-06-28T21:06:08.949Z] ---> 73ebd4f5921c [2023-06-28T21:06:08.949Z] Step 18/36 : WORKDIR / [2023-06-28T21:06:08.949Z] ---> Running in d6e9703598d9 [2023-06-28T21:06:08.949Z] Removing intermediate container d6e9703598d9 [2023-06-28T21:06:08.949Z] ---> 8e96b0ee953a [2023-06-28T21:06:08.949Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-06-28T21:06:09.968Z] ---> 03d8c7c524ab [2023-06-28T21:06:09.968Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-06-28T21:06:10.244Z] ---> ea788b116355 [2023-06-28T21:06:10.244Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-06-28T21:06:10.844Z] ---> 0d3b3432c277 [2023-06-28T21:06:10.844Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-06-28T21:06:11.115Z] ---> 381fc7345996 [2023-06-28T21:06:11.115Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-06-28T21:06:11.749Z] ---> 3bb7bc5daa57 [2023-06-28T21:06:11.749Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-06-28T21:06:12.354Z] ---> 3be9097a148c [2023-06-28T21:06:12.354Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-06-28T21:06:13.794Z] ---> df5ae11fb940 [2023-06-28T21:06:13.794Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-06-28T21:06:13.794Z] ---> Running in cf9b1a81d7ae [2023-06-28T21:06:15.329Z] Removing intermediate container cf9b1a81d7ae [2023-06-28T21:06:15.329Z] ---> fc4e091c42a7 [2023-06-28T21:06:15.329Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-06-28T21:06:15.329Z] ---> Running in 2ed2cabd3c20 [2023-06-28T21:06:16.752Z] Removing intermediate container 2ed2cabd3c20 [2023-06-28T21:06:16.752Z] ---> 23889fcc5d1a [2023-06-28T21:06:16.752Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-06-28T21:06:17.021Z] ---> Running in 6633e3f17016 [2023-06-28T21:06:19.603Z] Removing intermediate container 6633e3f17016 [2023-06-28T21:06:19.603Z] ---> f4f6391d1e89 [2023-06-28T21:06:19.603Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-06-28T21:06:19.603Z] ---> Running in 827f078acb3d [2023-06-28T21:06:21.010Z] Removing intermediate container 827f078acb3d [2023-06-28T21:06:21.010Z] ---> 1dc88a6fadd8 [2023-06-28T21:06:21.010Z] Step 30/36 : EXPOSE 59983 [2023-06-28T21:06:21.010Z] ---> Running in 54dac93a0bb3 [2023-06-28T21:06:21.010Z] Removing intermediate container 54dac93a0bb3 [2023-06-28T21:06:21.010Z] ---> 422e9cf24ec9 [2023-06-28T21:06:21.010Z] Step 31/36 : EXPOSE 8554 [2023-06-28T21:06:21.296Z] ---> Running in 1d82192fb62c [2023-06-28T21:06:21.562Z] Removing intermediate container 1d82192fb62c [2023-06-28T21:06:21.562Z] ---> 1e62f9b42d4f [2023-06-28T21:06:21.562Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-06-28T21:06:21.562Z] ---> Running in 1080361668a8 [2023-06-28T21:06:21.830Z] Removing intermediate container 1080361668a8 [2023-06-28T21:06:21.830Z] ---> 5dc1c1947cb8 [2023-06-28T21:06:21.830Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-06-28T21:06:21.830Z] ---> Running in 7ba1baf5c3b2 [2023-06-28T21:06:22.098Z] Removing intermediate container 7ba1baf5c3b2 [2023-06-28T21:06:22.098Z] ---> 626312454825 [2023-06-28T21:06:22.098Z] Step 34/36 : LABEL arch=arm64 [2023-06-28T21:06:22.098Z] ---> Running in dd654da6fa71 [2023-06-28T21:06:22.370Z] Removing intermediate container dd654da6fa71 [2023-06-28T21:06:22.370Z] ---> e052cebe4e5f [2023-06-28T21:06:22.370Z] Step 35/36 : LABEL git_sha=473ff219b026b6d71cd1b6f680fc2769aaac1390 [2023-06-28T21:06:22.637Z] ---> Running in c05865e462f7 [2023-06-28T21:06:22.904Z] Removing intermediate container c05865e462f7 [2023-06-28T21:06:22.904Z] ---> 9f36fdfac082 [2023-06-28T21:06:22.904Z] Step 36/36 : LABEL version=0.0.0 [2023-06-28T21:06:22.904Z] ---> Running in d4fa63fe6015 [2023-06-28T21:06:23.168Z] Removing intermediate container d4fa63fe6015 [2023-06-28T21:06:23.168Z] ---> 4f87e9b74e4b [2023-06-28T21:06:23.168Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-28T21:06:23.168Z] Successfully built 4f87e9b74e4b [2023-06-28T21:06:23.168Z] 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-06-28T21:06:23.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-28T21:06:23.579Z] [2023-06-28T21:06:23.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T21:06:23.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-28T21:06:24.174Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-28T21:06:24.174Z] 8998bd30e6a1: Pulling fs layer [2023-06-28T21:06:24.174Z] 04944245beec: Pulling fs layer [2023-06-28T21:06:24.174Z] 699f458cf7ca: Pulling fs layer [2023-06-28T21:06:24.174Z] 765212b225bb: Pulling fs layer [2023-06-28T21:06:24.174Z] f23df028b6ca: Pulling fs layer [2023-06-28T21:06:24.174Z] d65c8cfc05b1: Pulling fs layer [2023-06-28T21:06:24.174Z] 2437ff75d9bd: Pulling fs layer [2023-06-28T21:06:24.174Z] f23df028b6ca: Waiting [2023-06-28T21:06:24.174Z] d65c8cfc05b1: Waiting [2023-06-28T21:06:24.174Z] 765212b225bb: Waiting [2023-06-28T21:06:24.174Z] 2437ff75d9bd: Waiting [2023-06-28T21:06:24.174Z] 04944245beec: Download complete [2023-06-28T21:06:24.174Z] 765212b225bb: Verifying Checksum [2023-06-28T21:06:24.174Z] 765212b225bb: Download complete [2023-06-28T21:06:24.442Z] f23df028b6ca: Verifying Checksum [2023-06-28T21:06:24.442Z] f23df028b6ca: Download complete [2023-06-28T21:06:24.442Z] d65c8cfc05b1: Verifying Checksum [2023-06-28T21:06:24.442Z] d65c8cfc05b1: Download complete [2023-06-28T21:06:24.443Z] 699f458cf7ca: Verifying Checksum [2023-06-28T21:06:24.443Z] 699f458cf7ca: Download complete [2023-06-28T21:06:25.026Z] 8998bd30e6a1: Verifying Checksum [2023-06-28T21:06:25.026Z] 8998bd30e6a1: Download complete [2023-06-28T21:06:26.969Z] 2437ff75d9bd: Verifying Checksum [2023-06-28T21:06:26.969Z] 2437ff75d9bd: Download complete [2023-06-28T21:06:28.912Z] 8998bd30e6a1: Pull complete [2023-06-28T21:06:29.176Z] 04944245beec: Pull complete [2023-06-28T21:06:30.584Z] 699f458cf7ca: Pull complete [2023-06-28T21:06:31.984Z] 765212b225bb: Pull complete [2023-06-28T21:06:32.565Z] f23df028b6ca: Pull complete [2023-06-28T21:06:32.830Z] d65c8cfc05b1: Pull complete [2023-06-28T21:06:47.808Z] 2437ff75d9bd: Pull complete [2023-06-28T21:06:47.808Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-28T21:06:47.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-28T21:06:47.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T21:06:47.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-138 does not seem to be running inside a container [2023-06-28T21:06:48.055Z] $ 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/17 -v /w/workspace/device-usb-camera/17:/w/workspace/device-usb-camera/17:rw,z -v /w/workspace/device-usb-camera/17@tmp:/w/workspace/device-usb-camera/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-28T21:06:50.516Z] $ docker top 01d1515e7688ef177abfa5e3fe44c28d84cdb5c7695d465ba1779e09e3539fc7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T21:06:51.037Z] ---> job-cost.sh [2023-06-28T21:06:51.302Z] lf-activate-venv: SKIPPING [2023-06-28T21:06:51.302Z] INFO: No Stack... [2023-06-28T21:06:51.567Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-28T21:06:52.519Z] INFO: Archiving Costs [Pipeline] sh [2023-06-28T21:06:52.838Z] + cat /w/workspace/device-usb-camera/17/archives/cost.csv [2023-06-28T21:06:52.838Z] + cut -d, -f6 [Pipeline] lock [2023-06-28T21:06:52.893Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [2023-06-28T21:06:52.901Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] did not exist. Created. [2023-06-28T21:06:52.901Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-28T21:06:53.551Z] /w/workspace/device-usb-camera/17@tmp/durable-a6b11131/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-28T21:06:53.875Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-28T21:06:53.898Z] Warning: overwriting stash ‘stack-cost’ [2023-06-28T21:06:53.954Z] Stashed 1 file(s) [Pipeline] } [2023-06-28T21:06:53.963Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-17-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-28T21:06:53.982Z] $ docker stop --time=1 01d1515e7688ef177abfa5e3fe44c28d84cdb5c7695d465ba1779e09e3539fc7 [2023-06-28T21:06:55.432Z] $ docker rm -f --volumes 01d1515e7688ef177abfa5e3fe44c28d84cdb5c7695d465ba1779e09e3539fc7 [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-06-28T21:06:55.814Z] provisioning config files... [2023-06-28T21:06:55.821Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config8106571097002679817tmp [Pipeline] { [Pipeline] sh [2023-06-28T21:06:56.115Z] + set +x [2023-06-28T21:06:56.115Z] + curl -s https://codecov.io/bash [2023-06-28T21:06:56.115Z] + bash -s -- [2023-06-28T21:06:56.115Z] [2023-06-28T21:06:56.115Z] _____ _ [2023-06-28T21:06:56.115Z] / ____| | | [2023-06-28T21:06:56.115Z] | | ___ __| | ___ ___ _____ __ [2023-06-28T21:06:56.115Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-28T21:06:56.115Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-28T21:06:56.115Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-28T21:06:56.115Z] Bash-1.0.6 [2023-06-28T21:06:56.115Z] [2023-06-28T21:06:56.115Z] [2023-06-28T21:06:56.115Z] ==> git version 2.25.1 found [2023-06-28T21:06:56.115Z] ==> 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-06-28T21:06:56.115Z] Release-Date: 2020-01-08 [2023-06-28T21:06:56.115Z] 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-06-28T21:06:56.115Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-28T21:06:56.115Z] ==> Jenkins CI detected. [2023-06-28T21:06:56.115Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-262 [2023-06-28T21:06:56.115Z] project root: . [2023-06-28T21:06:56.115Z] --> token set from env [2023-06-28T21:06:56.115Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-28T21:06:56.115Z] ==> Running gcov in . (disable via -X gcov) [2023-06-28T21:06:56.115Z] ==> Python coveragepy not found [2023-06-28T21:06:56.115Z] ==> Searching for coverage reports in: [2023-06-28T21:06:56.115Z] + . [2023-06-28T21:06:56.115Z] -> Found 1 reports [2023-06-28T21:06:56.115Z] ==> Detecting git/mercurial file structure [2023-06-28T21:06:56.115Z] ==> Reading reports [2023-06-28T21:06:56.376Z] + ./coverage.out bytes=37272 [2023-06-28T21:06:56.376Z] ==> Appending adjustments [2023-06-28T21:06:56.376Z] https://docs.codecov.io/docs/fixing-reports [2023-06-28T21:06:56.376Z] + Found adjustments [2023-06-28T21:06:56.376Z] ==> Gzipping contents [2023-06-28T21:06:56.376Z] 8.0K /tmp/codecov.t2uHfL.gz [2023-06-28T21:06:56.376Z] ==> Uploading reports [2023-06-28T21:06:56.376Z] url: https://codecov.io [2023-06-28T21:06:56.376Z] query: branch=PR-262&commit=473ff219b026b6d71cd1b6f680fc2769aaac1390&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= [2023-06-28T21:06:56.376Z] -> Pinging Codecov [2023-06-28T21:06:56.376Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-262&commit=473ff219b026b6d71cd1b6f680fc2769aaac1390&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-262%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=262&job=&cmd_args= [2023-06-28T21:06:56.636Z] -> Uploading to [2023-06-28T21:06:56.636Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-28/73D8F5FF140700D3E01443B452E23636/473ff219b026b6d71cd1b6f680fc2769aaac1390/0fc2a793-0de7-4b1d-9cc6-3f4f4abf6864.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230628T210656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9642f4019e82e2832a38145f26e828139bfb0a1879c199ed3e39b1e944a620e1 [2023-06-28T21:06:56.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-28T21:06:56.636Z] Dload Upload Total Spent Left Speed [2023-06-28T21:06:56.636Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5144 0 0 100 5144 0 23381 --:--:-- --:--:-- --:--:-- 23276 100 5144 0 0 100 5144 0 23381 --:--:-- --:--:-- --:--:-- 23276 [2023-06-28T21:06:56.636Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/473ff219b026b6d71cd1b6f680fc2769aaac1390 [Pipeline] } [2023-06-28T21:06:56.642Z] 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-06-28T21:06:57.387Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] [2023-06-28T21:06:57.387Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-28T21:06:57.387Z] total 16 [2023-06-28T21:06:57.387Z] drwxr-xr-x 3 root root 4096 Jun 28 20:58 . [2023-06-28T21:06:57.387Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 28 20:58 .. [2023-06-28T21:06:57.387Z] drwxr-xr-x 2 root root 4096 Jun 28 20:58 cost [2023-06-28T21:06:57.387Z] -rw-r--r-- 1 root root 90 Jun 28 20:58 cost.csv [2023-06-28T21:06:57.387Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-28T21:06:57.387Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-28T21:06:57.387Z] total 16 [2023-06-28T21:06:57.387Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 20:58 . [2023-06-28T21:06:57.387Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 28 20:58 .. [2023-06-28T21:06:57.387Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 20:58 cost [2023-06-28T21:06:57.387Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 28 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-28T21:06:57.680Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T21:06:58.546Z] ---> package-listing.sh [2023-06-28T21:06:58.547Z] ++ facter osfamily [2023-06-28T21:06:58.547Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-28T21:06:58.806Z] + OS_FAMILY=debian [2023-06-28T21:06:58.806Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-262 [2023-06-28T21:06:58.807Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-28T21:06:58.807Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-28T21:06:58.807Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-28T21:06:58.807Z] + PACKAGES=/tmp/packages_start.txt [2023-06-28T21:06:58.807Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-28T21:06:58.807Z] + PACKAGES=/tmp/packages_end.txt [2023-06-28T21:06:58.807Z] + case "${OS_FAMILY}" in [2023-06-28T21:06:58.807Z] + grep '^ii' [2023-06-28T21:06:58.807Z] + dpkg -l [2023-06-28T21:06:58.807Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-28T21:06:58.807Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-28T21:06:58.807Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-28T21:06:58.807Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-28T21:06:58.807Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ [2023-06-28T21:06:58.807Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-262/archives/ [Pipeline] echo [2023-06-28T21:06:58.815Z] 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-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-28T21:06:59.092Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T21:06:59.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-28T21:06:59.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T21:06:59.718Z] prd-ubuntu20.04-docker-8c-8g-137 does not seem to be running inside a container [2023-06-28T21:06:59.750Z] $ 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-262/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-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-28T21:06:59.938Z] $ docker top e445ed8262687cf6bf1ec8e6966cd81d0bb0296bb7b1ab09b712a1342694c623 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T21:07:00.274Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-28T21:07:00.555Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-28T21:07:00.841Z] + ls /var/log/sa-host [2023-06-28T21:07:00.842Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-28T21:07:00.988Z] provisioning config files... [2023-06-28T21:07:00.997Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config18444157037736503384tmp [Pipeline] { [Pipeline] echo [2023-06-28T21:07:01.013Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T21:07:01.292Z] ---> create-netrc.sh [Pipeline] } [2023-06-28T21:07:01.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-28T21:07:01.620Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-28T21:07:01.628Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T21:07:01.910Z] ---> sudo-logs.sh [2023-06-28T21:07:01.910Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-28T21:07:01.940Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T21:07:02.222Z] ---> job-cost.sh [2023-06-28T21:07:02.222Z] lf-activate-venv: SKIPPING [2023-06-28T21:07:02.222Z] DEBUG: total: 0.2199999988079071 [2023-06-28T21:07:02.222Z] INFO: Retrieving Stack Cost... [2023-06-28T21:07:02.479Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-28T21:07:03.047Z] INFO: Archiving Costs [Pipeline] echo [2023-06-28T21:07:03.059Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T21:07:03.341Z] ---> logs-deploy.sh [2023-06-28T21:07:03.341Z] lf-activate-venv: SKIPPING [2023-06-28T21:07:03.341Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/17 [2023-06-28T21:07:03.341Z] INFO: archiving workspace using pattern(s): [2023-06-28T21:07:04.278Z] Archives upload complete. [2023-06-28T21:07:04.278Z] INFO: archiving logs to Nexus