Adding support for fenceAgentRemediationTemplate

Short description:
support for fenceAgentRemediationTemplate
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

@myakove Hi , pre-commit fails . That's how timeout should be : https://github.com/medik8s/fence-agents-remediation/blob/main/api/v1alpha1/fenceagentsremediation_types.go#L80

/verified

/verified

/verified

/verified

@myakove @rnetser Hello, can this be merged. Thanks


Let's add a page for box alignment

The Box Alignment specification defines how align-content works. It's applied to Flexbox and Grid for years. But it's also defined in the specification to work inside block containers and tables.
Browsers are finally shipping this feature, including Safari 17.4 (now in beta). Developers are going to want to know which browsers have support.

Status:

Safari 17.4 beta + STP
Chrome 123 (source)
Firefox in progress, but work not landed yet (issue)

Update: It's already shipping in Firefox 125.


article.publish_date for Economic Times needs to scrape  tag

extractors.py > ContentExtractor > get_publishing_date() uses the list PUBLISH_DATE_TAGS to find publishing date for an article.
In case of Economic Times (https://economictimes.indiatimes.com/) a major Indian business newspaper, html tag  is used to hold the "Last Updated" time field. This tag can be added to PUBLISH_DATE_TAGS.

In some cases using the "Last Updated" tag might not be beneficial to some end users querying other sites that use this same tag.  In some cases those other users might want the article's original publish date and not the last article update date.
I covered how to extract this tag in a Newspaper usage document that I put together and shared publicly.    https://github.com/johnbumgarner/newspaper3_usage_overview


The correct env var for broken configis "BROKER_URL" and not "DEFAULT_BROKER".

The correct env var for broker is BROKER_URL and not DEFAULT_BROKER (which is the var that receives the os.getenv value in the module).

Thank you 😊


[#381] Add prepare hook for action-button

What kind of change does this PR introduce?

Bugfix
[x] Feature
Code style update
Refactor
Build tools
Documentation
Other, please describe:

Does this PR introduce a breaking change?

Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
Does this PR fulfill these requirements:

[x] All tests are passing
[x] yarn pretty has been run
[x] Commits reference open issues

Additional Information
See #381

Codecov Report

Merging #382 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #382   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          25     25
  Lines         872    875    +3
=====================================
+ Hits          872    875    +3

Impacted Files
Coverage Δ

src/addons/action-button.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5d4c40...32458ff. Read the comment docs.

@nhunzaker Merge when ready!


previous compilation file was not self-contained.

Launching lib/main.dart on iPhone Xs in debug mode...
Compiler message:
Warning: Tried to initialize from a previous compilation (build/app.dill.track.dill),
but the file was not self-contained. This might be a bug.

The Dart team would greatly appreciate it if you would take a moment to report
this problem at http://dartbug.com/new.

If you are comfortable with it, it would improve the chances of fixing any bug
if you included the file
/var/folders/31/vhvrysrx1h17pvzhwxsywpn400gq16/T/initialize_from.dill42b4BC/initialize_from.dill.gz
in your error report, but be aware that this file includes your source code.
Either way, you should probably delete the file so it doesn't use unnecessary
disk space.

File: initialize_from.dill.gz
Another instance of https://github.com/dart-lang/sdk/issues/36032, perhaps?

This appears to be a duplicate of #37043

Yes, it's #36032.
With a new sdk (one with 5eff2a0374cb89e335c138889c5125b48d12894d) we'll issue a "CanonicalNameSdkError" and not issue the warning in the incremental compiler.
The underlying issue is - again - a changed sdk (missing root::dart:ui::Rect::@getters::left because left became a field instead of a getter).


Hive dialect for HiveWriter and HiveSource

Essentially means supporting all known Hive Types
The following test program shows writing Hive types using the HiveParquet serde
Note the record array below takes Hadoop writables - each writable has a set method which can be used to avoid massive object creation - use refelection
Also the Serde, InputFormat, OutputFormat classes can be ascertained from the Hive Meta store and instantiated via reflection.

// Schema (date type currently not supported even though documentation say so)
val tableProperties = new Properties
tableProperties.put(IOConstants.COLUMNS, "myBoolean,myTinyInt,mySmallInt,myInt,myBigInt,myFloat,myDouble,myDecimal,myString,myVarchar,myChar,myTimeStamp,myDate")
tableProperties.put(IOConstants.COLUMNS_TYPES, "boolean,tinyint,smallint,int,bigint,float,double,decimal(10,3),string,varchar(10),char(3),timestamp,date")
tableProperties.put(ParquetOutputFormat.COMPRESSION, CompressionCodecName.SNAPPY.name)
// Create the writer (output format can be ascertained from Hive MetaStore and instantiated via reflection)
val outputFormat = new MapredParquetOutputFormat
val jobConf = new JobConf()
val writer = outputFormat.getHiveRecordWriter(jobConf, path, null, true, tableProperties, null)
// Create the record (SERDE can be ascertained from Hive MetaStore and instantiated via reflection)
val parquetHiveSerDe = new ParquetHiveSerDe
parquetHiveSerDe.initialize(configuration, tableProperties)
val timeStampWritable = new TimestampWritable() // timestamp
timeStampWritable.setTime(System.currentTimeMillis())
val row = new ArrayWritable(classOf[ArrayWritable])
val recordArray = Array[Writable](
new BooleanWritable(true), // boolean
new ByteWritable(2), // tinyint
new ShortWritable(25), // smallint
new IntWritable(123), // int
new LongWritable(25L), // bigint
new FloatWritable(99.99F), // float
new DoubleWritable(999.99D), // double
new HiveDecimalWritable(HiveDecimal.create("99.232")), // decimal(10,3)
new Text("MyString"), // string
new Text("MyVarchar"), // varchar(10)
new Text("CHR"), // char(3)
timeStampWritable, // timestamp
new DateWritable(new Date(System.currentTimeMillis())) // date
)
row.set(recordArray)
// Write the record
writer.write(parquetHiveSerDe.serialize(row, parquetHiveSerDe.getObjectInspector))
// Close the writer
writer.close(true)

The latest 1.1 snapshot has full support for native parquet writing, subject to bug reports. I think we can close this now ?

Great I will do the following:

Create Hive tables with decimals and timestamps
Import data into Hive via EEL
Test queries in Hive/Spark/Impala


Add info message for TK_SEQ (arguments must be separated by a comma)

This PR adds info message on the argument subtyping as described by @Praetonus on #2211.
Obs.: I tried to add tests for this PR on test file badpony.cc, but I could not find any way of testing "Info". For the code below:
TEST_F(BadPonyTest, SequencesSeparatedByComma)
{
 // From issue #2211
 const char* src =
   "actor Main\n"
   "  new create(env: Env) =>\n"
   "    let t: U64 = 0\n"
   "    foo(\n"
   "      \"foo\"\n"
   "      t)\n"

   "  fun foo(str: String, t: U64) =>\n"
   "    None";

 TEST_ERRORS_3(src,
   "argument not a subtype of parameter",
   "U64 val is not a subtype of String val",
   "note that arguments must be separated by a comma");
}

The test fails with the message:

I know that it makes sense, as it is indeed 1 error message with 2 info messages.
I am sorry if here is the wrong place to ask, but as this is my first PR, is there any way that I can test info messages?
Thanks! Oh, and please let me know what I can do to improve this PR!

one OSX job failed to install dependencies and just stopped after 44 minutes. last output was compile output. unrelated to this PR. I restarted it.

It failed again for no apparent reason @mfelsche. That's weird xD

I restarted the job again, i collected the output and reported it in another issue where we try to hunt down the root cause


Spruce up maps + cleanup

One thing I can't figure out - stripe of base map, not covered by gridded precip even though the basemap was created based on that data's bbox.

Here's where this PR brings us:
overall storm transpose map

inputs-data map

inputs-geometry map

clipped data map

melted data map

This would close out #14, #25, #35, and #46

re: the missing stripe of data, my guess would be that maybe that stripe is just slightly narrower than the raster cell size, so it can't fit a row of data there?  Could be stemming from the GDP request, or something in the plotting maybe.

Everything else looks good 👍

Storm transpose fig is actually showing the difference in average precip when the watershed is transposed north, so it is using the scale. I wonder if there's a way to make that more obvious ... I should add the actual values on the map somewhere.

Oh I see, just wasn't thinking of it in that context.  Probably fine as long as the text says that then.

@wdwatkins ??

yeah, I think I should just do that - don't really like it on the map, it's not as pretty


make smoke tests not fail if row order varies

The smoke tests were failing because rows would come back in a different order.  This change makes it so that the order shouldn't matter.

The test failures (only in Windows) appear unrelated to this PR.  It seems like we ought to file an issue that links to the CI logs and merge this.  @keithing, does that sound OK?


convert average age/oldest/newest to lists

convert PR/issue average age, oldest, and newest to a list instead of a paragraph.

closed by https://github.com/how-is/how_is/pull/83


Synthesis failed for java-recommender

Hello! Autosynth couldn't regenerate java-recommender. :broken_heart:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmp_t6r05nf/googleapis'...
Cloning into '/tmpfs/tmp/tmp_t6r05nf/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '0d96f484a10cd7d4ca3abda2c4f7597dc2b6506a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Note: checking out '42ee97c1b93a0e3759bbba3013da309f670a90ab'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
Note: checking out '19465d3ec5e5acdb01521d8f3bddd311bcbee28d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 19465d3 build: use codecov's action, now that it's authless (#499)
Switched to a new branch 'autosynth-self-2'
2020-05-05 21:33:11 [INFO] Running synthtool
2020-05-05 21:33:11 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-05 21:33:11,955 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-05 21:33:12,090 synthtool > Ensuring dependencies.
2020-05-05 21:33:12,101 synthtool > Cloning googleapis.
2020-05-05 21:33:12,102 synthtool > Using precloned repo /tmpfs/tmp/tmp_t6r05nf/googleapis
2020-05-05 21:33:12,106 synthtool > Generating code for: //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java.
2020-05-05 21:33:12,216 synthtool > Failed executing bazel build //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/fbf504c2d52c4bdc6380ebb005dcc728/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmp_t6r05nf/googleapis/hs_err_pid26201.log

2020-05-05 21:33:12,217 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java']' returned non-zero exit status 37.
2020-05-05 21:33:12 [ERROR] Synthesis failed
HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Switched to branch 'autosynth-self'
Note: checking out '0d96f484a10cd7d4ca3abda2c4f7597dc2b6506a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Previous HEAD position was 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
HEAD is now at a3a0bf0f BREAKING_CHANGE: Removing TimeSeriesQueryLanguageCondition as an alert condition type. The condition type is unsupported and unused. It was originally added for the Monitoring Query Language Alpha feature. refactor!: Drop support for TimeSeriesQueryLanguageCondition as an alert condition type.
Previous HEAD position was 19465d3 build: use codecov's action, now that it's authless (#499)
HEAD is now at ab88356 fix: make .kokoro-autosynth executable (#522)
Switched to a new branch 'autosynth-46'
2020-05-05 21:33:12 [INFO] Running synthtool
2020-05-05 21:33:12 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-05 21:33:12,523 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-46
nothing to commit, working tree clean
2020-05-05 21:33:12,653 synthtool > Ensuring dependencies.
2020-05-05 21:33:12,664 synthtool > Cloning googleapis.
2020-05-05 21:33:12,665 synthtool > Using precloned repo /tmpfs/tmp/tmp_t6r05nf/googleapis
2020-05-05 21:33:12,669 synthtool > Generating code for: //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java.
2020-05-05 21:33:12,779 synthtool > Failed executing bazel build //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/fbf504c2d52c4bdc6380ebb005dcc728/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmp_t6r05nf/googleapis/hs_err_pid26236.log

2020-05-05 21:33:12,780 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java']' returned non-zero exit status 37.
2020-05-05 21:33:12 [ERROR] Synthesis failed
HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-recommender. :sob:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmpj04wsmlj/googleapis'...
Cloning into '/tmpfs/tmp/tmpj04wsmlj/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '0d96f484a10cd7d4ca3abda2c4f7597dc2b6506a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Note: checking out '42ee97c1b93a0e3759bbba3013da309f670a90ab'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
Note: checking out '19465d3ec5e5acdb01521d8f3bddd311bcbee28d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 19465d3 build: use codecov's action, now that it's authless (#499)
Switched to a new branch 'autosynth-self-2'
2020-05-07 07:02:23 [INFO] Running synthtool
2020-05-07 07:02:23 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-07 07:02:23,383 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-07 07:02:23,513 synthtool > Ensuring dependencies.
2020-05-07 07:02:23,525 synthtool > Cloning googleapis.
2020-05-07 07:02:23,526 synthtool > Using precloned repo /tmpfs/tmp/tmpj04wsmlj/googleapis
2020-05-07 07:02:23,530 synthtool > Generating code for: //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java.
2020-05-07 07:02:23,641 synthtool > Failed executing bazel build //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/7252d84fc5182d8d337a43723351d3a3/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpj04wsmlj/googleapis/hs_err_pid19186.log

2020-05-07 07:02:23,642 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java']' returned non-zero exit status 37.
2020-05-07 07:02:23 [ERROR] Synthesis failed
HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Switched to branch 'autosynth-self'
Note: checking out '0d96f484a10cd7d4ca3abda2c4f7597dc2b6506a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Previous HEAD position was 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
HEAD is now at 2fc2caaa chore: enable gapic v2 and proto annotation for bigquery/storage/v1beta2 API.
Previous HEAD position was 19465d3 build: use codecov's action, now that it's authless (#499)
HEAD is now at be74d3e build: do not fail builds on codecov errors (#528)
Switched to a new branch 'autosynth-54'
2020-05-07 07:02:23 [INFO] Running synthtool
2020-05-07 07:02:23 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-07 07:02:23,938 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-54
nothing to commit, working tree clean
2020-05-07 07:02:24,067 synthtool > Ensuring dependencies.
2020-05-07 07:02:24,079 synthtool > Cloning googleapis.
2020-05-07 07:02:24,080 synthtool > Using precloned repo /tmpfs/tmp/tmpj04wsmlj/googleapis
2020-05-07 07:02:24,084 synthtool > Generating code for: //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java.
2020-05-07 07:02:24,194 synthtool > Failed executing bazel build //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/7252d84fc5182d8d337a43723351d3a3/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpj04wsmlj/googleapis/hs_err_pid19221.log

2020-05-07 07:02:24,195 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java']' returned non-zero exit status 37.
2020-05-07 07:02:24 [ERROR] Synthesis failed
HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-recommender. :sob:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmpfvt93kvi/googleapis'...
Cloning into '/tmpfs/tmp/tmpfvt93kvi/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '0d96f484a10cd7d4ca3abda2c4f7597dc2b6506a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Note: checking out '42ee97c1b93a0e3759bbba3013da309f670a90ab'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
Note: checking out '19465d3ec5e5acdb01521d8f3bddd311bcbee28d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 19465d3 build: use codecov's action, now that it's authless (#499)
Switched to a new branch 'autosynth-self-2'
2020-05-08 03:28:18 [INFO] Running synthtool
2020-05-08 03:28:18 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-08 03:28:18,934 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-08 03:28:19,078 synthtool > Ensuring dependencies.
2020-05-08 03:28:19,088 synthtool > Cloning googleapis.
2020-05-08 03:28:19,089 synthtool > Using precloned repo /tmpfs/tmp/tmpfvt93kvi/googleapis
2020-05-08 03:28:19,093 synthtool > Generating code for: //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java.
2020-05-08 03:28:19,203 synthtool > Failed executing bazel build //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/8c2e667856d770163c740b6c86c46239/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpfvt93kvi/googleapis/hs_err_pid28849.log

2020-05-08 03:28:19,204 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java']' returned non-zero exit status 37.
2020-05-08 03:28:19 [ERROR] Synthesis failed
HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Switched to branch 'autosynth-self'
Note: checking out '0d96f484a10cd7d4ca3abda2c4f7597dc2b6506a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Previous HEAD position was 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
HEAD is now at 83816bb3 Add kokoro-specific .bazelrc file with arguments specific only for kokoro environments. This is to fix autosynth builds when it tries building older commits.
Previous HEAD position was 19465d3 build: use codecov's action, now that it's authless (#499)
HEAD is now at 4674113 build: use Bazel 3.0.0 for autosynth builds (#529)
Switched to a new branch 'autosynth-59'
2020-05-08 03:28:19 [INFO] Running synthtool
2020-05-08 03:28:19 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-08 03:28:19,540 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-59
nothing to commit, working tree clean
2020-05-08 03:28:19,687 synthtool > Ensuring dependencies.
2020-05-08 03:28:19,697 synthtool > Cloning googleapis.
2020-05-08 03:28:19,698 synthtool > Using precloned repo /tmpfs/tmp/tmpfvt93kvi/googleapis
2020-05-08 03:28:19,702 synthtool > Generating code for: //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java.
2020-05-08 03:28:19,812 synthtool > Failed executing bazel build //google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/8c2e667856d770163c740b6c86c46239/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpfvt93kvi/googleapis/hs_err_pid28884.log

2020-05-08 03:28:19,813 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/recommender/v1beta1:google-cloud-recommender-v1beta1-java']' returned non-zero exit status 37.
2020-05-08 03:28:19 [ERROR] Synthesis failed
HEAD is now at 0d96f48 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#167)
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.


fix: load createContentScriptMount for .ts files too (not only .tsx)

this limitation was, and still is, pretty meh,
because it's implicit, and hard to find.

the default template one gets when running plasmo init
has content.ts (NOT .tsx), but includes react content.
this will cause confusion, esp. for new users.
further, a .ts file can import a component from a .tsx file,
thus this restriction for only .tsx files does not make sense.

i don't think this is the proper solution,
but will help in the meantime.

ts file can import JSX, however editor and parser will not understand the syntax properly since they mostly look at extension. The idea of enforcing tsx for content-script UI vs ts for plain content-script is the key idea.
The idea within plasmo is that the mounting code is meant to do jsx stuff (all abstracted away). If people don't need the jsx stuff, then adding the wrapper would be unnecessary.

Also, the doc explicitly said for content-script ui, tsx is required: https://docs.plasmo.com/workflows/content-scripts#injecting-ui-elements

right, but for content scripts, the default recommendation is content.ts, and it can easily import a react component which indeed is jsx.

Note that there are 2 concepts: content-script vs content-script-ui. The latter is more of a Plasmo concept. Extension content script does not mount UI into webpage, and have wider use-case.
When you add a src directory, all source code will need to be put inside src: https://docs.plasmo.com/customization#using-the-src-directory-for-source-code

Note that there are 2 concepts: content-script vs content-script-ui. The latter is more of a Plasmo concept. Extension content script does not mount UI into webpage, and have wider use-case.

mhm, i was expecting content.ts to mount ui anyway. that's fair.
in the future you can probably provide some warnings, esp. if e.g. getRootContainer is exported, but file won't load any UI. but that's a nice-to-have.


[FEA] Explain API/Qualification improvements

Is your feature request related to a problem? Please describe.
Currently the explain api just dumps out text of what can run on GPU and what won't. It would be nice to aggregate that information together to an easier readable format. Also if possible include other metrics and data from qualification tool to really give the user idea if this is a good candidate without them having to manually combine them.

I totally agree. I did a quick hack with this type of thing and it worked out okay. The biggest problem is that the plan when we get work on it has not gone through the exchange reuse optimization yet. That means that we might end up counting some paths multiple times in any roll-up metrics.


[Event Request] New Event added in Codeunit 99000774 LOCAL FinitelyLoadCapForward(TimeType : 'Setup Time,Run Time';ConstrainedCapacity : Record "Capacity Constrained Resource";ResourceIsConstrained : Boolean;ParentWorkCenter : Record "Capacity Constrained Resource";ParentIsConstrained : Boolean)

New Event added in Codeunit 99000774 LOCAL FinitelyLoadCapForward(TimeType : 'Setup Time,Run Time';ConstrainedCapacity : Record "Capacity Constrained Resource";ResourceIsConstrained : Boolean;ParentWorkCenter : Record "Capacity Constrained Resource";ParentIsConstrained : Boolean)
Add new local variable IsHandled (Boolean)

LOCAL [IntegrationEvent] OnBeforeCalculateStartTimeInFinitelyLoadCapForward(VAR IsHandled : Boolean)

Dear Alexander,
I had made several event requests in January and all were confirmed quite some time ago. Is it possible to answer, when you can give further comment on this specific event request?
Thanks in advance,
Kind regards,
Shreyas Dave

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


make extension restartless + add new prefs for Oculus 0.8 runtime & Nightly (fixes #20; fixes #22) + disable e10s (fixes #15)

testing welcome!

this also handles #15

extension: https://drive.google.com/file/d/0B52bDqlwf1F9ZTJSTXRycjIxb1E/view?usp=sharing

using the aforementioned .xpi extension I've built, I was able to confirm that everything works great :tada:.
I tested with the following browsers:

Firefox release channel - 43.0.4
Firefox Developer Edition - 46.0a2 (2016-01-28)
Firefox Nightly - 47.0a1 (2016-01-28)

I tested with the following platforms:

Windows 8
Mac OS X El Capitan

I tested the following scenarios:

Upgrade 0.2.0 extension to 0.3.0 extension → VR still works, prefs correctly set (and new ones added)

Uninstall 0.3.0 extension → restart Firefox → prefs correctly reverted (and new ones removed)

Install 0.3.0 extension from scratch -> VR immediately works (without a browser restart), prefs correctly set

Uninstall 0.3.0 extension → restart Firefox → prefs correctly reverted (and new ones removed)

would be great to get a couple more folks to test. @caseyyee? @dmarcos? anyone with immediate access to Windows machines …

I recommend that we set these preferences in the updated addon:
dom.vr.enabled = true
(Enables WebVR, no needed for nightly, but need to keep for other versions)
browser.tabs.remote.autostart.2 = false
(Disables e10s)
dom.vr.poseprediction.enabled = true
(Enables pose prediction.  This pref is not yet added to nightly, but
will be landed early next week.  I think its safe for you to add it in
advance)

@kearwood all of those were already set in the extension

@caseyyee @kearwood: could y'all take a look at my recent updates here? I simplified things a ton and did a lot of testing.
I also have some branches with cool things that introduce simple add-on prefs for toggling mirroring. the hope is to soon/eventually introduce some of the functionality @caseyyee was working in originally in https://github.com/MozVR/webvr-addon-v2.
who knew add-ons could be so fun!?

latest version to test: https://drive.google.com/file/d/0B52bDqlwf1F9V04yN2ZyZkNtME0/view?usp=sharing

a few hours ago I submitted to AMO this as a new version of the extension. if anyone finds anything, let me know ASAP. things look good to me.


Stripping off extra HTML tags

So i used it for an html file for test and it took off the last  tag.
Any solutions?

I'm sure he would appreciate the source html that you used, otherwise this doesn't help.

+1 :) Could you provide an example, in most cases this would be a result of htmlparser2 stripping the tag though, which could indicate the HTML was invalid.

Hi,
So i looked into the code, the problem was that the HTML was invalid. Thank you anyways :)

Your welcome, glad you got it resolved.


Submit benchmark to https://github.com/kenjis/php-framework-benchmark

I guess this would attract people and also show the speed of Spiral.
https://github.com/kenjis/php-framework-benchmark

Sure, we will deal with it once documentation is updated. The current benchmark is available in this repo: https://github.com/wolfy-j/FrameworkBenchmarks

Also, I believe the benchmark you provided is based on Apache mod_php, we are not using it and altering benchmark might be an issue.

Thank you!


[Bug]: docker/compose:1.29.2 image is amd64 and requires QEMU emulator to work on Arm

Module
Core
Testcontainers version
1.16.2
Using the latest Testcontainers version?
Yes
Docker version
Client: Docker Engine - Community
 Version:           20.10.14
 API version:       1.41
 Go version:        go1.16.15
 Git commit:        a224086
 Built:             Thu Mar 24 01:47:20 2022
 OS/Arch:           linux/arm64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.14
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.15
  Git commit:       87a90dc
  Built:            Thu Mar 24 01:45:39 2022
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.4.3
  GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
 runc:
  Version:          1.0.0-rc92
  GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

What happened?
2022-06-30 16:54:03.424 ERROR 9129 --- [    Test worker] ]]>🐳<![CDATA[ [docker/compose:1.29.2]               : Log output from the failed container:
standard_init_linux.go:219: exec user process caused: exec format error

Requires installation of emulators:
docker run --privileged --rm tonistiigi/binfmt --install amd64

Relevant log output
No response
Additional Information
No response

As I see it, there aren't any ARM images available in the upstream, correct?
https://hub.docker.com/r/docker/compose
If this is the case, maybe try to raise an issue in the upstream. If there are images and I simply did not find them, can you point me to them please?

#5608 adds support to compose v2 which will be released in the next version.


Implement SLSA Level 3

What would you like to be added (User Story)?
As a operator
I want SLSA level 3 for Rancher Turtles
So that i have confidence in its provenance and because my org requires this.
Detailed Description
Resources:

https://github.blog/2022-04-07-slsa-3-compliance-with-github-actions/
Kyverno implements SLSA level 3

Anything else you would like to add?
No response
Label(s) to be applied
/kind feature

Moving to next release

Fixed in #158


Fix mountoption issue in  rbd

use mountoptions when mounting rbd to stagingpath
in stagevolume request, add E2E for mount options
fixes: #846
updates: #757
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>(cherry picked from commit b4e6504e9b6cf0e9920deb5b230061c22adf5b1b)

we need to manually merge this PR as this is backported one


Writer::into_stream_writer() does not work with borrowed Write implementations

Sample code exhibiting the issue:
use std::io::Write;

fn encode() -> Vec<u8> {
    let mut pngbuf: Vec<u8> = Vec::new();

    {
        let mut encoder = png::Encoder::new(std::io::Cursor::new(&mut pngbuf), 1, 1);
        encoder.set_color(png::ColorType::Grayscale);
        encoder.set_depth(png::BitDepth::Eight);

        let mut writer = encoder
            .write_header()
            .unwrap()
            .into_stream_writer()
            .unwrap();

        writer.write_all(b"x").unwrap();
    }

    pngbuf
}

leads to the following error:
error[E0597]: `pngbuf` does not live long enough
  --> src/main.rs:7:66
   |
7  |         let mut encoder = png::Encoder::new(std::io::Cursor::new(&mut pngbuf), 1, 1);
   |                                             ---------------------^^^^^^^^^^^-
   |                                             |                    |
   |                                             |                    borrowed value does not live long enough
   |                                             argument requires that `pngbuf` is borrowed for `'static`
...
21 | }
   | - `pngbuf` dropped here while still borrowed

error[E0505]: cannot move out of `pngbuf` because it is borrowed
  --> src/main.rs:20:5
   |
7  |         let mut encoder = png::Encoder::new(std::io::Cursor::new(&mut pngbuf), 1, 1);
   |                                             ---------------------------------
   |                                             |                    |
   |                                             |                    borrow of `pngbuf` occurs here
   |                                             argument requires that `pngbuf` is borrowed for `'static`
...
20 |     pngbuf
   |     ^^^^^^ move out of `pngbuf` occurs here

The issue and the possible solutions were previously discussed in https://github.com/image-rs/image-png/issues/298#issuecomment-961964817
Since #298 is closed and this is a actually different issue introduced only in v0.17 I'm submitting a new one.

This version does work:
fn encode() -> Vec<u8> {
    let mut pngbuf: Vec<u8> = Vec::new();

    {
        let mut encoder = png::Encoder::new(std::io::Cursor::new(&mut pngbuf), 1, 1);
        encoder.set_color(png::ColorType::Grayscale);
        encoder.set_depth(png::BitDepth::Eight);

        let mut writer = encoder
            .write_header()
            .unwrap();

        let mut writer = writer
            .stream_writer()
            .unwrap();

        writer.write_all(b"x").unwrap();
    }

    pngbuf
}


unused_catch_clause is incorrect warning

I have received the analyzer warning...
The exception variable 'e' isn't used, so the 'catch' clause can be removed • lib/framework/server.dart:65:38 •
unused_catch_clause
This is quite obviously an incorrect warning. I might want to catch a certain exception to do some other logic, like return an error enum from my method, even though I didn't do anything with the caught exception.
Catch blocks are for executing certain logic when a certain exception is thrown, regardless if anything is done with the exception message.

That's true, but in Dart you don't need the catch clause in order to do so. For example, the following is valid:
try {
  // Some code that might throw an ArgumentError.
} on ArgumentError {
  // Do something about the exception.
}

The only purpose of the catch clause is to allow you to capture the exception and possibly the stack trace associated with the exception.


dotnet/dotnet build fails if en-US.UTF.8 locale is not installed

Describe the Bug
Attempting to build dotnet/dotnet on Ubuntu 22.04 LTS with WSL fails if the en-US.UTF.8 locale is not already installed in the distro.
The build will run for a few seconds and then fail with various errors of the form:
bash : error : setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

Installing it manually with the sudo locale-gen en_US.UTF-8 command then leads to the following error:
$ ./build.sh --clean-while-building --online
tar: PackageVersions.props: Cannot open: File exists
tar: Exiting with failure status due to previous errors

Steps to Reproduce
Build dotnet/dotnet@c2c829eea2213b812f07259db041a6ba4165d34a (which right now matches the release/8.0.1xx-preview1 branch).
./build.sh --clean-while-building --online

Other Information
$ uname -a
Linux UK-FPH-TEC43012 <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Version from winver.exe: Version 21H2 (OS Build 22000.1574).

[Triage] The locale issue is expected and we believe this is not a source-build specific issue.  The problem of the build not working  after installing the expected locale is something we are tracking with #928 (number 7 specifically).
@crummel - can you link to the doc/issue for the locale issue and then close this?

https://github.com/dotnet/msbuild/issues/4194 is the older issue for this; it came up again recently in https://github.com/dotnet/runtime/issues/82873.


global: update dependencies

nothing wrong with loosening the react version range but why require a higher version than actually needed?
also, you're removing dependencies currently used in the tests...

@ThiefMaster I created this PR to raise InvenioRDM to react 18.

nothing wrong with loosening the react version range but why require a higher version than actually needed?
i understand your point. It is nothing wrong by stating only the minimal version which is necessary, but react v16 is way out of end of life and using the caret syntax for dependencies prevents using the newest version (which is normally intended).
For me it seams better to move on to the currently supported react version.

also, you're removing dependencies currently used in the tests...
Yes this is a mistake. I think there were problems on the updating process of all dependencies. I have to have a closer look at this problem.

Yes, react 16 can go for sure. 17 is still in use by us, so we need to keep this

This means, i could update to v17 but not to v18?

I'd say >=17 or something like that would be a good option. >=16 would work as well.

thanks. i will test that