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

dockstore / dockstore / 10080 / 5
68%
develop: 68%

Build:
DEFAULT BRANCH: develop
Ran 14 Oct 2019 08:49PM UTC
Files 211
Run time 18s
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

14 Oct 2019 05:12PM UTC coverage: 46.16% (+0.2%) from 45.919%
TESTING_PROFILE=workflow-integration-tests

push

travis-ci

web-flow
Fix WDL import issues (#2941)


#2941 

There were two problems:

In WDLHandler.processImports, there is map of files that have been processed so that we don't process the same file more than once. The map key was just the filename, so if the same filename exists in more than one directory, the code would only process the first instance of the filename.

Once getting past that, there were issues resolving imports, particularly if a WDL file imported from a sub-directory relatively imported more WDL from the same sub-directory.

For the first issue, the key of the map is now the absolute path, so all files will get processed. The CWL code still works/expects a map with just the filename, so I changed the LanguageHandlerInterface.getContentto take a Set<SourceFile> instead of the Map<String, String>; that way each language implementation can internally construct their own Map for their needs.

For the second issue, MapResolver now has a string to resolve imports relative to.

Other notes

*  I committed the files from the workflow directly to the repo. It's a big one, but it might be good for other tests, and it simplifies the testing.
*  One test started to fail with these changes, DAGWorkflowTestIT.testComplexImportWdlWorkflow. However, running WOMTool validate standalone against the workflow also fails, so I think this is the correct behavior, and I updated the test to expect a failure.
* There is a circular dependency with the CLI. Some tests are using the CLI which uses WDLBridge, which is in this project. Had to leave some old method signatures in there for the tests to run.
* Needed to make SoruceCodeRepoInterface.getCommitId protected in
order to have an implementation in the tests.
* Also removed BridgeHelper.java, which isn't being used
anywhere.
* Removal of BridgeHelper means commons-validator
no longer needed
* Builds often failing on WDLHandlerTest or
NFLParseTest; separate them out into their
block of tests.
* U... (continued)

5067 of 10977 relevant lines covered (46.16%)

0.46 hits per line

Source Files on job 10080.5 (TESTING_PROFILE=workflow-integration-tests)
  • Tree
  • List 0
  • Changed 33
  • Source Changed 32
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1242
  • Travis Job 10080.5
  • e8501ecd on github
  • Prev Job for TESTING_PROFILE=workflow-integration-tests on develop (#10065.5)
  • Next Job for TESTING_PROFILE=workflow-integration-tests on develop (#10091.5)
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

© 2026 Coveralls, Inc