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/20 13:31:57 UTC

[GitHub] cloudstack pull request: cloud-apidoc module depends on cloud-clie...

GitHub user miguelaferreira opened a pull request:

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

    cloud-apidoc module depends on cloud-client-ui

    When building the cloud-apidoc module a script called `./build-apidoc.sh` is executed with an argument that points to `../../client/target/cloud-client-ui-${project.version}/WEB-INF/lib`. The script uses that argument to build a Java classpath. However, since the cloud-apidoc module does not explicitly depend on cloud-client-ui, a parallel maven build will often fail because the required jars are not present when needed.
    
    Error message when build fails:
    ```
    Error: Could not find or load main class com.cloud.api.doc.ApiXmlDocWriter
    ```
    
    This PR makes the dependency explicit.
    
    Resulting build:
    ```
    mvn clean install -T4 -Pdeveloper,systemvm
    ....
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 09:02 min (Wall Clock)
    [INFO] Finished at: 2015-10-20T13:31:30+02:00
    [INFO] Final Memory: 98M/1526M
    [INFO] ------------------------------------------------------------------------
    ```

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

    $ git pull https://github.com/miguelaferreira/cloudstack cloud-apidoc-depends-on-cloud-client-ui

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

    https://github.com/apache/cloudstack/pull/958.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 #958
    
----
commit 9f9f6a2dda05e0e493c5a7192c3df2b77d55e61a
Author: Miguel Ferreira <mi...@me.com>
Date:   2015-10-20T10:32:46Z

    cloud-apidoc module depends on cloud-client-ui

----


---
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: cloud-apidoc module depends on cloud-clie...

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

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


---
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: cloud-apidoc module depends on cloud-clie...

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

    https://github.com/apache/cloudstack/pull/958#issuecomment-150029294
  
    @miguelaferreira Can you please force push to have Jenkins run again? Will merge once it succeeds, or when we are OK with it not being successful.


---
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: cloud-apidoc module depends on cloud-clie...

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

    https://github.com/apache/cloudstack/pull/958#issuecomment-149610350
  
    @miguelaferreira , yes this is one of the obstakels I encountered the last few days.
    LGTM, will test if I get a test env working.
    Another one is the marvin not finding the result of the apidoc builds; commans.xml In those cases I did not see this error in the logs as expected because the build would have failed. not sure if there is a relation.


---
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: cloud-apidoc module depends on cloud-clie...

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

    https://github.com/apache/cloudstack/pull/958#issuecomment-150029619
  
    Error is not related anyway:
    ```
    [ERROR] Internal error: java.lang.IllegalStateException: Invalid object ID 14 iota=617: Object was recently deallocated
    ```


---
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: cloud-apidoc module depends on cloud-clie...

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

    https://github.com/apache/cloudstack/pull/958#issuecomment-149918708
  
    LGTM :+1: 
    
    ```
    $ mvn clean install -T2C -Pdeveloper,systemvm
    ```
    ```
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS [1.225s]
    [INFO] Apache CloudStack ................................. SUCCESS [1.122s]
    [INFO] Apache CloudStack Maven Conventions Parent ........ SUCCESS [0.907s]
    [INFO] Apache CloudStack Framework - Managed Context ..... SUCCESS [4.382s]
    [INFO] Apache CloudStack Utils ........................... SUCCESS [15.868s]
    [INFO] Apache CloudStack Framework ....................... SUCCESS [0.105s]
    [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [15.815s]
    [INFO] Apache CloudStack Framework - Configuration ....... SUCCESS [5.940s]
    [INFO] Apache CloudStack API ............................. SUCCESS [12.325s]
    [INFO] Apache CloudStack Framework - REST ................ SUCCESS [5.190s]
    [INFO] Apache CloudStack Framework - IPC ................. SUCCESS [3.770s]
    [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.103s]
    [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [2.976s]
    [INFO] Apache CloudStack Framework - Security ............ SUCCESS [1.661s]
    [INFO] Apache CloudStack Core ............................ SUCCESS [21.876s]
    [INFO] Apache CloudStack Agents .......................... SUCCESS [8.211s]
    [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [3.761s]
    [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [3.507s]
    [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [16.353s]
    [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [6.712s]
    [INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [3.540s]
    [INFO] Apache CloudStack Server .......................... SUCCESS [41.017s]
    [INFO] Apache CloudStack Usage Server .................... SUCCESS [13.762s]
    [INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS [15.316s]
    [INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.250s]
    [INFO] Apache CloudStack Secondary Storage ............... SUCCESS [1.638s]
    [INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [23.890s]
    [INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [36.755s]
    [INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [18.352s]
    [INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [14.210s]
    [INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [8.577s]
    [INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [12.307s]
    [INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [32.002s]
    [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [3.541s]
    [INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [20.944s]
    [INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.545s]
    [INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [46.144s]
    [INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS [8.732s]
    [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS [11.270s]
    [INFO] Apache CloudStack Plugin - API SolidFire .......... SUCCESS [2.236s]
    [INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [29.179s]
    [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [12.817s]
    [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS [15.838s]
    [INFO] Apache CloudStack Plugin - Explicit Dedication Processor  SUCCESS [16.551s]
    [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner  SUCCESS [15.763s]
    [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner  SUCCESS [15.826s]
    [INFO] Apache CloudStack Plugin - Implicit Dedication Planner  SUCCESS [45.362s]
    [INFO] Apache CloudStack Plugin - Skip Heurestics Planner  SUCCESS [15.805s]
    [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [15.817s]
    [INFO] Apache CloudStack Plugin - Dedicated Resources .... SUCCESS [40.991s]
    [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [18.774s]
    [INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [21.554s]
    [INFO] Apache CloudStack Plugin - Hypervisor XenServer ... SUCCESS [35.740s]
    [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [57.098s]
    [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [15.583s]
    [INFO] Apache CloudStack Plugin - In Memory Event Bus .... SUCCESS [31.488s]
    [INFO] Apache CloudStack Plugin - Kafka Event Bus ........ SUCCESS [11.458s]
    [INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SUCCESS [27.470s]
    [INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SUCCESS [16.597s]
    [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ..... SUCCESS [37.715s]
    [INFO] Apache CloudStack Plugin - Hypervisor OracleVM3 ... SUCCESS [1:46.461s]
    [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer  SUCCESS [39.684s]
    [INFO] Apache CloudStack Plugin - Network Internal Load Balancer  SUCCESS [1:07.024s]
    [INFO] Apache CloudStack Framework - Spring Life Cycle ... SUCCESS [4.127s]
    [INFO] Apache CloudStack Plugin - Network Juniper Contrail  SUCCESS [11.362s]
    [INFO] Apache CloudStack Plugin - Palo Alto .............. SUCCESS [55.098s]
    [INFO] Apache CloudStack Plugin - Network Netscaler ...... SUCCESS [26.331s]
    [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [1:30.233s]
    [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment  SUCCESS [1:19.391s]
    [INFO] Apache CloudStack Plugin - Network Brocade VCS .... SUCCESS [1:06.672s]
    [INFO] Apache CloudStack Plugin - Midokura Midonet ....... SUCCESS [16.671s]
    [INFO] Apache CloudStack Plugin - Stratosphere SSP ....... SUCCESS [54.005s]
    [INFO] Apache CloudStack Plugin - Network Opendaylight ... SUCCESS [45.447s]
    [INFO] Apache CloudStack Plugin - Storage Allocator Random  SUCCESS [10.459s]
    [INFO] Apache CloudStack Plugin - User Authenticator LDAP  SUCCESS [27.970s]
    [INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [31.517s]
    [INFO] Apache CloudStack Plugin - User Authenticator PBKDF2-SHA-256  SUCCESS [44.596s]
    [INFO] Apache CloudStack Plugin - User Authenticator Plain Text  SUCCESS [14.615s]
    [INFO] Apache CloudStack Plugin - User Authenticator SAML2  SUCCESS [1:55.517s]
    [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted  SUCCESS [35.200s]
    [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [15.498s]
    [INFO] Apache CloudStack Plugin - Storage Image S3 ....... SUCCESS [6.148s]
    [INFO] Apache CloudStack Plugin - Storage Image Swift provider  SUCCESS [6.290s]
    [INFO] Apache CloudStack Plugin - Storage Image default provider  SUCCESS [6.115s]
    [INFO] Apache CloudStack Plugin - Storage Image sample provider  SUCCESS [5.320s]
    [INFO] Apache CloudStack Plugin - Storage Volume Nexenta Provider  SUCCESS [12.605s]
    [INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider  SUCCESS [7.944s]
    [INFO] Apache CloudStack Plugin - Storage Volume sample provider  SUCCESS [8.001s]
    [INFO] Apache CloudStack Plugin - SNMP Alerts ............ SUCCESS [35.752s]
    [INFO] Apache CloudStack Plugin - Syslog Alerts .......... SUCCESS [31.673s]
    [INFO] Apache CloudStack Plugin - Network VXLAN .......... SUCCESS [34.716s]
    [INFO] Apache CloudStack Plugin - GloboDNS ............... SUCCESS [49.377s]
    [INFO] Apache CloudStack Framework - Spring Module ....... SUCCESS [15.647s]
    [INFO] Apache CloudStack Secondary Storage Controller .... SUCCESS [11.032s]
    [INFO] Apache CloudStack Console Proxy - RDP Client ...... SUCCESS [17.235s]
    [INFO] Apache CloudStack Console Proxy ................... SUCCESS [1.787s]
    [INFO] Apache CloudStack Console Proxy - Server .......... SUCCESS [7.904s]
    [INFO] Apache CloudStack System VM ....................... SUCCESS [56.968s]
    [INFO] Apache CloudStack Client UI ....................... SUCCESS [13.188s]
    [INFO] Apache CloudStack Framework - QuickCloud .......... SUCCESS [1.263s]
    [INFO] Apache CloudStack Test ............................ SUCCESS [0.964s]
    [INFO] Apache CloudStack Developer Mode .................. SUCCESS [1.017s]
    [INFO] Apache CloudStack Developer Tools ................. SUCCESS [1.063s]
    [INFO] Apache CloudStack apidocs ......................... SUCCESS [18.639s]
    [INFO] Apache CloudStack marvin .......................... SUCCESS [3.976s]
    [INFO] Apache CloudStack DevCloud ........................ SUCCESS [7.710s]
    [INFO] Apache CloudStack DevCloud4 ....................... SUCCESS [6.141s]
    [INFO] Apache CloudStack DevCloud-KVM .................... SUCCESS [5.508s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 5:32.866s (Wall Clock)
    [INFO] Finished at: Wed Oct 21 16:43:30 CEST 2015
    [INFO] Final Memory: 87M/825M
    [INFO] ------------------------------------------------------------------------
    ```



---
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: cloud-apidoc module depends on cloud-clie...

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

    https://github.com/apache/cloudstack/pull/958#issuecomment-149534258
  
    ping @DaanHoogland this is the error you were asking me about right?


---
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: cloud-apidoc module depends on cloud-clie...

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

    https://github.com/apache/cloudstack/pull/958#issuecomment-149790526
  
    I built ACS and the RPMs based on this PR, with 4 threads - as suggested in @miguelaferreira's comment. All worked fine!
    
    LGTM :+1: 
    
    Cheers,
    Wilder


---
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: cloud-apidoc module depends on cloud-clie...

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

    https://github.com/apache/cloudstack/pull/958#issuecomment-149809643
  
    ran all tests with three errors in "Test VPC offering without ...". those are not related.
    ----------------------------------------------------------------------
    Ran 40 tests in 7302.424s
    
    FAILED (errors=3)
    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.
---