Skip to content
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

[AutoPR] network/resource-manager #4491

Merged
merged 7 commits into from
Mar 25, 2019

Conversation

AutorestCI
Copy link
Contributor

Created to accumulate context: network/resource-manager

added links to limits for application gateway
@AutorestCI
Copy link
Contributor Author

AutorestCI commented Mar 6, 2019

(message created by the CI based on PR content)

Installation instruction

Package azure-mgmt-network

You can install the package azure-mgmt-network of this PR using the following command:
pip install "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_network/resource-manager#egg=azure-mgmt-network&subdirectory=azure-mgmt-network"

You can build a wheel to distribute for test using the following command:
pip wheel --no-deps "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_network/resource-manager#egg=azure-mgmt-network&subdirectory=azure-mgmt-network"

If you have a local clone of this repository, you can also do:

  • git checkout restapi_auto_network/resource-manager
  • pip install -e ./azure-mgmt-network

Or build a wheel file to distribute for testing:

  • git checkout restapi_auto_network/resource-manager
  • pip wheel --no-deps ./azure-mgmt-network

Direct download

Your files can be directly downloaded here:

@lmazuel
Copy link
Member

lmazuel commented Mar 18, 2019

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

@AutorestCI
Copy link
Contributor Author

@AutorestCI
Copy link
Contributor Author

Encountered a Subprocess error

Command: ['/usr/local/bin/autorest', '/tmp/tmp6e_0vwbi/rest/specification/network/resource-manager/readme.md', '--multiapi', '--python', '--python-mode=update', '--python-sdks-folder=/tmp/tmp6e_0vwbi/sdk', '[email protected]/autorest.python@~3.0.56', '--version=preview']
Finished with return code -6
and output:

AutoRest code generation utility [version: 2.0.4283; node: v8.11.3]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      '/root/.autorest/@[email protected]/node_modules/@microsoft.azure/autorest-core/dist' (2.0.4302)
   Loading AutoRest extension '@microsoft.azure/autorest.python' (~3.0.56->3.0.58)
   Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.44->2.3.44)
Processing batch task - {"tag":"package-2018-12"} .

<--- Last few GCs --->

[13998:0x3057e60]    77006 ms: Mark-sweep 1377.1 (1461.4) -> 1377.1 (1461.4) MB, 1641.7 / 0.0 ms  allocation failure GC in old space requested
[13998:0x3057e60]    78425 ms: Mark-sweep 1377.1 (1461.4) -> 1376.9 (1424.9) MB, 1418.2 / 0.0 ms  last resort GC in old space requested
[13998:0x3057e60]    79597 ms: Mark-sweep 1376.9 (1424.9) -> 1376.9 (1424.9) MB, 1172.2 / 0.0 ms  last resort GC in old space requested


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x1831e86a5879 <JSObject>
    1: set [native weak-collection.js:~27] [pc=0x231f840fd8a9](this=0xe1dbbe0a261 <JSWeakMap>,key=0xe0495b7da41 <Object map = 0x1901d633fc39>,value=0xfbf341023e1 <false>)
    2: /* anonymous */(aka /* anonymous */) [/root/.autorest/@[email protected]/node_modules/@microsoft.azure/autorest-core/dist/lib/ref/yaml.js:~101] [pc=0x231f840edbf9](this=0xfbf341022d1 <undefined>,cach...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x8c21ec [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [node]
 6: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::NewInternal(v8::internal::Isolate*, int, v8::internal::PretenureFlag) [node]
 7: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::New(v8::internal::Isolate*, int, v8::internal::PretenureFlag, v8::internal::MinimumCapacity) [node]
 8: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::EnsureCapacity(v8::internal::Handle<v8::internal::ObjectHashTable>, int, v8::internal::PretenureFlag) [node]
 9: v8::internal::ObjectHashTable::Put(v8::internal::Handle<v8::internal::ObjectHashTable>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
10: v8::internal::JSWeakCollection::Set(v8::internal::Handle<v8::internal::JSWeakCollection>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
11: v8::internal::Runtime_WeakCollectionSet(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x231f83f842fd

@lmazuel
Copy link
Member

lmazuel commented Mar 18, 2019

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

@AutorestCI
Copy link
Contributor Author

@AutorestCI
Copy link
Contributor Author

Encountered a Subprocess error

Command: ['/usr/local/bin/autorest', '/tmp/tmplw_ifcnj/rest/specification/network/resource-manager/readme.md', '--multiapi', '--python', '--python-mode=update', '--python-sdks-folder=/tmp/tmplw_ifcnj/sdk', '[email protected]/autorest.python@~3.0.56', '--version=preview']
Finished with return code -6
and output:

AutoRest code generation utility [version: 2.0.4283; node: v8.11.3]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      '/root/.autorest/@[email protected]/node_modules/@microsoft.azure/autorest-core/dist' (2.0.4302)
   Loading AutoRest extension '@microsoft.azure/autorest.python' (~3.0.56->3.0.58)
   Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.44->2.3.44)
Processing batch task - {"tag":"package-2018-12"} .

<--- Last few GCs --->

[14123:0x2f0de60]    80680 ms: Mark-sweep 1377.3 (1461.9) -> 1377.1 (1463.9) MB, 1692.3 / 0.0 ms  allocation failure GC in old space requested
[14123:0x2f0de60]    82152 ms: Mark-sweep 1377.1 (1463.9) -> 1377.0 (1423.4) MB, 1471.6 / 0.0 ms  last resort GC in old space requested
[14123:0x2f0de60]    83315 ms: Mark-sweep 1377.0 (1423.4) -> 1377.0 (1423.4) MB, 1162.9 / 0.0 ms  last resort GC in old space requested


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x139c3b3a5879 <JSObject>
    1: set [native weak-collection.js:~27] [pc=0x3315a3e7ea49](this=0x2c2f6d002201 <JSWeakMap>,key=0xdbe30f9cbe9 <Object map = 0x267e7200a341>,value=0x2ac3c60823e1 <false>)
    2: /* anonymous */(aka /* anonymous */) [/root/.autorest/@[email protected]/node_modules/@microsoft.azure/autorest-core/dist/lib/ref/yaml.js:~101] [pc=0x3315a3e698b9](this=0x2ac3c60822d1 <undefined>,c...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x8c21ec [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [node]
 6: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::NewInternal(v8::internal::Isolate*, int, v8::internal::PretenureFlag) [node]
 7: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::New(v8::internal::Isolate*, int, v8::internal::PretenureFlag, v8::internal::MinimumCapacity) [node]
 8: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::EnsureCapacity(v8::internal::Handle<v8::internal::ObjectHashTable>, int, v8::internal::PretenureFlag) [node]
 9: v8::internal::ObjectHashTable::Put(v8::internal::Handle<v8::internal::ObjectHashTable>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
10: v8::internal::JSWeakCollection::Set(v8::internal::Handle<v8::internal::JSWeakCollection>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
11: v8::internal::Runtime_WeakCollectionSet(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x3315a3c842fd

@lmazuel
Copy link
Member

lmazuel commented Mar 18, 2019

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

@AutorestCI
Copy link
Contributor Author

@AutorestCI
Copy link
Contributor Author

Encountered a Subprocess error

Command: ['/usr/local/bin/autorest', '/tmp/tmphzjqzsm4/rest/specification/network/resource-manager/readme.md', '--multiapi', '--python', '--python-mode=update', '--python-sdks-folder=/tmp/tmphzjqzsm4/sdk', '[email protected]/autorest.python@~3.0.56', '--version=preview']
Finished with return code -6
and output:

AutoRest code generation utility [version: 2.0.4283; node: v8.12.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      '/root/.autorest/@[email protected]/node_modules/@microsoft.azure/autorest-core/dist' (2.0.4302)
   Installing AutoRest extension '@microsoft.azure/autorest.python' (~3.0.56)
   Installing AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.44)
Processing batch task - {"tag":"package-2018-12"} .

<--- Last few GCs --->

[90:0x3478830]    78774 ms: Mark-sweep 1379.3 (1461.9) -> 1379.1 (1463.9) MB, 1652.9 / 0.0 ms  allocation failure GC in old space requested
[90:0x3478830]    80200 ms: Mark-sweep 1379.1 (1463.9) -> 1379.1 (1426.4) MB, 1425.5 / 0.0 ms  last resort GC in old space requested
[90:0x3478830]    81645 ms: Mark-sweep 1379.1 (1426.4) -> 1379.1 (1425.9) MB, 1444.6 / 0.0 ms  last resort GC in old space requested


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x4bdbd125879 <JSObject>
    1: set [native weak-collection.js:~27] [pc=0x3a7d66e635e9](this=0xf1ccced2389 <JSWeakMap>,key=0xf9e7da88691 <Object map = 0x10a0cc238bd1>,value=0x9ad697023e1 <false>)
    2: /* anonymous */(aka /* anonymous */) [/root/.autorest/@[email protected]/node_modules/@microsoft.azure/autorest-core/dist/lib/ref/yaml.js:~101] [pc=0x3a7d66de3999](this=0x9ad697022d1 <undefined>,cache...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x8cbf4c [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [node]
 6: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::NewInternal(v8::internal::Isolate*, int, v8::internal::PretenureFlag) [node]
 7: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::New(v8::internal::Isolate*, int, v8::internal::PretenureFlag, v8::internal::MinimumCapacity) [node]
 8: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::EnsureCapacity(v8::internal::Handle<v8::internal::ObjectHashTable>, int, v8::internal::PretenureFlag) [node]
 9: v8::internal::ObjectHashTable::Put(v8::internal::Handle<v8::internal::ObjectHashTable>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
10: v8::internal::JSWeakCollection::Set(v8::internal::Handle<v8::internal::JSWeakCollection>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
11: v8::internal::Runtime_WeakCollectionSet(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x3a7d66c042fd

@lmazuel
Copy link
Member

lmazuel commented Mar 18, 2019

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

@AutorestCI
Copy link
Contributor Author

Build SDK finished and cleaned

@tjprescott
Copy link
Member

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

@AutorestCI
Copy link
Contributor Author

Build SDK finished and cleaned

@tjprescott
Copy link
Member

@lmazuel these changes worked. The responses are indeed all lists of strings.

@lmazuel lmazuel merged commit 874ca27 into master Mar 25, 2019
@lmazuel lmazuel deleted the restapi_auto_network/resource-manager branch March 25, 2019 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants