Skip to content

Instantly share code, notes, and snippets.

@jgmize
Created October 14, 2015 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgmize/a46de3d0d2c4c823673f to your computer and use it in GitHub Desktop.
Save jgmize/a46de3d0d2c4c823673f to your computer and use it in GitHub Desktop.
  • failing tests
    • https://ci.us-west.moz.works/job/bedrock_test_prod_us_west/97/console
      =================================== FAILURES ===================================
      E               Exception: css selector:.partner-button > a is not visible
      Failing URL: https://bedrock-prod-deis.us-west.moz.works/en-US/firefox/partners/
      E               Exception: css selector:.partner-button > a is not visible
      Failing URL: https://bedrock-prod-deis.us-west.moz.works/en-US/firefox/partners/
      E               Exception: css selector:.partner-button > a is not visible
      Failing URL: https://bedrock-prod-deis.us-west.moz.works/en-US/firefox/partners/
      =========================== short test summary info ============================
      FAIL test_partners.py::TestPartners::()::test_footer_section
      FAIL test_partners.py::TestPartners::()::test_overview_section_image
      FAIL test_partners.py::TestPartners::()::test_os_section
      ==================== 3 failed, 335 passed in 137.57 seconds ====================
              
    • https://ci.us-west.moz.works/job/bedrock_test_prod_eu_west/91/console
      =================================== FAILURES ===================================
      E               Exception: css selector:.partner-button > a is not visible
      Failing URL: https://bedrock-prod-deis.eu-west.moz.works/en-US/firefox/partners/
      E               Exception: css selector:.partner-button > a is not visible
      Failing URL: https://bedrock-prod-deis.eu-west.moz.works/en-US/firefox/partners/
      E               Exception: css selector:.partner-button > a is not visible
      Failing URL: https://bedrock-prod-deis.eu-west.moz.works/en-US/firefox/partners/
      =========================== short test summary info ============================
      FAIL test_partners.py::TestPartners::()::test_footer_section
      FAIL test_partners.py::TestPartners::()::test_os_section
      FAIL test_partners.py::TestPartners::()::test_overview_section_image
      ==================== 3 failed, 335 passed in 210.17 seconds ====================
              
  • failures are the result of a 404 for https://mozorg.cdn.mozilla.net/media/css/responsive-bundle.a8de16ce6d78.css
  • we need to ensure that new versions of static files, especially widely used “bundles” like this one, are available to the CDN
    • ideally this could happen before html that refers to the new version is served to clients
  • currently the origin domain for the CDN, mozorg-origin.cdn.mozilla.net is only configured to be served from PHX1 and SCL3
  • we need set it up to be served from the deis clusters, and decide on a traffic split betwen AWS and SCL3
    • even split
    • biased toward SCL3
    • biased toward AWS
      • “even” weighting would bias towards AWS due to more regions
      • may even consider AWS as primary with SCL3 as fallback
      • can set up a “fast path” deploy for static files only
        • separate deis app from the main bedrock-prod instances
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment