Skip to content

Conversation

@00Kai0
Copy link
Contributor

@00Kai0 00Kai0 commented Dec 11, 2020

No description provided.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 11, 2020

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 11, 2020

Swagger Generation Artifacts

️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 14a3c4a. SDK Automation 14.0.0
    command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️preview/portal/mgmt/2019-01-01-preview/portal [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️preview/portal/mgmt/2018-10-01-preview/portal [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️preview/portal/mgmt/2015-08-01-preview/portal [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 14a3c4a. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    cmderr	[generate.py] 2020-12-14 00:43:01 INFO [VERSION][Not Found] cannot find version for "com.azure.resourcemanager:azure-resourcemanager-portal"
    cmderr	[generate.py] 2020-12-14 00:43:01 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.1"
    cmderr	[generate.py] 2020-12-14 00:43:01 INFO autorest --version=3.0.6327 --use=@autorest/[email protected] --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/portal/azure-resourcemanager-portal --java.namespace=com.azure.resourcemanager.portal  --package-version=1.0.0-beta.1 --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --pipeline.modelerfour.flatten-payloads=false --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL ../azure-rest-api-specs/specification/portal/resource-manager/readme.md
    cmderr	[generate.py] 2020-12-14 00:43:40 INFO [CI][Success] Write to ci.yml
    cmderr	[generate.py] 2020-12-14 00:43:40 INFO [POM][Process] dealing with pom.xml
    cmderr	[generate.py] 2020-12-14 00:43:40 INFO [POM][Success] Write to pom.xml
    cmderr	[generate.py] 2020-12-14 00:43:40 INFO [POM][Process] dealing with root pom
    cmderr	[generate.py] 2020-12-14 00:43:40 INFO [POM][Success] Write to root pom
    cmderr	[generate.py] WARNING: An illegal reflective access operation has occurred
    cmderr	[generate.py] WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/vsts/.m2/repository/org/codehaus/groovy/groovy/3.0.0-beta-2/groovy-3.0.0-beta-2-indy.jar) to method java.util.Collections$UnmodifiableCollection.toString()
    cmderr	[generate.py] WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.ReflectionUtils
    cmderr	[generate.py] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    cmderr	[generate.py] WARNING: All illegal access operations will be denied in a future release
  • ️✔️azure-resourcemanager-portal [View full logs]  [Release SDK Changes]
    cmderr	[Inst] 2020-12-14 00:46:01 DEBUG Got artifact_id: azure-resourcemanager-portal
    cmderr	[Inst] 2020-12-14 00:46:01 DEBUG Got artifact: pom.xml
    cmderr	[Inst] 2020-12-14 00:46:01 DEBUG Got artifact: azure-resourcemanager-portal-1.0.0-beta.1-javadoc.jar
    cmderr	[Inst] 2020-12-14 00:46:01 DEBUG Got artifact: azure-resourcemanager-portal-1.0.0-beta.1-sources.jar
    cmderr	[Inst] 2020-12-14 00:46:01 DEBUG Got artifact: azure-resourcemanager-portal-1.0.0-beta.1.jar
    cmderr	[Inst] 2020-12-14 00:46:01 DEBUG Match jar package: azure-resourcemanager-portal-1.0.0-beta.1.jar
    cmderr	[Inst] 2020-12-14 00:46:01 DEBUG output: {"full": "curl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/12069/azure-sdk-for-java/azure-resourcemanager-portal/azure-resourcemanager-portal-1.0.0-beta.1.jar\" -o azure-resourcemanager-portal-1.0.0-beta.1.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-portal -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-portal-1.0.0-beta.1.jar -Dpackaging=jar -DgeneratePom=true\n"}
️⚠️ azure-sdk-for-js warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 14a3c4a. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/portal/resource-manager/readme.md
    warn	No file changes detected after generation
    warn	No package detected after generation
️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 14a3c4a. Schema Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	autorest --use=@autorest/[email protected] --version=3.0.6320 --azureresourceschema --multiapi --title=none --pass-thru:subset-reducer --azureresourceschema-folder=/home/vsts/work/1/s/azure-resource-manager-schemas/azure-resource-manager-schemas ../../azure-rest-api-specs/specification/portal/resource-manager/readme.md
  • ️✔️portal [View full logs]  [Release Schema Changes]
    cmderr	[resource-manager] node-pre-gyp
    cmderr	[resource-manager] WARN Using request for node-pre-gyp https download
    cmderr	[resource-manager]  [email protected] No repository field.
    cmderr	[resource-manager]  SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
    cmderr	[resource-manager]  SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 14a3c4a. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	python3 -m venv venv
    command	pip install --upgrade setuptools wheel pip
    command	pip install pathlib jinja2 msrestazure
    command	autorest --version=V2 [email protected]/autorest.python@~4.0.71 --python --python-mode=update --multiapi --keep-version-file --no-async --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk ../azure-rest-api-specs/specification/portal/resource-manager/readme.md
  • ⚠️azure-mgmt-portal [View full logs]  [Release SDK Changes]
    cmderr	[buildConf] INFO:packaging_tools:Building template azure-mgmt-portal
    cmderr	[buildConf] INFO:packaging_tools.conf:Build default conf for azure-mgmt-portal
    cmderr	[buildConf] INFO:packaging_tools:Template done azure-mgmt-portal
    cmderr	[buildPackage] warning: no files found matching '*.py' under directory 'tests'
    cmderr	[buildPackage] warning: no files found matching '*.yaml' under directory 'tests'
    cmderr	[buildPackage] warning: no files found matching '*.py' under directory 'tests'
    cmderr	[buildPackage] warning: no files found matching '*.yaml' under directory 'tests'
    cmderr	[changelogSetup] WARNING: Skipping azure-nspkg as it is not installed.
    cmderr	[changelogReport] INFO:__main__:Looking for Autorest generated package in azure.mgmt.portal
    cmderr	[changelogReport] INFO:__main__:Found azure.mgmt.portal
    cmderr	[changelogReport] INFO:__main__:Working on azure.mgmt.portal
    cmderr	[changelogReport] INFO:__main__:Report written to sdk/portal/azure-mgmt-portal/code_reports/latest/report.json
    cmderr	[changelogReportLatest] INFO:__main__:Download versions of azure-mgmt-portal on PyPI
    cmderr	[changelogReportLatest] Traceback (most recent call last):
    cmderr	[changelogReportLatest]   File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    cmderr	[changelogReportLatest]     "__main__", mod_spec)
    cmderr	[changelogReportLatest]   File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    cmderr	[changelogReportLatest]     exec(code, run_globals)
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/azure-sdk-for-python/tools/azure-sdk-tools/packaging_tools/code_report.py", line 354, in <module>
    cmderr	[changelogReportLatest]     main(args.package_name, args.version, args.no_venv, args.pypi, args.last_pypi, args.output)
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/azure-sdk-for-python/tools/azure-sdk-tools/packaging_tools/code_report.py", line 218, in main
    cmderr	[changelogReportLatest]     versions = [str(v) for v in client.get_ordered_versions(package_name)]
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/azure-sdk-for-python/tools/azure-sdk-tools/pypi_tools/pypi.py", line 40, in get_ordered_versions
    cmderr	[changelogReportLatest]     project = self.project(package_name)
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/azure-sdk-for-python/tools/azure-sdk-tools/pypi_tools/pypi.py", line 25, in project
    cmderr	[changelogReportLatest]     response.raise_for_status()
    cmderr	[changelogReportLatest]   File "/home/vsts/work/1/s/azure-sdk-for-python_tmp/venv/lib/python3.6/site-packages/requests/models.py", line 941, in raise_for_status
    cmderr	[changelogReportLatest]     raise HTTPError(http_error_msg, response=self)
    cmderr	[changelogReportLatest] requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/pypi/azure-mgmt-portal/json/
    warn	Script return with result [warning] code [1] signal [null] cwd [azure-sdk-for-python]: python
    warn	Not exact 2 reports found:
    warn		code_reports/latest/report.json
    warn	Not generating changelog.
️⚠️ azure-cli-extensions warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 14a3c4a. Azure CLI Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	python3 -m venv venv
    command	pip install --upgrade setuptools wheel pip
    command	pip install pathlib jinja2 msrestazure
    command	autorest --az --use=@autorest/az@latest --version=3.0.6271 --clear-output-folder=true --azure-cli-extension-folder=/home/vsts/work/1/s/azure-cli-extensions ../azure-rest-api-specs/specification/portal/resource-manager/readme.md
    cmdout	[Autorest] WARNING (PreCheck/AllOfWhenYouMeantRef): Schema 'ProxyResource' is using an 'allOf' instead of a $ref. This creates a wasteful anonymous type when generating code.
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ResourceProviderOperation-display' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'Resource' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'ProxyResource' with an undefined type and 'allOf'/'anyOf'/'oneOf' is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/CheckDuplicateSchemas): Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
    cmdout	[Autorest] WARNING (): Operation Update has already existed in group! Skip split!
    cmdout	[Autorest] WARNING (): cli.auto-parameter-hidden is not true, skip visibility cleaner
    cmderr	[Autorest] NO TEST SCENARIO PROVIDED - DEFAULT WILL BE USED
    cmderr	[Autorest] ADD FOLLOWING SECTION TO readme.cli.md FILE TO MODIFY IT
    cmderr	[Autorest] --------------------------------------------------------
    cmderr	[Autorest]   test-scenario:
    cmderr	[Autorest]     - name: /Dashboards/put/Create or update a Dashboard
    cmderr	[Autorest]     - name: /Dashboards/get/Get a Dashboard
    cmderr	[Autorest]     - name: /Dashboards/get/List all custom resource providers on the resourceGroup
    cmderr	[Autorest]     - name: /Dashboards/get/List all custom resource providers on the subscription
    cmderr	[Autorest]     - name: /Dashboards/patch/Update a Dashboard
    cmderr	[Autorest]     - name: /Dashboards/delete/Delete a Dashboard
    cmderr	[Autorest]     - name: /ListTenantConfigurationViolations/post/Get list of of items that violate tenant's configuration
    cmderr	[Autorest]     - name: /TenantConfigurations/put/Create or update Tenant configuration
    cmderr	[Autorest]     - name: /TenantConfigurations/get/Get list of Tenant configurations
    cmderr	[Autorest]     - name: /TenantConfigurations/get/Get Tenant configuration
    cmderr	[Autorest]     - name: /TenantConfigurations/delete/Delete Tenant configuration
    cmderr	[Autorest] --------------------------------------------------------
️️✔️[Staging] ApiDocPreview succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@PhoenixHe-NV
Copy link

@00Kai0 Do you want to merge all of your track2 related PR?

@00Kai0
Copy link
Contributor Author

00Kai0 commented Dec 12, 2020

@PhoenixHe-msft Sure, if you can :)

@PhoenixHe-NV PhoenixHe-NV merged commit 14a3c4a into Azure:master Dec 14, 2020
dabenhamMic pushed a commit to dabenhamMic/azure-rest-api-specs that referenced this pull request Dec 14, 2020
giromm2ms pushed a commit to giromm2ms/azure-rest-api-specs that referenced this pull request Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants