Failure in qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb
Summary
This spec seems to fail at either adding Python file template or Android file template with error message A file with this name already exists
Job: https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/989661
Stack trace
1st retry
1) Create File templates user adds Dockerfile via file template Python
Failure/Error: expect(form).to have_content('The file has been successfully created.')
expected to find text "The file has been successfully created." in "Skip to content Projects Groups More 3 26 99+ F file-template-project-17b6b10aafeb7e43 Project overview Repository Files Commits Branches Tags Contributors Graph Compare Locked Files Issues 0 Merge Requests 0 CI / CD Security & Compliance Operations Packages Analytics Wiki Snippets Settings Collapse sidebar gitlab-qa-sandbox-group qa-test-2020-03-13-01-59-15-60e657530a31b97a file-template-project-17b6b10aafeb7e43 Repository A file with this name already exists New file master / Dockerfile Apply a template Soft wrap text 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 # This file is a template, and might need editing before it works on your project. FROM python:3.6 # Edit with mysql-client, postgresql-client, sqlite3, etc. for your needs. # Or delete entirely if not needed. RUN apt-get update \\ && apt-get install -y --no-install-recommends \\ postgresql-client \\ && rm -rf /var/lib/apt/lists/* WORKDIR /usr/src/app COPY requirements.txt /usr/src/app/ RUN pip install --no-cache-dir -r requirements.txt COPY . /usr/src/app # For Django EXPOSE 8000 CMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"] # For some other command # CMD [\"python\", \"app.py\"] Commit message Add new file Target Branch Commit changes Cancel"
# ./qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb:59:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb:52:in `block (4 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:68:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:69:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:33:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:28:in `launch!'
2nd retry
1) Create File templates user adds .gitignore via file template Android
Failure/Error: expect(form).to have_content('The file has been successfully created.')
expected to find text "The file has been successfully created." in "Skip to content Projects Groups More 3 25 99+ F file-template-project-2e17f4053c6597f9 Project overview Repository Files Commits Branches Tags Contributors Graph Compare Locked Files Issues 0 Merge Requests 0 CI / CD Security & Compliance Operations Packages Analytics Wiki Snippets Settings Collapse sidebar gitlab-qa-sandbox-group qa-test-2020-03-13-01-41-25-75c9dad92744f0e0 file-template-project-2e17f4053c6597f9 Repository A file with this name already exists New file master / .gitignore Apply a template Soft wrap text 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 # Built application files *.apk *.ap_ *.aab # Files for the ART/Dalvik VM *.dex # Java class files *.class # Generated files bin/ gen/ out/ # Gradle files .gradle/ build/ # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse proguard/ # Log Files *.log # Android Studio Navigation editor temp files .navigation/ # Android Studio captures folder captures/ # IntelliJ Commit message Add new file Target Branch Commit changes Cancel"
# ./qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb:59:in `block (5 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb:52:in `block (4 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:68:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:69:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:33:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:28:in `launch!'
Screenshot / HTML page
1st retry
2nd retry
Possible fixes
Edited by Rémy Coutable

