Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8c615475b04751833d5a4ed77b1f866c80ece4c+8746c938a55b5945dba82726ee73b77bfa0394d9 (c17fc3b7194eb62b7d315acbb4a9d955cfcde624) 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-ssh13058621297907555411.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5098265486933573210.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/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-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8943412871416716729.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16156111023444530756.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-99/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-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10076758410885706980.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 Running on prd-ubuntu20.04-docker-8c-8g-5673 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-99 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit b8c615475b04751833d5a4ed77b1f866c80ece4c Merge succeeded, producing 1990fc9c3958b6936362def8deb604fe45462120 Checking out Revision 1990fc9c3958b6936362def8deb604fe45462120 (PR-99) > 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/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8c615475b04751833d5a4ed77b1f866c80ece4c # 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 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1990fc9c3958b6936362def8deb604fe45462120 # timeout=10 Commit message: "Merge commit '8746c938a55b5945dba82726ee73b77bfa0394d9' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5b2320ad755c8c8d09b935a7d3b9eaba2d3b7a73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-24T06:14:32.481Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-24T06:14:32.543Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-24T06:14:32.561Z] ========================================================= [2023-03-24T06:14:32.561Z] EdgeX Global Pipelines Version Info [2023-03-24T06:14:32.561Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:14:33.268Z] ------------------- [2023-03-24T06:14:33.268Z] stable info: [2023-03-24T06:14:33.268Z] ------------------- [2023-03-24T06:14:33.269Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-24T06:14:33.269Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T06:14:33.269Z] Message: update stable to v1.0.245 [2023-03-24T06:14:33.841Z] ------------------- [2023-03-24T06:14:33.841Z] experimental info: [2023-03-24T06:14:33.841Z] ------------------- [2023-03-24T06:14:33.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-24T06:14:33.841Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-24T06:14:33.841Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-24T06:14:34.017Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-24T06:14:34.032Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-24T06:14:34.049Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-24T06:14:34.060Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-24T06:14:34.078Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-24T06:14:34.097Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-24T06:14:34.114Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-24T06:14:34.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-24T06:14:34.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-24T06:14:34.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-24T06:14:34.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-24T06:14:34.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-24T06:14:34.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-24T06:14:34.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-24T06:14:34.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T06:14:34.225Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T06:14:34.237Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T06:14:34.254Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T06:14:34.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-24T06:14:34.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-24T06:14:34.295Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-24T06:14:34.306Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-24T06:14:34.317Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-24T06:14:34.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-24T06:14:34.347Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-24T06:14:34.359Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-24T06:14:34.370Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-24T06:14:34.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo [2023-03-24T06:14:34.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo [2023-03-24T06:14:34.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo [2023-03-24T06:14:34.422Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1990fc9c3958b6936362def8deb604fe45462120 [Pipeline] echo [2023-03-24T06:14:34.437Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1990fc9 [Pipeline] echo [2023-03-24T06:14:34.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T06:14:34.490Z] provisioning config files... [2023-03-24T06:14:34.503Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config10001507534507683145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:14:34.813Z] ---> docker-login.sh [2023-03-24T06:14:34.813Z] nexus3.edgexfoundry.org:10001 [2023-03-24T06:14:35.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:35.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:35.073Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:35.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:35.073Z] [2023-03-24T06:14:35.073Z] Login Succeeded [2023-03-24T06:14:35.073Z] nexus3.edgexfoundry.org:10002 [2023-03-24T06:14:35.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:35.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:35.333Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:35.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:35.333Z] [2023-03-24T06:14:35.333Z] Login Succeeded [2023-03-24T06:14:35.333Z] nexus3.edgexfoundry.org:10003 [2023-03-24T06:14:35.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:35.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:35.333Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:35.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:35.333Z] [2023-03-24T06:14:35.333Z] Login Succeeded [2023-03-24T06:14:35.333Z] nexus3.edgexfoundry.org:10004 [2023-03-24T06:14:35.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:35.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:35.594Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:35.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:35.594Z] [2023-03-24T06:14:35.594Z] Login Succeeded [2023-03-24T06:14:35.594Z] docker.io [2023-03-24T06:14:35.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:35.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:35.855Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:35.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:35.855Z] [2023-03-24T06:14:35.855Z] Login Succeeded [2023-03-24T06:14:35.855Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T06:14:35.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-24T06:14:36.216Z] + git rev-list -1 --merges 1990fc9c3958b6936362def8deb604fe45462120~1..1990fc9c3958b6936362def8deb604fe45462120 [Pipeline] echo [2023-03-24T06:14:36.256Z] -----------> git rev-list -1 --merges 1990fc9c3958b6936362def8deb604fe45462120~1..1990fc9c3958b6936362def8deb604fe45462120 1990fc9c3958b6936362def8deb604fe45462120 [2023-03-24T06:14:36.256Z] 1990fc9c3958b6936362def8deb604fe45462120 [false] [Pipeline] sh [2023-03-24T06:14:36.549Z] + git log --format=format:%s -1 1990fc9c3958b6936362def8deb604fe45462120 [Pipeline] echo [2023-03-24T06:14:36.608Z] ========================================================= [2023-03-24T06:14:36.608Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-24T06:14:36.608Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T06:14:36.927Z] + git log --format=format:%s -1 1990fc9c3958b6936362def8deb604fe45462120 [Pipeline] echo [2023-03-24T06:14:36.938Z] [semverPrep] GIT_COMMIT: 1990fc9c3958b6936362def8deb604fe45462120, Commit Message: Merge commit '8746c938a55b5945dba82726ee73b77bfa0394d9' into HEAD [Pipeline] echo [2023-03-24T06:14:36.945Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-24T06:14:37.295Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-24T06:14:37.295Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-24T06:14:37.295Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-24T06:14:37.295Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-24T06:14:37.295Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-24T06:14:37.295Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-24T06:14:37.295Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:14:37.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T06:14:37.693Z] [2023-03-24T06:14:37.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:14:37.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T06:14:37.993Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-24T06:14:37.993Z] b85a868b505f: Pulling fs layer [2023-03-24T06:14:37.993Z] e2be974225ed: Pulling fs layer [2023-03-24T06:14:37.993Z] 339a4e72a1f5: Pulling fs layer [2023-03-24T06:14:37.993Z] 988bab9f4d93: Pulling fs layer [2023-03-24T06:14:37.993Z] 1469e6f7b9e6: Pulling fs layer [2023-03-24T06:14:37.993Z] eaf3925da568: Pulling fs layer [2023-03-24T06:14:37.993Z] bab4dde63d76: Pulling fs layer [2023-03-24T06:14:37.993Z] bde34c3a00c8: Pulling fs layer [2023-03-24T06:14:37.993Z] b352a97aabf1: Pulling fs layer [2023-03-24T06:14:37.993Z] 4872d77fe225: Pulling fs layer [2023-03-24T06:14:37.993Z] 5851b861e8e6: Pulling fs layer [2023-03-24T06:14:37.993Z] 1469e6f7b9e6: Waiting [2023-03-24T06:14:37.993Z] 4872d77fe225: Waiting [2023-03-24T06:14:37.993Z] bab4dde63d76: Waiting [2023-03-24T06:14:37.993Z] bde34c3a00c8: Waiting [2023-03-24T06:14:37.993Z] b352a97aabf1: Waiting [2023-03-24T06:14:37.993Z] 5851b861e8e6: Waiting [2023-03-24T06:14:37.993Z] 988bab9f4d93: Waiting [2023-03-24T06:14:37.993Z] eaf3925da568: Waiting [2023-03-24T06:14:37.993Z] e2be974225ed: Verifying Checksum [2023-03-24T06:14:37.993Z] e2be974225ed: Download complete [2023-03-24T06:14:37.993Z] 988bab9f4d93: Verifying Checksum [2023-03-24T06:14:37.993Z] 988bab9f4d93: Download complete [2023-03-24T06:14:38.258Z] 339a4e72a1f5: Verifying Checksum [2023-03-24T06:14:38.258Z] 339a4e72a1f5: Download complete [2023-03-24T06:14:38.258Z] 1469e6f7b9e6: Verifying Checksum [2023-03-24T06:14:38.258Z] 1469e6f7b9e6: Download complete [2023-03-24T06:14:38.258Z] eaf3925da568: Verifying Checksum [2023-03-24T06:14:38.258Z] eaf3925da568: Download complete [2023-03-24T06:14:38.258Z] bde34c3a00c8: Verifying Checksum [2023-03-24T06:14:38.258Z] bde34c3a00c8: Download complete [2023-03-24T06:14:38.258Z] 4872d77fe225: Verifying Checksum [2023-03-24T06:14:38.258Z] 4872d77fe225: Download complete [2023-03-24T06:14:38.258Z] 5851b861e8e6: Download complete [2023-03-24T06:14:38.519Z] b85a868b505f: Verifying Checksum [2023-03-24T06:14:38.519Z] b85a868b505f: Download complete [2023-03-24T06:14:38.519Z] bab4dde63d76: Verifying Checksum [2023-03-24T06:14:38.519Z] bab4dde63d76: Download complete [2023-03-24T06:14:39.453Z] b85a868b505f: Pull complete [2023-03-24T06:14:39.712Z] e2be974225ed: Pull complete [2023-03-24T06:14:40.277Z] 339a4e72a1f5: Pull complete [2023-03-24T06:14:40.277Z] 988bab9f4d93: Pull complete [2023-03-24T06:14:40.536Z] 1469e6f7b9e6: Pull complete [2023-03-24T06:14:40.536Z] eaf3925da568: Pull complete [2023-03-24T06:14:42.441Z] bab4dde63d76: Pull complete [2023-03-24T06:14:42.441Z] bde34c3a00c8: Pull complete [2023-03-24T06:14:42.441Z] b352a97aabf1: Pull complete [2023-03-24T06:14:42.441Z] 4872d77fe225: Pull complete [2023-03-24T06:14:42.441Z] 5851b861e8e6: Pull complete [2023-03-24T06:14:42.441Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-24T06:14:42.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T06:14:42.441Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:14:42.532Z] prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container [2023-03-24T06:14:42.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-24T06:14:43.857Z] $ docker top 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-24T06:14:43.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T06:14:43.966Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T06:14:44.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T06:14:44.090Z] $ docker exec 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a ssh-agent [2023-03-24T06:14:44.211Z] SSH_AUTH_SOCK=/tmp/ssh-EK713Csjz3HN/agent.32 [2023-03-24T06:14:44.211Z] SSH_AGENT_PID=38 [2023-03-24T06:14:44.218Z] Running ssh-add (command line suppressed) [2023-03-24T06:14:44.311Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_9815570648599392293.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_9815570648599392293.key) [2023-03-24T06:14:44.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T06:14:44.621Z] + git tag --points-at HEAD [Pipeline] } [2023-03-24T06:14:44.634Z] $ docker exec --env ******** --env ******** 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a ssh-agent -k [2023-03-24T06:14:44.736Z] unset SSH_AUTH_SOCK; [2023-03-24T06:14:44.737Z] unset SSH_AGENT_PID; [2023-03-24T06:14:44.737Z] echo Agent pid 38 killed; [2023-03-24T06:14:44.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-24T06:14:44.778Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T06:14:44.778Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T06:14:44.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T06:14:44.897Z] $ docker exec 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a ssh-agent [2023-03-24T06:14:45.010Z] SSH_AUTH_SOCK=/tmp/ssh-lS8ZfTmCWdVa/agent.70 [2023-03-24T06:14:45.010Z] SSH_AGENT_PID=76 [2023-03-24T06:14:45.016Z] Running ssh-add (command line suppressed) [2023-03-24T06:14:45.127Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_18072649020449817517.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_18072649020449817517.key) [2023-03-24T06:14:45.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T06:14:45.434Z] + git semver init [2023-03-24T06:14:45.693Z] 2023-03-24 06:14:45,593 [run_init] DEBUG init version:0.0.0 force:False [2023-03-24T06:14:45.693Z] 2023-03-24 06:14:45,594 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver [2023-03-24T06:14:45.693Z] 2023-03-24 06:14:45,595 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver [2023-03-24T06:14:45.693Z] 2023-03-24 06:14:45,595 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-99/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99, universal_newlines=False, shell=None, istream=None) [2023-03-24T06:14:46.260Z] 2023-03-24 06:14:46,241 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude [2023-03-24T06:14:46.260Z] 2023-03-24 06:14:46,242 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False [2023-03-24T06:14:46.260Z] 2023-03-24 06:14:46,242 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 [2023-03-24T06:14:46.260Z] 2023-03-24 06:14:46,246 [execute] INFO git cat-file --batch-check [2023-03-24T06:14:46.260Z] 2023-03-24 06:14:46,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T06:14:46.260Z] 2023-03-24 06:14:46,252 [execute] INFO git cat-file --batch [2023-03-24T06:14:46.260Z] 2023-03-24 06:14:46,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T06:14:46.519Z] 2023-03-24 06:14:46,256 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 [2023-03-24T06:14:46.519Z] 0.0.0 [Pipeline] } [2023-03-24T06:14:46.522Z] $ docker exec --env ******** --env ******** 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a ssh-agent -k [2023-03-24T06:14:46.612Z] unset SSH_AUTH_SOCK; [2023-03-24T06:14:46.612Z] unset SSH_AGENT_PID; [2023-03-24T06:14:46.612Z] echo Agent pid 76 killed; [2023-03-24T06:14:46.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-24T06:14:46.924Z] + git semver [Pipeline] } [2023-03-24T06:14:47.190Z] $ docker stop --time=1 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a [2023-03-24T06:14:48.473Z] $ docker rm -f --volumes 7fb548c4a6d6b61f51008659897469e8b20949282950ac4d3c21b73435b6654a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T06:14:48.798Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-24T06:14:48.986Z] Stashed 1 file(s) [Pipeline] echo [2023-03-24T06:14:48.990Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T06:14:49.146Z] provisioning config files... [2023-03-24T06:14:49.154Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config9510247396521673570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:14:49.362Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5679 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws [2023-03-24T06:14:49.377Z] Running in /w/workspace/device-usb-camera/49 [Pipeline] { [Pipeline] checkout [2023-03-24T06:14:49.418Z] Selected Git installation does not exist. Using Default [2023-03-24T06:14:49.418Z] The recommended git tool is: NONE [2023-03-24T06:14:49.444Z] ---> docker-login.sh [2023-03-24T06:14:49.444Z] nexus3.edgexfoundry.org:10001 [2023-03-24T06:14:49.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:49.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:49.444Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:49.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:49.444Z] [2023-03-24T06:14:49.444Z] Login Succeeded [2023-03-24T06:14:49.444Z] nexus3.edgexfoundry.org:10002 [2023-03-24T06:14:49.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:49.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:49.444Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:49.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:49.444Z] [2023-03-24T06:14:49.444Z] Login Succeeded [2023-03-24T06:14:49.444Z] nexus3.edgexfoundry.org:10003 [2023-03-24T06:14:49.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:49.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:49.703Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:49.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:49.703Z] [2023-03-24T06:14:49.703Z] Login Succeeded [2023-03-24T06:14:49.703Z] nexus3.edgexfoundry.org:10004 [2023-03-24T06:14:49.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:49.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:49.703Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:49.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:49.703Z] [2023-03-24T06:14:49.703Z] Login Succeeded [2023-03-24T06:14:49.703Z] docker.io [2023-03-24T06:14:49.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:14:49.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:14:49.962Z] Configure a credential helper to remove this warning. See [2023-03-24T06:14:49.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:14:49.962Z] [2023-03-24T06:14:49.962Z] Login Succeeded [2023-03-24T06:14:49.962Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T06:14:49.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T06:14:50.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T06:14:50.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T06:14:50.069Z] ========================================================= [2023-03-24T06:14:50.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-24T06:14:50.069Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:14:50.394Z] + 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-03-24T06:14:50.394Z] Sending build context to Docker daemon 1.882MB [2023-03-24T06:14:50.394Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T06:14:50.394Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-24T06:14:50.394Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-24T06:14:50.394Z] 63b65145d645: Pulling fs layer [2023-03-24T06:14:50.394Z] a2d21d5440eb: Pulling fs layer [2023-03-24T06:14:50.394Z] 935e6c44a52c: Pulling fs layer [2023-03-24T06:14:50.394Z] 94cc34f8dd06: Pulling fs layer [2023-03-24T06:14:50.394Z] 30dea6a524f1: Pulling fs layer [2023-03-24T06:14:50.394Z] a2aff8979fd8: Pulling fs layer [2023-03-24T06:14:50.394Z] 6808be2612f2: Pulling fs layer [2023-03-24T06:14:50.394Z] f25807f1079a: Pulling fs layer [2023-03-24T06:14:50.394Z] 30dea6a524f1: Waiting [2023-03-24T06:14:50.394Z] a2aff8979fd8: Waiting [2023-03-24T06:14:50.394Z] 6808be2612f2: Waiting [2023-03-24T06:14:50.394Z] f25807f1079a: Waiting [2023-03-24T06:14:50.394Z] 94cc34f8dd06: Waiting [2023-03-24T06:14:50.394Z] a2d21d5440eb: Verifying Checksum [2023-03-24T06:14:50.394Z] a2d21d5440eb: Download complete [2023-03-24T06:14:50.394Z] 94cc34f8dd06: Download complete [2023-03-24T06:14:50.394Z] 30dea6a524f1: Download complete [2023-03-24T06:14:50.660Z] 63b65145d645: Verifying Checksum [2023-03-24T06:14:50.660Z] 63b65145d645: Download complete [2023-03-24T06:14:50.660Z] a2aff8979fd8: Verifying Checksum [2023-03-24T06:14:50.660Z] a2aff8979fd8: Download complete [2023-03-24T06:14:50.932Z] 63b65145d645: Pull complete [2023-03-24T06:14:50.933Z] a2d21d5440eb: Pull complete [2023-03-24T06:14:51.198Z] f25807f1079a: Verifying Checksum [2023-03-24T06:14:51.198Z] f25807f1079a: Download complete [2023-03-24T06:14:51.198Z] 935e6c44a52c: Download complete [2023-03-24T06:14:51.765Z] 6808be2612f2: Verifying Checksum [2023-03-24T06:14:51.765Z] 6808be2612f2: Download complete [2023-03-24T06:14:54.306Z] 935e6c44a52c: Pull complete [2023-03-24T06:14:54.306Z] 94cc34f8dd06: Pull complete [2023-03-24T06:14:54.306Z] 30dea6a524f1: Pull complete [2023-03-24T06:14:54.306Z] a2aff8979fd8: Pull complete [2023-03-24T06:14:54.783Z] using credential edgex-jenkins-ssh [2023-03-24T06:14:54.807Z] Cloning the remote Git repository [2023-03-24T06:14:54.858Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-24T06:14:54.957Z] > git init /w/workspace/device-usb-camera/49 # timeout=10 [2023-03-24T06:14:55.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-24T06:14:55.114Z] > git --version # timeout=10 [2023-03-24T06:14:55.138Z] > git --version # 'git version 2.25.1' [2023-03-24T06:14:55.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T06:14:55.299Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T06:14:56.840Z] 6808be2612f2: Pull complete [2023-03-24T06:14:56.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-24T06:14:56.042Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T06:14:57.410Z] f25807f1079a: Pull complete [2023-03-24T06:14:57.410Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-24T06:14:57.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-24T06:14:57.410Z] ---> 3b553350e43f [2023-03-24T06:14:57.410Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-24T06:14:57.428Z] Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit b8c615475b04751833d5a4ed77b1f866c80ece4c [2023-03-24T06:14:57.751Z] Merge succeeded, producing 82b751df5e84d7f0481a4bf215cbd2c7c8be5c7f [2023-03-24T06:14:57.752Z] Checking out Revision 82b751df5e84d7f0481a4bf215cbd2c7c8be5c7f (PR-99) [2023-03-24T06:14:56.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-24T06:14:56.917Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-24T06:14:56.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T06:14:56.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-24T06:14:57.448Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T06:14:57.514Z] > git checkout -f b8c615475b04751833d5a4ed77b1f866c80ece4c # timeout=10 [2023-03-24T06:14:57.601Z] > git remote # timeout=10 [2023-03-24T06:14:57.618Z] > git config --get remote.origin.url # timeout=10 [2023-03-24T06:14:57.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T06:14:57.654Z] > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 [2023-03-24T06:14:57.730Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-24T06:14:57.759Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T06:14:57.772Z] > git checkout -f 82b751df5e84d7f0481a4bf215cbd2c7c8be5c7f # timeout=10 [2023-03-24T06:14:58.793Z] ---> Running in c779dcde431c [2023-03-24T06:14:59.051Z] Removing intermediate container c779dcde431c [2023-03-24T06:14:59.051Z] ---> 51607a03d569 [2023-03-24T06:14:59.051Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T06:14:59.051Z] ---> Running in 469540e7d764 [2023-03-24T06:14:59.051Z] Removing intermediate container 469540e7d764 [2023-03-24T06:14:59.051Z] ---> c0d3615ec9b9 [2023-03-24T06:14:59.051Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-24T06:14:59.051Z] ---> Running in 68d776936145 [2023-03-24T06:14:59.310Z] Removing intermediate container 68d776936145 [2023-03-24T06:14:59.310Z] ---> cb6c6e262a2b [2023-03-24T06:14:59.310Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-24T06:14:59.310Z] ---> Running in ae96487bab20 [2023-03-24T06:14:59.310Z] Removing intermediate container ae96487bab20 [2023-03-24T06:14:59.310Z] ---> 9dabc0b8b5d3 [2023-03-24T06:14:59.310Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-24T06:14:59.310Z] ---> Running in 7d7427e4af54 [2023-03-24T06:14:59.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T06:14:59.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T06:15:00.087Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-24T06:15:00.087Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-24T06:15:00.087Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-24T06:15:00.087Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-24T06:15:00.087Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-24T06:15:00.087Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-24T06:15:00.087Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-24T06:15:00.087Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-24T06:15:00.087Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-24T06:15:00.347Z] (10/14) Installing kmod-libs (30-r1) [2023-03-24T06:15:00.347Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-24T06:15:00.347Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-24T06:15:00.347Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-24T06:15:00.347Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-24T06:15:00.347Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T06:15:00.347Z] Executing eudev-3.2.11-r4.trigger [2023-03-24T06:15:00.347Z] OK: 272 MiB in 67 packages [2023-03-24T06:15:00.927Z] Removing intermediate container 7d7427e4af54 [2023-03-24T06:15:00.927Z] ---> 5b0b2d6089bd [2023-03-24T06:15:00.927Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-24T06:15:00.927Z] ---> Running in 9217b3424507 [2023-03-24T06:15:00.927Z] Removing intermediate container 9217b3424507 [2023-03-24T06:15:00.927Z] ---> 85468dcbf0f1 [2023-03-24T06:15:00.927Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-24T06:15:00.927Z] ---> fce527acf81d [2023-03-24T06:15:00.927Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T06:15:01.187Z] ---> Running in 612e2367822f [2023-03-24T06:15:01.236Z] Commit message: "Merge commit '8746c938a55b5945dba82726ee73b77bfa0394d9' into HEAD" [2023-03-24T06:15:01.261Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T06:15:02.199Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-24T06:15:02.199Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T06:15:02.199Z] Dload Upload Total Spent Left Speed [2023-03-24T06:15:01.245Z] > git rev-list --no-walk 5b2320ad755c8c8d09b935a7d3b9eaba2d3b7a73 # timeout=10 [2023-03-24T06:15:03.164Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 10870 0 0:00:01 0:00:01 --:--:-- 10870 100 12751 100 12751 0 0 10861 0 0:00:01 0:00:01 --:--:-- 10861 [Pipeline] sh [2023-03-24T06:15:03.710Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-24T06:15:04.039Z] + sudo tee /etc/docker/daemon.new [2023-03-24T06:15:04.040Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-24T06:15:04.040Z] { [2023-03-24T06:15:04.040Z] "registry-mirrors": [ [2023-03-24T06:15:04.040Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-24T06:15:04.040Z] ], [2023-03-24T06:15:04.040Z] "bip": "10.250.0.254/24", [2023-03-24T06:15:04.040Z] "hosts": [ [2023-03-24T06:15:04.040Z] "tcp://0.0.0.0:5555", [2023-03-24T06:15:04.040Z] "unix:///var/run/docker.sock" [2023-03-24T06:15:04.040Z] ], [2023-03-24T06:15:04.040Z] "mtu": 1458, [2023-03-24T06:15:04.040Z] "selinux-enabled": true, [2023-03-24T06:15:04.040Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-24T06:15:04.040Z] } [Pipeline] sh [2023-03-24T06:15:04.365Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-24T06:15:04.695Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T06:15:22.956Z] provisioning config files... [2023-03-24T06:15:22.985Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/49@tmp/config17767362236765876461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:15:23.127Z] Removing intermediate container 612e2367822f [2023-03-24T06:15:23.127Z] ---> 334414fcc4b0 [2023-03-24T06:15:23.128Z] Step 11/13 : COPY . . [2023-03-24T06:15:23.128Z] ---> 8cd334ed969c [2023-03-24T06:15:23.128Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-24T06:15:23.128Z] ---> Running in 78f4fd7afba5 [2023-03-24T06:15:23.128Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T06:15:23.128Z] Dload Upload Total Spent Left Speed [2023-03-24T06:15:23.128Z] 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9133 0 --:--:-- --:--:-- --:--:-- 9076 [2023-03-24T06:15:23.128Z] Removing intermediate container 78f4fd7afba5 [2023-03-24T06:15:23.128Z] ---> 0fe8ee8dc104 [2023-03-24T06:15:23.128Z] Step 13/13 : RUN ${MAKE} [2023-03-24T06:15:23.128Z] ---> Running in 4206eda3e733 [2023-03-24T06:15:23.342Z] ---> docker-login.sh [2023-03-24T06:15:23.342Z] nexus3.edgexfoundry.org:10001 [2023-03-24T06:15:23.385Z] noop [2023-03-24T06:15:23.643Z] Removing intermediate container 4206eda3e733 [2023-03-24T06:15:23.643Z] ---> 42e30e3f867c [2023-03-24T06:15:23.643Z] Successfully built 42e30e3f867c [2023-03-24T06:15:23.902Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [2023-03-24T06:15:23.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:15:23.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:15:23.933Z] Configure a credential helper to remove this warning. See [2023-03-24T06:15:23.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:15:23.933Z] [2023-03-24T06:15:23.933Z] Login Succeeded [2023-03-24T06:15:23.933Z] nexus3.edgexfoundry.org:10002 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:15:24.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:15:24.220Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T06:15:24.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:15:24.287Z] prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container [2023-03-24T06:15:24.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat [2023-03-24T06:15:24.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:15:24.473Z] Configure a credential helper to remove this warning. See [2023-03-24T06:15:24.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:15:24.473Z] [2023-03-24T06:15:24.473Z] Login Succeeded [2023-03-24T06:15:24.473Z] nexus3.edgexfoundry.org:10003 [2023-03-24T06:15:24.673Z] $ docker top 5445de51c8d2e19a4342a105923fc4a1d5c612d438faea047bcf108d53d74696 -eo pid,comm [Pipeline] { [2023-03-24T06:15:24.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:15:24.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:15:24.744Z] Configure a credential helper to remove this warning. See [2023-03-24T06:15:24.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:15:24.744Z] [2023-03-24T06:15:24.744Z] Login Succeeded [2023-03-24T06:15:24.744Z] nexus3.edgexfoundry.org:10004 [Pipeline] sh [2023-03-24T06:15:25.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:15:25.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:15:25.020Z] Configure a credential helper to remove this warning. See [2023-03-24T06:15:25.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:15:25.020Z] [2023-03-24T06:15:25.020Z] Login Succeeded [2023-03-24T06:15:25.020Z] docker.io [2023-03-24T06:15:25.020Z] + go version [2023-03-24T06:15:25.020Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-24T06:15:25.025Z] $ docker stop --time=1 5445de51c8d2e19a4342a105923fc4a1d5c612d438faea047bcf108d53d74696 [2023-03-24T06:15:25.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T06:15:25.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T06:15:25.555Z] Configure a credential helper to remove this warning. See [2023-03-24T06:15:25.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T06:15:25.555Z] [2023-03-24T06:15:25.555Z] Login Succeeded [2023-03-24T06:15:25.555Z] ---> docker-login.sh ends [2023-03-24T06:15:26.298Z] $ docker rm -f --volumes 5445de51c8d2e19a4342a105923fc4a1d5c612d438faea047bcf108d53d74696 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-03-24T06:15:26.354Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2023-03-24T06:15:26.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T06:15:26.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T06:15:26.719Z] ========================================================= [2023-03-24T06:15:26.719Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-24T06:15:26.719Z] ========================================================= [2023-03-24T06:15:26.721Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T06:15:26.721Z] . [Pipeline] fileExists [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:15:26.807Z] prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container [2023-03-24T06:15:26.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat [2023-03-24T06:15:27.196Z] $ docker top 28b2782122ce7c2f0a67b5f94b4c5cc664bbf1a7c868c42e2df30ecd4cea6eb8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:15:27.541Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh [2023-03-24T06:15:27.617Z] + 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-03-24T06:15:27.834Z] + make test [2023-03-24T06:15:27.834Z] go test ./... -coverprofile=coverage.out ./... [2023-03-24T06:15:27.890Z] Sending build context to Docker daemon 1.206MB [2023-03-24T06:15:27.890Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T06:15:27.890Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-24T06:15:28.159Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-24T06:15:28.159Z] af6eaf76a39c: Pulling fs layer [2023-03-24T06:15:28.159Z] 55522c791124: Pulling fs layer [2023-03-24T06:15:28.159Z] ce5c4a1c91eb: Pulling fs layer [2023-03-24T06:15:28.159Z] 169dfbe0d373: Pulling fs layer [2023-03-24T06:15:28.159Z] e1ff8fa3b103: Pulling fs layer [2023-03-24T06:15:28.159Z] 52ebb69f0ebf: Pulling fs layer [2023-03-24T06:15:28.159Z] 5abe8eddf0d5: Pulling fs layer [2023-03-24T06:15:28.159Z] 169dfbe0d373: Waiting [2023-03-24T06:15:28.159Z] e1ff8fa3b103: Waiting [2023-03-24T06:15:28.159Z] 5abe8eddf0d5: Waiting [2023-03-24T06:15:28.159Z] 52ebb69f0ebf: Waiting [2023-03-24T06:15:28.159Z] 55522c791124: Verifying Checksum [2023-03-24T06:15:28.159Z] 55522c791124: Download complete [2023-03-24T06:15:28.159Z] 169dfbe0d373: Verifying Checksum [2023-03-24T06:15:28.159Z] 169dfbe0d373: Download complete [2023-03-24T06:15:28.159Z] e1ff8fa3b103: Download complete [2023-03-24T06:15:28.159Z] af6eaf76a39c: Download complete [2023-03-24T06:15:29.141Z] af6eaf76a39c: Pull complete [2023-03-24T06:15:29.141Z] 5abe8eddf0d5: Verifying Checksum [2023-03-24T06:15:29.141Z] 5abe8eddf0d5: Download complete [2023-03-24T06:15:29.737Z] 55522c791124: Pull complete [2023-03-24T06:15:30.716Z] ce5c4a1c91eb: Verifying Checksum [2023-03-24T06:15:30.716Z] ce5c4a1c91eb: Download complete [2023-03-24T06:15:30.716Z] 52ebb69f0ebf: Verifying Checksum [2023-03-24T06:15:30.716Z] 52ebb69f0ebf: Download complete [2023-03-24T06:15:33.101Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-24T06:15:41.209Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-24T06:15:41.209Z] internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 [2023-03-24T06:15:41.209Z] internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey [2023-03-24T06:15:41.776Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-24T06:15:41.776Z] FAIL [2023-03-24T06:15:41.776Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-24T06:15:41.780Z] $ docker stop --time=1 28b2782122ce7c2f0a67b5f94b4c5cc664bbf1a7c868c42e2df30ecd4cea6eb8 [2023-03-24T06:15:43.080Z] ce5c4a1c91eb: Pull complete [2023-03-24T06:15:43.080Z] 169dfbe0d373: Pull complete [2023-03-24T06:15:43.080Z] e1ff8fa3b103: Pull complete [2023-03-24T06:15:43.829Z] $ docker rm -f --volumes 28b2782122ce7c2f0a67b5f94b4c5cc664bbf1a7c868c42e2df30ecd4cea6eb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:15:44.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T06:15:44.381Z] [2023-03-24T06:15:44.381Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:15:44.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T06:15:44.680Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-24T06:15:44.680Z] 5eb5b503b376: Pulling fs layer [2023-03-24T06:15:44.680Z] 5c69ac0246d0: Pulling fs layer [2023-03-24T06:15:44.680Z] ec43610c2a17: Pulling fs layer [2023-03-24T06:15:44.680Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-24T06:15:44.680Z] 33b1e0a273af: Pulling fs layer [2023-03-24T06:15:44.680Z] 5d3b04190fa2: Pulling fs layer [2023-03-24T06:15:44.680Z] 2f39f015ded8: Pulling fs layer [2023-03-24T06:15:44.680Z] 33b1e0a273af: Waiting [2023-03-24T06:15:44.680Z] 5d3b04190fa2: Waiting [2023-03-24T06:15:44.680Z] 2f39f015ded8: Waiting [2023-03-24T06:15:44.680Z] 5c69ac0246d0: Verifying Checksum [2023-03-24T06:15:44.680Z] 5c69ac0246d0: Download complete [2023-03-24T06:15:44.680Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-24T06:15:44.680Z] 3a2ae6a8a46f: Download complete [2023-03-24T06:15:44.940Z] 33b1e0a273af: Verifying Checksum [2023-03-24T06:15:44.940Z] 33b1e0a273af: Download complete [2023-03-24T06:15:44.940Z] 5d3b04190fa2: Verifying Checksum [2023-03-24T06:15:44.940Z] 5d3b04190fa2: Download complete [2023-03-24T06:15:44.940Z] ec43610c2a17: Verifying Checksum [2023-03-24T06:15:44.940Z] ec43610c2a17: Download complete [2023-03-24T06:15:44.940Z] 5eb5b503b376: Verifying Checksum [2023-03-24T06:15:44.940Z] 5eb5b503b376: Download complete [2023-03-24T06:15:45.876Z] 2f39f015ded8: Download complete [2023-03-24T06:15:46.135Z] 5eb5b503b376: Pull complete [2023-03-24T06:15:46.135Z] 5c69ac0246d0: Pull complete [2023-03-24T06:15:46.702Z] ec43610c2a17: Pull complete [2023-03-24T06:15:46.702Z] 3a2ae6a8a46f: Pull complete [2023-03-24T06:15:46.960Z] 33b1e0a273af: Pull complete [2023-03-24T06:15:46.960Z] 5d3b04190fa2: Pull complete [2023-03-24T06:15:48.445Z] 52ebb69f0ebf: Pull complete [2023-03-24T06:15:50.398Z] 5abe8eddf0d5: Pull complete [2023-03-24T06:15:50.398Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-24T06:15:50.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-24T06:15:50.398Z] ---> 6cb57ee374ae [2023-03-24T06:15:50.398Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-24T06:15:51.144Z] 2f39f015ded8: Pull complete [2023-03-24T06:15:51.145Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-24T06:15:51.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T06:15:51.145Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:15:51.223Z] prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container [2023-03-24T06:15:51.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T06:15:51.817Z] ---> Running in ef3fc587edfd [2023-03-24T06:15:52.083Z] Removing intermediate container ef3fc587edfd [2023-03-24T06:15:52.083Z] ---> 11e45480de35 [2023-03-24T06:15:52.083Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T06:15:52.349Z] ---> Running in eff98acce4b5 [2023-03-24T06:15:52.349Z] Removing intermediate container eff98acce4b5 [2023-03-24T06:15:52.349Z] ---> a7876322e3ca [2023-03-24T06:15:52.349Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-24T06:15:52.614Z] ---> Running in 786d73527be1 [2023-03-24T06:15:52.880Z] Removing intermediate container 786d73527be1 [2023-03-24T06:15:52.880Z] ---> 5fa7fc16eea2 [2023-03-24T06:15:52.880Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-24T06:15:52.880Z] ---> Running in 292e23c4feaa [2023-03-24T06:15:53.004Z] $ docker top e966f4b7686aef134a37638751085c1a2df3c8d0b7f6b9107cb434d7f24110f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:15:53.146Z] Removing intermediate container 292e23c4feaa [2023-03-24T06:15:53.146Z] ---> f90984f1aa52 [2023-03-24T06:15:53.146Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-24T06:15:53.146Z] ---> Running in 4721e070754e [2023-03-24T06:15:53.388Z] ---> job-cost.sh [2023-03-24T06:15:53.388Z] lf-activate-venv: SKIPPING [2023-03-24T06:15:53.388Z] INFO: No Stack... [2023-03-24T06:15:53.646Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T06:15:54.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T06:15:54.213Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T06:15:54.497Z] + + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv [2023-03-24T06:15:54.497Z] cut -d, -f6 [Pipeline] lock [2023-03-24T06:15:54.510Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [2023-03-24T06:15:54.518Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] did not exist. Created. [2023-03-24T06:15:54.518Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T06:15:54.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T06:15:54.814Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-24T06:15:54.863Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T06:15:54.870Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T06:15:54.882Z] $ docker stop --time=1 e966f4b7686aef134a37638751085c1a2df3c8d0b7f6b9107cb434d7f24110f6 [2023-03-24T06:15:55.646Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-24T06:15:55.646Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-24T06:15:55.646Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-24T06:15:55.646Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-24T06:15:55.646Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-24T06:15:55.915Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-24T06:15:55.915Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-24T06:15:55.915Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-24T06:15:55.915Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-24T06:15:55.915Z] (10/14) Installing kmod-libs (30-r1) [2023-03-24T06:15:55.915Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-24T06:15:55.915Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-24T06:15:55.915Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-24T06:15:55.915Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-24T06:15:55.915Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T06:15:55.915Z] Executing eudev-3.2.11-r4.trigger [2023-03-24T06:15:55.915Z] OK: 271 MiB in 67 packages [2023-03-24T06:15:56.052Z] $ docker rm -f --volumes e966f4b7686aef134a37638751085c1a2df3c8d0b7f6b9107cb434d7f24110f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T06:15:56.166Z] Failed in branch amd64 [2023-03-24T06:15:57.332Z] Removing intermediate container 4721e070754e [2023-03-24T06:15:57.332Z] ---> 8a19f857753e [2023-03-24T06:15:57.332Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-24T06:15:57.332Z] ---> Running in 49246fcb7774 [2023-03-24T06:15:57.599Z] Removing intermediate container 49246fcb7774 [2023-03-24T06:15:57.599Z] ---> 96352aeb75d2 [2023-03-24T06:15:57.599Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-24T06:15:57.866Z] ---> d9d049a8b8a2 [2023-03-24T06:15:57.866Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T06:15:58.146Z] ---> Running in 8c9dfda916d3 [2023-03-24T06:16:54.566Z] Removing intermediate container 8c9dfda916d3 [2023-03-24T06:16:54.566Z] ---> fffd14f8743b [2023-03-24T06:16:54.566Z] Step 11/13 : COPY . . [2023-03-24T06:16:54.566Z] ---> 1afbd7df50e9 [2023-03-24T06:16:54.566Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-24T06:16:54.566Z] ---> Running in 7a5b09046fa2 [2023-03-24T06:16:55.527Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T06:16:55.527Z]  Dload Upload Total Spent  Left Speed [2023-03-24T06:16:55.527Z]  0 0 0 0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4288 0 --:--:-- --:--:-- --:--:-- 4317 [2023-03-24T06:16:56.116Z] Removing intermediate container 7a5b09046fa2 [2023-03-24T06:16:56.116Z] ---> a787aab87b53 [2023-03-24T06:16:56.116Z] Step 13/13 : RUN ${MAKE} [2023-03-24T06:16:56.116Z] ---> Running in f2c3f20b11f8 [2023-03-24T06:16:57.084Z] noop [2023-03-24T06:16:57.675Z] Removing intermediate container f2c3f20b11f8 [2023-03-24T06:16:57.675Z] ---> 93134e7b90b1 [2023-03-24T06:16:57.675Z] Successfully built 93134e7b90b1 [2023-03-24T06:16:57.675Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:16:58.018Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T06:16:58.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:16:58.215Z] prd-ubuntu20.04-docker-arm64-4c-16g-5679 does not seem to be running inside a container [2023-03-24T06:16:58.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/49 -v /w/workspace/device-usb-camera/49:/w/workspace/device-usb-camera/49:rw,z -v /w/workspace/device-usb-camera/49@tmp:/w/workspace/device-usb-camera/49@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 ******** ci-base-image-arm64 cat [2023-03-24T06:16:59.476Z] $ docker top 46c16d9c06319df202ef57ce56df947121d13bbc0b2c2de7d3419221d733e202 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T06:17:00.308Z] + go version [2023-03-24T06:17:00.309Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-24T06:17:00.328Z] $ docker stop --time=1 46c16d9c06319df202ef57ce56df947121d13bbc0b2c2de7d3419221d733e202 [2023-03-24T06:17:02.028Z] $ docker rm -f --volumes 46c16d9c06319df202ef57ce56df947121d13bbc0b2c2de7d3419221d733e202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:17:02.567Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T06:17:02.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:17:02.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-5679 does not seem to be running inside a container [2023-03-24T06:17:02.806Z] $ 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/49 -v /w/workspace/device-usb-camera/49:/w/workspace/device-usb-camera/49:rw,z -v /w/workspace/device-usb-camera/49@tmp:/w/workspace/device-usb-camera/49@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 ******** ci-base-image-arm64 cat [2023-03-24T06:17:03.971Z] $ docker top 61b80501f983ab19499b6b2e381a5367e4cd1c52b2b7da0f9845159397bf0a2c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T06:17:04.480Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/49 [Pipeline] fileExists [Pipeline] sh [2023-03-24T06:17:05.129Z] + make test [2023-03-24T06:17:05.129Z] go test ./... -coverprofile=coverage.out ./... [2023-03-24T06:17:37.354Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-24T06:19:28.998Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-24T06:19:28.998Z] internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 [2023-03-24T06:19:28.998Z] internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey [2023-03-24T06:19:28.998Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-24T06:19:28.998Z] FAIL [2023-03-24T06:19:28.998Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-24T06:19:29.020Z] $ docker stop --time=1 61b80501f983ab19499b6b2e381a5367e4cd1c52b2b7da0f9845159397bf0a2c [2023-03-24T06:19:32.289Z] $ docker rm -f --volumes 61b80501f983ab19499b6b2e381a5367e4cd1c52b2b7da0f9845159397bf0a2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:19:33.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T06:19:33.490Z] [2023-03-24T06:19:33.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:19:33.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T06:19:34.097Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-24T06:19:34.098Z] 8998bd30e6a1: Pulling fs layer [2023-03-24T06:19:34.098Z] 04944245beec: Pulling fs layer [2023-03-24T06:19:34.098Z] 699f458cf7ca: Pulling fs layer [2023-03-24T06:19:34.098Z] 765212b225bb: Pulling fs layer [2023-03-24T06:19:34.098Z] f23df028b6ca: Pulling fs layer [2023-03-24T06:19:34.098Z] d65c8cfc05b1: Pulling fs layer [2023-03-24T06:19:34.098Z] 765212b225bb: Waiting [2023-03-24T06:19:34.098Z] f23df028b6ca: Waiting [2023-03-24T06:19:34.098Z] 2437ff75d9bd: Pulling fs layer [2023-03-24T06:19:34.098Z] d65c8cfc05b1: Waiting [2023-03-24T06:19:34.098Z] 2437ff75d9bd: Waiting [2023-03-24T06:19:34.098Z] 04944245beec: Verifying Checksum [2023-03-24T06:19:34.098Z] 04944245beec: Download complete [2023-03-24T06:19:34.098Z] 765212b225bb: Verifying Checksum [2023-03-24T06:19:34.098Z] 765212b225bb: Download complete [2023-03-24T06:19:34.368Z] f23df028b6ca: Download complete [2023-03-24T06:19:34.368Z] d65c8cfc05b1: Verifying Checksum [2023-03-24T06:19:34.368Z] 699f458cf7ca: Verifying Checksum [2023-03-24T06:19:34.368Z] 699f458cf7ca: Download complete [2023-03-24T06:19:34.636Z] 8998bd30e6a1: Download complete [2023-03-24T06:19:37.388Z] 2437ff75d9bd: Verifying Checksum [2023-03-24T06:19:37.388Z] 2437ff75d9bd: Download complete [2023-03-24T06:19:38.374Z] 8998bd30e6a1: Pull complete [2023-03-24T06:19:38.967Z] 04944245beec: Pull complete [2023-03-24T06:19:40.375Z] 699f458cf7ca: Pull complete [2023-03-24T06:19:40.375Z] 765212b225bb: Pull complete [2023-03-24T06:19:41.336Z] f23df028b6ca: Pull complete [2023-03-24T06:19:41.336Z] d65c8cfc05b1: Pull complete [2023-03-24T06:19:53.642Z] 2437ff75d9bd: Pull complete [2023-03-24T06:19:53.642Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-24T06:19:53.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T06:19:53.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:19:53.828Z] prd-ubuntu20.04-docker-arm64-4c-16g-5679 does not seem to be running inside a container [2023-03-24T06:19:53.892Z] $ 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/49 -v /w/workspace/device-usb-camera/49:/w/workspace/device-usb-camera/49:rw,z -v /w/workspace/device-usb-camera/49@tmp:/w/workspace/device-usb-camera/49@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-24T06:19:56.318Z] $ docker top a054716daadebd83387d70b9b940670c0fe36b187bea0cb2e34ee36ba1e33c26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:19:57.145Z] ---> job-cost.sh [2023-03-24T06:19:57.145Z] lf-activate-venv: SKIPPING [2023-03-24T06:19:57.145Z] INFO: No Stack... [2023-03-24T06:19:57.412Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-24T06:19:58.372Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T06:19:59.007Z] + cat /w/workspace/device-usb-camera/49/archives/cost.csv [2023-03-24T06:19:59.007Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T06:19:59.072Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [2023-03-24T06:19:59.082Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] did not exist. Created. [2023-03-24T06:19:59.082Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T06:19:59.741Z] /w/workspace/device-usb-camera/49@tmp/durable-92b56676/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-24T06:20:00.081Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-24T06:20:00.104Z] Warning: overwriting stash ‘stack-cost’ [2023-03-24T06:20:00.507Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T06:20:00.517Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-49-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T06:20:00.535Z] $ docker stop --time=1 a054716daadebd83387d70b9b940670c0fe36b187bea0cb2e34ee36ba1e33c26 [2023-03-24T06:20:02.022Z] $ docker rm -f --volumes a054716daadebd83387d70b9b940670c0fe36b187bea0cb2e34ee36ba1e33c26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T06:20:02.248Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-24T06:20:02.891Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] [2023-03-24T06:20:02.891Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-03-24T06:20:02.891Z] total 16 [2023-03-24T06:20:02.891Z] drwxr-xr-x 3 root root 4096 Mar 24 06:15 . [2023-03-24T06:20:02.891Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 06:15 .. [2023-03-24T06:20:02.891Z] drwxr-xr-x 2 root root 4096 Mar 24 06:15 cost [2023-03-24T06:20:02.891Z] -rw-r--r-- 1 root root 89 Mar 24 06:15 cost.csv [2023-03-24T06:20:02.891Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-03-24T06:20:02.891Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-03-24T06:20:02.891Z] total 16 [2023-03-24T06:20:02.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 06:15 . [2023-03-24T06:20:02.891Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 06:15 .. [2023-03-24T06:20:02.891Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 06:15 cost [2023-03-24T06:20:02.891Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 24 06:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:20:03.176Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:20:04.037Z] ---> package-listing.sh [2023-03-24T06:20:04.038Z] ++ facter osfamily [2023-03-24T06:20:04.038Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-24T06:20:04.297Z] + OS_FAMILY=debian [2023-03-24T06:20:04.297Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 [2023-03-24T06:20:04.297Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-24T06:20:04.297Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-24T06:20:04.297Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-24T06:20:04.297Z] + PACKAGES=/tmp/packages_start.txt [2023-03-24T06:20:04.297Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' [2023-03-24T06:20:04.297Z] + PACKAGES=/tmp/packages_end.txt [2023-03-24T06:20:04.297Z] + case "${OS_FAMILY}" in [2023-03-24T06:20:04.297Z] + dpkg -l [2023-03-24T06:20:04.297Z] + grep '^ii' [2023-03-24T06:20:04.297Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-24T06:20:04.297Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-24T06:20:04.297Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-24T06:20:04.297Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' [2023-03-24T06:20:04.297Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [2023-03-24T06:20:04.297Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [Pipeline] echo [2023-03-24T06:20:04.308Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-24T06:20:04.586Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T06:20:05.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T06:20:05.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T06:20:05.213Z] prd-ubuntu20.04-docker-8c-8g-5673 does not seem to be running inside a container [2023-03-24T06:20:05.236Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T06:20:05.458Z] $ docker top b2e430f962dd5deb50d6326646f7805d384cdc5d05977a26dd8d9313d77ec0fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T06:20:05.806Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-24T06:20:06.091Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-24T06:20:06.375Z] + ls /var/log/sa-host [2023-03-24T06:20:06.375Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T06:20:06.435Z] provisioning config files... [2023-03-24T06:20:06.442Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config5997544569261119252tmp [Pipeline] { [Pipeline] echo [2023-03-24T06:20:06.454Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:20:06.736Z] ---> create-netrc.sh [Pipeline] } [2023-03-24T06:20:06.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:20:07.063Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-24T06:20:07.072Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:20:07.356Z] ---> sudo-logs.sh [2023-03-24T06:20:07.356Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-24T06:20:07.379Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:20:07.658Z] ---> job-cost.sh [2023-03-24T06:20:07.658Z] lf-activate-venv: SKIPPING [2023-03-24T06:20:07.658Z] DEBUG: total: 0.2199999988079071 [2023-03-24T06:20:07.658Z] INFO: Retrieving Stack Cost... [2023-03-24T06:20:08.226Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T06:20:08.486Z] INFO: Archiving Costs [Pipeline] echo [2023-03-24T06:20:08.497Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T06:20:08.778Z] ---> logs-deploy.sh [2023-03-24T06:20:08.778Z] lf-activate-venv: SKIPPING [2023-03-24T06:20:08.778Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/49 [2023-03-24T06:20:08.778Z] INFO: archiving workspace using pattern(s): [2023-03-24T06:20:09.715Z] Archives upload complete. [2023-03-24T06:20:09.715Z] INFO: archiving logs to Nexus