Pull request #204 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b41a20f55721c7a6a638b1e82ba6579fac017dd7+8746c938a55b5945dba82726ee73b77bfa0394d9 (6241c9d3642b2c32550ba5921dd1b45c8056f8f6) 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-ssh4727667306711049657.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4105523017359332487.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh 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-204/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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2050611441434600551.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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4777022115819650727.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh17540088055102267753.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-204/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-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3715523958456289670.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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 ‘prd-ubuntu20.04-docker-8c-8g-5722’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5724 in /w/workspace/foundry_device-usb-camera_PR-204 [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-204 # 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/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit b41a20f55721c7a6a638b1e82ba6579fac017dd7 Merge succeeded, producing b41a20f55721c7a6a638b1e82ba6579fac017dd7 Checking out Revision b41a20f55721c7a6a638b1e82ba6579fac017dd7 (PR-204) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-24T18:02:26.762Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-24T18:02:26.927Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-24T18:02:27.025Z] ========================================================= [2023-03-24T18:02:27.025Z] EdgeX Global Pipelines Version Info [2023-03-24T18:02:27.025Z] ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f b41a20f55721c7a6a638b1e82ba6579fac017dd7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b41a20f55721c7a6a638b1e82ba6579fac017dd7 # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:02:27.758Z] ------------------- [2023-03-24T18:02:27.758Z] stable info: [2023-03-24T18:02:27.758Z] ------------------- [2023-03-24T18:02:27.758Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-24T18:02:27.758Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T18:02:27.758Z] Message: update stable to v1.0.245 [2023-03-24T18:02:28.327Z] ------------------- [2023-03-24T18:02:28.327Z] experimental info: [2023-03-24T18:02:28.327Z] ------------------- [2023-03-24T18:02:28.327Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-24T18:02:28.327Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-24T18:02:28.327Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-24T18:02:28.610Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-24T18:02:28.646Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-24T18:02:28.683Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-24T18:02:28.720Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-24T18:02:28.758Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-24T18:02:28.798Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-24T18:02:28.846Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-24T18:02:28.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-24T18:02:28.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-24T18:02:28.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-24T18:02:28.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-24T18:02:29.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-24T18:02:29.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-24T18:02:29.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-24T18:02:29.154Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T18:02:29.200Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T18:02:29.252Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T18:02:29.293Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T18:02:29.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-24T18:02:29.382Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-24T18:02:29.425Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-24T18:02:29.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-24T18:02:29.514Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-24T18:02:29.556Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-24T18:02:29.595Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-24T18:02:29.635Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-24T18:02:29.674Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-24T18:02:29.717Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2023-03-24T18:02:29.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2023-03-24T18:02:29.816Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2023-03-24T18:02:29.857Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b41a20f55721c7a6a638b1e82ba6579fac017dd7 [Pipeline] echo [2023-03-24T18:02:29.903Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b41a20f [Pipeline] echo [2023-03-24T18:02:29.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T18:02:30.054Z] provisioning config files... [2023-03-24T18:02:30.067Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-204@tmp/config4288901146879128619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:02:30.411Z] ---> docker-login.sh [2023-03-24T18:02:30.411Z] nexus3.edgexfoundry.org:10001 [2023-03-24T18:02:30.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:30.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:30.672Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:30.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:30.672Z] [2023-03-24T18:02:30.672Z] Login Succeeded [2023-03-24T18:02:30.672Z] nexus3.edgexfoundry.org:10002 [2023-03-24T18:02:30.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:30.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:30.932Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:30.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:30.932Z] [2023-03-24T18:02:30.932Z] Login Succeeded [2023-03-24T18:02:30.932Z] nexus3.edgexfoundry.org:10003 [2023-03-24T18:02:30.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:30.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:30.932Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:30.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:30.932Z] [2023-03-24T18:02:30.932Z] Login Succeeded [2023-03-24T18:02:30.932Z] nexus3.edgexfoundry.org:10004 [2023-03-24T18:02:31.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:31.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:31.193Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:31.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:31.193Z] [2023-03-24T18:02:31.193Z] Login Succeeded [2023-03-24T18:02:31.193Z] docker.io [2023-03-24T18:02:31.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:31.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:31.454Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:31.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:31.454Z] [2023-03-24T18:02:31.454Z] Login Succeeded [2023-03-24T18:02:31.454Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T18:02:31.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-24T18:02:32.099Z] + git rev-list -1 --merges b41a20f55721c7a6a638b1e82ba6579fac017dd7~1..b41a20f55721c7a6a638b1e82ba6579fac017dd7 [Pipeline] echo [2023-03-24T18:02:32.157Z] -----------> git rev-list -1 --merges b41a20f55721c7a6a638b1e82ba6579fac017dd7~1..b41a20f55721c7a6a638b1e82ba6579fac017dd7 b41a20f55721c7a6a638b1e82ba6579fac017dd7 [false] [Pipeline] sh [2023-03-24T18:02:32.469Z] + git log --format=format:%s -1 b41a20f55721c7a6a638b1e82ba6579fac017dd7 [Pipeline] echo [2023-03-24T18:02:32.503Z] ========================================================= [2023-03-24T18:02:32.503Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-24T18:02:32.503Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T18:02:32.929Z] + git log --format=format:%s -1 b41a20f55721c7a6a638b1e82ba6579fac017dd7 [Pipeline] echo [2023-03-24T18:02:32.961Z] [semverPrep] GIT_COMMIT: b41a20f55721c7a6a638b1e82ba6579fac017dd7, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-24T18:02:32.988Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-24T18:02:33.375Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-24T18:02:33.375Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-24T18:02:33.375Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-24T18:02:33.375Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-24T18:02:33.375Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-24T18:02:33.375Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-24T18:02:33.375Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:02:33.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T18:02:33.852Z] [2023-03-24T18:02:33.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:02:34.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T18:02:34.221Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-24T18:02:34.221Z] b85a868b505f: Pulling fs layer [2023-03-24T18:02:34.221Z] e2be974225ed: Pulling fs layer [2023-03-24T18:02:34.221Z] 339a4e72a1f5: Pulling fs layer [2023-03-24T18:02:34.221Z] 988bab9f4d93: Pulling fs layer [2023-03-24T18:02:34.221Z] 1469e6f7b9e6: Pulling fs layer [2023-03-24T18:02:34.221Z] eaf3925da568: Pulling fs layer [2023-03-24T18:02:34.221Z] bab4dde63d76: Pulling fs layer [2023-03-24T18:02:34.221Z] bde34c3a00c8: Pulling fs layer [2023-03-24T18:02:34.221Z] b352a97aabf1: Pulling fs layer [2023-03-24T18:02:34.221Z] 4872d77fe225: Pulling fs layer [2023-03-24T18:02:34.221Z] 5851b861e8e6: Pulling fs layer [2023-03-24T18:02:34.221Z] 1469e6f7b9e6: Waiting [2023-03-24T18:02:34.221Z] 988bab9f4d93: Waiting [2023-03-24T18:02:34.221Z] 5851b861e8e6: Waiting [2023-03-24T18:02:34.221Z] 4872d77fe225: Waiting [2023-03-24T18:02:34.221Z] eaf3925da568: Waiting [2023-03-24T18:02:34.221Z] b352a97aabf1: Waiting [2023-03-24T18:02:34.221Z] bde34c3a00c8: Waiting [2023-03-24T18:02:34.221Z] bab4dde63d76: Waiting [2023-03-24T18:02:34.221Z] e2be974225ed: Verifying Checksum [2023-03-24T18:02:34.221Z] e2be974225ed: Download complete [2023-03-24T18:02:34.221Z] 988bab9f4d93: Verifying Checksum [2023-03-24T18:02:34.221Z] 988bab9f4d93: Download complete [2023-03-24T18:02:34.483Z] 1469e6f7b9e6: Verifying Checksum [2023-03-24T18:02:34.483Z] 1469e6f7b9e6: Download complete [2023-03-24T18:02:34.483Z] 339a4e72a1f5: Verifying Checksum [2023-03-24T18:02:34.483Z] 339a4e72a1f5: Download complete [2023-03-24T18:02:34.483Z] eaf3925da568: Verifying Checksum [2023-03-24T18:02:34.483Z] bde34c3a00c8: Download complete [2023-03-24T18:02:34.483Z] b352a97aabf1: Verifying Checksum [2023-03-24T18:02:34.483Z] b352a97aabf1: Download complete [2023-03-24T18:02:34.483Z] 4872d77fe225: Download complete [2023-03-24T18:02:34.742Z] 5851b861e8e6: Verifying Checksum [2023-03-24T18:02:34.742Z] 5851b861e8e6: Download complete [2023-03-24T18:02:34.742Z] b85a868b505f: Verifying Checksum [2023-03-24T18:02:34.742Z] b85a868b505f: Download complete [2023-03-24T18:02:35.001Z] bab4dde63d76: Download complete [2023-03-24T18:02:35.970Z] b85a868b505f: Pull complete [2023-03-24T18:02:35.970Z] e2be974225ed: Pull complete [2023-03-24T18:02:36.538Z] 339a4e72a1f5: Pull complete [2023-03-24T18:02:36.797Z] 988bab9f4d93: Pull complete [2023-03-24T18:02:37.056Z] 1469e6f7b9e6: Pull complete [2023-03-24T18:02:37.056Z] eaf3925da568: Pull complete [2023-03-24T18:02:38.969Z] bab4dde63d76: Pull complete [2023-03-24T18:02:38.969Z] bde34c3a00c8: Pull complete [2023-03-24T18:02:39.230Z] b352a97aabf1: Pull complete [2023-03-24T18:02:39.230Z] 4872d77fe225: Pull complete [2023-03-24T18:02:39.230Z] 5851b861e8e6: Pull complete [2023-03-24T18:02:39.230Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-24T18:02:39.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T18:02:39.490Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:02:39.684Z] prd-ubuntu20.04-docker-8c-8g-5724 does not seem to be running inside a container [2023-03-24T18:02:39.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-204 -v /w/workspace/foundry_device-usb-camera_PR-204:/w/workspace/foundry_device-usb-camera_PR-204:rw,z -v /w/workspace/foundry_device-usb-camera_PR-204@tmp:/w/workspace/foundry_device-usb-camera_PR-204@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-24T18:02:41.547Z] $ docker top caaeaa858f0fbe60d47ae9e676f9255196300d40a9621e68650212da903ac555 -eo pid,comm [2023-03-24T18:02:41.611Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-24T18:02:41.611Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-24T18:02:41.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T18:02:41.743Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T18:02:41.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T18:02:41.863Z] $ docker exec caaeaa858f0fbe60d47ae9e676f9255196300d40a9621e68650212da903ac555 ssh-agent [2023-03-24T18:02:41.975Z] SSH_AUTH_SOCK=/tmp/ssh-UOjjtCPhPN92/agent.32 [2023-03-24T18:02:41.975Z] SSH_AGENT_PID=38 [2023-03-24T18:02:41.982Z] Running ssh-add (command line suppressed) [2023-03-24T18:02:42.077Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-204@tmp/private_key_9862216339328820465.key (/w/workspace/foundry_device-usb-camera_PR-204@tmp/private_key_9862216339328820465.key) [2023-03-24T18:02:42.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T18:02:42.423Z] + git tag --points-at HEAD [Pipeline] } [2023-03-24T18:02:42.447Z] $ docker exec --env ******** --env ******** caaeaa858f0fbe60d47ae9e676f9255196300d40a9621e68650212da903ac555 ssh-agent -k [2023-03-24T18:02:42.561Z] unset SSH_AUTH_SOCK; [2023-03-24T18:02:42.561Z] unset SSH_AGENT_PID; [2023-03-24T18:02:42.561Z] echo Agent pid 38 killed; [2023-03-24T18:02:42.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-24T18:02:42.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T18:02:42.653Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T18:02:42.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T18:02:42.768Z] $ docker exec caaeaa858f0fbe60d47ae9e676f9255196300d40a9621e68650212da903ac555 ssh-agent [2023-03-24T18:02:42.884Z] SSH_AUTH_SOCK=/tmp/ssh-pfChz11rt0NM/agent.70 [2023-03-24T18:02:42.884Z] SSH_AGENT_PID=76 [2023-03-24T18:02:42.888Z] Running ssh-add (command line suppressed) [2023-03-24T18:02:42.997Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-204@tmp/private_key_11899250947734081246.key (/w/workspace/foundry_device-usb-camera_PR-204@tmp/private_key_11899250947734081246.key) [2023-03-24T18:02:43.015Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T18:02:43.341Z] + git semver init [2023-03-24T18:02:43.601Z] 2023-03-24 18:02:43,543 [run_init] DEBUG init version:0.0.0 force:False [2023-03-24T18:02:43.601Z] 2023-03-24 18:02:43,544 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-204/.semver [2023-03-24T18:02:43.601Z] 2023-03-24 18:02:43,545 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-204/.semver [2023-03-24T18:02:43.601Z] 2023-03-24 18:02:43,545 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-204/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-204, universal_newlines=False, shell=None, istream=None) [2023-03-24T18:02:44.543Z] 2023-03-24 18:02:44,190 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-204/.git/info/exclude [2023-03-24T18:02:44.543Z] 2023-03-24 18:02:44,190 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-204/.semver/PR-204 with force:False [2023-03-24T18:02:44.543Z] 2023-03-24 18:02:44,190 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-204/.semver/PR-204 [2023-03-24T18:02:44.543Z] 2023-03-24 18:02:44,195 [execute] INFO git cat-file --batch-check [2023-03-24T18:02:44.543Z] 2023-03-24 18:02:44,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T18:02:44.543Z] 2023-03-24 18:02:44,203 [execute] INFO git cat-file --batch [2023-03-24T18:02:44.543Z] 2023-03-24 18:02:44,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T18:02:44.543Z] 2023-03-24 18:02:44,209 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-204/.semver/PR-204 [2023-03-24T18:02:44.543Z] 0.0.0 [Pipeline] } [2023-03-24T18:02:44.571Z] $ docker exec --env ******** --env ******** caaeaa858f0fbe60d47ae9e676f9255196300d40a9621e68650212da903ac555 ssh-agent -k [2023-03-24T18:02:44.666Z] unset SSH_AUTH_SOCK; [2023-03-24T18:02:44.667Z] unset SSH_AGENT_PID; [2023-03-24T18:02:44.667Z] echo Agent pid 76 killed; [2023-03-24T18:02:44.679Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-24T18:02:45.113Z] + git semver [Pipeline] } [2023-03-24T18:02:45.395Z] $ docker stop --time=1 caaeaa858f0fbe60d47ae9e676f9255196300d40a9621e68650212da903ac555 [2023-03-24T18:02:46.738Z] $ docker rm -f --volumes caaeaa858f0fbe60d47ae9e676f9255196300d40a9621e68650212da903ac555 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T18:02:47.147Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-24T18:02:47.446Z] Stashed 1 file(s) [Pipeline] echo [2023-03-24T18:02:47.464Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T18:02:48.073Z] provisioning config files... [2023-03-24T18:02:48.085Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-204@tmp/config10902408340770723662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:02:48.440Z] ---> docker-login.sh [2023-03-24T18:02:48.440Z] nexus3.edgexfoundry.org:10001 [2023-03-24T18:02:48.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:48.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:48.440Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:48.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:48.440Z] [2023-03-24T18:02:48.440Z] Login Succeeded [2023-03-24T18:02:48.440Z] nexus3.edgexfoundry.org:10002 [2023-03-24T18:02:48.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:48.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:48.440Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:48.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:48.440Z] [2023-03-24T18:02:48.440Z] Login Succeeded [2023-03-24T18:02:48.440Z] nexus3.edgexfoundry.org:10003 [2023-03-24T18:02:48.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:48.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:48.701Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:48.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:48.701Z] [2023-03-24T18:02:48.701Z] Login Succeeded [2023-03-24T18:02:48.701Z] nexus3.edgexfoundry.org:10004 [2023-03-24T18:02:48.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:48.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:48.701Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:48.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:48.701Z] [2023-03-24T18:02:48.701Z] Login Succeeded [2023-03-24T18:02:48.701Z] docker.io [2023-03-24T18:02:48.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:02:49.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:02:49.223Z] Configure a credential helper to remove this warning. See [2023-03-24T18:02:49.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:02:49.223Z] [2023-03-24T18:02:49.223Z] Login Succeeded [2023-03-24T18:02:49.223Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T18:02:49.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T18:02:49.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T18:02:49.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T18:02:49.520Z] ========================================================= [2023-03-24T18:02:49.520Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-24T18:02:49.520Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:02:49.979Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-24T18:02:49.979Z] Sending build context to Docker daemon 1.878MB [2023-03-24T18:02:49.979Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T18:02:49.979Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-24T18:02:49.979Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-24T18:02:49.979Z] 63b65145d645: Pulling fs layer [2023-03-24T18:02:49.979Z] a2d21d5440eb: Pulling fs layer [2023-03-24T18:02:49.979Z] 935e6c44a52c: Pulling fs layer [2023-03-24T18:02:49.979Z] 94cc34f8dd06: Pulling fs layer [2023-03-24T18:02:49.979Z] 30dea6a524f1: Pulling fs layer [2023-03-24T18:02:49.979Z] a2aff8979fd8: Pulling fs layer [2023-03-24T18:02:49.979Z] 6808be2612f2: Pulling fs layer [2023-03-24T18:02:49.979Z] f25807f1079a: Pulling fs layer [2023-03-24T18:02:49.979Z] 94cc34f8dd06: Waiting [2023-03-24T18:02:49.979Z] 30dea6a524f1: Waiting [2023-03-24T18:02:49.979Z] a2aff8979fd8: Waiting [2023-03-24T18:02:49.979Z] 6808be2612f2: Waiting [2023-03-24T18:02:49.979Z] a2d21d5440eb: Download complete [2023-03-24T18:02:49.979Z] 94cc34f8dd06: Download complete [2023-03-24T18:02:50.239Z] 30dea6a524f1: Verifying Checksum [2023-03-24T18:02:50.239Z] 30dea6a524f1: Download complete [2023-03-24T18:02:50.239Z] 63b65145d645: Verifying Checksum [2023-03-24T18:02:50.239Z] 63b65145d645: Download complete [2023-03-24T18:02:50.239Z] a2aff8979fd8: Verifying Checksum [2023-03-24T18:02:50.239Z] a2aff8979fd8: Download complete [2023-03-24T18:02:50.239Z] 63b65145d645: Pull complete [2023-03-24T18:02:50.507Z] a2d21d5440eb: Pull complete [2023-03-24T18:02:50.769Z] f25807f1079a: Verifying Checksum [2023-03-24T18:02:50.769Z] 935e6c44a52c: Verifying Checksum [2023-03-24T18:02:50.769Z] 935e6c44a52c: Download complete [2023-03-24T18:02:51.030Z] 6808be2612f2: Verifying Checksum [2023-03-24T18:02:51.030Z] 6808be2612f2: Download complete [2023-03-24T18:02:54.313Z] 935e6c44a52c: Pull complete [2023-03-24T18:02:54.313Z] 94cc34f8dd06: Pull complete [2023-03-24T18:02:54.573Z] 30dea6a524f1: Pull complete [2023-03-24T18:02:54.573Z] a2aff8979fd8: Pull complete [2023-03-24T18:02:57.108Z] 6808be2612f2: Pull complete [2023-03-24T18:02:58.056Z] f25807f1079a: Pull complete [2023-03-24T18:02:58.056Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-24T18:02:58.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-24T18:02:58.056Z] ---> 3b553350e43f [2023-03-24T18:02:58.056Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-24T18:02:59.438Z] ---> Running in c2b02f52caa5 [2023-03-24T18:02:59.697Z] Removing intermediate container c2b02f52caa5 [2023-03-24T18:02:59.697Z] ---> 25fa772e7c88 [2023-03-24T18:02:59.697Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T18:02:59.697Z] ---> Running in fb595bd836b8 [2023-03-24T18:02:59.697Z] Removing intermediate container fb595bd836b8 [2023-03-24T18:02:59.697Z] ---> 0376a5e3f0a1 [2023-03-24T18:02:59.697Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-24T18:02:59.957Z] ---> Running in bc1b43b65599 [2023-03-24T18:02:59.957Z] Removing intermediate container bc1b43b65599 [2023-03-24T18:02:59.957Z] ---> c30961217317 [2023-03-24T18:02:59.957Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-24T18:02:59.957Z] ---> Running in 799fe6780e76 [2023-03-24T18:03:00.216Z] Removing intermediate container 799fe6780e76 [2023-03-24T18:03:00.216Z] ---> b6493fc62eec [2023-03-24T18:03:00.216Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-24T18:03:00.216Z] ---> Running in 65803286595f [2023-03-24T18:03:00.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T18:03:00.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T18:03:00.734Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-24T18:03:00.734Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-24T18:03:00.734Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-24T18:03:00.734Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-24T18:03:00.734Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-24T18:03:00.734Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-24T18:03:00.734Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-24T18:03:00.734Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-24T18:03:00.734Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-24T18:03:00.734Z] (10/14) Installing kmod-libs (30-r1) [2023-03-24T18:03:00.734Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-24T18:03:00.994Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-24T18:03:00.994Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-24T18:03:00.994Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-24T18:03:00.994Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T18:03:00.994Z] Executing eudev-3.2.11-r4.trigger [2023-03-24T18:03:00.994Z] OK: 272 MiB in 67 packages [2023-03-24T18:03:01.563Z] Removing intermediate container 65803286595f [2023-03-24T18:03:01.563Z] ---> 1fc1bfe73103 [2023-03-24T18:03:01.563Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-24T18:03:01.563Z] ---> Running in 5ac13a62ab8c [2023-03-24T18:03:01.563Z] Removing intermediate container 5ac13a62ab8c [2023-03-24T18:03:01.563Z] ---> 4bb1c6c7c944 [2023-03-24T18:03:01.563Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-24T18:03:01.826Z] ---> 728d28d0d6ff [2023-03-24T18:03:01.826Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T18:03:01.826Z] ---> Running in 44a61146d23a [2023-03-24T18:03:02.885Z] Still waiting to schedule task [2023-03-24T18:03:02.885Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5723’ is offline [2023-03-24T18:03:33.915Z] Removing intermediate container 44a61146d23a [2023-03-24T18:03:33.915Z] ---> 3a2f04ed320e [2023-03-24T18:03:33.915Z] Step 11/13 : COPY . . [2023-03-24T18:03:33.915Z] ---> a4828c089c72 [2023-03-24T18:03:33.915Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-24T18:03:33.915Z] ---> Running in 202a23cf8208 [2023-03-24T18:03:33.915Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T18:03:33.915Z] Dload Upload Total Spent Left Speed [2023-03-24T18:03:33.915Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7416 0 --:--:-- --:--:-- --:--:-- 7478 [2023-03-24T18:03:33.915Z] Removing intermediate container 202a23cf8208 [2023-03-24T18:03:33.915Z] ---> d754773cacd2 [2023-03-24T18:03:33.915Z] Step 13/13 : RUN ${MAKE} [2023-03-24T18:03:33.915Z] ---> Running in 9d664bf85425 [2023-03-24T18:03:33.915Z] noop [2023-03-24T18:03:33.915Z] Removing intermediate container 9d664bf85425 [2023-03-24T18:03:33.915Z] ---> 7213741899c4 [2023-03-24T18:03:33.915Z] Successfully built 7213741899c4 [2023-03-24T18:03:33.915Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:03:34.366Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T18:03:34.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:03:34.520Z] prd-ubuntu20.04-docker-8c-8g-5724 does not seem to be running inside a container [2023-03-24T18:03:34.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-204 -v /w/workspace/foundry_device-usb-camera_PR-204:/w/workspace/foundry_device-usb-camera_PR-204:rw,z -v /w/workspace/foundry_device-usb-camera_PR-204@tmp:/w/workspace/foundry_device-usb-camera_PR-204@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 ******** ci-base-image-x86_64 cat [2023-03-24T18:03:34.973Z] $ docker top b2513c038caf4e37fa505f02af7ec841c2622c8d87ca862fabc9cbd9ccf903f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:03:35.365Z] + go version [2023-03-24T18:03:35.365Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-24T18:03:35.401Z] $ docker stop --time=1 b2513c038caf4e37fa505f02af7ec841c2622c8d87ca862fabc9cbd9ccf903f0 [2023-03-24T18:03:36.714Z] $ docker rm -f --volumes b2513c038caf4e37fa505f02af7ec841c2622c8d87ca862fabc9cbd9ccf903f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:03:37.403Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T18:03:37.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:03:37.542Z] prd-ubuntu20.04-docker-8c-8g-5724 does not seem to be running inside a container [2023-03-24T18:03:37.575Z] $ 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-204 -v /w/workspace/foundry_device-usb-camera_PR-204:/w/workspace/foundry_device-usb-camera_PR-204:rw,z -v /w/workspace/foundry_device-usb-camera_PR-204@tmp:/w/workspace/foundry_device-usb-camera_PR-204@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 ******** ci-base-image-x86_64 cat [2023-03-24T18:03:37.970Z] $ docker top f44668fbc5f739c8f4c66b776d1d8560136e40b63954c5503d4bc5d0ee052eb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:03:38.354Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-204 [Pipeline] fileExists [Pipeline] sh [2023-03-24T18:03:38.712Z] + make test [2023-03-24T18:03:38.712Z] go test ./... -coverprofile=coverage.out ./... [2023-03-24T18:03:43.983Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-24T18:03:53.947Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-24T18:03:53.947Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-24T18:03:53.947Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-24T18:03:53.947Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-24T18:03:53.947Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-24T18:03:53.947Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-24T18:03:53.947Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-24T18:03:53.947Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-24T18:03:53.947Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-24T18:03:53.947Z] FAIL [2023-03-24T18:03:53.947Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-24T18:03:53.998Z] $ docker stop --time=1 f44668fbc5f739c8f4c66b776d1d8560136e40b63954c5503d4bc5d0ee052eb8 [2023-03-24T18:03:56.007Z] $ docker rm -f --volumes f44668fbc5f739c8f4c66b776d1d8560136e40b63954c5503d4bc5d0ee052eb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:03:57.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T18:03:57.143Z] [2023-03-24T18:03:57.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:03:57.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T18:03:57.519Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-24T18:03:57.519Z] 5eb5b503b376: Pulling fs layer [2023-03-24T18:03:57.519Z] 5c69ac0246d0: Pulling fs layer [2023-03-24T18:03:57.519Z] ec43610c2a17: Pulling fs layer [2023-03-24T18:03:57.519Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-24T18:03:57.519Z] 33b1e0a273af: Pulling fs layer [2023-03-24T18:03:57.519Z] 5d3b04190fa2: Pulling fs layer [2023-03-24T18:03:57.519Z] 2f39f015ded8: Pulling fs layer [2023-03-24T18:03:57.519Z] 33b1e0a273af: Waiting [2023-03-24T18:03:57.519Z] 5d3b04190fa2: Waiting [2023-03-24T18:03:57.519Z] 3a2ae6a8a46f: Waiting [2023-03-24T18:03:57.519Z] 2f39f015ded8: Waiting [2023-03-24T18:03:57.782Z] 5c69ac0246d0: Verifying Checksum [2023-03-24T18:03:57.782Z] 5c69ac0246d0: Download complete [2023-03-24T18:03:57.782Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-24T18:03:57.782Z] 3a2ae6a8a46f: Download complete [2023-03-24T18:03:57.782Z] 33b1e0a273af: Verifying Checksum [2023-03-24T18:03:57.782Z] 33b1e0a273af: Download complete [2023-03-24T18:03:57.782Z] 5d3b04190fa2: Verifying Checksum [2023-03-24T18:03:57.782Z] 5d3b04190fa2: Download complete [2023-03-24T18:03:57.782Z] ec43610c2a17: Verifying Checksum [2023-03-24T18:03:57.782Z] ec43610c2a17: Download complete [2023-03-24T18:03:58.043Z] 5eb5b503b376: Verifying Checksum [2023-03-24T18:03:58.043Z] 5eb5b503b376: Download complete [2023-03-24T18:03:58.610Z] 2f39f015ded8: Download complete [2023-03-24T18:03:59.176Z] 5eb5b503b376: Pull complete [2023-03-24T18:03:59.176Z] 5c69ac0246d0: Pull complete [2023-03-24T18:03:59.744Z] ec43610c2a17: Pull complete [2023-03-24T18:03:59.744Z] 3a2ae6a8a46f: Pull complete [2023-03-24T18:03:59.744Z] 33b1e0a273af: Pull complete [2023-03-24T18:04:00.001Z] 5d3b04190fa2: Pull complete [2023-03-24T18:04:04.255Z] 2f39f015ded8: Pull complete [2023-03-24T18:04:04.255Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-24T18:04:04.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T18:04:04.255Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:04:04.467Z] prd-ubuntu20.04-docker-8c-8g-5724 does not seem to be running inside a container [2023-03-24T18:04:04.500Z] $ 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-204 -v /w/workspace/foundry_device-usb-camera_PR-204:/w/workspace/foundry_device-usb-camera_PR-204:rw,z -v /w/workspace/foundry_device-usb-camera_PR-204@tmp:/w/workspace/foundry_device-usb-camera_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T18:04:06.280Z] $ docker top d7068e59da7c8cd5c4d1071d86ea91d2be6a9cf54fa909f6aec9346d1b3ec114 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:04:06.765Z] ---> job-cost.sh [2023-03-24T18:04:06.765Z] lf-activate-venv: SKIPPING [2023-03-24T18:04:06.765Z] INFO: No Stack... [2023-03-24T18:04:07.026Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T18:04:07.593Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T18:04:07.906Z] + cat /w/workspace/foundry_device-usb-camera_PR-204/archives/cost.csv [2023-03-24T18:04:07.906Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T18:04:07.951Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-204-1-stack-cost] [2023-03-24T18:04:07.956Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-204-1-stack-cost] did not exist. Created. [2023-03-24T18:04:07.956Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T18:04:08.342Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-24T18:04:08.400Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T18:04:08.418Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T18:04:08.502Z] $ docker stop --time=1 d7068e59da7c8cd5c4d1071d86ea91d2be6a9cf54fa909f6aec9346d1b3ec114 [2023-03-24T18:04:09.661Z] $ docker rm -f --volumes d7068e59da7c8cd5c4d1071d86ea91d2be6a9cf54fa909f6aec9346d1b3ec114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T18:04:10.046Z] Failed in branch amd64 [2023-03-24T18:04:37.695Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5725 in /w/workspace/foundry_device-usb-camera_PR-204 [Pipeline] { [Pipeline] ws [2023-03-24T18:04:37.753Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-24T18:04:37.826Z] Selected Git installation does not exist. Using Default [2023-03-24T18:04:37.827Z] The recommended git tool is: NONE [2023-03-24T18:04:42.884Z] using credential edgex-jenkins-ssh [2023-03-24T18:04:42.903Z] Cloning the remote Git repository [2023-03-24T18:04:42.943Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-24T18:04:43.043Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-24T18:04:43.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-24T18:04:43.204Z] > git --version # timeout=10 [2023-03-24T18:04:43.227Z] > git --version # 'git version 2.25.1' [2023-03-24T18:04:43.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T18:04:43.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T18:04:44.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-24T18:04:44.149Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T18:04:44.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-24T18:04:45.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-24T18:04:45.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T18:04:45.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-24T18:04:45.570Z] Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit b41a20f55721c7a6a638b1e82ba6579fac017dd7 [2023-03-24T18:04:45.876Z] Merge succeeded, producing b41a20f55721c7a6a638b1e82ba6579fac017dd7 [2023-03-24T18:04:45.876Z] Checking out Revision b41a20f55721c7a6a638b1e82ba6579fac017dd7 (PR-204) [2023-03-24T18:04:46.321Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-24T18:04:46.362Z] > git --version # timeout=10 [2023-03-24T18:04:46.379Z] > git --version # 'git version 2.25.1' [2023-03-24T18:04:46.404Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T18:04:45.584Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T18:04:45.653Z] > git checkout -f b41a20f55721c7a6a638b1e82ba6579fac017dd7 # timeout=10 [2023-03-24T18:04:45.752Z] > git remote # timeout=10 [2023-03-24T18:04:45.773Z] > git config --get remote.origin.url # timeout=10 [2023-03-24T18:04:45.804Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T18:04:45.821Z] > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 [2023-03-24T18:04:45.854Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-24T18:04:45.877Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T18:04:45.892Z] > git checkout -f b41a20f55721c7a6a638b1e82ba6579fac017dd7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T18:04:47.629Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-24T18:04:47.629Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T18:04:47.629Z] Dload Upload Total Spent Left Speed [2023-03-24T18:04:47.629Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-03-24T18:04:48.248Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-24T18:04:48.590Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-03-24T18:04:48.590Z] /etc/docker/daemon.json [2023-03-24T18:04:48.590Z] { [2023-03-24T18:04:48.590Z] "registry-mirrors": [ [2023-03-24T18:04:48.590Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-24T18:04:48.590Z] ], [2023-03-24T18:04:48.590Z] "bip": "10.250.0.254/24", [2023-03-24T18:04:48.590Z] "hosts": [ [2023-03-24T18:04:48.590Z] "tcp://0.0.0.0:5555", [2023-03-24T18:04:48.590Z] "unix:///var/run/docker.sock" [2023-03-24T18:04:48.590Z] ], [2023-03-24T18:04:48.590Z] "mtu": 1458, [2023-03-24T18:04:48.590Z] "selinux-enabled": true, [2023-03-24T18:04:48.590Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-24T18:04:48.590Z] } [Pipeline] sh [2023-03-24T18:04:48.942Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-24T18:04:49.285Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T18:05:07.608Z] provisioning config files... [2023-03-24T18:05:07.636Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config4671172602881440915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:05:08.019Z] ---> docker-login.sh [2023-03-24T18:05:08.019Z] nexus3.edgexfoundry.org:10001 [2023-03-24T18:05:08.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:05:08.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:05:08.560Z] Configure a credential helper to remove this warning. See [2023-03-24T18:05:08.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:05:08.560Z] [2023-03-24T18:05:08.560Z] Login Succeeded [2023-03-24T18:05:08.560Z] nexus3.edgexfoundry.org:10002 [2023-03-24T18:05:08.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:05:09.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:05:09.098Z] Configure a credential helper to remove this warning. See [2023-03-24T18:05:09.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:05:09.098Z] [2023-03-24T18:05:09.098Z] Login Succeeded [2023-03-24T18:05:09.098Z] nexus3.edgexfoundry.org:10003 [2023-03-24T18:05:09.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:05:09.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:05:09.369Z] Configure a credential helper to remove this warning. See [2023-03-24T18:05:09.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:05:09.369Z] [2023-03-24T18:05:09.369Z] Login Succeeded [2023-03-24T18:05:09.369Z] nexus3.edgexfoundry.org:10004 [2023-03-24T18:05:09.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:05:09.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:05:09.641Z] Configure a credential helper to remove this warning. See [2023-03-24T18:05:09.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:05:09.641Z] [2023-03-24T18:05:09.641Z] Login Succeeded [2023-03-24T18:05:09.641Z] docker.io [2023-03-24T18:05:09.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:05:10.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:05:10.178Z] Configure a credential helper to remove this warning. See [2023-03-24T18:05:10.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:05:10.178Z] [2023-03-24T18:05:10.178Z] Login Succeeded [2023-03-24T18:05:10.178Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T18:05:10.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T18:05:10.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T18:05:10.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T18:05:10.659Z] ========================================================= [2023-03-24T18:05:10.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-24T18:05:10.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:05:11.190Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-24T18:05:11.457Z] Sending build context to Docker daemon 1.203MB [2023-03-24T18:05:11.457Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T18:05:11.457Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-24T18:05:11.727Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-24T18:05:11.727Z] af6eaf76a39c: Pulling fs layer [2023-03-24T18:05:11.727Z] 55522c791124: Pulling fs layer [2023-03-24T18:05:11.727Z] ce5c4a1c91eb: Pulling fs layer [2023-03-24T18:05:11.727Z] 169dfbe0d373: Pulling fs layer [2023-03-24T18:05:11.727Z] e1ff8fa3b103: Pulling fs layer [2023-03-24T18:05:11.727Z] 52ebb69f0ebf: Pulling fs layer [2023-03-24T18:05:11.727Z] 5abe8eddf0d5: Pulling fs layer [2023-03-24T18:05:11.727Z] 169dfbe0d373: Waiting [2023-03-24T18:05:11.727Z] e1ff8fa3b103: Waiting [2023-03-24T18:05:11.727Z] 52ebb69f0ebf: Waiting [2023-03-24T18:05:11.727Z] 55522c791124: Verifying Checksum [2023-03-24T18:05:11.727Z] 55522c791124: Download complete [2023-03-24T18:05:11.727Z] 169dfbe0d373: Verifying Checksum [2023-03-24T18:05:11.727Z] 169dfbe0d373: Download complete [2023-03-24T18:05:11.727Z] e1ff8fa3b103: Download complete [2023-03-24T18:05:11.727Z] af6eaf76a39c: Verifying Checksum [2023-03-24T18:05:11.727Z] af6eaf76a39c: Download complete [2023-03-24T18:05:12.709Z] af6eaf76a39c: Pull complete [2023-03-24T18:05:12.709Z] 5abe8eddf0d5: Verifying Checksum [2023-03-24T18:05:12.709Z] 5abe8eddf0d5: Download complete [2023-03-24T18:05:13.314Z] 55522c791124: Pull complete [2023-03-24T18:05:14.289Z] ce5c4a1c91eb: Verifying Checksum [2023-03-24T18:05:14.289Z] ce5c4a1c91eb: Download complete [2023-03-24T18:05:14.289Z] 52ebb69f0ebf: Verifying Checksum [2023-03-24T18:05:14.289Z] 52ebb69f0ebf: Download complete [2023-03-24T18:05:26.816Z] ce5c4a1c91eb: Pull complete [2023-03-24T18:05:26.816Z] 169dfbe0d373: Pull complete [2023-03-24T18:05:26.816Z] e1ff8fa3b103: Pull complete [2023-03-24T18:05:32.177Z] 52ebb69f0ebf: Pull complete [2023-03-24T18:05:34.150Z] 5abe8eddf0d5: Pull complete [2023-03-24T18:05:34.150Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-24T18:05:34.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-24T18:05:34.150Z] ---> 6cb57ee374ae [2023-03-24T18:05:34.150Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-24T18:05:36.099Z] ---> Running in 44998705afaf [2023-03-24T18:05:36.367Z] Removing intermediate container 44998705afaf [2023-03-24T18:05:36.367Z] ---> 0103423e0ddd [2023-03-24T18:05:36.367Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-24T18:05:36.367Z] ---> Running in dcdb1e725425 [2023-03-24T18:05:36.636Z] Removing intermediate container dcdb1e725425 [2023-03-24T18:05:36.636Z] ---> 3345531a1874 [2023-03-24T18:05:36.636Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-24T18:05:36.636Z] ---> Running in 47e76d0a2832 [2023-03-24T18:05:37.221Z] Removing intermediate container 47e76d0a2832 [2023-03-24T18:05:37.221Z] ---> 82f9e8d1b269 [2023-03-24T18:05:37.221Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-24T18:05:37.221Z] ---> Running in 8508bc4b0cdc [2023-03-24T18:05:37.489Z] Removing intermediate container 8508bc4b0cdc [2023-03-24T18:05:37.489Z] ---> f1c19b982bf2 [2023-03-24T18:05:37.489Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-24T18:05:37.489Z] ---> Running in d4f4700e34c1 [2023-03-24T18:05:38.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T18:05:39.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T18:05:40.005Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-24T18:05:40.005Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-24T18:05:40.272Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-24T18:05:40.272Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-24T18:05:40.272Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-24T18:05:40.272Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-24T18:05:40.272Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-24T18:05:40.272Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-24T18:05:40.272Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-24T18:05:40.272Z] (10/14) Installing kmod-libs (30-r1) [2023-03-24T18:05:40.272Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-24T18:05:40.272Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-24T18:05:40.272Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-24T18:05:40.540Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-24T18:05:40.540Z] Executing busybox-1.35.0-r29.trigger [2023-03-24T18:05:40.540Z] Executing eudev-3.2.11-r4.trigger [2023-03-24T18:05:40.540Z] OK: 271 MiB in 67 packages [2023-03-24T18:05:41.960Z] Removing intermediate container d4f4700e34c1 [2023-03-24T18:05:41.960Z] ---> 185b73aeb1c9 [2023-03-24T18:05:41.960Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-24T18:05:41.960Z] ---> Running in baeca4502fbd [2023-03-24T18:05:41.960Z] Removing intermediate container baeca4502fbd [2023-03-24T18:05:41.960Z] ---> 1b932e4a48b3 [2023-03-24T18:05:41.960Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-24T18:05:42.546Z] ---> 37ea3058f49a [2023-03-24T18:05:42.546Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T18:05:42.546Z] ---> Running in fd016c236898 [2023-03-24T18:06:50.434Z] Removing intermediate container fd016c236898 [2023-03-24T18:06:50.434Z] ---> 46fc898694a4 [2023-03-24T18:06:50.434Z] Step 11/13 : COPY . . [2023-03-24T18:06:50.434Z] ---> 5439b58616a3 [2023-03-24T18:06:50.434Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-24T18:06:50.434Z] ---> Running in e5d3712b5e15 [2023-03-24T18:06:50.434Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T18:06:50.434Z] Dload Upload Total Spent Left Speed [2023-03-24T18:06:50.434Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4326 0 --:--:-- --:--:-- --:--:-- 4352 [2023-03-24T18:06:50.434Z] Removing intermediate container e5d3712b5e15 [2023-03-24T18:06:50.434Z] ---> 4c523437dd21 [2023-03-24T18:06:50.434Z] Step 13/13 : RUN ${MAKE} [2023-03-24T18:06:50.434Z] ---> Running in 7ee8342602c9 [2023-03-24T18:06:50.434Z] noop [2023-03-24T18:06:50.434Z] Removing intermediate container 7ee8342602c9 [2023-03-24T18:06:50.434Z] ---> 841a1fc6947e [2023-03-24T18:06:50.434Z] Successfully built 841a1fc6947e [2023-03-24T18:06:50.434Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:06:50.898Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T18:06:50.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:06:51.151Z] prd-ubuntu20.04-docker-arm64-4c-16g-5725 does not seem to be running inside a container [2023-03-24T18:06:51.217Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-24T18:06:52.331Z] $ docker top 7b9c28448e78b23577b0c232fbc3403c54038b3d18fee3f11507808f6eca689f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:06:53.169Z] + go version [2023-03-24T18:06:53.169Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-24T18:06:53.208Z] $ docker stop --time=1 7b9c28448e78b23577b0c232fbc3403c54038b3d18fee3f11507808f6eca689f [2023-03-24T18:06:54.790Z] $ docker rm -f --volumes 7b9c28448e78b23577b0c232fbc3403c54038b3d18fee3f11507808f6eca689f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:06:55.607Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T18:06:55.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:06:55.865Z] prd-ubuntu20.04-docker-arm64-4c-16g-5725 does not seem to be running inside a container [2023-03-24T18:06:55.933Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-24T18:06:57.049Z] $ docker top 26b6155d8093a31eda71fc1a5fcc97e265c83be7f534a5bc6dc6147d5691c6d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:06:57.598Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-24T18:06:58.553Z] + make test [2023-03-24T18:06:58.553Z] go test ./... -coverprofile=coverage.out ./... [2023-03-24T18:07:30.793Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-24T18:09:07.487Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-24T18:09:07.487Z] internal/driver/driver.go:37:25: undefined: service.DeviceService [2023-03-24T18:09:07.487Z] internal/driver/driver.go:77:17: undefined: service.RunningService [2023-03-24T18:09:07.487Z] internal/driver/driver.go:86:36: undefined: service.DriverConfigs [2023-03-24T18:09:07.487Z] internal/driver/driver.go:94:26: undefined: service.DriverConfigs [2023-03-24T18:09:07.487Z] internal/driver/driver.go:306:35: cannot use path (variable of type any) as string value in argument to getUSBDeviceIdInfo: need type assertion [2023-03-24T18:09:07.487Z] internal/driver/driver.go:433:9: cannot use value (variable of type any) as string value in return statement: need type assertion [2023-03-24T18:09:07.487Z] internal/driver/driver.go:508:9: invalid argument: psn (variable of type any) for len [2023-03-24T18:09:19.833Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-24T18:09:19.833Z] FAIL [2023-03-24T18:09:20.102Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-24T18:09:20.157Z] $ docker stop --time=1 26b6155d8093a31eda71fc1a5fcc97e265c83be7f534a5bc6dc6147d5691c6d3 [2023-03-24T18:09:22.204Z] $ docker rm -f --volumes 26b6155d8093a31eda71fc1a5fcc97e265c83be7f534a5bc6dc6147d5691c6d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:09:23.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T18:09:23.964Z] [2023-03-24T18:09:23.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:09:24.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T18:09:24.632Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-24T18:09:24.632Z] 8998bd30e6a1: Pulling fs layer [2023-03-24T18:09:24.632Z] 04944245beec: Pulling fs layer [2023-03-24T18:09:24.632Z] 699f458cf7ca: Pulling fs layer [2023-03-24T18:09:24.632Z] 765212b225bb: Pulling fs layer [2023-03-24T18:09:24.632Z] f23df028b6ca: Pulling fs layer [2023-03-24T18:09:24.632Z] d65c8cfc05b1: Pulling fs layer [2023-03-24T18:09:24.632Z] 2437ff75d9bd: Pulling fs layer [2023-03-24T18:09:24.632Z] d65c8cfc05b1: Waiting [2023-03-24T18:09:24.632Z] 2437ff75d9bd: Waiting [2023-03-24T18:09:24.632Z] f23df028b6ca: Waiting [2023-03-24T18:09:24.632Z] 04944245beec: Verifying Checksum [2023-03-24T18:09:24.632Z] 04944245beec: Download complete [2023-03-24T18:09:24.632Z] 765212b225bb: Verifying Checksum [2023-03-24T18:09:24.632Z] 765212b225bb: Download complete [2023-03-24T18:09:24.902Z] f23df028b6ca: Verifying Checksum [2023-03-24T18:09:24.902Z] f23df028b6ca: Download complete [2023-03-24T18:09:24.903Z] d65c8cfc05b1: Download complete [2023-03-24T18:09:24.903Z] 699f458cf7ca: Verifying Checksum [2023-03-24T18:09:24.903Z] 699f458cf7ca: Download complete [2023-03-24T18:09:25.495Z] 8998bd30e6a1: Verifying Checksum [2023-03-24T18:09:25.495Z] 8998bd30e6a1: Download complete [2023-03-24T18:09:28.091Z] 2437ff75d9bd: Verifying Checksum [2023-03-24T18:09:28.091Z] 2437ff75d9bd: Download complete [2023-03-24T18:09:30.687Z] 8998bd30e6a1: Pull complete [2023-03-24T18:09:30.687Z] 04944245beec: Pull complete [2023-03-24T18:09:32.095Z] 699f458cf7ca: Pull complete [2023-03-24T18:09:32.363Z] 765212b225bb: Pull complete [2023-03-24T18:09:33.330Z] f23df028b6ca: Pull complete [2023-03-24T18:09:33.597Z] d65c8cfc05b1: Pull complete [2023-03-24T18:09:51.804Z] 2437ff75d9bd: Pull complete [2023-03-24T18:09:51.804Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-24T18:09:51.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T18:09:51.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:09:52.138Z] prd-ubuntu20.04-docker-arm64-4c-16g-5725 does not seem to be running inside a container [2023-03-24T18:09:52.262Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-24T18:09:54.389Z] $ docker top 869541be7fe2c1ce94002f3b3ff5fb753717b2e1d46e9be655e618a3ed6009df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:09:55.318Z] ---> job-cost.sh [2023-03-24T18:09:55.318Z] lf-activate-venv: SKIPPING [2023-03-24T18:09:55.318Z] INFO: No Stack... [2023-03-24T18:09:55.906Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-24T18:09:56.489Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T18:09:57.178Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-03-24T18:09:57.178Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T18:09:57.261Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-204-1-stack-cost] [2023-03-24T18:09:57.267Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-204-1-stack-cost] did not exist. Created. [2023-03-24T18:09:57.267Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T18:09:58.014Z] /w/workspace/device-usb-camera/1@tmp/durable-602ef13f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-24T18:09:58.686Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-24T18:09:58.723Z] Warning: overwriting stash ‘stack-cost’ [2023-03-24T18:09:59.311Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T18:09:59.327Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T18:09:59.431Z] $ docker stop --time=1 869541be7fe2c1ce94002f3b3ff5fb753717b2e1d46e9be655e618a3ed6009df [2023-03-24T18:10:00.999Z] $ docker rm -f --volumes 869541be7fe2c1ce94002f3b3ff5fb753717b2e1d46e9be655e618a3ed6009df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T18:10:01.874Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-24T18:10:03.844Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-204/archives ] [2023-03-24T18:10:03.844Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-204/archives [2023-03-24T18:10:03.844Z] total 16 [2023-03-24T18:10:03.844Z] drwxr-xr-x 3 root root 4096 Mar 24 18:04 . [2023-03-24T18:10:03.844Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 18:04 .. [2023-03-24T18:10:03.844Z] drwxr-xr-x 2 root root 4096 Mar 24 18:04 cost [2023-03-24T18:10:03.844Z] -rw-r--r-- 1 root root 89 Mar 24 18:04 cost.csv [2023-03-24T18:10:03.844Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-204/archives [2023-03-24T18:10:03.844Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-204/archives [2023-03-24T18:10:03.844Z] total 16 [2023-03-24T18:10:03.844Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 18:04 . [2023-03-24T18:10:03.844Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 18:04 .. [2023-03-24T18:10:03.844Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 18:04 cost [2023-03-24T18:10:03.844Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 24 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:10:04.180Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:10:05.076Z] ---> package-listing.sh [2023-03-24T18:10:05.076Z] ++ facter osfamily [2023-03-24T18:10:05.076Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-24T18:10:05.340Z] + OS_FAMILY=debian [2023-03-24T18:10:05.340Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-204 [2023-03-24T18:10:05.340Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-24T18:10:05.340Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-24T18:10:05.340Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-24T18:10:05.340Z] + PACKAGES=/tmp/packages_start.txt [2023-03-24T18:10:05.340Z] + '[' /w/workspace/foundry_device-usb-camera_PR-204 ']' [2023-03-24T18:10:05.340Z] + PACKAGES=/tmp/packages_end.txt [2023-03-24T18:10:05.340Z] + case "${OS_FAMILY}" in [2023-03-24T18:10:05.340Z] + dpkg -l [2023-03-24T18:10:05.340Z] + grep '^ii' [2023-03-24T18:10:05.340Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-24T18:10:05.340Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-24T18:10:05.340Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-24T18:10:05.340Z] + '[' /w/workspace/foundry_device-usb-camera_PR-204 ']' [2023-03-24T18:10:05.340Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-204/archives/ [2023-03-24T18:10:05.340Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-204/archives/ [Pipeline] echo [2023-03-24T18:10:05.378Z] 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-24T18:10:05.676Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:10:06.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T18:10:06.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:10:06.467Z] prd-ubuntu20.04-docker-8c-8g-5724 does not seem to be running inside a container [2023-03-24T18:10:06.503Z] $ 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-204/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-204 -v /w/workspace/foundry_device-usb-camera_PR-204:/w/workspace/foundry_device-usb-camera_PR-204:rw,z -v /w/workspace/foundry_device-usb-camera_PR-204@tmp:/w/workspace/foundry_device-usb-camera_PR-204@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T18:10:06.724Z] $ docker top 3a1d0fce8dec404b3843e73662d1b07c94c54fbf402cfb9a8a280fde92cd5737 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:10:07.108Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-24T18:10:07.421Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-24T18:10:07.732Z] + ls /var/log/sa-host [2023-03-24T18:10:07.732Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T18:10:07.945Z] provisioning config files... [2023-03-24T18:10:07.958Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-204@tmp/config4858623130221438323tmp [Pipeline] { [Pipeline] echo [2023-03-24T18:10:08.006Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:10:08.315Z] ---> create-netrc.sh [Pipeline] } [2023-03-24T18:10:08.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:10:08.748Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-24T18:10:08.782Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:10:09.093Z] ---> sudo-logs.sh [2023-03-24T18:10:09.093Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-24T18:10:09.177Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:10:09.493Z] ---> job-cost.sh [2023-03-24T18:10:09.493Z] lf-activate-venv: SKIPPING [2023-03-24T18:10:09.493Z] DEBUG: total: 0.2199999988079071 [2023-03-24T18:10:09.493Z] INFO: Retrieving Stack Cost... [2023-03-24T18:10:09.752Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T18:10:10.012Z] INFO: Archiving Costs [Pipeline] echo [2023-03-24T18:10:10.047Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:10:10.365Z] ---> logs-deploy.sh [2023-03-24T18:10:10.365Z] lf-activate-venv: SKIPPING [2023-03-24T18:10:10.365Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-204/1 [2023-03-24T18:10:10.365Z] INFO: archiving workspace using pattern(s): [2023-03-24T18:10:11.301Z] Archives upload complete. [2023-03-24T18:10:11.301Z] INFO: archiving logs to Nexus