Pull request #269 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 b4dc3cb9544d3c22b48762096c31369c64ea3d88 rather than 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c Obtained Jenkinsfile from b4dc3cb9544d3c22b48762096c31369c64ea3d88 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-ssh13169438762673738042.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh7952113222038059724.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-269/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-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12843704817674019075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh2936615843758813367.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-269/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-269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17223180978004236792.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3707 in /w/workspace/foundry_device-usb-camera_PR-269 [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-269 # 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 > 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/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4dc3cb9544d3c22b48762096c31369c64ea3d88 into PR head commit 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c Merge succeeded, producing 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c Checking out Revision 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c (PR-269) Commit message: "feat: addressed a code review comment to extract string in different way" > git config core.sparsecheckout # timeout=10 > git checkout -f 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b4dc3cb9544d3c22b48762096c31369c64ea3d88 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c # timeout=10 > git rev-list --no-walk 0d42582182345a24df92127aeb689c2d8233cddf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-15T19:14:55.436Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-15T19:14:55.507Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-15T19:14:55.525Z] ========================================================= [2023-08-15T19:14:55.525Z] EdgeX Global Pipelines Version Info [2023-08-15T19:14:55.525Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:14:56.252Z] ------------------- [2023-08-15T19:14:56.252Z] stable info: [2023-08-15T19:14:56.252Z] ------------------- [2023-08-15T19:14:56.252Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-15T19:14:56.252Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-15T19:14:56.252Z] Message: update stable to v1.0.253 [2023-08-15T19:14:56.821Z] ------------------- [2023-08-15T19:14:56.821Z] experimental info: [2023-08-15T19:14:56.821Z] ------------------- [2023-08-15T19:14:56.821Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-15T19:14:56.821Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-15T19:14:56.821Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-15T19:14:56.975Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-08-15T19:14:56.987Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-08-15T19:14:56.999Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-15T19:14:57.012Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-15T19:14:57.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-15T19:14:57.033Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-15T19:14:57.045Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-15T19:14:57.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-15T19:14:57.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-15T19:14:57.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-15T19:14:57.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-15T19:14:57.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-08-15T19:14:57.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-15T19:14:57.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-15T19:14:57.151Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-15T19:14:57.167Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-15T19:14:57.181Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-15T19:14:57.197Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-15T19:14:57.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-15T19:14:57.232Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-15T19:14:57.244Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-15T19:14:57.257Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-15T19:14:57.268Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-15T19:14:57.284Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-15T19:14:57.297Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-15T19:14:57.309Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-15T19:14:57.321Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-15T19:14:57.335Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-269 [Pipeline] echo [2023-08-15T19:14:57.347Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-269 [Pipeline] echo [2023-08-15T19:14:57.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-269 [Pipeline] echo [2023-08-15T19:14:57.423Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [Pipeline] echo [2023-08-15T19:14:57.435Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88b7371 [Pipeline] echo [2023-08-15T19:14:57.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T19:14:57.495Z] provisioning config files... [2023-08-15T19:14:57.508Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-269@tmp/config16998220634429605183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:14:57.809Z] ---> docker-login.sh [2023-08-15T19:14:57.809Z] nexus3.edgexfoundry.org:10001 [2023-08-15T19:14:58.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:14:58.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:14:58.071Z] Configure a credential helper to remove this warning. See [2023-08-15T19:14:58.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:14:58.071Z] [2023-08-15T19:14:58.071Z] Login Succeeded [2023-08-15T19:14:58.071Z] nexus3.edgexfoundry.org:10002 [2023-08-15T19:14:58.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:14:58.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:14:58.330Z] Configure a credential helper to remove this warning. See [2023-08-15T19:14:58.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:14:58.330Z] [2023-08-15T19:14:58.330Z] Login Succeeded [2023-08-15T19:14:58.330Z] nexus3.edgexfoundry.org:10003 [2023-08-15T19:14:58.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:14:58.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:14:58.330Z] Configure a credential helper to remove this warning. See [2023-08-15T19:14:58.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:14:58.330Z] [2023-08-15T19:14:58.330Z] Login Succeeded [2023-08-15T19:14:58.330Z] nexus3.edgexfoundry.org:10004 [2023-08-15T19:14:58.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:14:58.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:14:58.591Z] Configure a credential helper to remove this warning. See [2023-08-15T19:14:58.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:14:58.591Z] [2023-08-15T19:14:58.591Z] Login Succeeded [2023-08-15T19:14:58.591Z] docker.io [2023-08-15T19:14:58.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:14:58.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:14:58.852Z] Configure a credential helper to remove this warning. See [2023-08-15T19:14:58.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:14:58.852Z] [2023-08-15T19:14:58.852Z] Login Succeeded [2023-08-15T19:14:58.852Z] ---> docker-login.sh ends [Pipeline] } [2023-08-15T19:14:58.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-15T19:14:59.226Z] + git rev-list -1 --merges 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c~1..88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [Pipeline] echo [2023-08-15T19:14:59.274Z] -----------> git rev-list -1 --merges 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c~1..88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [false] [Pipeline] sh [2023-08-15T19:14:59.564Z] + git log --format=format:%s -1 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [Pipeline] echo [2023-08-15T19:14:59.579Z] ========================================================= [2023-08-15T19:14:59.579Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-15T19:14:59.579Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-15T19:14:59.941Z] + git log --format=format:%s -1 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [Pipeline] echo [2023-08-15T19:14:59.951Z] [semverPrep] GIT_COMMIT: 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c, Commit Message: feat: addressed a code review comment to extract string in different way [Pipeline] echo [2023-08-15T19:14:59.960Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-15T19:15:00.325Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-15T19:15:00.325Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-15T19:15:00.325Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-15T19:15:00.325Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-15T19:15:00.325Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-15T19:15:00.325Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-15T19:15:00.325Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:15:00.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T19:15:00.730Z] [2023-08-15T19:15:00.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:15:01.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T19:15:01.029Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-15T19:15:01.029Z] b85a868b505f: Pulling fs layer [2023-08-15T19:15:01.029Z] e2be974225ed: Pulling fs layer [2023-08-15T19:15:01.029Z] 339a4e72a1f5: Pulling fs layer [2023-08-15T19:15:01.029Z] 988bab9f4d93: Pulling fs layer [2023-08-15T19:15:01.029Z] 1469e6f7b9e6: Pulling fs layer [2023-08-15T19:15:01.029Z] eaf3925da568: Pulling fs layer [2023-08-15T19:15:01.029Z] bab4dde63d76: Pulling fs layer [2023-08-15T19:15:01.029Z] bde34c3a00c8: Pulling fs layer [2023-08-15T19:15:01.029Z] b352a97aabf1: Pulling fs layer [2023-08-15T19:15:01.029Z] 4872d77fe225: Pulling fs layer [2023-08-15T19:15:01.029Z] 5851b861e8e6: Pulling fs layer [2023-08-15T19:15:01.029Z] 988bab9f4d93: Waiting [2023-08-15T19:15:01.029Z] bde34c3a00c8: Waiting [2023-08-15T19:15:01.029Z] b352a97aabf1: Waiting [2023-08-15T19:15:01.029Z] 4872d77fe225: Waiting [2023-08-15T19:15:01.029Z] 1469e6f7b9e6: Waiting [2023-08-15T19:15:01.029Z] bab4dde63d76: Waiting [2023-08-15T19:15:01.029Z] e2be974225ed: Download complete [2023-08-15T19:15:01.029Z] 988bab9f4d93: Verifying Checksum [2023-08-15T19:15:01.029Z] 988bab9f4d93: Download complete [2023-08-15T19:15:01.029Z] 1469e6f7b9e6: Verifying Checksum [2023-08-15T19:15:01.029Z] 1469e6f7b9e6: Download complete [2023-08-15T19:15:01.289Z] 339a4e72a1f5: Verifying Checksum [2023-08-15T19:15:01.289Z] 339a4e72a1f5: Download complete [2023-08-15T19:15:01.289Z] eaf3925da568: Download complete [2023-08-15T19:15:01.289Z] bde34c3a00c8: Verifying Checksum [2023-08-15T19:15:01.289Z] bde34c3a00c8: Download complete [2023-08-15T19:15:01.289Z] b352a97aabf1: Download complete [2023-08-15T19:15:01.289Z] 4872d77fe225: Download complete [2023-08-15T19:15:01.289Z] 5851b861e8e6: Verifying Checksum [2023-08-15T19:15:01.289Z] 5851b861e8e6: Download complete [2023-08-15T19:15:01.289Z] b85a868b505f: Verifying Checksum [2023-08-15T19:15:01.289Z] b85a868b505f: Download complete [2023-08-15T19:15:01.548Z] bab4dde63d76: Verifying Checksum [2023-08-15T19:15:01.548Z] bab4dde63d76: Download complete [2023-08-15T19:15:02.925Z] b85a868b505f: Pull complete [2023-08-15T19:15:02.925Z] e2be974225ed: Pull complete [2023-08-15T19:15:03.185Z] 339a4e72a1f5: Pull complete [2023-08-15T19:15:03.444Z] 988bab9f4d93: Pull complete [2023-08-15T19:15:04.136Z] 1469e6f7b9e6: Pull complete [2023-08-15T19:15:04.136Z] eaf3925da568: Pull complete [2023-08-15T19:15:08.287Z] bab4dde63d76: Pull complete [2023-08-15T19:15:08.287Z] bde34c3a00c8: Pull complete [2023-08-15T19:15:08.287Z] b352a97aabf1: Pull complete [2023-08-15T19:15:08.547Z] 4872d77fe225: Pull complete [2023-08-15T19:15:08.547Z] 5851b861e8e6: Pull complete [2023-08-15T19:15:08.547Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-15T19:15:08.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T19:15:08.547Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T19:15:08.656Z] prd-ubuntu20.04-docker-8c-8g-3707 does not seem to be running inside a container [2023-08-15T19:15:09.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-15T19:15:13.384Z] $ docker top 34a1d01e3d2c61d3c85efbc7c8a63fdf69bf3655526e49779c70f50505e90d3d -eo pid,comm [2023-08-15T19:15:12.938Z] 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-08-15T19:15:12.938Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-15T19:15:12.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-15T19:15:12.977Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-15T19:15:13.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-15T19:15:13.599Z] $ docker exec 34a1d01e3d2c61d3c85efbc7c8a63fdf69bf3655526e49779c70f50505e90d3d ssh-agent [2023-08-15T19:15:13.214Z] SSH_AUTH_SOCK=/tmp/ssh-FlNiP8xnFKAV/agent.32 [2023-08-15T19:15:13.214Z] SSH_AGENT_PID=38 [2023-08-15T19:15:13.221Z] Running ssh-add (command line suppressed) [2023-08-15T19:15:13.827Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-269@tmp/private_key_15885041643792710027.key (/w/workspace/foundry_device-usb-camera_PR-269@tmp/private_key_15885041643792710027.key) [2023-08-15T19:15:13.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-15T19:15:13.633Z] + git tag --points-at HEAD [Pipeline] } [2023-08-15T19:15:14.149Z] $ docker exec --env ******** --env ******** 34a1d01e3d2c61d3c85efbc7c8a63fdf69bf3655526e49779c70f50505e90d3d ssh-agent -k [2023-08-15T19:15:14.259Z] unset SSH_AUTH_SOCK; [2023-08-15T19:15:14.259Z] unset SSH_AGENT_PID; [2023-08-15T19:15:14.260Z] echo Agent pid 38 killed; [2023-08-15T19:15:13.763Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-15T19:15:13.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-15T19:15:13.790Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-15T19:15:13.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-15T19:15:14.418Z] $ docker exec 34a1d01e3d2c61d3c85efbc7c8a63fdf69bf3655526e49779c70f50505e90d3d ssh-agent [2023-08-15T19:15:14.029Z] SSH_AUTH_SOCK=/tmp/ssh-Whem5TPrdxDx/agent.70 [2023-08-15T19:15:14.029Z] SSH_AGENT_PID=76 [2023-08-15T19:15:14.035Z] Running ssh-add (command line suppressed) [2023-08-15T19:15:14.652Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-269@tmp/private_key_8634365972560085918.key (/w/workspace/foundry_device-usb-camera_PR-269@tmp/private_key_8634365972560085918.key) [2023-08-15T19:15:14.164Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-15T19:15:14.454Z] + git semver init [2023-08-15T19:15:14.714Z] 2023-08-15 19:15:15,142 [run_init] DEBUG init version:0.0.0 force:False [2023-08-15T19:15:14.714Z] 2023-08-15 19:15:15,143 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-269/.semver [2023-08-15T19:15:14.714Z] 2023-08-15 19:15:15,143 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-269/.semver [2023-08-15T19:15:14.714Z] 2023-08-15 19:15:15,144 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-269/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-269, universal_newlines=False, shell=None, istream=None) [2023-08-15T19:15:15.651Z] 2023-08-15 19:15:15,895 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-269/.git/info/exclude [2023-08-15T19:15:15.651Z] 2023-08-15 19:15:15,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-269/.semver/PR-269 with force:False [2023-08-15T19:15:15.651Z] 2023-08-15 19:15:15,896 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-269/.semver/PR-269 [2023-08-15T19:15:15.651Z] 2023-08-15 19:15:15,900 [execute] INFO git cat-file --batch-check [2023-08-15T19:15:15.651Z] 2023-08-15 19:15:15,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) [2023-08-15T19:15:15.651Z] 2023-08-15 19:15:15,908 [execute] INFO git cat-file --batch [2023-08-15T19:15:15.651Z] 2023-08-15 19:15:15,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) [2023-08-15T19:15:15.651Z] 2023-08-15 19:15:15,914 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-269/.semver/PR-269 [2023-08-15T19:15:15.651Z] 0.0.0 [Pipeline] } [2023-08-15T19:15:16.165Z] $ docker exec --env ******** --env ******** 34a1d01e3d2c61d3c85efbc7c8a63fdf69bf3655526e49779c70f50505e90d3d ssh-agent -k [2023-08-15T19:15:16.267Z] unset SSH_AUTH_SOCK; [2023-08-15T19:15:16.268Z] unset SSH_AGENT_PID; [2023-08-15T19:15:16.268Z] echo Agent pid 76 killed; [2023-08-15T19:15:15.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-15T19:15:16.083Z] + git semver [Pipeline] } [2023-08-15T19:15:16.858Z] $ docker stop --time=1 34a1d01e3d2c61d3c85efbc7c8a63fdf69bf3655526e49779c70f50505e90d3d [2023-08-15T19:15:18.172Z] $ docker rm -f --volumes 34a1d01e3d2c61d3c85efbc7c8a63fdf69bf3655526e49779c70f50505e90d3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-15T19:15:18.015Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-15T19:15:18.215Z] Stashed 1 file(s) [Pipeline] echo [2023-08-15T19:15:18.218Z] [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-08-15T19:15:18.391Z] provisioning config files... [2023-08-15T19:15:18.401Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-269@tmp/config4293915366602817740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:15:18.696Z] ---> docker-login.sh [2023-08-15T19:15:18.696Z] nexus3.edgexfoundry.org:10001 [2023-08-15T19:15:18.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:15:18.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:15:18.696Z] Configure a credential helper to remove this warning. See [2023-08-15T19:15:18.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:15:18.696Z] [2023-08-15T19:15:18.696Z] Login Succeeded [2023-08-15T19:15:18.696Z] nexus3.edgexfoundry.org:10002 [2023-08-15T19:15:18.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:15:18.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:15:18.696Z] Configure a credential helper to remove this warning. See [2023-08-15T19:15:18.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:15:18.696Z] [2023-08-15T19:15:18.696Z] Login Succeeded [2023-08-15T19:15:18.696Z] nexus3.edgexfoundry.org:10003 [2023-08-15T19:15:18.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:15:18.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:15:18.957Z] Configure a credential helper to remove this warning. See [2023-08-15T19:15:18.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:15:18.957Z] [2023-08-15T19:15:18.957Z] Login Succeeded [2023-08-15T19:15:18.957Z] nexus3.edgexfoundry.org:10004 [2023-08-15T19:15:18.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:15:18.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:15:18.957Z] Configure a credential helper to remove this warning. See [2023-08-15T19:15:18.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:15:18.957Z] [2023-08-15T19:15:18.957Z] Login Succeeded [2023-08-15T19:15:18.957Z] docker.io [2023-08-15T19:15:19.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:15:19.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:15:19.216Z] Configure a credential helper to remove this warning. See [2023-08-15T19:15:19.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:15:19.216Z] [2023-08-15T19:15:19.216Z] Login Succeeded [2023-08-15T19:15:19.216Z] ---> docker-login.sh ends [Pipeline] } [2023-08-15T19:15:19.224Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-15T19:15:19.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T19:15:19.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T19:15:19.306Z] ========================================================= [2023-08-15T19:15:19.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-15T19:15:19.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:15:19.613Z] + 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-08-15T19:15:19.613Z] Sending build context to Docker daemon 2.064MB [2023-08-15T19:15:19.613Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T19:15:19.613Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-15T19:15:19.613Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-15T19:15:19.613Z] 4db1b89c0bd1: Pulling fs layer [2023-08-15T19:15:19.613Z] 6911f1a30b25: Pulling fs layer [2023-08-15T19:15:19.613Z] e194b8c5c2a9: Pulling fs layer [2023-08-15T19:15:19.613Z] 6863d3e3a2b1: Pulling fs layer [2023-08-15T19:15:19.613Z] ec0bb842ea78: Pulling fs layer [2023-08-15T19:15:19.613Z] 40a00589a448: Pulling fs layer [2023-08-15T19:15:19.613Z] 6c08303d61cc: Pulling fs layer [2023-08-15T19:15:19.613Z] 798269fcf238: Pulling fs layer [2023-08-15T19:15:19.613Z] 40a00589a448: Waiting [2023-08-15T19:15:19.613Z] 6c08303d61cc: Waiting [2023-08-15T19:15:19.613Z] 6863d3e3a2b1: Waiting [2023-08-15T19:15:19.613Z] 798269fcf238: Waiting [2023-08-15T19:15:19.613Z] ec0bb842ea78: Waiting [2023-08-15T19:15:19.613Z] 6911f1a30b25: Download complete [2023-08-15T19:15:19.613Z] 6863d3e3a2b1: Verifying Checksum [2023-08-15T19:15:19.613Z] 6863d3e3a2b1: Download complete [2023-08-15T19:15:19.613Z] ec0bb842ea78: Verifying Checksum [2023-08-15T19:15:19.613Z] ec0bb842ea78: Download complete [2023-08-15T19:15:19.875Z] 4db1b89c0bd1: Verifying Checksum [2023-08-15T19:15:19.875Z] 4db1b89c0bd1: Download complete [2023-08-15T19:15:19.875Z] 40a00589a448: Verifying Checksum [2023-08-15T19:15:19.875Z] 40a00589a448: Download complete [2023-08-15T19:15:19.875Z] 4db1b89c0bd1: Pull complete [2023-08-15T19:15:20.139Z] 6911f1a30b25: Pull complete [2023-08-15T19:15:20.721Z] e194b8c5c2a9: Verifying Checksum [2023-08-15T19:15:20.721Z] e194b8c5c2a9: Download complete [2023-08-15T19:15:20.721Z] 798269fcf238: Verifying Checksum [2023-08-15T19:15:20.721Z] 798269fcf238: Download complete [2023-08-15T19:15:20.980Z] 6c08303d61cc: Verifying Checksum [2023-08-15T19:15:20.980Z] 6c08303d61cc: Download complete [2023-08-15T19:15:24.262Z] e194b8c5c2a9: Pull complete [2023-08-15T19:15:24.262Z] 6863d3e3a2b1: Pull complete [2023-08-15T19:15:24.262Z] ec0bb842ea78: Pull complete [2023-08-15T19:15:24.262Z] 40a00589a448: Pull complete [2023-08-15T19:15:26.793Z] 6c08303d61cc: Pull complete [2023-08-15T19:15:27.732Z] 798269fcf238: Pull complete [2023-08-15T19:15:27.732Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-15T19:15:27.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-15T19:15:27.732Z] ---> ec979cd7f677 [2023-08-15T19:15:27.732Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-15T19:15:33.343Z] Still waiting to schedule task [2023-08-15T19:15:33.344Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-15T19:15:34.320Z] ---> Running in edc4754789a9 [2023-08-15T19:15:34.320Z] Removing intermediate container edc4754789a9 [2023-08-15T19:15:34.320Z] ---> a8eae1659115 [2023-08-15T19:15:34.320Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-15T19:15:34.320Z] ---> Running in bd565fdfd59e [2023-08-15T19:15:34.320Z] Removing intermediate container bd565fdfd59e [2023-08-15T19:15:34.320Z] ---> cc10a7c376cd [2023-08-15T19:15:34.320Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-15T19:15:34.320Z] ---> Running in 35f498d354b4 [2023-08-15T19:15:34.320Z] Removing intermediate container 35f498d354b4 [2023-08-15T19:15:34.320Z] ---> bcedebdb1d61 [2023-08-15T19:15:34.320Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-15T19:15:34.320Z] ---> Running in 30819e495aba [2023-08-15T19:15:34.320Z] Removing intermediate container 30819e495aba [2023-08-15T19:15:34.320Z] ---> fad3175468fb [2023-08-15T19:15:34.320Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-15T19:15:34.320Z] ---> Running in cbeb2cf53db2 [2023-08-15T19:15:34.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-15T19:15:34.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-15T19:15:35.098Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-15T19:15:35.098Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-15T19:15:35.098Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-15T19:15:35.098Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-15T19:15:35.098Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-15T19:15:35.098Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-15T19:15:35.098Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-15T19:15:35.098Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-15T19:15:35.098Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-15T19:15:35.098Z] (10/14) Installing kmod-libs (30-r1) [2023-08-15T19:15:35.098Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-15T19:15:35.098Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-15T19:15:35.098Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-15T19:15:35.373Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-15T19:15:35.373Z] Executing busybox-1.35.0-r29.trigger [2023-08-15T19:15:35.373Z] Executing eudev-3.2.11-r4.trigger [2023-08-15T19:15:35.373Z] OK: 272 MiB in 67 packages [2023-08-15T19:15:35.943Z] Removing intermediate container cbeb2cf53db2 [2023-08-15T19:15:35.943Z] ---> 378f2ee120e2 [2023-08-15T19:15:35.943Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-15T19:15:35.943Z] ---> Running in 5be370d94098 [2023-08-15T19:15:35.943Z] Removing intermediate container 5be370d94098 [2023-08-15T19:15:35.943Z] ---> a65552532913 [2023-08-15T19:15:35.943Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-15T19:15:35.943Z] ---> 211548dbf242 [2023-08-15T19:15:35.943Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T19:15:36.202Z] ---> Running in 6ceabf06c0b2 [2023-08-15T19:16:32.595Z] Removing intermediate container 6ceabf06c0b2 [2023-08-15T19:16:32.595Z] ---> 838dea95461b [2023-08-15T19:16:32.595Z] Step 11/13 : COPY . . [2023-08-15T19:16:32.595Z] ---> 1017db4c32c5 [2023-08-15T19:16:32.595Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-15T19:16:32.595Z] ---> Running in ae954ed3510d [2023-08-15T19:16:32.595Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-15T19:16:32.595Z] Dload Upload Total Spent Left Speed [2023-08-15T19:16:32.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 7956 0 --:--:-- --:--:-- --:--:-- 7925 100 1062 100 1062 0 0 7950 0 --:--:-- --:--:-- --:--:-- 7925 [2023-08-15T19:16:32.595Z] Removing intermediate container ae954ed3510d [2023-08-15T19:16:32.595Z] ---> f05d39d83026 [2023-08-15T19:16:32.595Z] Step 13/13 : RUN ${MAKE} [2023-08-15T19:16:32.595Z] ---> Running in 75b2808d7a2d [2023-08-15T19:16:32.595Z] noop [2023-08-15T19:16:32.595Z] Removing intermediate container 75b2808d7a2d [2023-08-15T19:16:32.595Z] ---> b4f5c53c2355 [2023-08-15T19:16:32.595Z] Successfully built b4f5c53c2355 [2023-08-15T19:16:32.595Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:16:32.915Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-15T19:16:32.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T19:16:32.996Z] prd-ubuntu20.04-docker-8c-8g-3707 does not seem to be running inside a container [2023-08-15T19:16:33.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-15T19:16:33.378Z] $ docker top 092ecc243e21aee380b4e8c4ff62910ad78c779aab251e859c74b481a5cbcdc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T19:16:33.725Z] + go version [2023-08-15T19:16:33.725Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-15T19:16:33.741Z] $ docker stop --time=1 092ecc243e21aee380b4e8c4ff62910ad78c779aab251e859c74b481a5cbcdc9 [2023-08-15T19:16:34.981Z] $ docker rm -f --volumes 092ecc243e21aee380b4e8c4ff62910ad78c779aab251e859c74b481a5cbcdc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:16:35.385Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-15T19:16:35.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T19:16:35.459Z] prd-ubuntu20.04-docker-8c-8g-3707 does not seem to be running inside a container [2023-08-15T19:16:35.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-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-15T19:16:35.824Z] $ docker top 3e6b490643cd65e4651241c1501220611cb75e73781ba38a489bdad8adfe141d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T19:16:36.159Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-269 [Pipeline] fileExists [Pipeline] sh [2023-08-15T19:16:36.459Z] + make test [2023-08-15T19:16:36.459Z] go test ./... -coverprofile=coverage.out ./... [2023-08-15T19:16:41.724Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-15T19:16:51.801Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-15T19:16:52.080Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 4.9% of statements [2023-08-15T19:16:58.667Z] go vet ./... [2023-08-15T19:17:01.410Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3708 in /w/workspace/foundry_device-usb-camera_PR-269 [Pipeline] { [Pipeline] ws [2023-08-15T19:17:01.422Z] Running in /w/workspace/device-usb-camera/5 [Pipeline] { [Pipeline] checkout [2023-08-15T19:17:01.455Z] Selected Git installation does not exist. Using Default [2023-08-15T19:17:01.455Z] The recommended git tool is: NONE [2023-08-15T19:17:02.870Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-15T19:17:02.870Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-15T19:17:02.870Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-15T19:17:02.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-15T19:17:02.899Z] $ docker stop --time=1 3e6b490643cd65e4651241c1501220611cb75e73781ba38a489bdad8adfe141d [2023-08-15T19:17:06.363Z] using credential edgex-jenkins-ssh [2023-08-15T19:17:06.383Z] Cloning the remote Git repository [2023-08-15T19:17:06.419Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-08-15T19:17:06.504Z] > git init /w/workspace/device-usb-camera/5 # timeout=10 [2023-08-15T19:17:06.641Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-15T19:17:06.642Z] > git --version # timeout=10 [2023-08-15T19:17:06.664Z] > git --version # 'git version 2.25.1' [2023-08-15T19:17:06.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-15T19:17:06.818Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-15T19:17:07.820Z] $ docker rm -f --volumes 3e6b490643cd65e4651241c1501220611cb75e73781ba38a489bdad8adfe141d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-15T19:17:08.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-15T19:17:08.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-15T19:17:07.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-15T19:17:07.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-15T19:17:08.473Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-08-15T19:17:08.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-08-15T19:17:08.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-15T19:17:08.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-15T19:17:08.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-15T19:17:09.135Z] + ls -al . [2023-08-15T19:17:09.136Z] total 208 [2023-08-15T19:17:09.136Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 19:16 . [2023-08-15T19:17:09.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 19:14 .. [2023-08-15T19:17:09.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 19:15 .git [2023-08-15T19:17:09.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 19:14 .github [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 15 19:14 .gitignore [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 15 19:14 .golangci.yml [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 15 19:14 .hadolint.yml [2023-08-15T19:17:09.136Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 19:15 .semver [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 15 19:14 Attribution.txt [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 15 19:14 CHANGELOG.md [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 15 19:14 Dockerfile [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 19:14 GOVERNANCE.md [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 15 19:14 Jenkinsfile [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 15 19:14 LICENSE [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 15 19:14 Makefile [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 19:14 OWNERS.md [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 15 19:14 README.md [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 19:15 VERSION [2023-08-15T19:17:09.136Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 19:14 bin [2023-08-15T19:17:09.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 19:14 cmd [2023-08-15T19:17:09.136Z] -rw-r--r-- 1 jenkins jenkins 48554 Aug 15 19:16 coverage.out [2023-08-15T19:17:09.136Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 15 19:14 docker-entrypoint.sh [2023-08-15T19:17:09.136Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 19:14 docs [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 15 19:14 go.mod [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 15 19:14 go.sum [2023-08-15T19:17:09.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 19:14 internal [2023-08-15T19:17:09.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 19:14 snap [2023-08-15T19:17:09.136Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 15 19:14 version.go [2023-08-15T19:17:09.136Z] Merging remotes/origin/main commit b4dc3cb9544d3c22b48762096c31369c64ea3d88 into PR head commit 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:17:09.413Z] Merge succeeded, producing 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [2023-08-15T19:17:09.413Z] Checking out Revision 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c (PR-269) [2023-08-15T19:17:09.455Z] + 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=88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c --label arch=amd64 --label version=0.0.0 . [2023-08-15T19:17:09.455Z] Sending build context to Docker daemon 2.113MB [2023-08-15T19:17:09.455Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T19:17:09.455Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-15T19:17:09.455Z] ---> b4f5c53c2355 [2023-08-15T19:17:09.455Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-15T19:17:09.714Z] ---> Running in b838bfb37c64 [2023-08-15T19:17:09.714Z] Removing intermediate container b838bfb37c64 [2023-08-15T19:17:09.714Z] ---> 0f1984ff1e5f [2023-08-15T19:17:09.714Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-15T19:17:09.714Z] ---> Running in b093a7bfe0b8 [2023-08-15T19:17:09.714Z] Removing intermediate container b093a7bfe0b8 [2023-08-15T19:17:09.714Z] ---> 3432b9c4fbbc [2023-08-15T19:17:09.714Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-15T19:17:09.714Z] ---> Running in 27633c2497bf [2023-08-15T19:17:09.814Z] Commit message: "feat: addressed a code review comment to extract string in different way" [2023-08-15T19:17:09.972Z] Removing intermediate container 27633c2497bf [2023-08-15T19:17:09.972Z] ---> af5e2af6ffe1 [2023-08-15T19:17:09.972Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-15T19:17:09.972Z] ---> Running in 08a99d6e2d9b [2023-08-15T19:17:09.972Z] Removing intermediate container 08a99d6e2d9b [2023-08-15T19:17:09.972Z] ---> 7dc04a0b1de7 [2023-08-15T19:17:09.972Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-15T19:17:09.972Z] ---> Running in df0910a995c1 [2023-08-15T19:17:09.148Z] > git config core.sparsecheckout # timeout=10 [2023-08-15T19:17:09.216Z] > git checkout -f 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c # timeout=10 [2023-08-15T19:17:09.313Z] > git remote # timeout=10 [2023-08-15T19:17:09.335Z] > git config --get remote.origin.url # timeout=10 [2023-08-15T19:17:09.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-15T19:17:09.364Z] > git merge b4dc3cb9544d3c22b48762096c31369c64ea3d88 # timeout=10 [2023-08-15T19:17:09.387Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-15T19:17:09.414Z] > git config core.sparsecheckout # timeout=10 [2023-08-15T19:17:09.426Z] > git checkout -f 88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c # timeout=10 [2023-08-15T19:17:10.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-15T19:17:10.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-15T19:17:10.748Z] OK: 272 MiB in 67 packages [2023-08-15T19:17:10.789Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-15T19:17:10.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-15T19:17:10.789Z] Dload Upload Total Spent Left Speed [2023-08-15T19:17:10.789Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [2023-08-15T19:17:11.006Z] Removing intermediate container df0910a995c1 [2023-08-15T19:17:11.006Z] ---> 203a69276759 [2023-08-15T19:17:11.006Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-15T19:17:11.006Z] ---> Running in f2b5bd3de3be [Pipeline] sh [2023-08-15T19:17:11.265Z] Removing intermediate container f2b5bd3de3be [2023-08-15T19:17:11.265Z] ---> b6917887fcfe [2023-08-15T19:17:11.265Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-15T19:17:11.265Z] ---> 4be8528adacf [2023-08-15T19:17:11.265Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T19:17:11.265Z] ---> Running in ccdad0030fef [2023-08-15T19:17:11.419Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-15T19:17:11.746Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-15T19:17:11.746Z] + sudo tee /etc/docker/daemon.new [2023-08-15T19:17:11.746Z] { [2023-08-15T19:17:11.746Z] "registry-mirrors": [ [2023-08-15T19:17:11.746Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-15T19:17:11.746Z] ], [2023-08-15T19:17:11.746Z] "bip": "10.250.0.254/24", [2023-08-15T19:17:11.746Z] "hosts": [ [2023-08-15T19:17:11.746Z] "tcp://0.0.0.0:5555", [2023-08-15T19:17:11.746Z] "unix:///var/run/docker.sock" [2023-08-15T19:17:11.746Z] ], [2023-08-15T19:17:11.746Z] "mtu": 1458, [2023-08-15T19:17:11.746Z] "selinux-enabled": true, [2023-08-15T19:17:11.746Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-15T19:17:11.746Z] } [Pipeline] sh [2023-08-15T19:17:12.068Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-15T19:17:12.198Z] Removing intermediate container ccdad0030fef [2023-08-15T19:17:12.198Z] ---> 77963b28e016 [2023-08-15T19:17:12.198Z] Step 11/36 : COPY . . [2023-08-15T19:17:12.403Z] + sudo service docker restart [2023-08-15T19:17:12.456Z] ---> 36612f4c0031 [2023-08-15T19:17:12.456Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-15T19:17:12.456Z] ---> Running in d060ec950bbf [2023-08-15T19:17:12.715Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-15T19:17:12.715Z] Dload Upload Total Spent Left Speed [2023-08-15T19:17:12.974Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062   0    0  20823     0 --:--:-- --:--:-- --:--:-- 21240 [2023-08-15T19:17:13.233Z] Removing intermediate container d060ec950bbf [2023-08-15T19:17:13.233Z] ---> 049a043caf75 [2023-08-15T19:17:13.233Z] Step 13/36 : RUN ${MAKE} [2023-08-15T19:17:13.233Z] ---> Running in 07b34d23cdc5 [2023-08-15T19:17:13.491Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T19:17:30.648Z] provisioning config files... [2023-08-15T19:17:30.670Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/5@tmp/config13817656402268293959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:17:31.016Z] ---> docker-login.sh [2023-08-15T19:17:31.016Z] nexus3.edgexfoundry.org:10001 [2023-08-15T19:17:31.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:17:31.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:17:31.871Z] Configure a credential helper to remove this warning. See [2023-08-15T19:17:31.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:17:31.871Z] [2023-08-15T19:17:31.871Z] Login Succeeded [2023-08-15T19:17:31.871Z] nexus3.edgexfoundry.org:10002 [2023-08-15T19:17:31.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:17:32.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:17:32.138Z] Configure a credential helper to remove this warning. See [2023-08-15T19:17:32.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:17:32.138Z] [2023-08-15T19:17:32.138Z] Login Succeeded [2023-08-15T19:17:32.138Z] nexus3.edgexfoundry.org:10003 [2023-08-15T19:17:32.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:17:32.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:17:32.408Z] Configure a credential helper to remove this warning. See [2023-08-15T19:17:32.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:17:32.408Z] [2023-08-15T19:17:32.408Z] Login Succeeded [2023-08-15T19:17:32.408Z] nexus3.edgexfoundry.org:10004 [2023-08-15T19:17:32.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:17:32.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:17:32.680Z] Configure a credential helper to remove this warning. See [2023-08-15T19:17:32.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:17:32.680Z] [2023-08-15T19:17:32.680Z] Login Succeeded [2023-08-15T19:17:32.680Z] docker.io [2023-08-15T19:17:32.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T19:17:33.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T19:17:33.220Z] Configure a credential helper to remove this warning. See [2023-08-15T19:17:33.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T19:17:33.220Z] [2023-08-15T19:17:33.220Z] Login Succeeded [2023-08-15T19:17:33.220Z] ---> docker-login.sh ends [Pipeline] } [2023-08-15T19:17:33.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-15T19:17:33.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T19:17:33.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T19:17:33.506Z] ========================================================= [2023-08-15T19:17:33.506Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-15T19:17:33.506Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:17:33.851Z] + 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-08-15T19:17:34.120Z] Sending build context to Docker daemon 1.252MB [2023-08-15T19:17:34.120Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T19:17:34.120Z] Step 2/13 : FROM ${BASE} AS builder [2023-08-15T19:17:34.390Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-15T19:17:34.390Z] edb6bdbacee9: Pulling fs layer [2023-08-15T19:17:34.390Z] 5f9638ab2659: Pulling fs layer [2023-08-15T19:17:34.390Z] 8d51d6327a98: Pulling fs layer [2023-08-15T19:17:34.390Z] 8b374f2dd631: Pulling fs layer [2023-08-15T19:17:34.390Z] ec14aa9079de: Pulling fs layer [2023-08-15T19:17:34.390Z] 2f466654f4bb: Pulling fs layer [2023-08-15T19:17:34.390Z] 554e91adad29: Pulling fs layer [2023-08-15T19:17:34.390Z] ec14aa9079de: Waiting [2023-08-15T19:17:34.390Z] 2f466654f4bb: Waiting [2023-08-15T19:17:34.390Z] 554e91adad29: Waiting [2023-08-15T19:17:34.390Z] 8b374f2dd631: Waiting [2023-08-15T19:17:34.390Z] 5f9638ab2659: Verifying Checksum [2023-08-15T19:17:34.390Z] 5f9638ab2659: Download complete [2023-08-15T19:17:34.390Z] 8b374f2dd631: Verifying Checksum [2023-08-15T19:17:34.390Z] 8b374f2dd631: Download complete [2023-08-15T19:17:34.390Z] ec14aa9079de: Verifying Checksum [2023-08-15T19:17:34.390Z] ec14aa9079de: Download complete [2023-08-15T19:17:34.390Z] edb6bdbacee9: Verifying Checksum [2023-08-15T19:17:34.391Z] edb6bdbacee9: Download complete [2023-08-15T19:17:35.365Z] edb6bdbacee9: Pull complete [2023-08-15T19:17:35.416Z] Removing intermediate container 07b34d23cdc5 [2023-08-15T19:17:35.416Z] ---> d16a5aee07f1 [2023-08-15T19:17:35.416Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-15T19:17:35.633Z] 554e91adad29: Verifying Checksum [2023-08-15T19:17:35.633Z] 554e91adad29: Download complete [2023-08-15T19:17:35.676Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-15T19:17:35.676Z] 4acc49c71d14: Pulling fs layer [2023-08-15T19:17:35.903Z] 5f9638ab2659: Pull complete [2023-08-15T19:17:35.935Z] 4acc49c71d14: Download complete [2023-08-15T19:17:36.194Z] 4acc49c71d14: Pull complete [2023-08-15T19:17:36.194Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-15T19:17:36.194Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-15T19:17:36.194Z] ---> 01a2bd3e5fff [2023-08-15T19:17:36.194Z] Step 15/36 : FROM alpine:3.17 [2023-08-15T19:17:36.760Z] 3.17: Pulling from library/alpine [2023-08-15T19:17:36.760Z] 9398808236ff: Pulling fs layer [2023-08-15T19:17:36.884Z] 2f466654f4bb: Verifying Checksum [2023-08-15T19:17:36.885Z] 2f466654f4bb: Download complete [2023-08-15T19:17:36.885Z] 8d51d6327a98: Verifying Checksum [2023-08-15T19:17:36.885Z] 8d51d6327a98: Download complete [2023-08-15T19:17:37.019Z] 9398808236ff: Verifying Checksum [2023-08-15T19:17:37.019Z] 9398808236ff: Download complete [2023-08-15T19:17:37.434Z] 9398808236ff: Pull complete [2023-08-15T19:17:37.434Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-15T19:17:37.434Z] Status: Downloaded newer image for alpine:3.17 [2023-08-15T19:17:37.434Z] ---> 1e0b8b5322fc [2023-08-15T19:17:37.434Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-15T19:17:37.693Z] ---> Running in 765403fd3a6b [2023-08-15T19:17:37.693Z] Removing intermediate container 765403fd3a6b [2023-08-15T19:17:37.693Z] ---> 420ca5219fd3 [2023-08-15T19:17:37.693Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-15T19:17:37.693Z] ---> Running in b27e7442954f [2023-08-15T19:17:37.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-15T19:17:38.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-15T19:17:38.470Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-08-15T19:17:38.471Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-08-15T19:17:38.471Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-08-15T19:17:38.471Z] (4/86) Installing libxau (1.0.10-r0) [2023-08-15T19:17:38.471Z] (5/86) Installing libmd (1.0.4-r0) [2023-08-15T19:17:38.471Z] (6/86) Installing libbsd (0.11.7-r0) [2023-08-15T19:17:38.471Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-08-15T19:17:38.729Z] (8/86) Installing libxcb (1.15-r0) [2023-08-15T19:17:38.729Z] (9/86) Installing libx11 (1.8.4-r1) [2023-08-15T19:17:38.729Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-08-15T19:17:38.729Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-08-15T19:17:38.729Z] (12/86) Installing libexpat (2.5.0-r0) [2023-08-15T19:17:38.729Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-08-15T19:17:38.729Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-08-15T19:17:38.729Z] (15/86) Installing libpng (1.6.39-r0) [2023-08-15T19:17:38.729Z] (16/86) Installing freetype (2.12.1-r0) [2023-08-15T19:17:38.729Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-08-15T19:17:38.729Z] (18/86) Installing fribidi (1.0.12-r0) [2023-08-15T19:17:38.729Z] (19/86) Installing libffi (3.4.4-r0) [2023-08-15T19:17:38.729Z] (20/86) Installing libintl (0.21.1-r1) [2023-08-15T19:17:38.729Z] (21/86) Installing libblkid (2.38.1-r1) [2023-08-15T19:17:38.729Z] (22/86) Installing libmount (2.38.1-r1) [2023-08-15T19:17:38.729Z] (23/86) Installing pcre2 (10.42-r0) [2023-08-15T19:17:38.730Z] (24/86) Installing glib (2.74.7-r0) [2023-08-15T19:17:38.989Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-08-15T19:17:38.989Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-08-15T19:17:38.989Z] (27/86) Installing libass (0.16.0-r1) [2023-08-15T19:17:38.989Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-08-15T19:17:38.989Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-08-15T19:17:38.989Z] (30/86) Installing libpciaccess (0.17-r0) [2023-08-15T19:17:38.989Z] (31/86) Installing libdrm (2.4.114-r0) [2023-08-15T19:17:38.989Z] (32/86) Installing gmp (6.2.1-r2) [2023-08-15T19:17:38.989Z] (33/86) Installing nettle (3.8.1-r0) [2023-08-15T19:17:38.989Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-08-15T19:17:38.989Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-08-15T19:17:38.989Z] (36/86) Installing libunistring (1.1-r0) [2023-08-15T19:17:38.989Z] (37/86) Installing gnutls (3.7.8-r3) [2023-08-15T19:17:38.989Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-15T19:17:38.989Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-15T19:17:38.989Z] (40/86) Installing lame (3.100-r2) [2023-08-15T19:17:38.989Z] (41/86) Installing opus (1.3.1-r1) [2023-08-15T19:17:38.989Z] (42/86) Installing libasyncns (0.8-r1) [2023-08-15T19:17:38.989Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-08-15T19:17:39.249Z] (44/86) Installing libltdl (2.4.7-r1) [2023-08-15T19:17:39.249Z] (45/86) Installing orc (0.4.33-r0) [2023-08-15T19:17:39.249Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-08-15T19:17:39.249Z] (47/86) Installing libogg (1.3.5-r2) [2023-08-15T19:17:39.249Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-15T19:17:39.249Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-08-15T19:17:39.249Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-08-15T19:17:39.249Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-08-15T19:17:39.249Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-08-15T19:17:39.249Z] (53/86) Installing soxr (0.1.3-r3) [2023-08-15T19:17:39.249Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-08-15T19:17:39.249Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-08-15T19:17:39.249Z] (56/86) Installing libpulse (16.1-r6) [2023-08-15T19:17:39.249Z] (57/86) Installing cjson (1.7.15-r3) [2023-08-15T19:17:39.249Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-08-15T19:17:39.249Z] (59/86) Installing librist (0.2.7-r0) [2023-08-15T19:17:39.249Z] (60/86) Installing libsrt (1.5.1-r0) [2023-08-15T19:17:39.249Z] (61/86) Installing libssh (0.10.5-r0) [2023-08-15T19:17:39.249Z] (62/86) Installing libtheora (1.1.1-r16) [2023-08-15T19:17:39.249Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-08-15T19:17:39.249Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-08-15T19:17:39.249Z] (65/86) Installing libxext (1.3.5-r0) [2023-08-15T19:17:39.249Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-08-15T19:17:39.249Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-08-15T19:17:39.249Z] (68/86) Installing libva (2.16.0-r0) [2023-08-15T19:17:39.249Z] (69/86) Installing libvdpau (1.5-r0) [2023-08-15T19:17:39.507Z] (70/86) Installing vidstab (1.1.0-r2) [2023-08-15T19:17:39.507Z] (71/86) Installing libvpx (1.12.0-r1) [2023-08-15T19:17:39.507Z] (72/86) Installing libwebp (1.2.4-r2) [2023-08-15T19:17:39.507Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-08-15T19:17:39.507Z] (74/86) Installing numactl (2.0.16-r1) [2023-08-15T19:17:39.507Z] (75/86) Installing x265-libs (3.5-r3) [2023-08-15T19:17:39.507Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-08-15T19:17:39.507Z] (77/86) Installing libsodium (1.0.18-r2) [2023-08-15T19:17:39.507Z] (78/86) Installing libzmq (4.3.4-r1) [2023-08-15T19:17:39.507Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-08-15T19:17:39.766Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-08-15T19:17:39.767Z] (81/86) Installing udev-init-scripts (35-r1) [2023-08-15T19:17:39.767Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-08-15T19:17:39.767Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-08-15T19:17:39.767Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-08-15T19:17:39.767Z] (85/86) Installing kmod-libs (30-r1) [2023-08-15T19:17:39.767Z] (86/86) Installing eudev (3.2.11-r4) [2023-08-15T19:17:39.767Z] Executing busybox-1.35.0-r29.trigger [2023-08-15T19:17:39.767Z] Executing eudev-3.2.11-r4.trigger [2023-08-15T19:17:39.767Z] OK: 112 MiB in 101 packages [2023-08-15T19:17:43.138Z] Removing intermediate container b27e7442954f [2023-08-15T19:17:43.138Z] ---> e05980580af1 [2023-08-15T19:17:43.138Z] Step 18/36 : WORKDIR / [2023-08-15T19:17:43.138Z] ---> Running in 9ce30fab32ff [2023-08-15T19:17:43.138Z] Removing intermediate container 9ce30fab32ff [2023-08-15T19:17:43.138Z] ---> 14c47f3abd32 [2023-08-15T19:17:43.138Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-15T19:17:43.708Z] ---> 1a50e7c84344 [2023-08-15T19:17:43.708Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-15T19:17:43.708Z] ---> 591daf9c5d3e [2023-08-15T19:17:43.708Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-15T19:17:43.969Z] ---> db5ece9a9d2f [2023-08-15T19:17:43.969Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-15T19:17:43.969Z] ---> c437f1ba3b1e [2023-08-15T19:17:43.969Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-15T19:17:44.229Z] ---> d4f1e019e324 [2023-08-15T19:17:44.229Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-15T19:17:44.229Z] ---> c5db1e63e5c5 [2023-08-15T19:17:44.229Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-15T19:17:45.166Z] ---> 33f61f361f04 [2023-08-15T19:17:45.166Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-15T19:17:45.166Z] ---> Running in c64920f8dca8 [2023-08-15T19:17:45.736Z] Removing intermediate container c64920f8dca8 [2023-08-15T19:17:45.736Z] ---> 7431c4345b05 [2023-08-15T19:17:45.736Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-15T19:17:45.736Z] ---> Running in 1edccaa19b96 [2023-08-15T19:17:46.313Z] Removing intermediate container 1edccaa19b96 [2023-08-15T19:17:46.313Z] ---> a29a4ed6220a [2023-08-15T19:17:46.313Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-15T19:17:46.313Z] ---> Running in 2877b8a4de3a [2023-08-15T19:17:46.882Z] Removing intermediate container 2877b8a4de3a [2023-08-15T19:17:46.882Z] ---> 2c139d07cdd8 [2023-08-15T19:17:46.882Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-15T19:17:46.882Z] ---> Running in 67860bc2ca28 [2023-08-15T19:17:47.157Z] Removing intermediate container 67860bc2ca28 [2023-08-15T19:17:47.157Z] ---> 407c5c8e63a7 [2023-08-15T19:17:47.157Z] Step 30/36 : EXPOSE 59983 [2023-08-15T19:17:47.418Z] ---> Running in 1313662f9032 [2023-08-15T19:17:47.418Z] Removing intermediate container 1313662f9032 [2023-08-15T19:17:47.418Z] ---> c6b03111fd06 [2023-08-15T19:17:47.418Z] Step 31/36 : EXPOSE 8554 [2023-08-15T19:17:47.418Z] ---> Running in e03280c1d592 [2023-08-15T19:17:47.418Z] Removing intermediate container e03280c1d592 [2023-08-15T19:17:47.418Z] ---> aa5a6b54a72a [2023-08-15T19:17:47.418Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-15T19:17:47.418Z] ---> Running in 3fb9d1d796c8 [2023-08-15T19:17:47.679Z] Removing intermediate container 3fb9d1d796c8 [2023-08-15T19:17:47.679Z] ---> 100aa138f78c [2023-08-15T19:17:47.679Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-15T19:17:47.679Z] ---> Running in 14d34167885f [2023-08-15T19:17:47.679Z] Removing intermediate container 14d34167885f [2023-08-15T19:17:47.679Z] ---> 65b07c100fe2 [2023-08-15T19:17:47.679Z] Step 34/36 : LABEL arch=amd64 [2023-08-15T19:17:47.679Z] ---> Running in 8b8cab303648 [2023-08-15T19:17:47.679Z] Removing intermediate container 8b8cab303648 [2023-08-15T19:17:47.679Z] ---> 3c4945df3b9b [2023-08-15T19:17:47.679Z] Step 35/36 : LABEL git_sha=88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [2023-08-15T19:17:47.679Z] ---> Running in b342e9b6160b [2023-08-15T19:17:47.940Z] Removing intermediate container b342e9b6160b [2023-08-15T19:17:47.940Z] ---> 92374e21bcc8 [2023-08-15T19:17:47.940Z] Step 36/36 : LABEL version=0.0.0 [2023-08-15T19:17:47.940Z] ---> Running in 32d7f025caf1 [2023-08-15T19:17:47.940Z] Removing intermediate container 32d7f025caf1 [2023-08-15T19:17:47.940Z] ---> 4ddc51c408b4 [2023-08-15T19:17:47.940Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-15T19:17:47.940Z] Successfully built 4ddc51c408b4 [2023-08-15T19:17:47.940Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:17:48.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T19:17:48.400Z] [2023-08-15T19:17:48.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:17:48.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T19:17:48.712Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-15T19:17:48.712Z] 5eb5b503b376: Pulling fs layer [2023-08-15T19:17:48.712Z] 5c69ac0246d0: Pulling fs layer [2023-08-15T19:17:48.712Z] ec43610c2a17: Pulling fs layer [2023-08-15T19:17:48.712Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-15T19:17:48.712Z] 33b1e0a273af: Pulling fs layer [2023-08-15T19:17:48.712Z] 5d3b04190fa2: Pulling fs layer [2023-08-15T19:17:48.712Z] 2f39f015ded8: Pulling fs layer [2023-08-15T19:17:48.712Z] 3a2ae6a8a46f: Waiting [2023-08-15T19:17:48.712Z] 33b1e0a273af: Waiting [2023-08-15T19:17:48.712Z] 5d3b04190fa2: Waiting [2023-08-15T19:17:48.712Z] 2f39f015ded8: Waiting [2023-08-15T19:17:48.712Z] 5c69ac0246d0: Download complete [2023-08-15T19:17:48.712Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-15T19:17:48.712Z] 3a2ae6a8a46f: Download complete [2023-08-15T19:17:48.712Z] 33b1e0a273af: Verifying Checksum [2023-08-15T19:17:48.712Z] 33b1e0a273af: Download complete [2023-08-15T19:17:48.712Z] 5d3b04190fa2: Download complete [2023-08-15T19:17:48.712Z] ec43610c2a17: Verifying Checksum [2023-08-15T19:17:48.712Z] ec43610c2a17: Download complete [2023-08-15T19:17:48.971Z] 5eb5b503b376: Verifying Checksum [2023-08-15T19:17:48.971Z] 5eb5b503b376: Download complete [2023-08-15T19:17:49.226Z] 8d51d6327a98: Pull complete [2023-08-15T19:17:49.226Z] 8b374f2dd631: Pull complete [2023-08-15T19:17:49.226Z] ec14aa9079de: Pull complete [2023-08-15T19:17:50.345Z] 5eb5b503b376: Pull complete [2023-08-15T19:17:50.345Z] 5c69ac0246d0: Pull complete [2023-08-15T19:17:50.605Z] ec43610c2a17: Pull complete [2023-08-15T19:17:50.864Z] 3a2ae6a8a46f: Pull complete [2023-08-15T19:17:50.864Z] 33b1e0a273af: Pull complete [2023-08-15T19:17:51.122Z] 5d3b04190fa2: Pull complete [2023-08-15T19:17:55.304Z] 2f39f015ded8: Pull complete [2023-08-15T19:17:55.304Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-15T19:17:55.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T19:17:55.304Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2023-08-15T19:17:55.331Z] 2f466654f4bb: Pull complete [Pipeline] withDockerContainer [2023-08-15T19:17:55.379Z] prd-ubuntu20.04-docker-8c-8g-3707 does not seem to be running inside a container [2023-08-15T19:17:55.417Z] $ 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-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-15T19:17:57.998Z] 554e91adad29: Pull complete [2023-08-15T19:17:57.998Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-15T19:17:57.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-15T19:17:57.998Z] ---> 1e15ea492957 [2023-08-15T19:17:57.998Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-08-15T19:17:59.361Z] $ docker top ff0fb50594409c120a44432fb97a11c6d99100607e35e9993a74225d80107eb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:17:59.487Z] ---> Running in df276b5290a9 [2023-08-15T19:17:59.487Z] Removing intermediate container df276b5290a9 [2023-08-15T19:17:59.487Z] ---> dc7c27380ca3 [2023-08-15T19:17:59.487Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-15T19:17:59.754Z] ---> Running in 7c734f0644e0 [2023-08-15T19:17:59.762Z] ---> job-cost.sh [2023-08-15T19:17:59.762Z] lf-activate-venv: SKIPPING [2023-08-15T19:17:59.762Z] INFO: No Stack... [2023-08-15T19:18:00.021Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-15T19:18:00.022Z] Removing intermediate container 7c734f0644e0 [2023-08-15T19:18:00.022Z] ---> ba8491201c31 [2023-08-15T19:18:00.022Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-15T19:18:00.022Z] ---> Running in 8e28878c9cad [2023-08-15T19:18:00.281Z] INFO: Archiving Costs [2023-08-15T19:18:00.291Z] Removing intermediate container 8e28878c9cad [2023-08-15T19:18:00.291Z] ---> 2dff9f222e23 [2023-08-15T19:18:00.291Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-15T19:18:00.291Z] ---> Running in d6bdfdb164ed [Pipeline] sh [2023-08-15T19:18:00.560Z] Removing intermediate container d6bdfdb164ed [2023-08-15T19:18:00.560Z] ---> 8a1443a652a2 [2023-08-15T19:18:00.560Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-15T19:18:00.573Z] + cat /w/workspace/foundry_device-usb-camera_PR-269/archives/cost.csv [2023-08-15T19:18:00.573Z] + cut -d, -f6 [Pipeline] lock [2023-08-15T19:18:00.586Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-269-5-stack-cost] [2023-08-15T19:18:00.592Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-269-5-stack-cost] did not exist. Created. [2023-08-15T19:18:00.592Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-269-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-15T19:18:00.828Z] ---> Running in 3c5cbfded7a1 [2023-08-15T19:18:00.898Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-15T19:18:00.923Z] Stashed 1 file(s) [Pipeline] } [2023-08-15T19:18:00.929Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-269-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-15T19:18:00.948Z] $ docker stop --time=1 ff0fb50594409c120a44432fb97a11c6d99100607e35e9993a74225d80107eb6 [2023-08-15T19:18:01.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-15T19:18:02.092Z] $ docker rm -f --volumes ff0fb50594409c120a44432fb97a11c6d99100607e35e9993a74225d80107eb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-15T19:18:02.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-15T19:18:03.333Z] (1/14) Installing libintl (0.21.1-r1) [2023-08-15T19:18:03.333Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-08-15T19:18:03.333Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-08-15T19:18:03.333Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-08-15T19:18:03.333Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-08-15T19:18:03.333Z] (6/14) Installing udev-init-scripts (35-r1) [2023-08-15T19:18:03.333Z] (7/14) Installing libblkid (2.38.1-r1) [2023-08-15T19:18:03.333Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-08-15T19:18:03.333Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-08-15T19:18:03.333Z] (10/14) Installing kmod-libs (30-r1) [2023-08-15T19:18:03.333Z] (11/14) Installing eudev (3.2.11-r4) [2023-08-15T19:18:03.333Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-08-15T19:18:03.333Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-08-15T19:18:03.606Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-08-15T19:18:03.606Z] Executing busybox-1.35.0-r29.trigger [2023-08-15T19:18:03.606Z] Executing eudev-3.2.11-r4.trigger [2023-08-15T19:18:03.606Z] OK: 271 MiB in 67 packages [2023-08-15T19:18:04.572Z] Removing intermediate container 3c5cbfded7a1 [2023-08-15T19:18:04.572Z] ---> f0a3ff6bfb9c [2023-08-15T19:18:04.572Z] Step 8/13 : WORKDIR /device-usb-camera [2023-08-15T19:18:04.841Z] ---> Running in 0563884a9d8c [2023-08-15T19:18:05.112Z] Removing intermediate container 0563884a9d8c [2023-08-15T19:18:05.112Z] ---> 4a56fcd27641 [2023-08-15T19:18:05.112Z] Step 9/13 : COPY go.mod vendor* ./ [2023-08-15T19:18:08.474Z] ---> 00642e523a1d [2023-08-15T19:18:08.474Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T19:18:08.474Z] ---> Running in 5d2eaa919f54 [2023-08-15T19:19:16.341Z] Removing intermediate container 5d2eaa919f54 [2023-08-15T19:19:16.341Z] ---> 307b1d60a1ab [2023-08-15T19:19:16.341Z] Step 11/13 : COPY . . [2023-08-15T19:19:16.341Z] ---> b1c535707e9c [2023-08-15T19:19:16.341Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-15T19:19:16.341Z] ---> Running in 420742c00087 [2023-08-15T19:19:16.341Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-08-15T19:19:16.341Z]   Dload Upload Total Spent Left Speed [2023-08-15T19:19:16.341Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4491 0 --:--:-- --:--:-- --:--:-- 4500 [2023-08-15T19:19:16.341Z] Removing intermediate container 420742c00087 [2023-08-15T19:19:16.341Z] ---> 97dc616a4b6b [2023-08-15T19:19:16.341Z] Step 13/13 : RUN ${MAKE} [2023-08-15T19:19:16.341Z] ---> Running in d6dc3ac2909c [2023-08-15T19:19:16.341Z] noop [2023-08-15T19:19:17.747Z] Removing intermediate container d6dc3ac2909c [2023-08-15T19:19:17.747Z] ---> 92918e68e760 [2023-08-15T19:19:18.013Z] Successfully built 92918e68e760 [2023-08-15T19:19:18.013Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:19:18.363Z] + docker inspect -f . ci-base-image-arm64 [2023-08-15T19:19:18.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T19:19:18.558Z] prd-ubuntu20.04-docker-arm64-4c-16g-3708 does not seem to be running inside a container [2023-08-15T19:19:18.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/5 -v /w/workspace/device-usb-camera/5:/w/workspace/device-usb-camera/5:rw,z -v /w/workspace/device-usb-camera/5@tmp:/w/workspace/device-usb-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-15T19:19:19.746Z] $ docker top d4b5b29b1ec87040b311ebd6f67dc0927d1d2f76aa77a1c151f355bced1dd5a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T19:19:20.557Z] + go version [2023-08-15T19:19:20.557Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-15T19:19:20.584Z] $ docker stop --time=1 d4b5b29b1ec87040b311ebd6f67dc0927d1d2f76aa77a1c151f355bced1dd5a9 [2023-08-15T19:19:22.185Z] $ docker rm -f --volumes d4b5b29b1ec87040b311ebd6f67dc0927d1d2f76aa77a1c151f355bced1dd5a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:19:22.732Z] + docker inspect -f . ci-base-image-arm64 [2023-08-15T19:19:22.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T19:19:22.906Z] prd-ubuntu20.04-docker-arm64-4c-16g-3708 does not seem to be running inside a container [2023-08-15T19:19:22.976Z] $ 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/5 -v /w/workspace/device-usb-camera/5:/w/workspace/device-usb-camera/5:rw,z -v /w/workspace/device-usb-camera/5@tmp:/w/workspace/device-usb-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-15T19:19:24.089Z] $ docker top a047f2e91f49fb644c92e7035875fa16c7c8d0a9d28ddf877248d44bba38a025 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T19:19:24.581Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/5 [Pipeline] fileExists [Pipeline] sh [2023-08-15T19:19:24.912Z] + make test [2023-08-15T19:19:24.913Z] go test ./... -coverprofile=coverage.out ./... [2023-08-15T19:19:57.141Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-08-15T19:21:48.812Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-08-15T19:21:54.189Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.124s coverage: 4.9% of statements [2023-08-15T19:21:54.189Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-15T19:21:54.189Z] go vet ./... [2023-08-15T19:22:26.444Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-15T19:22:26.444Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-15T19:22:26.444Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-15T19:22:26.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-15T19:22:26.488Z] $ docker stop --time=1 a047f2e91f49fb644c92e7035875fa16c7c8d0a9d28ddf877248d44bba38a025 [2023-08-15T19:22:29.400Z] $ docker rm -f --volumes a047f2e91f49fb644c92e7035875fa16c7c8d0a9d28ddf877248d44bba38a025 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-15T19:22:30.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-15T19:22:30.477Z] Warning: overwriting stash ‘coverage-report’ [2023-08-15T19:22:30.915Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-15T19:22:31.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-15T19:22:31.612Z] + ls -al . [2023-08-15T19:22:31.612Z] total 204 [2023-08-15T19:22:31.612Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 19:19 . [2023-08-15T19:22:31.612Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 19:17 .. [2023-08-15T19:22:31.612Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 19:17 .git [2023-08-15T19:22:31.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 19:17 .github [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 414 Aug 15 19:17 .gitignore [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 45 Aug 15 19:17 .golangci.yml [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 77 Aug 15 19:17 .hadolint.yml [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 9783 Aug 15 19:17 Attribution.txt [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 11903 Aug 15 19:17 CHANGELOG.md [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 2453 Aug 15 19:17 Dockerfile [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 19:17 GOVERNANCE.md [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 659 Aug 15 19:17 Jenkinsfile [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 15 19:17 LICENSE [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 2364 Aug 15 19:17 Makefile [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 19:17 OWNERS.md [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 2575 Aug 15 19:17 README.md [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 19:15 VERSION [2023-08-15T19:22:31.612Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 19:17 bin [2023-08-15T19:22:31.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 19:17 cmd [2023-08-15T19:22:31.612Z] -rw-r--r-- 1 jenkins jenkins 48554 Aug 15 19:21 coverage.out [2023-08-15T19:22:31.612Z] -rwxrwxr-x 1 jenkins jenkins 140 Aug 15 19:17 docker-entrypoint.sh [2023-08-15T19:22:31.612Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 19:17 docs [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 3416 Aug 15 19:17 go.mod [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 31482 Aug 15 19:17 go.sum [2023-08-15T19:22:31.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 19:17 internal [2023-08-15T19:22:31.612Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 19:17 snap [2023-08-15T19:22:31.612Z] -rw-rw-r-- 1 jenkins jenkins 231 Aug 15 19:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:22:31.946Z] + 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=88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c --label arch=arm64 --label version=0.0.0 . [2023-08-15T19:22:32.214Z] Sending build context to Docker daemon 1.301MB [2023-08-15T19:22:32.214Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T19:22:32.214Z] Step 2/36 : FROM ${BASE} AS builder [2023-08-15T19:22:32.214Z] ---> 92918e68e760 [2023-08-15T19:22:32.214Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-08-15T19:22:32.487Z] ---> Running in d8cde587ae4c [2023-08-15T19:22:32.754Z] Removing intermediate container d8cde587ae4c [2023-08-15T19:22:32.754Z] ---> 37d49284f463 [2023-08-15T19:22:32.754Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-15T19:22:32.754Z] ---> Running in a9e9a83d3132 [2023-08-15T19:22:33.021Z] Removing intermediate container a9e9a83d3132 [2023-08-15T19:22:33.021Z] ---> f1a9f352c46b [2023-08-15T19:22:33.021Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-08-15T19:22:33.021Z] ---> Running in 4df65b5929d3 [2023-08-15T19:22:33.290Z] Removing intermediate container 4df65b5929d3 [2023-08-15T19:22:33.290Z] ---> 10e44946d901 [2023-08-15T19:22:33.290Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-08-15T19:22:33.290Z] ---> Running in 12453ae0e578 [2023-08-15T19:22:33.559Z] Removing intermediate container 12453ae0e578 [2023-08-15T19:22:33.559Z] ---> 0278b9ed7429 [2023-08-15T19:22:33.559Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-15T19:22:33.841Z] ---> Running in de587d551f96 [2023-08-15T19:22:34.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-15T19:22:35.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-15T19:22:36.339Z] OK: 271 MiB in 67 packages [2023-08-15T19:22:36.921Z] Removing intermediate container de587d551f96 [2023-08-15T19:22:36.921Z] ---> a0941909800d [2023-08-15T19:22:36.921Z] Step 8/36 : WORKDIR /device-usb-camera [2023-08-15T19:22:37.187Z] ---> Running in bf530feefe80 [2023-08-15T19:22:37.454Z] Removing intermediate container bf530feefe80 [2023-08-15T19:22:37.454Z] ---> 4bcd5845d183 [2023-08-15T19:22:37.454Z] Step 9/36 : COPY go.mod vendor* ./ [2023-08-15T19:22:38.044Z] ---> a32f444be2a4 [2023-08-15T19:22:38.044Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T19:22:38.044Z] ---> Running in 4f68bf4a2f1d [2023-08-15T19:22:43.387Z] Removing intermediate container 4f68bf4a2f1d [2023-08-15T19:22:43.387Z] ---> a5336e16c763 [2023-08-15T19:22:43.387Z] Step 11/36 : COPY . . [2023-08-15T19:22:43.387Z] ---> fed4e4db4407 [2023-08-15T19:22:43.387Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-08-15T19:22:43.387Z] ---> Running in da8e0ff7eb8b [2023-08-15T19:22:44.352Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-08-15T19:22:44.352Z] Dload Upload Total Spent Left Speed [2023-08-15T19:22:44.935Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 1631 0 --:--:-- --:--:-- --:--:-- 1633 [2023-08-15T19:22:45.523Z] Removing intermediate container da8e0ff7eb8b [2023-08-15T19:22:45.523Z] ---> 0bf6c87bcc4a [2023-08-15T19:22:45.523Z] Step 13/36 : RUN ${MAKE} [2023-08-15T19:22:45.791Z] ---> Running in e2df22a68139 [2023-08-15T19:22:46.755Z] 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-08-15T19:25:08.434Z] Removing intermediate container e2df22a68139 [2023-08-15T19:25:08.434Z] ---> ee6f03b16a2f [2023-08-15T19:25:08.434Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-08-15T19:25:08.434Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-08-15T19:25:08.434Z] 8766b47fe142: Pulling fs layer [2023-08-15T19:25:08.434Z] 8766b47fe142: Verifying Checksum [2023-08-15T19:25:08.434Z] 8766b47fe142: Download complete [2023-08-15T19:25:08.434Z] 8766b47fe142: Pull complete [2023-08-15T19:25:08.434Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-08-15T19:25:08.434Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-08-15T19:25:08.434Z] ---> 69d40e2cb93c [2023-08-15T19:25:08.434Z] Step 15/36 : FROM alpine:3.17 [2023-08-15T19:25:08.434Z] 3.17: Pulling from library/alpine [2023-08-15T19:25:08.434Z] 4060ece20d7a: Pulling fs layer [2023-08-15T19:25:08.434Z] 4060ece20d7a: Verifying Checksum [2023-08-15T19:25:08.434Z] 4060ece20d7a: Download complete [2023-08-15T19:25:08.434Z] 4060ece20d7a: Pull complete [2023-08-15T19:25:11.031Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-15T19:25:11.031Z] Status: Downloaded newer image for alpine:3.17 [2023-08-15T19:25:11.031Z] ---> 8650cd65339b [2023-08-15T19:25:11.031Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-08-15T19:25:11.031Z] ---> Running in 9ee862e791da [2023-08-15T19:25:11.031Z] Removing intermediate container 9ee862e791da [2023-08-15T19:25:11.031Z] ---> ffd505aabca2 [2023-08-15T19:25:11.031Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-08-15T19:25:11.031Z] ---> Running in 3559ad151a4e [2023-08-15T19:25:12.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-15T19:25:12.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-15T19:25:13.578Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-08-15T19:25:13.578Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-08-15T19:25:13.578Z] (3/83) Installing libxau (1.0.10-r0) [2023-08-15T19:25:13.578Z] (4/83) Installing libmd (1.0.4-r0) [2023-08-15T19:25:13.578Z] (5/83) Installing libbsd (0.11.7-r0) [2023-08-15T19:25:13.578Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-08-15T19:25:13.578Z] (7/83) Installing libxcb (1.15-r0) [2023-08-15T19:25:13.578Z] (8/83) Installing libx11 (1.8.4-r1) [2023-08-15T19:25:13.846Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-08-15T19:25:13.846Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-08-15T19:25:13.846Z] (11/83) Installing libexpat (2.5.0-r0) [2023-08-15T19:25:13.846Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-08-15T19:25:14.118Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-08-15T19:25:14.118Z] (14/83) Installing libpng (1.6.39-r0) [2023-08-15T19:25:14.118Z] (15/83) Installing freetype (2.12.1-r0) [2023-08-15T19:25:14.118Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-08-15T19:25:14.118Z] (17/83) Installing fribidi (1.0.12-r0) [2023-08-15T19:25:14.118Z] (18/83) Installing libffi (3.4.4-r0) [2023-08-15T19:25:14.118Z] (19/83) Installing libintl (0.21.1-r1) [2023-08-15T19:25:14.118Z] (20/83) Installing libblkid (2.38.1-r1) [2023-08-15T19:25:14.118Z] (21/83) Installing libmount (2.38.1-r1) [2023-08-15T19:25:14.118Z] (22/83) Installing pcre2 (10.42-r0) [2023-08-15T19:25:14.118Z] (23/83) Installing glib (2.74.7-r0) [2023-08-15T19:25:14.385Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-08-15T19:25:14.385Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-08-15T19:25:14.385Z] (26/83) Installing libass (0.16.0-r1) [2023-08-15T19:25:14.385Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-08-15T19:25:14.385Z] (28/83) Installing libdrm (2.4.114-r0) [2023-08-15T19:25:14.656Z] (29/83) Installing gmp (6.2.1-r2) [2023-08-15T19:25:14.656Z] (30/83) Installing nettle (3.8.1-r0) [2023-08-15T19:25:14.656Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-08-15T19:25:14.656Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-08-15T19:25:14.656Z] (33/83) Installing libunistring (1.1-r0) [2023-08-15T19:25:14.656Z] (34/83) Installing gnutls (3.7.8-r3) [2023-08-15T19:25:14.656Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-08-15T19:25:14.656Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-08-15T19:25:14.656Z] (37/83) Installing lame (3.100-r2) [2023-08-15T19:25:14.656Z] (38/83) Installing opus (1.3.1-r1) [2023-08-15T19:25:14.926Z] (39/83) Installing libasyncns (0.8-r1) [2023-08-15T19:25:14.926Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-08-15T19:25:14.926Z] (41/83) Installing libltdl (2.4.7-r1) [2023-08-15T19:25:14.926Z] (42/83) Installing orc (0.4.33-r0) [2023-08-15T19:25:14.926Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-08-15T19:25:14.926Z] (44/83) Installing libogg (1.3.5-r2) [2023-08-15T19:25:14.926Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-08-15T19:25:14.926Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-08-15T19:25:14.926Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-08-15T19:25:14.926Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-08-15T19:25:14.926Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-08-15T19:25:14.926Z] (50/83) Installing soxr (0.1.3-r3) [2023-08-15T19:25:14.926Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-08-15T19:25:14.926Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-08-15T19:25:14.926Z] (53/83) Installing libpulse (16.1-r6) [2023-08-15T19:25:15.196Z] (54/83) Installing cjson (1.7.15-r3) [2023-08-15T19:25:15.196Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-08-15T19:25:15.196Z] (56/83) Installing librist (0.2.7-r0) [2023-08-15T19:25:15.196Z] (57/83) Installing libsrt (1.5.1-r0) [2023-08-15T19:25:15.196Z] (58/83) Installing libssh (0.10.5-r0) [2023-08-15T19:25:15.196Z] (59/83) Installing libtheora (1.1.1-r16) [2023-08-15T19:25:15.196Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-08-15T19:25:15.196Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-08-15T19:25:15.196Z] (62/83) Installing libxext (1.3.5-r0) [2023-08-15T19:25:15.196Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-08-15T19:25:15.196Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-08-15T19:25:15.196Z] (65/83) Installing libva (2.16.0-r0) [2023-08-15T19:25:15.196Z] (66/83) Installing libvdpau (1.5-r0) [2023-08-15T19:25:15.196Z] (67/83) Installing vidstab (1.1.0-r2) [2023-08-15T19:25:15.196Z] (68/83) Installing libvpx (1.12.0-r1) [2023-08-15T19:25:15.465Z] (69/83) Installing libwebp (1.2.4-r2) [2023-08-15T19:25:15.465Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-08-15T19:25:15.465Z] (71/83) Installing numactl (2.0.16-r1) [2023-08-15T19:25:15.465Z] (72/83) Installing x265-libs (3.5-r3) [2023-08-15T19:25:15.741Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-08-15T19:25:15.741Z] (74/83) Installing libsodium (1.0.18-r2) [2023-08-15T19:25:15.741Z] (75/83) Installing libzmq (4.3.4-r1) [2023-08-15T19:25:15.741Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-08-15T19:25:16.008Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-08-15T19:25:16.274Z] (78/83) Installing udev-init-scripts (35-r1) [2023-08-15T19:25:16.274Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-08-15T19:25:16.274Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-08-15T19:25:16.274Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-08-15T19:25:16.274Z] (82/83) Installing kmod-libs (30-r1) [2023-08-15T19:25:16.274Z] (83/83) Installing eudev (3.2.11-r4) [2023-08-15T19:25:16.274Z] Executing busybox-1.35.0-r29.trigger [2023-08-15T19:25:16.274Z] Executing eudev-3.2.11-r4.trigger [2023-08-15T19:25:16.274Z] OK: 86 MiB in 98 packages [2023-08-15T19:25:19.638Z] Removing intermediate container 3559ad151a4e [2023-08-15T19:25:19.638Z] ---> 841a280d0254 [2023-08-15T19:25:19.638Z] Step 18/36 : WORKDIR / [2023-08-15T19:25:19.638Z] ---> Running in 979105c82dcd [2023-08-15T19:25:19.906Z] Removing intermediate container 979105c82dcd [2023-08-15T19:25:19.906Z] ---> 812e26cfff4e [2023-08-15T19:25:19.906Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-08-15T19:25:21.315Z] ---> 08ab7ba1d204 [2023-08-15T19:25:21.315Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-08-15T19:25:21.583Z] ---> 976c75177577 [2023-08-15T19:25:21.583Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-08-15T19:25:23.528Z] ---> e7b245bb4094 [2023-08-15T19:25:23.528Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-08-15T19:25:24.115Z] ---> 9538b2ed786c [2023-08-15T19:25:24.115Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-08-15T19:25:24.699Z] ---> c7a8fddbfe52 [2023-08-15T19:25:24.699Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-08-15T19:25:24.973Z] ---> 17dfedc82f8f [2023-08-15T19:25:24.973Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-08-15T19:25:26.484Z] ---> b8cace67d699 [2023-08-15T19:25:26.484Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-08-15T19:25:26.484Z] ---> Running in 778e65261875 [2023-08-15T19:25:28.472Z] Removing intermediate container 778e65261875 [2023-08-15T19:25:28.472Z] ---> 9bad01ae881d [2023-08-15T19:25:28.472Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-08-15T19:25:28.472Z] ---> Running in 029928a34d1f [2023-08-15T19:25:29.906Z] Removing intermediate container 029928a34d1f [2023-08-15T19:25:29.906Z] ---> 6a6f05e67dea [2023-08-15T19:25:29.906Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-08-15T19:25:29.906Z] ---> Running in 646a1ad3201e [2023-08-15T19:25:31.321Z] Removing intermediate container 646a1ad3201e [2023-08-15T19:25:31.321Z] ---> 0ccc040d4dc6 [2023-08-15T19:25:31.321Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-08-15T19:25:31.321Z] ---> Running in 08075d95a24f [2023-08-15T19:25:33.268Z] Removing intermediate container 08075d95a24f [2023-08-15T19:25:33.268Z] ---> 4fe69e985db8 [2023-08-15T19:25:33.268Z] Step 30/36 : EXPOSE 59983 [2023-08-15T19:25:33.268Z] ---> Running in 2cd47395c3ef [2023-08-15T19:25:33.268Z] Removing intermediate container 2cd47395c3ef [2023-08-15T19:25:33.268Z] ---> 0725fe308362 [2023-08-15T19:25:33.268Z] Step 31/36 : EXPOSE 8554 [2023-08-15T19:25:33.268Z] ---> Running in 901f00b8477a [2023-08-15T19:25:33.534Z] Removing intermediate container 901f00b8477a [2023-08-15T19:25:33.534Z] ---> eba9dc76d328 [2023-08-15T19:25:33.534Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-08-15T19:25:33.534Z] ---> Running in 3116c2ee80b2 [2023-08-15T19:25:33.802Z] Removing intermediate container 3116c2ee80b2 [2023-08-15T19:25:33.802Z] ---> 5ff30937de5b [2023-08-15T19:25:33.802Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-08-15T19:25:34.068Z] ---> Running in ad7910f2cf28 [2023-08-15T19:25:34.337Z] Removing intermediate container ad7910f2cf28 [2023-08-15T19:25:34.337Z] ---> 749e77227650 [2023-08-15T19:25:34.337Z] Step 34/36 : LABEL arch=arm64 [2023-08-15T19:25:34.337Z] ---> Running in 91f06bdd4ccf [2023-08-15T19:25:34.604Z] Removing intermediate container 91f06bdd4ccf [2023-08-15T19:25:34.604Z] ---> 3e759c52bc51 [2023-08-15T19:25:34.604Z] Step 35/36 : LABEL git_sha=88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [2023-08-15T19:25:34.604Z] ---> Running in 1f0247ae2a32 [2023-08-15T19:25:34.872Z] Removing intermediate container 1f0247ae2a32 [2023-08-15T19:25:34.872Z] ---> a98727184e9b [2023-08-15T19:25:34.872Z] Step 36/36 : LABEL version=0.0.0 [2023-08-15T19:25:34.872Z] ---> Running in 1798791f4225 [2023-08-15T19:25:38.209Z] Removing intermediate container 1798791f4225 [2023-08-15T19:25:38.209Z] ---> 881bff4b2c8b [2023-08-15T19:25:38.209Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-15T19:25:38.209Z] Successfully built 881bff4b2c8b [2023-08-15T19:25:38.209Z] 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-08-15T19:25:38.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-15T19:25:38.644Z] [2023-08-15T19:25:38.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:25:38.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-15T19:25:38.970Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-15T19:25:38.970Z] 8998bd30e6a1: Pulling fs layer [2023-08-15T19:25:38.970Z] 04944245beec: Pulling fs layer [2023-08-15T19:25:38.970Z] 699f458cf7ca: Pulling fs layer [2023-08-15T19:25:38.970Z] 765212b225bb: Pulling fs layer [2023-08-15T19:25:38.970Z] f23df028b6ca: Pulling fs layer [2023-08-15T19:25:38.970Z] d65c8cfc05b1: Pulling fs layer [2023-08-15T19:25:38.970Z] 2437ff75d9bd: Pulling fs layer [2023-08-15T19:25:38.970Z] 765212b225bb: Waiting [2023-08-15T19:25:38.970Z] f23df028b6ca: Waiting [2023-08-15T19:25:38.970Z] d65c8cfc05b1: Waiting [2023-08-15T19:25:38.970Z] 2437ff75d9bd: Waiting [2023-08-15T19:25:39.240Z] 04944245beec: Verifying Checksum [2023-08-15T19:25:39.240Z] 04944245beec: Download complete [2023-08-15T19:25:39.240Z] 765212b225bb: Verifying Checksum [2023-08-15T19:25:39.240Z] 765212b225bb: Download complete [2023-08-15T19:25:39.240Z] f23df028b6ca: Verifying Checksum [2023-08-15T19:25:39.240Z] f23df028b6ca: Download complete [2023-08-15T19:25:39.240Z] d65c8cfc05b1: Download complete [2023-08-15T19:25:39.240Z] 699f458cf7ca: Verifying Checksum [2023-08-15T19:25:39.240Z] 699f458cf7ca: Download complete [2023-08-15T19:25:39.830Z] 8998bd30e6a1: Verifying Checksum [2023-08-15T19:25:39.830Z] 8998bd30e6a1: Download complete [2023-08-15T19:25:41.766Z] 2437ff75d9bd: Verifying Checksum [2023-08-15T19:25:41.766Z] 2437ff75d9bd: Download complete [2023-08-15T19:25:43.707Z] 8998bd30e6a1: Pull complete [2023-08-15T19:25:43.974Z] 04944245beec: Pull complete [2023-08-15T19:25:45.378Z] 699f458cf7ca: Pull complete [2023-08-15T19:25:45.644Z] 765212b225bb: Pull complete [2023-08-15T19:25:46.227Z] f23df028b6ca: Pull complete [2023-08-15T19:25:46.493Z] d65c8cfc05b1: Pull complete [2023-08-15T19:26:01.485Z] 2437ff75d9bd: Pull complete [2023-08-15T19:26:01.485Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-15T19:26:01.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-15T19:26:01.485Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T19:26:01.690Z] prd-ubuntu20.04-docker-arm64-4c-16g-3708 does not seem to be running inside a container [2023-08-15T19:26:01.761Z] $ 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/5 -v /w/workspace/device-usb-camera/5:/w/workspace/device-usb-camera/5:rw,z -v /w/workspace/device-usb-camera/5@tmp:/w/workspace/device-usb-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-15T19:26:04.180Z] $ docker top 752068e56b90daac17d818401b326d554172f05efdc10cd20e3ab398fa80e448 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:26:05.007Z] ---> job-cost.sh [2023-08-15T19:26:05.007Z] lf-activate-venv: SKIPPING [2023-08-15T19:26:05.007Z] INFO: No Stack... [2023-08-15T19:26:05.271Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-15T19:26:06.222Z] INFO: Archiving Costs [Pipeline] sh [2023-08-15T19:26:06.851Z] + cat /w/workspace/device-usb-camera/5/archives/cost.csv [2023-08-15T19:26:06.851Z] + cut -d, -f6 [Pipeline] lock [2023-08-15T19:26:06.912Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-269-5-stack-cost] [2023-08-15T19:26:06.919Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-269-5-stack-cost] did not exist. Created. [2023-08-15T19:26:06.919Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-269-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-15T19:26:07.557Z] /w/workspace/device-usb-camera/5@tmp/durable-4ac6f9bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-15T19:26:07.883Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-15T19:26:07.908Z] Warning: overwriting stash ‘stack-cost’ [2023-08-15T19:26:07.959Z] Stashed 1 file(s) [Pipeline] } [2023-08-15T19:26:07.987Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-269-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-15T19:26:08.018Z] $ docker stop --time=1 752068e56b90daac17d818401b326d554172f05efdc10cd20e3ab398fa80e448 [2023-08-15T19:26:09.487Z] $ docker rm -f --volumes 752068e56b90daac17d818401b326d554172f05efdc10cd20e3ab398fa80e448 [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-08-15T19:26:09.881Z] provisioning config files... [2023-08-15T19:26:09.886Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-269@tmp/config8059696514960339990tmp [Pipeline] { [Pipeline] sh [2023-08-15T19:26:10.188Z] + set +x [2023-08-15T19:26:10.188Z] + curl -s https://codecov.io/bash [2023-08-15T19:26:10.188Z] + bash -s -- [2023-08-15T19:26:10.188Z] [2023-08-15T19:26:10.188Z] _____ _ [2023-08-15T19:26:10.188Z] / ____| | | [2023-08-15T19:26:10.188Z] | | ___ __| | ___ ___ _____ __ [2023-08-15T19:26:10.188Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-15T19:26:10.188Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-15T19:26:10.188Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-15T19:26:10.188Z] Bash-1.0.6 [2023-08-15T19:26:10.188Z] [2023-08-15T19:26:10.188Z] [2023-08-15T19:26:10.188Z] ==> git version 2.25.1 found [2023-08-15T19:26:10.188Z] ==> 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-08-15T19:26:10.188Z] Release-Date: 2020-01-08 [2023-08-15T19:26:10.188Z] 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-08-15T19:26:10.188Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-15T19:26:10.188Z] ==> Jenkins CI detected. [2023-08-15T19:26:10.188Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-269 [2023-08-15T19:26:10.188Z] project root: . [2023-08-15T19:26:10.188Z] --> token set from env [2023-08-15T19:26:10.188Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-15T19:26:10.188Z] ==> Running gcov in . (disable via -X gcov) [2023-08-15T19:26:10.188Z] ==> Python coveragepy not found [2023-08-15T19:26:10.188Z] ==> Searching for coverage reports in: [2023-08-15T19:26:10.188Z] + . [2023-08-15T19:26:10.188Z] -> Found 1 reports [2023-08-15T19:26:10.188Z] ==> Detecting git/mercurial file structure [2023-08-15T19:26:10.447Z] ==> Reading reports [2023-08-15T19:26:10.447Z] + ./coverage.out bytes=48554 [2023-08-15T19:26:10.447Z] ==> Appending adjustments [2023-08-15T19:26:10.447Z] https://docs.codecov.io/docs/fixing-reports [2023-08-15T19:26:10.447Z] + Found adjustments [2023-08-15T19:26:10.447Z] ==> Gzipping contents [2023-08-15T19:26:10.447Z] 8.0K /tmp/codecov.vJyiGp.gz [2023-08-15T19:26:10.447Z] ==> Uploading reports [2023-08-15T19:26:10.447Z] url: https://codecov.io [2023-08-15T19:26:10.447Z] query: branch=PR-269&commit=88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-269%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=269&job=&cmd_args= [2023-08-15T19:26:10.447Z] -> Pinging Codecov [2023-08-15T19:26:10.447Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-269&commit=88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-269%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=269&job=&cmd_args= [2023-08-15T19:26:10.705Z] -> Uploading to [2023-08-15T19:26:10.706Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-15/73D8F5FF140700D3E01443B452E23636/88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c/c82da19a-b917-4f7b-aa2c-10dec2aa7286.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230815T192610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b0336c665438cb9b76747f1600bc732332aef4265b304a037c05487f18929bc [2023-08-15T19:26:10.706Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-15T19:26:10.706Z] Dload Upload Total Spent Left Speed [2023-08-15T19:26:10.706Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6295 0 0 100 6295 0 30264 --:--:-- --:--:-- --:--:-- 30119 100 6295 0 0 100 6295 0 28744 --:--:-- --:--:-- --:--:-- 28613 [2023-08-15T19:26:10.706Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/88b7371c3a0e62eea2f2c0e1f7be1b4233b55f5c [Pipeline] } [2023-08-15T19:26:10.713Z] 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-08-15T19:26:11.453Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-269/archives ] [2023-08-15T19:26:11.453Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-269/archives [2023-08-15T19:26:11.453Z] total 16 [2023-08-15T19:26:11.453Z] drwxr-xr-x 3 root root 4096 Aug 15 19:18 . [2023-08-15T19:26:11.453Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 19:18 .. [2023-08-15T19:26:11.453Z] drwxr-xr-x 2 root root 4096 Aug 15 19:18 cost [2023-08-15T19:26:11.453Z] -rw-r--r-- 1 root root 89 Aug 15 19:18 cost.csv [2023-08-15T19:26:11.453Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-269/archives [2023-08-15T19:26:11.453Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-269/archives [2023-08-15T19:26:11.453Z] total 16 [2023-08-15T19:26:11.453Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 19:18 . [2023-08-15T19:26:11.453Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 19:18 .. [2023-08-15T19:26:11.453Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 19:18 cost [2023-08-15T19:26:11.453Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 15 19:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:26:11.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:26:12.608Z] ---> package-listing.sh [2023-08-15T19:26:12.608Z] ++ facter osfamily [2023-08-15T19:26:12.608Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-15T19:26:12.867Z] + OS_FAMILY=debian [2023-08-15T19:26:12.867Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-269 [2023-08-15T19:26:12.867Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-15T19:26:12.867Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-15T19:26:12.867Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-15T19:26:12.867Z] + PACKAGES=/tmp/packages_start.txt [2023-08-15T19:26:12.867Z] + '[' /w/workspace/foundry_device-usb-camera_PR-269 ']' [2023-08-15T19:26:12.867Z] + PACKAGES=/tmp/packages_end.txt [2023-08-15T19:26:12.867Z] + case "${OS_FAMILY}" in [2023-08-15T19:26:12.867Z] + dpkg -l [2023-08-15T19:26:12.867Z] + grep '^ii' [2023-08-15T19:26:12.867Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-15T19:26:12.867Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-15T19:26:12.867Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-15T19:26:12.867Z] + '[' /w/workspace/foundry_device-usb-camera_PR-269 ']' [2023-08-15T19:26:12.867Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-269/archives/ [2023-08-15T19:26:12.867Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-269/archives/ [Pipeline] echo [2023-08-15T19:26:12.878Z] 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-269/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-15T19:26:13.153Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T19:26:13.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T19:26:13.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T19:26:13.778Z] prd-ubuntu20.04-docker-8c-8g-3707 does not seem to be running inside a container [2023-08-15T19:26:13.812Z] $ 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-269/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-269 -v /w/workspace/foundry_device-usb-camera_PR-269:/w/workspace/foundry_device-usb-camera_PR-269:rw,z -v /w/workspace/foundry_device-usb-camera_PR-269@tmp:/w/workspace/foundry_device-usb-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-15T19:26:14.028Z] $ docker top ac89e04a65db2fb52ce8a967371bf26a6bbd8cb7b2874151902f62363197b9a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T19:26:14.377Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-15T19:26:14.663Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-15T19:26:14.958Z] + ls /var/log/sa-host [2023-08-15T19:26:14.958Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T19:26:15.119Z] provisioning config files... [2023-08-15T19:26:15.127Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-269@tmp/config17412292196771566574tmp [Pipeline] { [Pipeline] echo [2023-08-15T19:26:15.140Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:26:15.421Z] ---> create-netrc.sh [Pipeline] } [2023-08-15T19:26:15.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:26:15.765Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-15T19:26:15.772Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:26:16.057Z] ---> sudo-logs.sh [2023-08-15T19:26:16.057Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-15T19:26:16.089Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:26:16.373Z] ---> job-cost.sh [2023-08-15T19:26:16.373Z] lf-activate-venv: SKIPPING [2023-08-15T19:26:16.373Z] DEBUG: total: 0.2199999988079071 [2023-08-15T19:26:16.373Z] INFO: Retrieving Stack Cost... [2023-08-15T19:26:16.632Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-15T19:26:17.205Z] INFO: Archiving Costs [Pipeline] echo [2023-08-15T19:26:17.216Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T19:26:17.501Z] ---> logs-deploy.sh [2023-08-15T19:26:17.501Z] lf-activate-venv: SKIPPING [2023-08-15T19:26:17.501Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-269/5 [2023-08-15T19:26:17.501Z] INFO: archiving workspace using pattern(s): [2023-08-15T19:26:18.436Z] Archives upload complete. [2023-08-15T19:26:18.436Z] INFO: archiving logs to Nexus