-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
virtual wan/gateway disconnect vpn connections #7747
virtual wan/gateway disconnect vpn connections #7747
Conversation
Can one of the admins verify this patch? |
Automation for azure-sdk-for-pythonEncountered a Subprocess error: (azure-sdk-for-python)
Command: ['/usr/local/bin/autorest', '/tmp/tmp4iwwyfea/rest/specification/network/resource-manager/readme.md', '--keep-version-file', '--multiapi', '--no-async', '--python', '--python-mode=update', '--python-sdks-folder=/tmp/tmp4iwwyfea/sdk/sdk', '[email protected]/[email protected]', '--version=preview'] AutoRest code generation utility [version: 2.0.4283; node: v10.15.3]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
There is a new version of AutoRest available (2.0.4407).
> You can install the newer version with with npm install -g autorest@latest
Loading AutoRest core '/root/.autorest/@[email protected]/node_modules/@microsoft.azure/autorest-core/dist' (2.0.4407)
Loading AutoRest extension '@microsoft.azure/autorest.python' (4.0.70->4.0.70)
Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.44->2.3.44)
Processing batch task - {"tag":"package-2019-09"} .
<--- Last few GCs --->
[70456:0x273ecc0] 64978 ms: Scavenge 1364.3 (1423.7) -> 1363.6 (1424.2) MB, 5.1 / 0.0 ms (average mu = 0.198, current mu = 0.141) allocation failure
[70456:0x273ecc0] 64991 ms: Scavenge 1364.5 (1424.2) -> 1363.8 (1424.7) MB, 6.8 / 0.0 ms (average mu = 0.198, current mu = 0.141) allocation failure
[70456:0x273ecc0] 65010 ms: Scavenge 1364.7 (1424.7) -> 1364.0 (1425.2) MB, 14.0 / 0.0 ms (average mu = 0.198, current mu = 0.141) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x47977ddbe1d]
1: StubFrame [pc: 0x47977dd389d]
Security context: 0x38946ae9e6e9 <JSObject>
2: split [0x38946ae906c9](this=0x34f0fb41a4c9 <String[61]: definitions/ConnectivityInformation/properties/avgLatencyInMs>,0x34f0fb41a4f1 <JSRegExp <String[2]: \/>>)
3: parsePointer [0x2801c0e157a1] [/node_modules/@microsoft.azure/datastore/dist/json-pointer.js:~222] [pc=0x47978315a26](this=0x2801c0e1b2c1 <Object ma...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x8dc510 node::Abort() [node]
2: 0x8dc55c [node]
3: 0xad9b5e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xad9d94 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xec7bf2 [node]
6: 0xec7cf8 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [node]
7: 0xed3dd2 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
8: 0xed4704 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
9: 0xed7371 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node]
10: 0xea07f4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
11: 0x114018e v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x47977ddbe1d |
Automation for azure-sdk-for-goA PR has been created for you: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualWan.json
Outdated
Show resolved
Hide resolved
specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualWan.json
Show resolved
Hide resolved
specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualWan.json
Outdated
Show resolved
Hide resolved
specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualWan.json
Show resolved
Hide resolved
...tion/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualNetworkGateway.json
Outdated
Show resolved
Hide resolved
...tion/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualNetworkGateway.json
Outdated
Show resolved
Hide resolved
...tion/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualNetworkGateway.json
Outdated
Show resolved
Hide resolved
...tion/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualNetworkGateway.json
Outdated
Show resolved
Hide resolved
...tion/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualNetworkGateway.json
Show resolved
Hide resolved
...tion/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualNetworkGateway.json
Outdated
Show resolved
Hide resolved
...tion/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualNetworkGateway.json
Outdated
Show resolved
Hide resolved
specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/virtualWan.json
Outdated
Show resolved
Hide resolved
...ft.Network/stable/2019-11-01/examples/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json
Outdated
Show resolved
Hide resolved
.../Microsoft.Network/stable/2019-11-01/examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json
Outdated
Show resolved
Hide resolved
.../Microsoft.Network/stable/2019-11-01/examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json
Outdated
Show resolved
Hide resolved
...ft.Network/stable/2019-11-01/examples/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json
Outdated
Show resolved
Hide resolved
@NullMDR
I think this is related to Azure/autorest#3279. Could you please take a look? |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
@number123 This bug was recently fixed on latest master, please update your network-december-release branch. |
merge with the master of azure rest api specs |
@ninweninwe I've opened separate PR to sync master and release branch: #7764 |
npm run-script prettier-fix. But got this error. Any idea? |
is there a way to know where the style issue is? I could not make prettier working in windows. |
@ninweninwe Please run |
I have prettier installed. It does not work. [E:\az-github\azure-rest-api-specs\specification\network\resource-manager\Microsoft.Network\stable\2019-11-01]npm run prettier --write "virtualWan.json"
[error] No matching files. Patterns tried: virtualWan.json !/node_modules/ !./node_modules/** !/.{git,svn,hg}/ !./.{git,svn,hg}/** npm ERR! A complete log of this run can be found in: |
actually, I tried other json prettier tool and could not tell any difference of the current files. |
The PR failed on The job running on agent Azure Pipelines 27 ran longer than the maximum time of 180 minutes. That prettier check can be ignored. Can anyone trigger another build? @number213 |
@ninweninwe You should use |
And for the java sdk timeout issue I suggest to remove unused tags in batch section in readme.java.md to speedup generation |
[error] No matching files. Patterns tried: "--write" "specification/network//*/virtualWan.json" !/node_modules/** !./node_modules/** !/.{git,svn,hg}/ !./.{git,svn,hg}/** still not working |
can you give me more details? you mean this? why does it not have 2019-11 tag? batch:
- tag: package-2019-09 |
The issues with prettier was that you ran it against I ran the command and pushed prettified files as it's taking too much time to resolve.
|
[error] No matching files. Patterns tried: "--write" "specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/examples/*.json" !/node_modules/ !./node_modules/** !/.{git,svn,hg}/ !./.{git,svn,hg}/** I ran the same cmd. But in my machine, it could not even run. what else is missing? do I need to setup anything? I am using windows and installed prettier already. |
@ninweninwe I ran the command from repo's root ( |
I did the same under the repo's root. here is the log. what is the version of node, npm and prettier on your box? 0 info it worked if it ends with ok |
/azp run public.rest-api-specs |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run public.rest-api-specs |
Azure Pipelines successfully started running 1 pipeline(s). |
Good to go, @zikalino please merge |
* Adds base for updating Microsoft.Network from version stable/2019-09-01 to version 2019-11-01 * Updates readme * Updates API version in new specs and examples * Add missing spec reference in readme.md (#7726) * added username (#7779) * adding alisas to code owners file (#7786) * Committing changes to Fix Swagger descriptions to use "Reference to" … (#7787) * Committing changes to Fix Swagger descriptions to use "Reference to" instead of "Reference of" * upgrade rest-api-specs-scripts version (#7712) * bump avocado version to support $(this-folder) (#7743) * regenerate package-lock.json (#7756) * Committing changes with formatted descriptions * Committing changes to remove verbs from Swagger descriptions (#7788) * Committing changes to remove verbs from Swagger descriptions * upgrade rest-api-specs-scripts version (#7712) * bump avocado version to support $(this-folder) (#7743) * regenerate package-lock.json (#7756) * Committing changes as per review comments * committing changes to fix java sdk timeout issue (#7802) * IpGroups reference in AzureFirewall (#7807) * IpGroups reference in AzureFirewall * Fixed examples * Committing changes to remove verbs from Swagger descriptions (#7788) * Committing changes to remove verbs from Swagger descriptions * upgrade rest-api-specs-scripts version (#7712) * bump avocado version to support $(this-folder) (#7743) * regenerate package-lock.json (#7756) * Committing changes as per review comments * committing changes to fix java sdk timeout issue (#7802) * IpGroups reference in AzureFirewall * Fixed examples * prettier fix * prettier --write * virtual wan/gateway disconnect vpn connections (#7747) * virtual wan/gateway disconnect vpn connections * fix the PR comments * fix the PR * upgrade rest-api-specs-scripts version (#7712) * bump avocado version to support $(this-folder) (#7743) * regenerate package-lock.json (#7756) * fix build error * match class name with p2svpnconnectionrequest in nrp * address the PR comments * address the PR comments * Prettify Network examples * fix format of json * Adding management IP configuration for Azure Firewall (#7851) * Adding management IP configuration to firewall * Changing description wording back * Adding type property to AzureFirewallIpConfiguration * Bumping API version in example files * Fixing style issues * Missed period at end of description * Added connection monitor to networkWatcher swagger (#7881) * Added connection monitor to networkWatcher swagger * Added tests for connection monitor * Added NetworkWatcherConnectionMonitorUpdateTags test * Removed reference on connectionMOnitorV1 in readme.md * Suppressed DefinitionsPropertiesNamesCamelCase error * Fixed warnings and added example cor connectionMonitorV2 creation * Fixed formatting in NetworkWatcherConnectionMonitorV2Create test * Added connectionMonitorType property to connectionMonitorResult * Fixed networkWatcher swagger based on CR. Run prettier check * Minor changes * Run prettier check for networkWatcher * Adding note about API (#8104) being in Preview * Reverted express route changes brought in by a44f306#diff-2f0aa6e57d2b97956e1fb54558cf4cdeR1714 * Reverted changes made by commit a44f306#diff-2f0aa6e57d2b97956e1fb54558cf4cdeR1714 * Adding the structure of urlConfiguration in rewriteRuleActionSet (#7905) * Url Configuration swagger changes for Url Rewrite feature of Application Gateway * prettier fix * DDOS protected IP flag for public IP (#8042) * DDOS protected IP flag for public IP * Protected IP property in ddos setting * fixing build errors * Retriggering the build * Added flowLog to NetworkWatcher swagger + examples (#8025) * Added flowLog ro NetworkWatcher swagger + examples * Cleaned up required properties for trafficAnalytics flow log * Fixes based on CR Co-authored-by: solhaile <[email protected]> Co-authored-by: Ranjani Hatti <[email protected]> Co-authored-by: ssripadham <[email protected]> Co-authored-by: Ning Wei <[email protected]> Co-authored-by: iatodoro <[email protected]> Co-authored-by: irrogozh <[email protected]> Co-authored-by: Dalan Mendonca <[email protected]> Co-authored-by: amwate <[email protected]> Co-authored-by: Abhinav Jain <[email protected]> Co-authored-by: manchit <[email protected]>
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.