Bug 2294188

Summary: Review Request: dt-schema - Tooling for devicetree validation using YAML and jsonschema
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: Package ReviewAssignee: Javier Martinez Canillas <fmartine>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: fmartine, javierm, package-review
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---Flags: fmartine: fedora-review+
Hardware: Unspecified   
OS: Linux   
URL: http://devicetree.org/
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-04 14:48:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Robinson 2024-06-25 08:21:32 UTC
SPEC: https://pbrobinson.fedorapeople.org/dt-schema.spec
SRPM: https://pbrobinson.fedorapeople.org/dt-schema-2024.05-1.fc40.src.rpm

Description:
This tool contains test code for devicetree schema validation using the
json-schema vocabulary. Schema files are written in YAML (a superset of
JSON), and operate on the YAML encoding of Devicetree data. Devicetree
data must be transcoded from DTS to YAML before being used by this tool.

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=119522672

FAS: pbrobinson

Reproducible: Always

Comment 1 Fedora Review Service 2024-06-25 08:27:18 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7665415
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2294188-dt-schema/fedora-rawhide-x86_64/07665415-dt-schema/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Javier Martinez Canillas 2024-07-04 13:15:53 UTC
For some reasons fedora-review isn't working with fedora-review-0.10.0-5.fc40.noarch and mock-5.6-1.fc40.noarch:

$ fedora-review -b 2294188
INFO: Processing bugzilla bug: 2294188
INFO: Getting .spec and .srpm Urls from : 2294188
INFO:   --> SRPM url: https://pbrobinson.fedorapeople.org/dt-schema-2024.05-1.fc40.src.rpm
INFO:   --> Spec url: https://pbrobinson.fedorapeople.org/dt-schema.spec
INFO: Using review directory: /tmp/2294188-dt-schema
INFO: Downloading .spec and .srpm files
INFO: Downloading (Source0): https://github.com/devicetree-org/dt-schema/archive/v2024.05.tar.gz#/dt-schema-2024.05.tar.gz
INFO: Running checks and generating report
INFO: Results and/or logs in: /tmp/2294188-dt-schema/results
INFO: Reading configuration from /etc/mock/site-defaults.cfg
INFO: Reading configuration from /etc/mock/chroot-aliases.cfg
INFO: Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg
INFO: Build completed
INFO: Installing built package(s)
INFO: Active plugins: Generic, Python, Shell-api
Error: Cache-only enabled but no cache for 'fedora'
ERROR: Exception down the road... (logs in /home/javier/.cache/fedora-review.log

But checking the output of the fedora-review-service and the SPEC file referenced
in the first comment, I can confirm that the dt-schema package looks correct to me.

Comment 3 Fedora Admin user for bugzilla script actions 2024-07-04 14:04:53 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/dt-schema

Comment 4 Peter Robinson 2024-07-04 14:48:48 UTC
Thanks for the review Javier!