Comments (1)
DEBUG content_test_filtering - Getting files from 'git diff'
DEBUG diff - Cloning repository to /tmp/tmpog0v5fq1 directory
DEBUG diff - Fetched to pr-7878 branch
DEBUG diff - Comparing commit b9c5c007c38f6f1b8522dc9cce22a27f15d93ce0 with HEAD of pr-7878
DEBUG PythonAnalysis - Analyzing python file build-scripts/enable_derivatives.py
DEBUG content_test_filtering - Unknown type of file products/rhel9/CMakeLists.txt. Analysis has not been performed for it.
DEBUG content_test_filtering - Unknown type of file products/rhel9/product.yml. Analysis has not been performed for it.
DEBUG content_test_filtering - Unknown type of file shared/applicability/derivatives.yml. Analysis has not been performed for it.
DEBUG OVALAnalysis - Analyzing OVAL file shared/checks/oval/installed_OS_is_centos9.xml
DEBUG OVALAnalysis - Rule name: checks
DEBUG DiffStruct - rule.yml was not found for checks
Traceback (most recent call last):
File "/home/ggasparb/workspace/github/content-test-filtering/content_test_filtering.py", line 44, in <module>
diff_structure = diff_analysis.analyse_file(file_record)
File "/home/ggasparb/workspace/github/content-test-filtering/ctf/diff_analysis.py", line 54, in analyse_file
return file_analyzer.process_analysis()
File "/home/ggasparb/workspace/github/content-test-filtering/ctf/analysis/OVALAnalysis.py", line 215, in process_analysis
self.diff_struct.add_changed_product_by_rule(self.rule_name, msg=msg)
File "/home/ggasparb/workspace/github/content-test-filtering/ctf/DiffStruct.py", line 122, in add_changed_product_by_rule
product_name = self.get_rule_products(rule_name)
File "/home/ggasparb/workspace/github/content-test-filtering/ctf/DiffStruct.py", line 89, in get_rule_products
with open(ruleyml_path) as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType
from content-test-filtering.
Related Issues (20)
- Possibly undefined variables in diff.py - create_file_records_from_diff HOT 1
- Addition of test scenarios in a pull request should have its rule reported as changed HOT 6
- Traceback when analysing jinja macros HOT 1
- Add detection of product(s) when test scenarios are updated/added HOT 1
- Traceback when analysing Bash remediation of `rsyslog_files_permissions`
- TypeError: expected str, bytes or os.PathLike object, not NoneType in CaC/content HOT 1
- Traceback when analysing OVAL from shared/checks/oval directory HOT 1
- The tool marks a rule for testing which has not been touched
- Use collections.defaultdict to simplify code HOT 1
- Traceback when file is moved but no changes are done
- Do a complete parsing procedure of CaC/content files to find culprits of bad syntax HOT 1
- RFE - Option to skip rules not applicable for RHEL
- Path to test_suite.py needs dir prefix HOT 1
- Feature request: Handle recursive macros
- Traceback in PR 10574
- product will always be rhel8 // replace prodtype logic
- Typo in string HOT 1
- [RFE] Edit existent comment instead of always adding a new one HOT 2
- [RFE] Use openscap-ci credentials when adding new comments HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from content-test-filtering.