πŸš€ DevOps Certified Professional
πŸ“… Starting: 1st of Every Month 🀝 +91 8409492687 | 🀝 +1 (469) 756-6329 πŸ” Contact@DevOpsSchool.com

Patch-upload test passes but the same change from merge-request initiated test fails

GitLab

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Source:-drupal

Problem/Motivation
The same change that passes test when uploaded as a patch fails when initiated from merge-request.
Complicating factors:
– sub-module with additional composer dependencies, including another contrib
– sub-module test with compile-time dependency on the contrib module
Example is in Salesforce issue queue, which has a submodule salesforce_jwt, which defines a test class that uses a trait from Key module
Steps to reproduce
– create an issue fork for a module which has on-commit tests with cross-contrib dependencies
– push new code to the issue fork
– create a merge-request for the issue fork, which fails tests
– upload same change as a patch, which passes tests
Proposed resolution
Use the same system to build and test (?) or help me figure out why my commits are passing but my patches are failing.
Remaining tasks
identify whether this is a systemic or local issue
User interface changes
none
API changes
none
Data model changes
none
Subscribe
Notify of
guest


This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x