-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenMinTeD SSH UC Hackathon #6
Comments
For an application you can directly run it after you registration. If it is a component this is not possible. |
I know. I have built a workflow which makes use of the component that I had deployed (cf. : #7)
|
FYI @azielinskiACC |
OK eu.openminted.uc-tdm-socialsciences It is available on Also the workflow is created in OMTD Workflow Editor instance of Galaxy. Then OMTD Registry |
It is in the OMTD SNAPSHOTs repo. The registry seems to be able to resolve artifacts from there. Would it be possible to ensure that the executors and the registry use the same sets of repos to look up components, best also in the same order. The workflow URL is: https://test.openminted.eu/landingPage/application/c58d1986-690e-40b9-b408-f649443c7d33 |
Until now it was not required. Added it on my TO-DO list.
Downloaded the metadata record from Registry (attached). The workflow name is I downloaded it from Galaxy executor (also attached). It is empty, no steps. Probably this is why |
I'll try building a new one. |
Ok. Please sent me the landing page as you did with previous one. I will download the metadata record |
Ok, I have created a new one. This time, it is not empty when I re-open it in the workflow editor: https://test.openminted.eu/landingPage/application/89d5e9ea-32fb-45f7-bf00-1fe466e33c4f However, it still fails: @azielinskiACC @galanisd note that I have pasted a full multi-line XML file into the parameter variableSpecification - not sure if that could cause a problem. Aside from the XML getting a bit sqashed down when pasting it into the input field, it seemed ok in the Galaxy editor.
The other thing is that the component should try to download a model from the OMTD Maven repo. That means it must have network access to that repo.
Hm... that said, it might actually try to download the model from the wrong repo (i.e. the DKPro Core repo instead of the OMTD repo...). That is something I need to look into locally. |
Opened an issue regarding model-auto-downloads here: openminted/omtd-component-executor#1 |
Yes now it not empty. I see a the following error in the logs workflow-service which is the module that call Galaxy. --- [ Thread-625] e.o.w.service.WorkflowServiceImpl : Unable to locate workflow: 0931730980607790%40openminted.eu+3c6c03b5-9a04-41bb-996a-a2cd536c7ace Maybe it has to do with the name of the workflow. It contains spaces and a "@" which are escaped at some point. |
Ok. I have:
Then I tried running the workflow again on the variable test corpus that @azielinskiACC has published on the platform. Still, I get a failure again. Any idea what could be the reason now? |
I assume that again the workflow-service fails to call the workflow that was created @ Galaxy executor. As I said above probably the reason is the name of the workflow. |
I've just pushed a fix for this that should URL decode the workflow name before looking for it in Galaxy. This should get built and pushed to beta automatically but won't end up on test until someone manually pulls in the latest workflow service code. |
I have also added the error message supplied from the workflow service under the My Operations page |
@courado great! :) I just tried running the workflow again, but it fails being unable to locate the named workflow. Could somebody please push @greenwoodma `s fix to test.openminted.eu? |
@reckart is it not possible to rename the workflow to avoid the bug until the fix is pushed to test? |
@greenwoodma how do I do that? The workflow editor only has a "save" button, not a "rename" or "save as" button as far as I remember. |
I think that the only way to do that is a. rename the workflow in Galaxy |
@reckart hmmm I thought the name of the workflow came from the name you gave the app in the registry UI, but maybe not, or maybe you can't change it there either. Certainly the workflow editor just gets passed the name from the platform it doesn't generate it. |
Well, the name I have given to the workflow in the registry UI is "Simple Variable Disambiguation Example (English)". |
What's weird is that if all workflow IDs are generated the same way then how have we ever run a workflow as we'd have hit this issue every time? I'm seriously confused by this one. |
Apparently one can edit the workflow name in Galaxy by clicking on the pre-generated name, entering a new value and pressing ENTER. I did that (see screenshot). However, when I press "save" now, nothing happens. Odd... Ok, when I go back to "My applications" and re-open the workflow in the editor, I can see that the name I put is still there, so I guess the "save" must have worked. I wonder what happens if I created a second workflow by the same name... Anyway, running the now re-named workflow still gives me the same message:
@courado the "My operations" view has a date, but not a time stamp. It would be great if we could also see the submission and possibly completion times of the execution there. |
Workflow names @ Galaxy are not generated with the same way.
Also workflow ID is a different thing that workflow name. For each workflow name there is an internal unique workflow ID; the one you retrieve in workflow-service from Galaxy so that you initiate a workflow execution. |
Btw. I have also registered the Keyword Assignment component now and try to run it on a single document corpus. This comment is mainly for documenting when I started it since this info is not shown in the operations screen. The pipeline is even more minimal than the disambiguation pipeline (no segmenter needed). |
So I've had a look at this issue of workflows running for ever and I think I've found the problem. I've just pushed a couple of fixes to the workflow service which should appear on beta shortly (not quite sure when they'll get pushed to test). If you want the details read on....... Essentially when a workflow runs we watch to see when the final step reaches the @reckart I'm guessing your workflows are stuck in this situation. If you could send me the unique ID of the workflow (this is the long alphanumeric sequence next to the words "Workflow Canvas" at the top of the editor screen) then I can double check just to be certain. It won't help with working out why they failed, for that I'd need to look at the logs for the workflow service I think. @galanisd can you remind me the IP of the machine running the test instance of the workflow service? |
I created the same workflow with you; the Variable Dis. component is available in the Workflow editor. The Variable Dis. component fails while trying to download de.tudarmstadt.ukp.dkpro.core#de.tudarmstadt.ukp.dkpro.core.variable-detection-model-disambiguation-en-default part of the log attached. Locally in my laptop I do not have the same issue. I am trying to understand why... |
Would appear that the artifact isn't in any of the repos we look in. |
The 3 last steps of the workflow are DKPro UIMA components.
Hmmm... |
The model that the VarDis is using should be in the same repo as VarDis itself - however, in according to the logs, it tries to download the "default" variant, not the "ss" variant. I'm trying to check the workflow config again. |
I am checking the configuration for the repos in my laptop. I deleted the model but the when I run the script it is downloaded... |
I was using modelLocation not modelVariant. |
There are at least two ones stuck with jobs:
Btw. I can still edit the workflow name in the workflow editor. |
Attached... bc4e4776-cc9c-47d1-bf28-0d9b5ab78c46.zip I hope that is not an illusion...
|
@galanisd great news!!! For curiosity: does it open in the Annotation Viewer? |
Nope ..... I think because the results are written in an "output" and not in an "annotations" folder. I might be wrong. |
Yes, there is a redmine issue https://redmine.openminted.eu/issues/767 which I've just bumped. |
So, finally. That's great. |
@azielinskiACC I cannot access the link above. Probably it is a private workflow in your account? |
I can ...
Back then there were no docker specs and we have create 5 apps (one of them was NER) in order
The respective image us not OMTD compliant; i.e. it does not follow the docker spec and it will not be executed in the current environment. See also ... Who is working on this image/app? |
I'd have to look into the NER thing. |
If required please open a new issue (NER Hackathon) |
For testing, it would be great to have the proper landing ID for all SS-A applications, since search on the OpenMinted Platform does not give any results. |
@azielinskiACC @galanisd since the "test.openminted.eu" platform is only for testing and may be reset again... does it make sense at all to use fixed IDs for corpora? Maybe better to have people upload own data or build a corpus using the search functionality. The names of the SSH components on the other hand are rather stable. I'll run a release and then could publish them to the main platform (non-test). |
Sorry, by "testing" I meant the evaluation of the tenders/hackathon |
@pennyl67 is @antleb updating services to the same as test is currently or to the latest version of the code? The plan was to update test daily since the WP7 call last week, but the workflow-service hasn't been updated in the last week so it's still not got all the bug fixes we've made this week (which is quite a few). The problem is that while I think those fixes all work as expected, I'd assumed they were being tested on test as that was being updated. Now I find it hasn't been, so it may be that we get an up to date services which is buggier than test. |
@pennyl67 @azielinskiACC @galanisd @antleb WP9 also has to wrap up the "tutorial" material. My comment was related to what we can expect to later be able to find on the main platform and what not. Things we can find on the main platform can be in the tutorial, others maybe not. So IMHO it would make more sense to include the building of the corpus/uploading of documents into the tutorial, also the building of a workflow, but not the uploading of the components - we should be able to expect that the components we test now will exist on the main platform. Makes sense? |
@greenwoodma I'm not sure - I didn't know this detail; trying to find out and i'll let you know |
We publish the SSH UC components to the test platform now for the preparation of the tutorial material. The same components will later be published to the main platform - once the main platform is ready. |
My understanding is that for the VarDis and Keyword components, we are good now. @azielinskiACC - do you agree? If yes, I would suggest to close this issue. |
Yes - both components are running and the issue can be closed.
Am Fr., 20. Apr. 2018 um 14:03 Uhr schrieb Richard Eckart de Castilho <
[email protected]>:
… My understanding is that for the VarDis and Keyword components, we are
good now.
@azielinskiACC <https://github.com/azielinskiACC> - do you agree? If yes,
I would suggest to close this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdBhH0sEYLsANCs_gPsPSINBgQ6ecXfSks5tqc6jgaJpZM4TLoJ8>
.
|
I have deployed a component and tried to run it on the platform. The result of the operation is listed as "FAILED", but I have no idea why. How can one get access to the log output?
Instance: test.openminted.eu
The text was updated successfully, but these errors were encountered: