Pull request #240 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at beed2f8d28cc393e5ecf72eec326ecfe84dcca0e rather than dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 Obtained Jenkinsfile from beed2f8d28cc393e5ecf72eec326ecfe84dcca0e 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-ssh5748504945389055924.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh11048612787612248647.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6947500872946659360.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8521177732942781018.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3428399200727522647.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-240/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-240/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13438127100466694588.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14541 in /w/workspace/foundry_device-usb-camera_PR-240 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-240 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit beed2f8d28cc393e5ecf72eec326ecfe84dcca0e into PR head commit dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 Merge succeeded, producing dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 Checking out Revision dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 (PR-240) > git config core.sparsecheckout # timeout=10 > git checkout -f dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 # 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 beed2f8d28cc393e5ecf72eec326ecfe84dcca0e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 # timeout=10 Commit message: "feat: rtsp cred" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T20:11:15.479Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T20:11:15.683Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T20:11:15.794Z] ========================================================= [2023-05-08T20:11:15.794Z] EdgeX Global Pipelines Version Info [2023-05-08T20:11:15.794Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:11:16.528Z] ------------------- [2023-05-08T20:11:16.528Z] stable info: [2023-05-08T20:11:16.528Z] ------------------- [2023-05-08T20:11:16.528Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T20:11:16.528Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T20:11:16.529Z] Message: update stable to v1.0.249 [2023-05-08T20:11:17.099Z] ------------------- [2023-05-08T20:11:17.099Z] experimental info: [2023-05-08T20:11:17.099Z] ------------------- [2023-05-08T20:11:17.099Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T20:11:17.099Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T20:11:17.099Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T20:11:17.493Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-08T20:11:17.533Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-08T20:11:17.583Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T20:11:17.627Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T20:11:17.672Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T20:11:17.717Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T20:11:17.764Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T20:11:17.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-08T20:11:17.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T20:11:17.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T20:11:17.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T20:11:17.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-08T20:11:18.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T20:11:18.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T20:11:18.121Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T20:11:18.163Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T20:11:18.202Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T20:11:18.247Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T20:11:18.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T20:11:18.357Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T20:11:18.415Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-08T20:11:18.457Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-08T20:11:18.499Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T20:11:18.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T20:11:18.584Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T20:11:18.625Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T20:11:18.682Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T20:11:18.727Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-240 [Pipeline] echo [2023-05-08T20:11:18.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-240 [Pipeline] echo [2023-05-08T20:11:18.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-240 [Pipeline] echo [2023-05-08T20:11:18.844Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 [Pipeline] echo [2023-05-08T20:11:18.891Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc6a5fd [Pipeline] echo [2023-05-08T20:11:18.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T20:11:19.059Z] provisioning config files... [2023-05-08T20:11:19.073Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-240@tmp/config3309781524882375975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:11:19.419Z] ---> docker-login.sh [2023-05-08T20:11:19.419Z] nexus3.edgexfoundry.org:10001 [2023-05-08T20:11:19.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:19.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:19.679Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:19.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:19.679Z] [2023-05-08T20:11:19.679Z] Login Succeeded [2023-05-08T20:11:19.679Z] nexus3.edgexfoundry.org:10002 [2023-05-08T20:11:19.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:19.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:19.679Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:19.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:19.679Z] [2023-05-08T20:11:19.679Z] Login Succeeded [2023-05-08T20:11:19.938Z] nexus3.edgexfoundry.org:10003 [2023-05-08T20:11:19.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:19.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:19.938Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:19.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:19.938Z] [2023-05-08T20:11:19.938Z] Login Succeeded [2023-05-08T20:11:19.938Z] nexus3.edgexfoundry.org:10004 [2023-05-08T20:11:19.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:19.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:19.938Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:19.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:19.938Z] [2023-05-08T20:11:19.938Z] Login Succeeded [2023-05-08T20:11:19.938Z] docker.io [2023-05-08T20:11:20.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:20.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:20.198Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:20.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:20.198Z] [2023-05-08T20:11:20.198Z] Login Succeeded [2023-05-08T20:11:20.457Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T20:11:20.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T20:11:21.138Z] + git rev-list -1 --merges dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03~1..dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 [Pipeline] echo [2023-05-08T20:11:21.207Z] -----------> git rev-list -1 --merges dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03~1..dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 [false] [Pipeline] sh [2023-05-08T20:11:21.524Z] + git log --format=format:%s -1 dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 [Pipeline] echo [2023-05-08T20:11:21.562Z] ========================================================= [2023-05-08T20:11:21.562Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T20:11:21.562Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T20:11:22.047Z] + git log --format=format:%s -1 dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 [Pipeline] echo [2023-05-08T20:11:22.090Z] [semverPrep] GIT_COMMIT: dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03, Commit Message: feat: rtsp cred [Pipeline] echo [2023-05-08T20:11:22.123Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T20:11:22.585Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T20:11:22.585Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T20:11:22.585Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T20:11:22.585Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T20:11:22.585Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T20:11:22.585Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T20:11:22.585Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:11:23.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T20:11:23.187Z] [2023-05-08T20:11:23.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:11:23.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T20:11:23.575Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T20:11:23.575Z] b85a868b505f: Pulling fs layer [2023-05-08T20:11:23.575Z] e2be974225ed: Pulling fs layer [2023-05-08T20:11:23.575Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T20:11:23.575Z] 988bab9f4d93: Pulling fs layer [2023-05-08T20:11:23.575Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T20:11:23.575Z] eaf3925da568: Pulling fs layer [2023-05-08T20:11:23.575Z] bab4dde63d76: Pulling fs layer [2023-05-08T20:11:23.575Z] bde34c3a00c8: Pulling fs layer [2023-05-08T20:11:23.575Z] b352a97aabf1: Pulling fs layer [2023-05-08T20:11:23.575Z] 988bab9f4d93: Waiting [2023-05-08T20:11:23.575Z] 4872d77fe225: Pulling fs layer [2023-05-08T20:11:23.575Z] 5851b861e8e6: Pulling fs layer [2023-05-08T20:11:23.575Z] 1469e6f7b9e6: Waiting [2023-05-08T20:11:23.575Z] bde34c3a00c8: Waiting [2023-05-08T20:11:23.575Z] eaf3925da568: Waiting [2023-05-08T20:11:23.575Z] bab4dde63d76: Waiting [2023-05-08T20:11:23.575Z] 4872d77fe225: Waiting [2023-05-08T20:11:23.575Z] 5851b861e8e6: Waiting [2023-05-08T20:11:23.575Z] e2be974225ed: Download complete [2023-05-08T20:11:23.575Z] 988bab9f4d93: Verifying Checksum [2023-05-08T20:11:23.575Z] 988bab9f4d93: Download complete [2023-05-08T20:11:23.575Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T20:11:23.575Z] 339a4e72a1f5: Download complete [2023-05-08T20:11:23.575Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T20:11:23.575Z] 1469e6f7b9e6: Download complete [2023-05-08T20:11:23.840Z] eaf3925da568: Verifying Checksum [2023-05-08T20:11:23.840Z] eaf3925da568: Download complete [2023-05-08T20:11:23.840Z] bde34c3a00c8: Verifying Checksum [2023-05-08T20:11:23.840Z] bde34c3a00c8: Download complete [2023-05-08T20:11:23.840Z] b352a97aabf1: Verifying Checksum [2023-05-08T20:11:23.840Z] b352a97aabf1: Download complete [2023-05-08T20:11:23.840Z] 4872d77fe225: Verifying Checksum [2023-05-08T20:11:23.840Z] 4872d77fe225: Download complete [2023-05-08T20:11:23.840Z] 5851b861e8e6: Verifying Checksum [2023-05-08T20:11:23.840Z] 5851b861e8e6: Download complete [2023-05-08T20:11:23.840Z] b85a868b505f: Verifying Checksum [2023-05-08T20:11:23.840Z] b85a868b505f: Download complete [2023-05-08T20:11:24.099Z] bab4dde63d76: Verifying Checksum [2023-05-08T20:11:24.099Z] bab4dde63d76: Download complete [2023-05-08T20:11:25.064Z] b85a868b505f: Pull complete [2023-05-08T20:11:25.323Z] e2be974225ed: Pull complete [2023-05-08T20:11:25.582Z] 339a4e72a1f5: Pull complete [2023-05-08T20:11:25.582Z] 988bab9f4d93: Pull complete [2023-05-08T20:11:25.842Z] 1469e6f7b9e6: Pull complete [2023-05-08T20:11:26.102Z] eaf3925da568: Pull complete [2023-05-08T20:11:27.482Z] bab4dde63d76: Pull complete [2023-05-08T20:11:27.748Z] bde34c3a00c8: Pull complete [2023-05-08T20:11:27.748Z] b352a97aabf1: Pull complete [2023-05-08T20:11:27.748Z] 4872d77fe225: Pull complete [2023-05-08T20:11:28.008Z] 5851b861e8e6: Pull complete [2023-05-08T20:11:28.008Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T20:11:28.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T20:11:28.008Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T20:11:28.272Z] prd-ubuntu20.04-docker-8c-8g-14541 does not seem to be running inside a container [2023-05-08T20:11:28.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@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-05-08T20:11:30.339Z] $ docker top e053b2cb96318fe693b5835736899fbd48d19c9250db6ce13ae336a660be53fe -eo pid,comm [2023-05-08T20:11:30.385Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-08T20:11:30.385Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T20:11:30.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T20:11:30.520Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T20:11:30.641Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T20:11:30.648Z] $ docker exec e053b2cb96318fe693b5835736899fbd48d19c9250db6ce13ae336a660be53fe ssh-agent [2023-05-08T20:11:30.747Z] SSH_AUTH_SOCK=/tmp/ssh-pXCj8y1yOaTz/agent.31 [2023-05-08T20:11:30.747Z] SSH_AGENT_PID=37 [2023-05-08T20:11:30.753Z] Running ssh-add (command line suppressed) [2023-05-08T20:11:30.850Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-240@tmp/private_key_17648873336445545003.key (/w/workspace/foundry_device-usb-camera_PR-240@tmp/private_key_17648873336445545003.key) [2023-05-08T20:11:30.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T20:11:31.192Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T20:11:31.229Z] $ docker exec --env ******** --env ******** e053b2cb96318fe693b5835736899fbd48d19c9250db6ce13ae336a660be53fe ssh-agent -k [2023-05-08T20:11:31.342Z] unset SSH_AUTH_SOCK; [2023-05-08T20:11:31.343Z] unset SSH_AGENT_PID; [2023-05-08T20:11:31.343Z] echo Agent pid 37 killed; [2023-05-08T20:11:31.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T20:11:31.451Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T20:11:31.451Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T20:11:31.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T20:11:31.568Z] $ docker exec e053b2cb96318fe693b5835736899fbd48d19c9250db6ce13ae336a660be53fe ssh-agent [2023-05-08T20:11:31.661Z] SSH_AUTH_SOCK=/tmp/ssh-VQfsmmxTZvXt/agent.69 [2023-05-08T20:11:31.661Z] SSH_AGENT_PID=75 [2023-05-08T20:11:31.666Z] Running ssh-add (command line suppressed) [2023-05-08T20:11:31.764Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-240@tmp/private_key_14892142981609565033.key (/w/workspace/foundry_device-usb-camera_PR-240@tmp/private_key_14892142981609565033.key) [2023-05-08T20:11:31.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T20:11:32.107Z] + git semver init [2023-05-08T20:11:32.373Z] 2023-05-08 20:11:32,271 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T20:11:32.373Z] 2023-05-08 20:11:32,271 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-240/.semver [2023-05-08T20:11:32.373Z] 2023-05-08 20:11:32,272 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-240/.semver [2023-05-08T20:11:32.373Z] 2023-05-08 20:11:32,272 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-240/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-240, universal_newlines=False, shell=None, istream=None) [2023-05-08T20:11:33.316Z] 2023-05-08 20:11:32,989 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-240/.git/info/exclude [2023-05-08T20:11:33.316Z] 2023-05-08 20:11:32,990 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-240/.semver/PR-240 with force:False [2023-05-08T20:11:33.316Z] 2023-05-08 20:11:32,990 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-240/.semver/PR-240 [2023-05-08T20:11:33.316Z] 2023-05-08 20:11:32,994 [execute] INFO git cat-file --batch-check [2023-05-08T20:11:33.316Z] 2023-05-08 20:11:32,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T20:11:33.316Z] 2023-05-08 20:11:33,001 [execute] INFO git cat-file --batch [2023-05-08T20:11:33.316Z] 2023-05-08 20:11:33,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T20:11:33.316Z] 2023-05-08 20:11:33,006 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-240/.semver/PR-240 [2023-05-08T20:11:33.316Z] 0.0.0 [Pipeline] } [2023-05-08T20:11:33.351Z] $ docker exec --env ******** --env ******** e053b2cb96318fe693b5835736899fbd48d19c9250db6ce13ae336a660be53fe ssh-agent -k [2023-05-08T20:11:33.446Z] unset SSH_AUTH_SOCK; [2023-05-08T20:11:33.446Z] unset SSH_AGENT_PID; [2023-05-08T20:11:33.446Z] echo Agent pid 75 killed; [2023-05-08T20:11:33.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T20:11:33.900Z] + git semver [Pipeline] } [2023-05-08T20:11:34.192Z] $ docker stop --time=1 e053b2cb96318fe693b5835736899fbd48d19c9250db6ce13ae336a660be53fe [2023-05-08T20:11:35.492Z] $ docker rm -f --volumes e053b2cb96318fe693b5835736899fbd48d19c9250db6ce13ae336a660be53fe [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T20:11:35.896Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T20:11:36.171Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T20:11:36.189Z] [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-05-08T20:11:36.812Z] provisioning config files... [2023-05-08T20:11:36.821Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-240@tmp/config7537065014425352634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:11:37.179Z] ---> docker-login.sh [2023-05-08T20:11:37.179Z] nexus3.edgexfoundry.org:10001 [2023-05-08T20:11:37.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:37.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:37.179Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:37.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:37.179Z] [2023-05-08T20:11:37.179Z] Login Succeeded [2023-05-08T20:11:37.179Z] nexus3.edgexfoundry.org:10002 [2023-05-08T20:11:37.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:37.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:37.179Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:37.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:37.179Z] [2023-05-08T20:11:37.179Z] Login Succeeded [2023-05-08T20:11:37.179Z] nexus3.edgexfoundry.org:10003 [2023-05-08T20:11:37.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:37.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:37.437Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:37.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:37.437Z] [2023-05-08T20:11:37.437Z] Login Succeeded [2023-05-08T20:11:37.437Z] nexus3.edgexfoundry.org:10004 [2023-05-08T20:11:37.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:37.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:37.437Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:37.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:37.437Z] [2023-05-08T20:11:37.437Z] Login Succeeded [2023-05-08T20:11:37.437Z] docker.io [2023-05-08T20:11:37.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:11:37.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:11:37.697Z] Configure a credential helper to remove this warning. See [2023-05-08T20:11:37.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:11:37.697Z] [2023-05-08T20:11:37.697Z] Login Succeeded [2023-05-08T20:11:37.697Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T20:11:37.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T20:11:37.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T20:11:37.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T20:11:38.008Z] ========================================================= [2023-05-08T20:11:38.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T20:11:38.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:11:38.485Z] + 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-05-08T20:11:38.485Z] Sending build context to Docker daemon 2.065MB [2023-05-08T20:11:38.485Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T20:11:38.485Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-08T20:11:38.485Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T20:11:38.485Z] f56be85fc22e: Pulling fs layer [2023-05-08T20:11:38.485Z] 85791d961cd3: Pulling fs layer [2023-05-08T20:11:38.485Z] d694b5ae8c79: Pulling fs layer [2023-05-08T20:11:38.485Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T20:11:38.485Z] 4d19c01a9841: Pulling fs layer [2023-05-08T20:11:38.485Z] 9325e15d5711: Pulling fs layer [2023-05-08T20:11:38.485Z] 556b6ee489ea: Pulling fs layer [2023-05-08T20:11:38.485Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T20:11:38.485Z] 9f32a84ed3da: Waiting [2023-05-08T20:11:38.485Z] 4d19c01a9841: Waiting [2023-05-08T20:11:38.485Z] 9325e15d5711: Waiting [2023-05-08T20:11:38.485Z] c5a4b2cf53e6: Waiting [2023-05-08T20:11:38.485Z] 556b6ee489ea: Waiting [2023-05-08T20:11:38.485Z] 85791d961cd3: Verifying Checksum [2023-05-08T20:11:38.485Z] 85791d961cd3: Download complete [2023-05-08T20:11:38.485Z] 9f32a84ed3da: Download complete [2023-05-08T20:11:38.485Z] 4d19c01a9841: Download complete [2023-05-08T20:11:38.745Z] f56be85fc22e: Verifying Checksum [2023-05-08T20:11:38.745Z] f56be85fc22e: Download complete [2023-05-08T20:11:38.745Z] 9325e15d5711: Verifying Checksum [2023-05-08T20:11:38.745Z] 9325e15d5711: Download complete [2023-05-08T20:11:38.745Z] f56be85fc22e: Pull complete [2023-05-08T20:11:39.004Z] 85791d961cd3: Pull complete [2023-05-08T20:11:39.272Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T20:11:39.272Z] c5a4b2cf53e6: Download complete [2023-05-08T20:11:39.272Z] d694b5ae8c79: Verifying Checksum [2023-05-08T20:11:39.272Z] d694b5ae8c79: Download complete [2023-05-08T20:11:39.529Z] 556b6ee489ea: Verifying Checksum [2023-05-08T20:11:39.529Z] 556b6ee489ea: Download complete [2023-05-08T20:11:42.814Z] d694b5ae8c79: Pull complete [2023-05-08T20:11:42.814Z] 9f32a84ed3da: Pull complete [2023-05-08T20:11:42.814Z] 4d19c01a9841: Pull complete [2023-05-08T20:11:42.814Z] 9325e15d5711: Pull complete [2023-05-08T20:11:44.718Z] 556b6ee489ea: Pull complete [2023-05-08T20:11:45.663Z] c5a4b2cf53e6: Pull complete [2023-05-08T20:11:45.663Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T20:11:45.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T20:11:45.663Z] ---> c4be618373d6 [2023-05-08T20:11:45.663Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-08T20:11:48.952Z] ---> Running in 4d4288ba01a6 [2023-05-08T20:11:48.952Z] Removing intermediate container 4d4288ba01a6 [2023-05-08T20:11:48.952Z] ---> 91c79209661e [2023-05-08T20:11:48.952Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T20:11:48.952Z] ---> Running in 40ad07d59b02 [2023-05-08T20:11:48.952Z] Removing intermediate container 40ad07d59b02 [2023-05-08T20:11:48.952Z] ---> 5ad4863fc049 [2023-05-08T20:11:48.952Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T20:11:48.952Z] ---> Running in 0e7d9fdcd7f4 [2023-05-08T20:11:48.952Z] Removing intermediate container 0e7d9fdcd7f4 [2023-05-08T20:11:48.952Z] ---> 4d67bf7aa727 [2023-05-08T20:11:48.952Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T20:11:48.952Z] ---> Running in a2339f44ef06 [2023-05-08T20:11:48.952Z] Removing intermediate container a2339f44ef06 [2023-05-08T20:11:48.952Z] ---> b5a4b8e05608 [2023-05-08T20:11:48.952Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T20:11:48.952Z] ---> Running in be8c4a5ed82c [2023-05-08T20:11:49.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T20:11:49.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T20:11:49.470Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-08T20:11:49.470Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-08T20:11:49.470Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T20:11:49.470Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T20:11:49.470Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-08T20:11:49.728Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-08T20:11:49.728Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-08T20:11:49.728Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-08T20:11:49.728Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-08T20:11:49.728Z] (10/14) Installing kmod-libs (30-r1) [2023-05-08T20:11:49.728Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-08T20:11:49.728Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-08T20:11:49.728Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-08T20:11:49.728Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-08T20:11:49.728Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T20:11:49.728Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T20:11:49.728Z] OK: 272 MiB in 67 packages [2023-05-08T20:11:50.294Z] Removing intermediate container be8c4a5ed82c [2023-05-08T20:11:50.294Z] ---> 3100de5808ab [2023-05-08T20:11:50.294Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-08T20:11:50.294Z] ---> Running in 1c684ca327b0 [2023-05-08T20:11:50.294Z] Removing intermediate container 1c684ca327b0 [2023-05-08T20:11:50.294Z] ---> 1ab17015deb8 [2023-05-08T20:11:50.294Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-08T20:11:50.294Z] ---> 7be998c9845f [2023-05-08T20:11:50.294Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T20:11:50.294Z] ---> Running in 3338b809ddec [2023-05-08T20:11:51.616Z] Still waiting to schedule task [2023-05-08T20:11:51.616Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-08T20:12:29.007Z] Removing intermediate container 3338b809ddec [2023-05-08T20:12:29.007Z] ---> e1de31ccc371 [2023-05-08T20:12:29.007Z] Step 11/13 : COPY . . [2023-05-08T20:12:29.007Z] ---> 8956ea1e2a63 [2023-05-08T20:12:29.007Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T20:12:29.007Z] ---> Running in fe70566c0dac [2023-05-08T20:12:29.007Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T20:12:29.007Z] Dload Upload Total Spent Left Speed [2023-05-08T20:12:29.007Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7675 0 --:--:-- --:--:-- --:--:-- 7695 [2023-05-08T20:12:29.007Z] Removing intermediate container fe70566c0dac [2023-05-08T20:12:29.007Z] ---> e4db51b42e21 [2023-05-08T20:12:29.007Z] Step 13/13 : RUN ${MAKE} [2023-05-08T20:12:29.007Z] ---> Running in 458eb26e9625 [2023-05-08T20:12:29.007Z] noop [2023-05-08T20:12:29.007Z] Removing intermediate container 458eb26e9625 [2023-05-08T20:12:29.007Z] ---> 4679183c2ebf [2023-05-08T20:12:29.007Z] Successfully built 4679183c2ebf [2023-05-08T20:12:29.007Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:12:29.457Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T20:12:29.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T20:12:29.624Z] prd-ubuntu20.04-docker-8c-8g-14541 does not seem to be running inside a container [2023-05-08T20:12:29.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@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-05-08T20:12:29.968Z] $ docker top 219d002ec23eb13890142948acc00e4cd2da7ad62f1d8f94c3b2ec082de4f8d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T20:12:30.365Z] + go version [2023-05-08T20:12:30.365Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T20:12:30.401Z] $ docker stop --time=1 219d002ec23eb13890142948acc00e4cd2da7ad62f1d8f94c3b2ec082de4f8d6 [2023-05-08T20:12:31.663Z] $ docker rm -f --volumes 219d002ec23eb13890142948acc00e4cd2da7ad62f1d8f94c3b2ec082de4f8d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:12:32.432Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T20:12:32.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T20:12:32.591Z] prd-ubuntu20.04-docker-8c-8g-14541 does not seem to be running inside a container [2023-05-08T20:12:32.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@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-05-08T20:12:32.953Z] $ docker top 88ee829bb5efe287600329a79074663dd3d12cfd19b80c4009f6dd5d87ec25e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T20:12:33.344Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-240 [Pipeline] fileExists [Pipeline] sh [2023-05-08T20:12:33.705Z] + make test [2023-05-08T20:12:33.705Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T20:12:33.964Z] internal/driver/credentials.go:10:2: no required module provides package github.com/edgexfoundry/go-mod-core-contracts/v2/errors; to add it: [2023-05-08T20:12:33.964Z] go get github.com/edgexfoundry/go-mod-core-contracts/v2/errors [2023-05-08T20:12:33.964Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-05-08T20:12:34.012Z] $ docker stop --time=1 88ee829bb5efe287600329a79074663dd3d12cfd19b80c4009f6dd5d87ec25e5 [2023-05-08T20:12:35.307Z] $ docker rm -f --volumes 88ee829bb5efe287600329a79074663dd3d12cfd19b80c4009f6dd5d87ec25e5 [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-05-08T20:12:36.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T20:12:36.484Z] [2023-05-08T20:12:36.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:12:36.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T20:12:36.871Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T20:12:36.871Z] 5eb5b503b376: Pulling fs layer [2023-05-08T20:12:36.871Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T20:12:36.871Z] ec43610c2a17: Pulling fs layer [2023-05-08T20:12:36.871Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T20:12:36.871Z] 33b1e0a273af: Pulling fs layer [2023-05-08T20:12:36.871Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T20:12:36.871Z] 33b1e0a273af: Waiting [2023-05-08T20:12:36.871Z] 3a2ae6a8a46f: Waiting [2023-05-08T20:12:36.871Z] 2f39f015ded8: Pulling fs layer [2023-05-08T20:12:36.871Z] 5d3b04190fa2: Waiting [2023-05-08T20:12:36.871Z] 2f39f015ded8: Waiting [2023-05-08T20:12:36.871Z] 5c69ac0246d0: Download complete [2023-05-08T20:12:36.871Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T20:12:36.871Z] 3a2ae6a8a46f: Download complete [2023-05-08T20:12:37.129Z] 33b1e0a273af: Verifying Checksum [2023-05-08T20:12:37.129Z] 33b1e0a273af: Download complete [2023-05-08T20:12:37.129Z] 5d3b04190fa2: Download complete [2023-05-08T20:12:37.129Z] ec43610c2a17: Verifying Checksum [2023-05-08T20:12:37.129Z] ec43610c2a17: Download complete [2023-05-08T20:12:37.129Z] 5eb5b503b376: Verifying Checksum [2023-05-08T20:12:37.129Z] 5eb5b503b376: Download complete [2023-05-08T20:12:37.697Z] 2f39f015ded8: Download complete [2023-05-08T20:12:38.264Z] 5eb5b503b376: Pull complete [2023-05-08T20:12:38.264Z] 5c69ac0246d0: Pull complete [2023-05-08T20:12:38.832Z] ec43610c2a17: Pull complete [2023-05-08T20:12:38.832Z] 3a2ae6a8a46f: Pull complete [2023-05-08T20:12:38.832Z] 33b1e0a273af: Pull complete [2023-05-08T20:12:39.091Z] 5d3b04190fa2: Pull complete [2023-05-08T20:12:43.301Z] 2f39f015ded8: Pull complete [2023-05-08T20:12:43.301Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T20:12:43.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T20:12:43.301Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T20:12:43.579Z] prd-ubuntu20.04-docker-8c-8g-14541 does not seem to be running inside a container [2023-05-08T20:12:43.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@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-05-08T20:12:45.947Z] $ docker top e355cd318e9ace3f34046c8cb8ea5b48e4f383e2e573f503b3c007562c6c3b8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:12:46.415Z] ---> job-cost.sh [2023-05-08T20:12:46.415Z] lf-activate-venv: SKIPPING [2023-05-08T20:12:46.415Z] INFO: No Stack... [2023-05-08T20:12:46.674Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T20:12:46.934Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T20:12:47.248Z] + cat /w/workspace/foundry_device-usb-camera_PR-240/archives/cost.csv [2023-05-08T20:12:47.248Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T20:12:47.289Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-240-1-stack-cost] [2023-05-08T20:12:47.294Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-240-1-stack-cost] did not exist. Created. [2023-05-08T20:12:47.294Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T20:12:47.689Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T20:12:47.745Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T20:12:47.773Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T20:12:47.865Z] $ docker stop --time=1 e355cd318e9ace3f34046c8cb8ea5b48e4f383e2e573f503b3c007562c6c3b8c [2023-05-08T20:12:49.009Z] $ docker rm -f --volumes e355cd318e9ace3f34046c8cb8ea5b48e4f383e2e573f503b3c007562c6c3b8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T20:12:49.399Z] Failed in branch amd64 [2023-05-08T20:13:28.074Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14542 in /w/workspace/foundry_device-usb-camera_PR-240 [Pipeline] { [Pipeline] ws [2023-05-08T20:13:28.131Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-08T20:13:28.209Z] Selected Git installation does not exist. Using Default [2023-05-08T20:13:28.209Z] The recommended git tool is: NONE [2023-05-08T20:13:33.890Z] using credential edgex-jenkins-ssh [2023-05-08T20:13:33.909Z] Cloning the remote Git repository [2023-05-08T20:13:33.971Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-08T20:13:34.055Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-08T20:13:34.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-08T20:13:34.177Z] > git --version # timeout=10 [2023-05-08T20:13:34.196Z] > git --version # 'git version 2.25.1' [2023-05-08T20:13:34.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T20:13:34.331Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T20:13:35.118Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-08T20:13:35.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T20:13:36.823Z] Merging remotes/origin/main commit beed2f8d28cc393e5ecf72eec326ecfe84dcca0e into PR head commit dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 [2023-05-08T20:13:36.140Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-08T20:13:36.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-08T20:13:36.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T20:13:36.216Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T20:13:36.846Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T20:13:36.921Z] > git checkout -f dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 # timeout=10 [2023-05-08T20:13:37.034Z] > git remote # timeout=10 [2023-05-08T20:13:37.055Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T20:13:37.155Z] Merge succeeded, producing dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 [2023-05-08T20:13:37.156Z] Checking out Revision dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 (PR-240) [2023-05-08T20:13:37.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T20:13:37.109Z] > git merge beed2f8d28cc393e5ecf72eec326ecfe84dcca0e # timeout=10 [2023-05-08T20:13:37.137Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T20:13:37.164Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T20:13:37.183Z] > git checkout -f dc6a5fd0b82c7bdb88b49fc80e057f8f65a61f03 # timeout=10 [2023-05-08T20:13:40.697Z] Commit message: "feat: rtsp cred" [2023-05-08T20:13:40.752Z] > git --version # timeout=10 [2023-05-08T20:13:40.764Z] > git --version # 'git version 2.25.1' [2023-05-08T20:13:40.786Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T20:13:41.886Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T20:13:41.886Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T20:13:41.886Z] Dload Upload Total Spent Left Speed [2023-05-08T20:13:41.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-05-08T20:13:42.625Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T20:13:42.975Z] + sudo tee /etc/docker/daemon.new [2023-05-08T20:13:42.975Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T20:13:42.975Z] { [2023-05-08T20:13:42.975Z] "registry-mirrors": [ [2023-05-08T20:13:42.975Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T20:13:42.975Z] ], [2023-05-08T20:13:42.975Z] "bip": "10.250.0.254/24", [2023-05-08T20:13:42.975Z] "hosts": [ [2023-05-08T20:13:42.975Z] "tcp://0.0.0.0:5555", [2023-05-08T20:13:42.975Z] "unix:///var/run/docker.sock" [2023-05-08T20:13:42.975Z] ], [2023-05-08T20:13:42.975Z] "mtu": 1458, [2023-05-08T20:13:42.975Z] "selinux-enabled": true, [2023-05-08T20:13:42.975Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T20:13:42.975Z] } [Pipeline] sh [2023-05-08T20:13:43.324Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T20:13:43.666Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T20:14:01.984Z] provisioning config files... [2023-05-08T20:14:02.014Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config10483183147439089224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:14:02.404Z] ---> docker-login.sh [2023-05-08T20:14:02.404Z] nexus3.edgexfoundry.org:10001 [2023-05-08T20:14:02.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:14:02.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:14:02.948Z] Configure a credential helper to remove this warning. See [2023-05-08T20:14:02.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:14:02.948Z] [2023-05-08T20:14:02.948Z] Login Succeeded [2023-05-08T20:14:02.948Z] nexus3.edgexfoundry.org:10002 [2023-05-08T20:14:03.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:14:03.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:14:03.490Z] Configure a credential helper to remove this warning. See [2023-05-08T20:14:03.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:14:03.490Z] [2023-05-08T20:14:03.490Z] Login Succeeded [2023-05-08T20:14:03.490Z] nexus3.edgexfoundry.org:10003 [2023-05-08T20:14:03.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:14:03.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:14:03.760Z] Configure a credential helper to remove this warning. See [2023-05-08T20:14:03.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:14:03.761Z] [2023-05-08T20:14:03.761Z] Login Succeeded [2023-05-08T20:14:03.761Z] nexus3.edgexfoundry.org:10004 [2023-05-08T20:14:04.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:14:04.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:14:04.032Z] Configure a credential helper to remove this warning. See [2023-05-08T20:14:04.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:14:04.032Z] [2023-05-08T20:14:04.032Z] Login Succeeded [2023-05-08T20:14:04.032Z] docker.io [2023-05-08T20:14:04.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T20:14:04.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T20:14:04.573Z] Configure a credential helper to remove this warning. See [2023-05-08T20:14:04.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T20:14:04.573Z] [2023-05-08T20:14:04.573Z] Login Succeeded [2023-05-08T20:14:04.573Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T20:14:04.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T20:14:04.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T20:14:05.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T20:14:05.079Z] ========================================================= [2023-05-08T20:14:05.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T20:14:05.080Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:14:05.590Z] + 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-05-08T20:14:05.860Z] Sending build context to Docker daemon 1.331MB [2023-05-08T20:14:05.860Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T20:14:05.860Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-08T20:14:06.130Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T20:14:06.130Z] c41833b44d91: Pulling fs layer [2023-05-08T20:14:06.130Z] ed15518f5707: Pulling fs layer [2023-05-08T20:14:06.130Z] feae8fd75edb: Pulling fs layer [2023-05-08T20:14:06.130Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T20:14:06.130Z] 3cdef696dda3: Pulling fs layer [2023-05-08T20:14:06.130Z] 2ced38df9373: Pulling fs layer [2023-05-08T20:14:06.130Z] 58f1dce35555: Pulling fs layer [2023-05-08T20:14:06.130Z] 3cdef696dda3: Waiting [2023-05-08T20:14:06.130Z] 2ced38df9373: Waiting [2023-05-08T20:14:06.130Z] 242c74f7c9fa: Waiting [2023-05-08T20:14:06.130Z] 58f1dce35555: Waiting [2023-05-08T20:14:06.130Z] ed15518f5707: Verifying Checksum [2023-05-08T20:14:06.130Z] ed15518f5707: Download complete [2023-05-08T20:14:06.130Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T20:14:06.130Z] 242c74f7c9fa: Download complete [2023-05-08T20:14:06.130Z] 3cdef696dda3: Verifying Checksum [2023-05-08T20:14:06.130Z] 3cdef696dda3: Download complete [2023-05-08T20:14:06.130Z] c41833b44d91: Verifying Checksum [2023-05-08T20:14:06.130Z] c41833b44d91: Download complete [2023-05-08T20:14:07.109Z] c41833b44d91: Pull complete [2023-05-08T20:14:07.381Z] 58f1dce35555: Verifying Checksum [2023-05-08T20:14:07.381Z] 58f1dce35555: Download complete [2023-05-08T20:14:07.661Z] ed15518f5707: Pull complete [2023-05-08T20:14:08.646Z] feae8fd75edb: Verifying Checksum [2023-05-08T20:14:08.646Z] feae8fd75edb: Download complete [2023-05-08T20:14:08.646Z] 2ced38df9373: Verifying Checksum [2023-05-08T20:14:08.646Z] 2ced38df9373: Download complete [2023-05-08T20:14:20.980Z] feae8fd75edb: Pull complete [2023-05-08T20:14:20.980Z] 242c74f7c9fa: Pull complete [2023-05-08T20:14:20.980Z] 3cdef696dda3: Pull complete [2023-05-08T20:14:26.342Z] 2ced38df9373: Pull complete [2023-05-08T20:14:28.942Z] 58f1dce35555: Pull complete [2023-05-08T20:14:28.942Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T20:14:28.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T20:14:28.942Z] ---> fadd8f120f05 [2023-05-08T20:14:28.942Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-08T20:14:30.369Z] ---> Running in 6d3ef9e858f0 [2023-05-08T20:14:30.637Z] Removing intermediate container 6d3ef9e858f0 [2023-05-08T20:14:30.638Z] ---> c0bce5ca7517 [2023-05-08T20:14:30.638Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T20:14:30.638Z] ---> Running in 1aa502f2d91c [2023-05-08T20:14:30.909Z] Removing intermediate container 1aa502f2d91c [2023-05-08T20:14:30.909Z] ---> 18612220a6db [2023-05-08T20:14:30.909Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T20:14:31.186Z] ---> Running in d0182afa38bc [2023-05-08T20:14:31.455Z] Removing intermediate container d0182afa38bc [2023-05-08T20:14:31.455Z] ---> 99ae00301cc5 [2023-05-08T20:14:31.455Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T20:14:31.455Z] ---> Running in 938eceafff4d [2023-05-08T20:14:31.725Z] Removing intermediate container 938eceafff4d [2023-05-08T20:14:31.725Z] ---> 53411c5f1250 [2023-05-08T20:14:31.725Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T20:14:31.994Z] ---> Running in 200233ffbdc6 [2023-05-08T20:14:32.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T20:14:33.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T20:14:34.508Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-08T20:14:34.508Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-08T20:14:34.508Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T20:14:34.508Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T20:14:34.508Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-08T20:14:34.508Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-08T20:14:34.508Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-08T20:14:34.508Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-08T20:14:34.779Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-08T20:14:34.779Z] (10/14) Installing kmod-libs (30-r1) [2023-05-08T20:14:34.779Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-08T20:14:34.779Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-08T20:14:34.779Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-08T20:14:34.779Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-08T20:14:34.779Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T20:14:34.779Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T20:14:34.779Z] OK: 271 MiB in 67 packages [2023-05-08T20:14:36.197Z] Removing intermediate container 200233ffbdc6 [2023-05-08T20:14:36.197Z] ---> 3890d39c5825 [2023-05-08T20:14:36.197Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-08T20:14:36.197Z] ---> Running in b8c1573f1b9d [2023-05-08T20:14:36.465Z] Removing intermediate container b8c1573f1b9d [2023-05-08T20:14:36.466Z] ---> 955e9c2c9819 [2023-05-08T20:14:36.466Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-08T20:14:36.739Z] ---> b02fdaf4574d [2023-05-08T20:14:36.739Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T20:14:37.014Z] ---> Running in 5331d2367310 [2023-05-08T20:15:44.944Z] Removing intermediate container 5331d2367310 [2023-05-08T20:15:44.944Z] ---> 3f9d5e692d9d [2023-05-08T20:15:44.944Z] Step 11/13 : COPY . . [2023-05-08T20:15:44.944Z] ---> 3fff07976d9a [2023-05-08T20:15:44.944Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T20:15:44.944Z] ---> Running in 00c823a4cac2 [2023-05-08T20:15:44.944Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T20:15:44.944Z] Dload Upload Total Spent Left Speed [2023-05-08T20:15:44.944Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3580 0 --:--:-- --:--:-- --:--:-- 3600 [2023-05-08T20:15:44.944Z] Removing intermediate container 00c823a4cac2 [2023-05-08T20:15:44.944Z] ---> 86818f35108b [2023-05-08T20:15:44.944Z] Step 13/13 : RUN ${MAKE} [2023-05-08T20:15:44.944Z] ---> Running in 9f21956b9230 [2023-05-08T20:15:44.944Z] noop [2023-05-08T20:15:44.944Z] Removing intermediate container 9f21956b9230 [2023-05-08T20:15:44.944Z] ---> f4a7dd2ce4ad [2023-05-08T20:15:44.944Z] Successfully built f4a7dd2ce4ad [2023-05-08T20:15:44.944Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:15:45.436Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T20:15:45.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T20:15:45.733Z] prd-ubuntu20.04-docker-arm64-4c-16g-14542 does not seem to be running inside a container [2023-05-08T20:15:45.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T20:15:47.025Z] $ docker top 758190e3255533059349cd55cf24414a4f7c4b0ac13c1c969ce2cd961f53e051 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T20:15:47.948Z] + go version [2023-05-08T20:15:47.949Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T20:15:47.992Z] $ docker stop --time=1 758190e3255533059349cd55cf24414a4f7c4b0ac13c1c969ce2cd961f53e051 [2023-05-08T20:15:49.664Z] $ docker rm -f --volumes 758190e3255533059349cd55cf24414a4f7c4b0ac13c1c969ce2cd961f53e051 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:15:50.552Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T20:15:50.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T20:15:50.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-14542 does not seem to be running inside a container [2023-05-08T20:15:50.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T20:15:52.049Z] $ docker top 6b70333f32cf153ba6d2366e61a7f48110c1324dd423cdbadf669229352a80e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T20:15:52.612Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-08T20:15:53.353Z] + make test [2023-05-08T20:15:53.353Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T20:15:56.713Z] internal/driver/credentials.go:10:2: no required module provides package github.com/edgexfoundry/go-mod-core-contracts/v2/errors; to add it: [2023-05-08T20:15:56.713Z] go get github.com/edgexfoundry/go-mod-core-contracts/v2/errors [2023-05-08T20:15:56.713Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-05-08T20:15:56.767Z] $ docker stop --time=1 6b70333f32cf153ba6d2366e61a7f48110c1324dd423cdbadf669229352a80e7 [2023-05-08T20:15:58.593Z] $ docker rm -f --volumes 6b70333f32cf153ba6d2366e61a7f48110c1324dd423cdbadf669229352a80e7 [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-05-08T20:15:59.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T20:15:59.876Z] [2023-05-08T20:15:59.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:16:00.297Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T20:16:00.571Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T20:16:00.571Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T20:16:00.571Z] 04944245beec: Pulling fs layer [2023-05-08T20:16:00.571Z] 699f458cf7ca: Pulling fs layer [2023-05-08T20:16:00.571Z] 765212b225bb: Pulling fs layer [2023-05-08T20:16:00.571Z] f23df028b6ca: Pulling fs layer [2023-05-08T20:16:00.571Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T20:16:00.571Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T20:16:00.571Z] 765212b225bb: Waiting [2023-05-08T20:16:00.571Z] f23df028b6ca: Waiting [2023-05-08T20:16:00.571Z] d65c8cfc05b1: Waiting [2023-05-08T20:16:00.571Z] 04944245beec: Verifying Checksum [2023-05-08T20:16:00.571Z] 04944245beec: Download complete [2023-05-08T20:16:00.571Z] 765212b225bb: Verifying Checksum [2023-05-08T20:16:00.571Z] 765212b225bb: Download complete [2023-05-08T20:16:00.571Z] f23df028b6ca: Verifying Checksum [2023-05-08T20:16:00.571Z] f23df028b6ca: Download complete [2023-05-08T20:16:00.571Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T20:16:00.571Z] d65c8cfc05b1: Download complete [2023-05-08T20:16:00.848Z] 699f458cf7ca: Verifying Checksum [2023-05-08T20:16:01.120Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T20:16:01.120Z] 8998bd30e6a1: Download complete [2023-05-08T20:16:03.717Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T20:16:03.717Z] 2437ff75d9bd: Download complete [2023-05-08T20:16:05.147Z] 8998bd30e6a1: Pull complete [2023-05-08T20:16:05.733Z] 04944245beec: Pull complete [2023-05-08T20:16:07.147Z] 699f458cf7ca: Pull complete [2023-05-08T20:16:07.147Z] 765212b225bb: Pull complete [2023-05-08T20:16:08.114Z] f23df028b6ca: Pull complete [2023-05-08T20:16:08.114Z] d65c8cfc05b1: Pull complete [2023-05-08T20:16:23.112Z] 2437ff75d9bd: Pull complete [2023-05-08T20:16:23.112Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T20:16:23.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T20:16:23.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T20:16:23.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-14542 does not seem to be running inside a container [2023-05-08T20:16:23.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-08T20:16:26.161Z] $ docker top 8069a786844de621c0a06634a0065d04677b9e2dfdf35073d7dc6764be800aaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:16:26.764Z] ---> job-cost.sh [2023-05-08T20:16:27.033Z] lf-activate-venv: SKIPPING [2023-05-08T20:16:27.033Z] INFO: No Stack... [2023-05-08T20:16:27.299Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T20:16:28.261Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T20:16:28.929Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-05-08T20:16:28.929Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T20:16:29.009Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-240-1-stack-cost] [2023-05-08T20:16:29.015Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-240-1-stack-cost] did not exist. Created. [2023-05-08T20:16:29.015Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T20:16:29.540Z] /w/workspace/device-usb-camera/1@tmp/durable-5f3e5f61/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T20:16:29.973Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T20:16:29.995Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T20:16:30.521Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T20:16:30.539Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T20:16:30.732Z] $ docker stop --time=1 8069a786844de621c0a06634a0065d04677b9e2dfdf35073d7dc6764be800aaa [2023-05-08T20:16:32.259Z] $ docker rm -f --volumes 8069a786844de621c0a06634a0065d04677b9e2dfdf35073d7dc6764be800aaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T20:16:32.982Z] 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-05-08T20:16:35.131Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-240/archives ] [2023-05-08T20:16:35.132Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-240/archives [2023-05-08T20:16:35.132Z] total 16 [2023-05-08T20:16:35.132Z] drwxr-xr-x 3 root root 4096 May 8 20:12 . [2023-05-08T20:16:35.132Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 20:12 .. [2023-05-08T20:16:35.132Z] drwxr-xr-x 2 root root 4096 May 8 20:12 cost [2023-05-08T20:16:35.132Z] -rw-r--r-- 1 root root 89 May 8 20:12 cost.csv [2023-05-08T20:16:35.132Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-240/archives [2023-05-08T20:16:35.132Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-240/archives [2023-05-08T20:16:35.132Z] total 16 [2023-05-08T20:16:35.132Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 20:12 . [2023-05-08T20:16:35.132Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 20:12 .. [2023-05-08T20:16:35.132Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 20:12 cost [2023-05-08T20:16:35.132Z] -rw-r--r-- 1 jenkins jenkins 89 May 8 20:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:16:35.468Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:16:36.360Z] ---> package-listing.sh [2023-05-08T20:16:36.360Z] ++ facter osfamily [2023-05-08T20:16:36.360Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T20:16:36.620Z] + OS_FAMILY=debian [2023-05-08T20:16:36.620Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-240 [2023-05-08T20:16:36.620Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T20:16:36.620Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T20:16:36.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T20:16:36.620Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T20:16:36.620Z] + '[' /w/workspace/foundry_device-usb-camera_PR-240 ']' [2023-05-08T20:16:36.620Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T20:16:36.620Z] + case "${OS_FAMILY}" in [2023-05-08T20:16:36.620Z] + dpkg -l [2023-05-08T20:16:36.620Z] + grep '^ii' [2023-05-08T20:16:36.620Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T20:16:36.620Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T20:16:36.620Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T20:16:36.620Z] + '[' /w/workspace/foundry_device-usb-camera_PR-240 ']' [2023-05-08T20:16:36.620Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-240/archives/ [2023-05-08T20:16:36.620Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-240/archives/ [Pipeline] echo [2023-05-08T20:16:36.658Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-240/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T20:16:36.957Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T20:16:37.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T20:16:37.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T20:16:37.753Z] prd-ubuntu20.04-docker-8c-8g-14541 does not seem to be running inside a container [2023-05-08T20:16:37.792Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-240/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-240 -v /w/workspace/foundry_device-usb-camera_PR-240:/w/workspace/foundry_device-usb-camera_PR-240:rw,z -v /w/workspace/foundry_device-usb-camera_PR-240@tmp:/w/workspace/foundry_device-usb-camera_PR-240@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-05-08T20:16:37.976Z] $ docker top 4945ee8818acb493d5f16c90048affe1aa247b8e5e171786948d4762cbe41d64 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T20:16:38.366Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T20:16:38.682Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T20:16:38.992Z] + ls /var/log/sa-host [2023-05-08T20:16:38.992Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T20:16:39.311Z] provisioning config files... [2023-05-08T20:16:39.322Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-240@tmp/config7860865431578239968tmp [Pipeline] { [Pipeline] echo [2023-05-08T20:16:39.372Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:16:39.708Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T20:16:39.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:16:40.145Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T20:16:40.179Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:16:40.495Z] ---> sudo-logs.sh [2023-05-08T20:16:40.495Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T20:16:40.584Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:16:40.898Z] ---> job-cost.sh [2023-05-08T20:16:40.898Z] lf-activate-venv: SKIPPING [2023-05-08T20:16:40.898Z] DEBUG: total: 0.2199999988079071 [2023-05-08T20:16:40.898Z] INFO: Retrieving Stack Cost... [2023-05-08T20:16:41.157Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T20:16:41.415Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T20:16:41.701Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T20:16:42.020Z] ---> logs-deploy.sh [2023-05-08T20:16:42.020Z] lf-activate-venv: SKIPPING [2023-05-08T20:16:42.020Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-240/1 [2023-05-08T20:16:42.020Z] INFO: archiving workspace using pattern(s): [2023-05-08T20:16:42.957Z] Archives upload complete. [2023-05-08T20:16:42.957Z] INFO: archiving logs to Nexus