You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by miguelaferreira <gi...@git.apache.org> on 2015/10/19 11:40:23 UTC

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

GitHub user miguelaferreira opened a pull request:

    https://github.com/apache/cloudstack/pull/948

    Marvin module depends on APIdoc module

    When building the developer tools, if the build is sequential then the marvin module always gets build after the apidoc module. However, it the build is parallelised (-Tn option in maven) it sometimes happens that maven tries to build the marvin module before building the apidoc module. That difference in the order makes it impossible to build marvin because it depends on the artefacts of the apidoc module.
    
    This PR makes the dependency between marvin an apidoc explicit.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/miguelaferreira/cloudstack marvin-depends-on-apidoc

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/948.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #948
    
----
commit 4c67ac5999cf78baef38a880ccc825feb56b97ad
Author: Miguel Ferreira <mi...@me.com>
Date:   2015-10-19T09:37:07Z

    Marvin module depends on APIdoc module

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by DaanHoogland <gi...@git.apache.org>.
Github user DaanHoogland commented on the pull request:

    https://github.com/apache/cloudstack/pull/948#issuecomment-149165230
  
    Thanks for this @miguelaferreira I've been running into this lately it might explain some issues in the bubble.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by miguelaferreira <gi...@git.apache.org>.
Github user miguelaferreira commented on the pull request:

    https://github.com/apache/cloudstack/pull/948#issuecomment-149165088
  
    Travis stumbled on the same problem that I'm trying to fix here: https://travis-ci.org/apache/cloudstack/jobs/86030810


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by miguelaferreira <gi...@git.apache.org>.
Github user miguelaferreira commented on the pull request:

    https://github.com/apache/cloudstack/pull/948#issuecomment-149189859
  
    I think it's fixed. I've been able to reproduce the issue both locally and in our CI server. And after the last force push the issue is gone in both environments. That is, maven build with developer profile using the parallel build option in maven is working.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by runseb <gi...@git.apache.org>.
Github user runseb commented on the pull request:

    https://github.com/apache/cloudstack/pull/948#issuecomment-149168945
  
    +1 LGTM based on code review


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by DaanHoogland <gi...@git.apache.org>.
Github user DaanHoogland commented on the pull request:

    https://github.com/apache/cloudstack/pull/948#issuecomment-149191773
  
    running it in the bubble now


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by miguelaferreira <gi...@git.apache.org>.
Github user miguelaferreira commented on the pull request:

    https://github.com/apache/cloudstack/pull/948#issuecomment-149185286
  
    Despite the fact that both builds are green, this PR as it is now breaks the maven build!
    
    Dug this up from the travis log:
    ```
    [ERROR] Failed to execute goal on project cloud-marvin: Could not resolve dependencies for project org.apache.cloudstack:cloud-marvin:pom:4.6.0-SNAPSHOT: Failed to collect dependencies at org.apache.cloudstack:cloud-apidoc:jar:4.6.0-SNAPSHOT: Failed to read artifact descriptor for org.apache.cloudstack:cloud-apidoc:jar:4.6.0-SNAPSHOT: Could not find artifact org.apache.cloudstack:cloud-tools:pom:4.6.0-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
    ```
    
    Please to not merge this, until I've had the chance to fix it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by miguelaferreira <gi...@git.apache.org>.
Github user miguelaferreira commented on the pull request:

    https://github.com/apache/cloudstack/pull/948#issuecomment-149187828
  
    This PR broke the maven build because dependency type was missing. Since apidocs does not generate a jar file, the dependency type has to be set to something different. In this case I chose to make it type pom.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cloudstack/pull/948


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by remibergsma <gi...@git.apache.org>.
Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/948#issuecomment-149260118
  
    @wilderrodrigues thanks, done.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: Marvin module depends on APIdoc module

Posted by wilderrodrigues <gi...@git.apache.org>.
Github user wilderrodrigues commented on the pull request:

    https://github.com/apache/cloudstack/pull/948#issuecomment-149257541
  
    Hi @miguelaferreira 
    
    I built ACS, RPMs from source and deploy a DC and ran few tests - although it was not needed to cover the changes. Anyway, it LGTM!
    
    Test results:
    ```
    Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
    ok
    Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS ===
    ok
    Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
    ok
    Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS ===
    ok
    Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS ===
    ok
    Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS ===
    ok
    Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS ===
    ok
    Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS ===
    ok
    Test migrate VM ... SKIP: At least two hosts should be present in the zone for migration
    Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS ===
    ok
    
    ----------------------------------------------------------------------
    Ran 10 tests in 1786.038s
    
    OK (SKIP=1)
    /tmp//MarvinLogs/test_vm_life_cycle_HVM0AS/results.txt (END)
    ```
    
    Ping @remibergsma @karuturi ... you can proceed with merging since it already got 2 LGTM,


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---