Skip to content

Failure in browser_ui/3_create/repository/push_protected_branch_spec.rb | Create Protected branch support when developers and maintainers are not allowed to push to a protected branch user without push rights fails to push to the protected branch

Test metadata (don't modify)

Field Value
File qa/qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb#L28
Description Create Protected branch support when developers and maintainers are not allowed to push to a protected branch user without push rights fails to push to the protected branch
Test level
Hash 2c4b40605997bdd27abb3adcaa618940eea9254b0dc0c6a0950d05e89a352507
Duration 60.01 seconds
Expected duration < 240 seconds
Test case https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347757

Stack trace

Failure/Error: expect { push_new_file(branch_name) }.to raise_error(QA::Support::Run::CommandError, /You are not allowed to push code to protected branches on this project\.([\s\S]+)\[remote rejected\] #{branch_name} -> #{branch_name} \(pre-receive hook declined\)/)
  expected QA::Support::Run::CommandError with message matching /You are not allowed to push code to protected branches on this project\.([\s\S]+)\[remote rejected\] protected-branch -> protected-branch \(pre-receive hook declined\)/ but nothing was raised

Screenshot

create_protected_branch_support_when_developers_and_maintainers_are_not_allowed__2023-09-29-12-43-53.867

Reports (86)

  1. 2023-09-29: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/11374738 (https://ops.gitlab.net/gitlab-org/quality/staging/-/pipelines/2364273)
  2. 2023-09-29: https://ops.gitlab.net/gitlab-org/quality/staging-canary/-/jobs/11376827 (https://ops.gitlab.net/gitlab-org/quality/staging-canary/-/pipelines/2364911)
  3. 2023-10-03: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/11404341 (https://ops.gitlab.net/gitlab-org/quality/staging/-/pipelines/2374882)
  4. 2023-10-11: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/11480824 (https://ops.gitlab.net/gitlab-org/quality/staging/-/pipelines/2399662)
  5. 2023-10-30: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/11700799 (https://ops.gitlab.net/gitlab-org/quality/staging/-/pipelines/2466200)
  6. 2023-11-08: https://ops.gitlab.net/gitlab-org/quality/staging-canary/-/jobs/11825776 (https://ops.gitlab.net/gitlab-org/quality/staging-canary/-/pipelines/2502525)
  7. 2023-11-14: https://ops.gitlab.net/gitlab-org/quality/release/-/jobs/11893251 (https://ops.gitlab.net/gitlab-org/quality/release/-/pipelines/2523915)
  8. 2023-11-15: https://ops.gitlab.net/gitlab-org/quality/release/-/jobs/11903443 (https://ops.gitlab.net/gitlab-org/quality/release/-/pipelines/2526854)
  9. 2023-11-19: https://ops.gitlab.net/gitlab-org/quality/preprod/-/jobs/11949627 (https://ops.gitlab.net/gitlab-org/quality/preprod/-/pipelines/2542906)
  10. 2023-12-05: https://gitlab.com/gitlab-org/gitlab/-/jobs/5680852851 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1095513783)
  11. 2023-12-05: https://gitlab.com/gitlab-org/gitlab/-/jobs/5686509658 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1096347274)
  12. 2023-12-05: https://gitlab.com/gitlab-org/gitlab/-/jobs/5687504061 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1096496074)
  13. 2023-12-06: https://ops.gitlab.net/gitlab-org/quality/production/-/jobs/12134912 (https://ops.gitlab.net/gitlab-org/quality/production/-/pipelines/2606558)
  14. 2023-12-07: https://gitlab.com/gitlab-org/gitlab/-/jobs/5698063363 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1098116336)
  15. 2023-12-07: https://gitlab.com/gitlab-org/gitlab/-/jobs/5698471153 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1098182669)
  16. 2023-12-08: https://gitlab.com/gitlab-org/gitlab/-/jobs/5708318146 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1099719148)
  17. 2023-12-09: https://gitlab.com/gitlab-org/gitlab/-/jobs/5717313645 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1101191118)
  18. 2023-12-09: https://gitlab.com/gitlab-org/gitlab/-/jobs/5717711628 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1101282098)
  19. 2023-12-09: https://gitlab.com/gitlab-org/gitlab/-/jobs/5717885231 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1101320977)
  20. 2023-12-09: https://gitlab.com/gitlab-org/gitlab/-/jobs/5717885234 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1101320977)
  21. 2023-12-11: https://gitlab.com/gitlab-org/gitlab/-/jobs/5721825946 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1102146046)
  22. 2023-12-11: https://gitlab.com/gitlab-org/gitlab/-/jobs/5723080409 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1102361106)
  23. 2023-12-14: https://gitlab.com/gitlab-org/gitlab/-/jobs/5748736689 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1106375288)
  24. 2023-12-15: https://ops.gitlab.net/gitlab-org/quality/preprod/-/jobs/12231074 (https://ops.gitlab.net/gitlab-org/quality/preprod/-/pipelines/2639605)
  25. 2023-12-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/5763694316 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1108700062)
  26. 2023-12-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/5766503844 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1109195915)
  27. 2023-12-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/5769936781 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1110229736)
  28. 2023-12-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/5769936790 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1110229736)
  29. 2023-12-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/5771146806 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1110557434)
  30. 2023-12-18: https://gitlab.com/gitlab-org/gitlab/-/jobs/5772742695 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1110830324)
  31. 2023-12-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/5799665831 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1115181919)
  32. 2023-12-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/5803973992 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1115862977)
  33. 2023-12-22: https://gitlab.com/gitlab-org/gitlab/-/jobs/5807103362 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1116387933)
  34. 2023-12-22: https://gitlab.com/gitlab-org/gitlab/-/jobs/5812190934 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1117261360)
  35. 2023-12-22: https://gitlab.com/gitlab-org/gitlab/-/jobs/5812493205 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1117315605)
  36. 2023-12-23: https://ops.gitlab.net/gitlab-org/quality/release/-/jobs/12309749 (https://ops.gitlab.net/gitlab-org/quality/release/-/pipelines/2667320)
  37. 2023-12-23: https://gitlab.com/gitlab-org/gitlab/-/jobs/5813730413 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1117605571)
  38. 2023-12-27: https://gitlab.com/gitlab-org/gitlab/-/jobs/5823927391 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1119741160)
  39. 2023-12-27: https://gitlab.com/gitlab-org/gitlab/-/jobs/5824652904 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1119888635)
  40. 2023-12-27: https://gitlab.com/gitlab-org/gitlab/-/jobs/5825198300 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1119986347)
  41. 2023-12-27: https://gitlab.com/gitlab-org/gitlab/-/jobs/5825660795 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1120066411)
  42. 2023-12-27: https://gitlab.com/gitlab-org/gitlab/-/jobs/5825660769 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1120066411)
  43. 2023-12-28: https://gitlab.com/gitlab-org/gitlab/-/jobs/5828662222 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1120599361)
  44. 2023-12-30: https://gitlab.com/gitlab-org/gitlab/-/jobs/5838673785 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1122936745)
  45. 2023-12-31: https://gitlab.com/gitlab-org/gitlab/-/jobs/5839706501 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1123183899)
  46. 2024-01-01: https://gitlab.com/gitlab-org/gitlab/-/jobs/5842951844 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1123934752)
  47. 2024-01-03: https://gitlab.com/gitlab-org/gitlab/-/jobs/5849653064 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1125102485)
  48. 2024-01-04: https://gitlab.com/gitlab-org/gitlab/-/jobs/5858253864 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1126490305)
  49. 2024-01-04: https://gitlab.com/gitlab-org/gitlab/-/jobs/5858253881 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1126490305)
  50. 2024-01-05: https://gitlab.com/gitlab-org/gitlab/-/jobs/5865367368 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1127602654)
  51. 2024-01-06: https://gitlab.com/gitlab-org/gitlab/-/jobs/5875249529 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1129126892)
  52. 2024-01-06: https://gitlab.com/gitlab-org/gitlab/-/jobs/5875618485 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1129181989)
  53. 2024-01-06: https://gitlab.com/gitlab-org/gitlab/-/jobs/5875852330 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1129229196)
  54. 2024-01-06: https://gitlab.com/gitlab-org/gitlab/-/jobs/5876700319 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1129384193)
  55. 2024-01-07: https://gitlab.com/gitlab-org/gitlab/-/jobs/5877719267 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1129614065)
  56. 2024-01-07: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/12421789 (https://ops.gitlab.net/gitlab-org/quality/staging/-/pipelines/2717794)
  57. 2024-01-07: https://gitlab.com/gitlab-org/gitlab/-/jobs/5879089470 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1129921095)
  58. 2024-01-09: https://gitlab.com/gitlab-org/gitlab/-/jobs/5888597862 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1131450160)
  59. 2024-01-10: https://gitlab.com/gitlab-org/gitlab/-/jobs/5904471013 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1133915799)
  60. 2024-01-10: https://gitlab.com/gitlab-org/gitlab/-/jobs/5904470989 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1133915799)
  61. 2024-01-14: https://gitlab.com/gitlab-org/gitlab/-/jobs/5925086975 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1137443863)
  62. 2024-01-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/5930295825 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1138448174)
  63. 2024-01-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/5933575569 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1138958428)
  64. 2024-01-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/5935283437 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1139245136)
  65. 2024-01-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/5935283500 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1139245144)
  66. 2024-01-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/5937232153 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1139577832)
  67. 2024-01-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/5943466386 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1140494770)
  68. 2024-01-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/5952483430 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1141910024)
  69. 2024-01-18: https://gitlab.com/gitlab-org/gitlab/-/jobs/5956806152 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1142612652)
  70. 2024-01-18: https://gitlab.com/gitlab-org/gitlab/-/jobs/5960053707 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1143187538)
  71. 2024-01-19: https://gitlab.com/gitlab-org/gitlab/-/jobs/5965100713 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1143985765)
  72. 2024-01-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/5973146660 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1145209162)
  73. 2024-01-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/5973326752 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1145247860)
  74. 2024-01-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/5974527659 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1145517659)
  75. 2024-01-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/5975368557 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1145699778)
  76. 2024-01-23: https://gitlab.com/gitlab-org/gitlab/-/jobs/5986029253 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1147406277)
  77. 2024-01-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/6018158606 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1152202684)
  78. 2024-01-29: https://gitlab.com/gitlab-org/gitlab/-/jobs/6039187451 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1155453039)
  79. 2024-01-29: https://gitlab.com/gitlab-org/gitlab/-/jobs/6041168492 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1155800709)
  80. 2024-01-30: https://gitlab.com/gitlab-org/gitlab/-/jobs/6053177972 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1157645700)
  81. 2024-01-31: https://gitlab.com/gitlab-org/gitlab/-/jobs/6058523162 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1158460604)
  82. 2024-01-31: https://gitlab.com/gitlab-org/gitlab/-/jobs/6059192056 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1158591553)
  83. 2024-01-31: https://gitlab.com/gitlab-org/gitlab/-/jobs/6059679044 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1158675373)
  84. 2024-02-01: https://gitlab.com/gitlab-org/gitlab/-/jobs/6069040032 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1160053915)
  85. 2024-02-01: https://gitlab.com/gitlab-org/gitlab/-/jobs/6070652148 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1160314935)
  86. 2024-02-02: https://gitlab.com/gitlab-org/gitlab/-/jobs/6086616319 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1162849220)
Edited by Ghost User