• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

m-lab / mlab-ns / 1346
64%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2020 10:35PM UTC
Jobs 1
Files 24
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1346

push

travis-ci

web-flow
Changes to begin preparing for project-decorated/flat names. (#228)

* Fixes SERVER_REGEX for sandbox, which should include mlab[1-4], not just mlab4.

* Updates is_production_slice() to use a regexp to extract machine and site instead of just splitting on dot. This should allow supporting v1 and v2 siteinfo names.

* Uses v2 siteinfo URLs for sandbox and staging.

* Fixes unbalanced parentheses in regex in is_production_slice().

* Fixes regex in is_production_slice() to take into account the experiment part of the 'slice' name.

* A yapf suggested formatting change in is_production_slice().

* Returns False if the re.match() in is_prouduction_slice() doesn't match.

* Adds a missing colon after else.

* Bounds the end of the regex in is_production_slice() with a dot to be sure that it doesn't match malformed names.

* Adds an extra space before first def to please yapf or whatever formatter.

* Reverts siteinfo URL for locations.json to v1, since a v2 version doesn't exist.

* Replaces split(.) with a regex that can identify both v1 and v2 host names.

* Adds a conditional and regex to return true for a 'production' check when the project is mlab-sandbox.

* Adds another conditional on project for is_production_slice.

* Fixes parse_sliver_tool_status() to recognize and take into account v2 hostnames.

* Adds a newline for better readability.

* Does not flatten FQDNs in sandbox, since sandbox uses v2 hostnames which are already flattened.

* Removes Nagios unit tests since we haven't relied on Nagios for a couple years now.

* mock.patches app_identity.get_application_id in a couple of unit test files.

* Introduces new module mlabns/util/parse_fqdn. Uses this module, add/updates testing.

* Actually adds the new module parse_fqdn.

* Modifies the comments of function is_production_slice() with a couple more contemporary examples.

* Uses fake project mlab-testing instead of mlab-oti in unit tests in test... (continued)

1075 of 1663 relevant lines covered (64.64%)

0.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1346.1 (PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine) 27 Mar 2020 10:35PM UTC 0
64.64
Travis Job 1346.1
Source Files on build 1346
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1346
  • c9d37f3a on github
  • Prev Build on master (#1332)
  • Next Build on master (#1351)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc