Skip to content

SOLR-15852 Update smoketester for 9.0#581

Merged
janhoy merged 5 commits intoapache:mainfrom
janhoy:solr15852-smoketester90
Feb 2, 2022
Merged

SOLR-15852 Update smoketester for 9.0#581
janhoy merged 5 commits intoapache:mainfrom
janhoy:solr15852-smoketester90

Conversation

@janhoy
Copy link
Contributor

@janhoy janhoy commented Jan 31, 2022

https://issues.apache.org/jira/browse/SOLR-15852

  • Expected folders in binary and source distro
  • Expected manifest headers
  • Allow gradle-wrapper.jar jar in src release
  • --dev-mode for less strict branch checks during script dev
  • Smoketester can pull release from a normal httpd website

Currently fails on a test-release due to https://issues.apache.org/jira/browse/SOLR-15966 (javax jars in release)

@janhoy janhoy marked this pull request as draft January 31, 2022 23:48
def attemptDownload(urlString, fileName):
fIn = urllib.request.urlopen(urlString)
raw_request = urllib.request.Request(urlString)
raw_request.add_header('User-Agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious about what requires this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I generate some test releases before the real RC, and this is needed to be able to download artifacts from a plain httpd server like this, instead of dist.apache.org. It adds a header to avoid some 406 response, and also pulls the file name from href instead of display-part of the tag, since httpd will abbreviate long file names with dots.

@janhoy janhoy marked this pull request as ready for review February 2, 2022 22:52
@janhoy janhoy merged commit bfc029d into apache:main Feb 2, 2022
@janhoy janhoy deleted the solr15852-smoketester90 branch February 2, 2022 22:53
janhoy added a commit that referenced this pull request Feb 2, 2022
janhoy added a commit that referenced this pull request Feb 2, 2022
limingnihao pushed a commit to limingnihao/solr that referenced this pull request Feb 9, 2022
* main: (132 commits)
  SOLR-15907 Upgrade JWT dependencies mock-oauth2-server and jose4j
  SOLR-15907: Establish jwt-auth module
  SOLR-15907 Apply spotless only on JWT classes (apache#616)
  SOLR-14569: Configuring a shardHandlerFactory on the /select requestHandler results in HTTP 401 when searching on alias in secured Solr.
  SOLR-15984: Ensure all used dependencies are declared
  SOLR-15964: move javadoc to correct method
  SOLR-15964: Transient cores: don't evict open ones (apache#580)
  SOLR-15259: hl.fragAlignRatio now defaults to 0.33 (apache#573)
  Revert "SOLR-15962: surround parser & highlighting: ensure works"
  SOLR-15124: Fix ThreadDumpHandlerTest (apache#589)
  SOLR-12901: UH: handle highlighting no fields Fixes CustomHighlightComponentTest.
  SOLR-15587: Don't use the UrlScheme singleton on the client-side (apache#460)
  SOLR-12901: make hl.method=unified the default (apache#579)
  SOLR-15973: Fix TestSchemaDesignerConfigSetHelper#testDownloadAndZip failure on Windows
  SOLR-15558: Identify zombie processes when stopping
  SOLR-15852 Update smoketester for 9.0 (apache#581)
  SOLR-14686: fix MDC log clear in SolrCore.close (apache#583)
  SOLR-15886: remove showItems (apache#490)
  SOLR-15972 Remove gradle-wrapper.jar (apache#590)
  SOLR-15926: Fix git links and versions in the ref guide (apache#548)
  ...
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