[varLib] varLib.models.VariationModel assumes all locations are full-range

VariationModel seems to be based on the idea that all "master" locations apply across the full range of the axes:
	def _computeMasterSupports(self, axisPoints):
		...
		# Compute min/max across each axis, use it as total range.

but it suggests that one day this will change and it will be possible to specify location that only apply to certain areas of the design space:
		# TODO Take this as input from outside?

It would be helpful, particularly in the case of variable layout, if locations were able to specify their box min/max points explicitly.
This would require some upheaval - a new interface design for VariationModel.__init__(locations) at least.

I have been wondering whether the behavior could be better even without explicit input.
The top image is the current bahavior with a single intermediate master, but the bottom image would be much better, as the first half of the axis range would then only have one participating delta, and the exact middle position would be the sum of two integers (exact), instead of the sum of two integers plus an interpolated value (needs to be rounded).

In my ideal world, on a single axis with several intermediates, there would only ever be two deltas participating at a time: no more than two "tents" ever overlap. Currently, all deltas always participate, so is more work for a renderer.
(I'm not sure of the implictions for multiple axes.)

I think VariationModel already does what you suggest in the second diagram, thanks to this code here. (But I have to admit that I barely understand all this, so you may be talking about something else.)
>>> v = VariationModel([ { "wght": 0}, { "wght": +0.5 }, { "wght": +1}])
>>> v.supports
[{}, {'wght': (0, 0.5, 1)}, {'wght': (0.5, 1, 1)}]

But this is somewhat orthogonal to the need for explicit region support.

I barely understand either, and you may be right. And indeed let's not distract from your actual issue. (I'll try to more precisely find what I'm unhappy about and will post a new issue if/when I manage.)

I think I'm going to refactor _computeMasterSupports into three parts: one which turns locations into boxes, one which splits the boxes and sets the supports, and one which computes the delta weights for those supports. I think that should allow an advanced user of the class to inject their own set of boxes into the process, and hopefully make it clearer what needs to be done to allow supplying explicit regions by default.

Here's my issue. Yes, it may be orthogonal to your desire for explicit regions, but if I'd file a new issue I'd use the exact same title as this one...
Have a look at this single-axis model with 5 masters total:
from fontTools.varLib.models import VariationModel

locations = [
    dict(),
    dict(wght=0.25),
    dict(wght=0.5),
    dict(wght=0.75),
    dict(wght=1),
]
model = VariationModel(locations)
for s in model.supports:
    print(s)

The regions (supports) it calculates are these:
{}
{'wght': (0, 0.25, 1)}
{'wght': (0.25, 0.5, 1)}
{'wght': (0.5, 0.75, 1)}
{'wght': (0.75, 1, 1)}

However,  it would be much better (for reasons I tried to describe in https://github.com/fonttools/fonttools/issues/2207#issuecomment-789590780 ) if the regions were these instead:
{}
{'wght': (0, 0.25, 0.5)}
{'wght': (0.25, 0.5, 0.75)}
{'wght': (0.5, 0.75, 1)}
{'wght': (0.75, 1, 1)}

/cc @behdad

Simon, hold on a bit. I need to make a few drawings and explain the constraints.. will get to tomorrow if not in a few minutes. Is 3:30am and I can't seem to fall asleep.

I think I'm going to refactor _computeMasterSupports into three parts: one which turns locations into boxes, one which splits the boxes and sets the supports, and one which computes the delta weights for those supports. I think that should allow an advanced user of the class to inject their own set of boxes into the process, and hopefully make it clearer what needs to be done to allow supplying explicit regions by default. It's a bit of a crazy long method already, so refactoring is good practice even if it doesn't end up helping with my issue...

That sounds good to me generally. However, there's a couple of things to keep in mind:

The boxes should form a partial subset order. Two boxes cannot overlap unless one is fully inside the other. Otherwise you need to solve a full system of equations to find the deltas. I haven't convinced myself that there's even a guaranteed solution. With the partial-order way that VariationModel currently sets the boxes up, there's always a simple solution.

The way boxes are solved does not make ANY difference to the perceived behavior of the interpolated function on a single axis. So, if you want to do things in a single axis and you think changing this function is needed, I think you might be misunderstanding how things work.

Put another way: can you tell me what you want to be able to do as an example, which you cannot do by providing just enough master points?

The way boxes are solved does not make ANY difference to the perceived behavior of the interpolated function on a single axis.

That is only true when you consider rounding errors non-perceivable. Deltas are stored as integers, so the more boxes overlap, the harder it is to get an exact match with the source masters. This is the case at region peaks that combine several scaled deltas (such as the second and third peaks in my 5-master example). This problem gets worse proportional with the number of intermediate masters.
Things do start to wobble visibly with multi-segment HOI, but perhaps that's a case where a specialized delta algorithm can be better than a general solver.
And of course I take your word for the mathematical impossibilities that other "solutions" may cause. If it isn't solvable, it isn't solvable! And everything looks simple when you only consider one axis...

Put another way: can you tell me what you want to be able to do as an example, which you cannot do by providing just enough master points?

I'm kind of convinced. It seems a bit crazy that I have to turn a set of regions into a set of masters that then get turned back into a set of regions, but if that means I can use someone else's already-existing code for the hard part it's probably worth doing...

That sounds good to me generally. However, there's a couple of things to keep in mind

I'm not planning to change any functionality at all, just split a long function up into three smaller ones.

It seems a bit crazy that I have to turn a set of regions into a set of masters that then get turned back into a set of regions

Again, I still don't understand what you are starting from that has regions.

The way boxes are solved does not make ANY difference to the perceived behavior of the interpolated function on a single axis.

That is only true when you consider rounding errors non-perceivable. Deltas are stored as integers, so the more boxes overlap, the harder it is to get an exact match with the source masters. This is the case at region peaks that combine several scaled deltas (such as the second and third peaks in my 5-master example). This problem gets worse proportional with the number of intermediate masters.

You are absolutely right. I wasn't responding to the (valid) issue that you raised, but to Simon's different issue.
I'll reply to you soon about why it was done that way, and how to improve it now. In fact, it was originally done the way you suggest. Was changed after. I remember the full details. But either need to produce some drawings, or make a video drawing things on paper or something.

Things do start to wobble visibly with multi-segment HOI, but perhaps that's a case where a specialized delta algorithm can be better than a general solver.

True. Also why I'm open to adding constructors that take the tents from the client. I'm thinking about it since last night. I think I have some new insights. I'll report soon as I validate some of them.

And of course I take your word for the mathematical impossibilities that other "solutions" may cause. If it isn't solvable, it isn't solvable! And everything looks simple when you only consider one axis...

Yes, the one-axis always has solution. The general case, I have proved it neither possible nor impossible. That's what I'm working on now. Just thinking about it algebraically I think there's always a solution where all masters span the entire space. How does that look on the generated surface and whether that's desirable is another question. I'm taking the dust off my pyplot module for this that I showed at one of the TYPO Labs; that conference is indeed when I changed this algorithm (the part you noticed) after @LettError showed a deficiency of varLib compared to MutatorMath.

Have a look at this single-axis model with 5 masters total:
from fontTools.varLib.models import VariationModel

locations = [
    dict(),
    dict(wght=0.25),
    dict(wght=0.5),
    dict(wght=0.75),
    dict(wght=1),
]
model = VariationModel(locations)
for s in model.supports:
    print(s)

The regions (supports) it calculates are these:
{}
{'wght': (0, 0.25, 1)}
{'wght': (0.25, 0.5, 1)}
{'wght': (0.5, 0.75, 1)}
{'wght': (0.75, 1, 1)}

However, it would be much better (for reasons I tried to describe in #2207 (comment) ) if the regions were these instead:
{}
{'wght': (0, 0.25, 0.5)}
{'wght': (0.25, 0.5, 0.75)}
{'wght': (0.5, 0.75, 1)}
{'wght': (0.75, 1, 1)}

VarLib used to do what you suggest. I changed it after Erik pointed out issues with my implementation:
https://www.youtube.com/watch?v=3RRoIYeJ3YQ
The immediate reason it turned into what we have now is that it was easier (but not necessary) to fix the code to do what Erik expected (and I agree with) by just making it behave at it does currently. So, that we can improve on. Here's the commit, with extensive commit log: https://github.com/fonttools/fonttools/commit/42bef176a33dc7321eb70f5d49c90317e59ad0e5
However, there's a legitimate reason for why the current output might be desirable: it produces smaller (and many more 0) deltas, which saves bytes. In a common example where eg. Regular and Black masters are designed, then Bold interpolated and imported as a new master and slightly modified, in the scheme that you propose, Bold datas will all be encoded separately. Whereas if the support for Black master reaches all the way to Regular as current code does, then the Bold master will only encode any data for actual manual modifications that were made to it, and nothing for just the interpolated-then-imported-unmodified parts.
Obviously there's a filesize vs runtime tradeoff. Ideally we should be finding the sweet-spot of that tradeoff given the actual master configuration. But I don't have good ideas about how to do that currently. I'm still thinking about it.
And yes, the error accounting is sloppy and errors add up. It could be done better, to account of accumulated rounding errors from previous deltas when computing deltas for each master. That way, the total error for any interpolation point will still be limited to 0.5.

And yes, the error accounting is sloppy and errors add up. It could be done better, to account of accumulated rounding errors from previous deltas when computing deltas for each master. That way, the total error for any interpolation point will still be limited to 0.5.

Please review my PR: https://github.com/fonttools/fonttools/issues/2213

Also why I'm open to adding constructors that take the tents from the client

Or a constructor that takes a tent builder func – that may be necessary to have subModels do the right thing? Or is that a case where the general algorithm necessarily has to take over anyway? (A tent builder func could indicate "I can't handle this master configuration, please fall back to the general algorithm.")

@justvanrossum here's another pathological case that neither approach works very well for:
https://github.com/fonttools/fonttools/pull/2217
It can be encoded using just two deltas; but both approaches end up encoding numMasters.

[err. nevermind. deleted previous commit. didn't make sense.]

[err. nevermind. deleted previous commit. didn't make sense.]

Humm. It does make some sense. Let me rephrease:
In the test I implemented in:
https://github.com/fonttools/fonttools/pull/2217
There's one axis and (say) 100 masters on it. The default-master has value of 0, all the others have 100. That particular function can be encoded using just two deltas. However, currently we always solve the system only based on locations. That is, we build a model that can handle arbitrary values at all masters. We fail to find simpler solutions if, eg, many master values happen to be the same.
This shows that the optimal model CANNOT be inferred Just from master locations. Problem just became much harder. :))

Again, I still don't understand what you are starting from that has regions.

OK, I’m convinced. The tooling can easily make sharp cornered regions by adding or subtracting epsilon from the previous master location. I have enough to do what I want in terms of variable layout.

This is very important, but I’m afraid it’ll confuse people if there are not enough explanations provided. I don’t think I quite understand the repercussions for, say, two axes with 4 corner masters and just 1 extra master somewhere in the middle.

Adam, it took me a while to realise there are two different levels here. On one level, the user-visible effect of the combined set of deltas. On the other level, the internal representation of each individual delta. There are different ways of creating regions for each delta which makes up the whole variation function. We are talking about changing the layout of the individual deltas while keeping the user-facing effect the same.

In Oct 2021, I’ve made this issue elsewhere — https://github.com/daltonmaag/file-format-discussion/issues/10 — which illustrates a common problem: 4-master config with a 5th master on the edge. That intermediate master should ideally have its "end" ("max" of the range) defined at all opposite edges, so that it no longer influences the other edges at full force.

I fixed this in https://github.com/fonttools/fonttools/pull/2717


 Love the heritage and learning from YATAS in the code ! Looks amazing guys !
You can close the issue ;)

Thanks for the shoutout @StanGirard !


bug in sparse matrix conversion COO->CSR for some matrices

I am finding that conversion of COO->CSR or CSC does not agree with scipy when the underlying matrix is large (nnz > 50k elements or so). The problem does not seem to occur for small matrices such as those used in the test suite.

Conditions (you can just paste the output of python -c 'import cupy; cupy.show_config()')

CuPy Version          : 6.0.0b2
CUDA Root             : /usr/local/cuda
CUDA Build Version    : 10000
CUDA Driver Version   : 10000
CUDA Runtime Version  : 10000

Code to reproduce

The data for the example below is ~1MB in size and is available via:
https://drive.google.com/open?id=1BRaTNQoAYJPOjfGyio51OwwmCZdh3vdT
import scipy
import numpy as np
import cupy
import cupyx

data = np.load('/tmp/coo_to_csc_example_100k.npz')

sl = slice(None)
A_cpu = scipy.sparse.coo_matrix((data['data'][sl],
                                 (data['row'][sl], data['col'][sl])))

A_gpu = cupyx.scipy.sparse.coo_matrix(A_cpu)

# this comparison is okay
cupy.testing.assert_allclose(A_gpu.data, A_cpu.data)

# conversion on the GPU does not match for large matrices
A_csr_gpu = A_gpu.tocsr()
A_csr_cpu = A_cpu.tocsr()
cupy.testing.assert_allclose(A_csr_gpu.data,
                             A_csr_cpu.data)

# convert via round-trip to CPU works fine
A_csr_gpu2 = cupyx.scipy.sparse.coo_matrix(A_gpu.get().tocsr())
cupy.testing.assert_allclose(A_csr_gpu2.data,
                             A_csr_cpu.data)

And oddly, the data array after conversion does match at the beginning and then has huge mismatches in many of the later elements.  I plot this below:

import matplotlib.pyplot as plt
plt.figure()
plt.plot(A_csc_cpu.data - A_csc_gpu.data.get())

The input data has values in the range [0, 1.0]. In this example the data is dtype np.float32, but the same thing occurs for float64 as well.

Many functions such as __mul__ first convert to CSR, so this is pretty problematic.
The only workaround I found so far is to transfer to the host, convert via scipy's tocsr() and then transfer back to the GPU, but that is obviously not ideal.

I suspect the issue here is that this particular sparse matrix has some duplicate row/col indices (<1% of the total), but they are not necessarily adjacent to each other.
It looks like there is a call to sum_duplicates and then a call to coosort prior to the conversion, but I think the sum_duplicates may not be working as expected for the data ordered as in this example.

The checks in the example above pass if the .npz file is replaced by the dictionary below, so it is more an issue of repeated entries than the overall size, I think.
data = dict(data=np.arange(100000.), row=np.arange(100000, dtype=np.int32), col=np.arange(100000, dtype=np.int32))

Changing the following line:
https://github.com/cupy/cupy/blob/8f21345941522a89ac2d71d9357f2d0296489d38/cupyx/scipy/sparse/coo.py#L217
to swap the order of the keys passed to lexsort
keys = cupy.stack([self.col, self.row])

fixes the bug for this matrix. The existing sparse tests all still pass after the change as well.
lexsort places higher priority on the last entry in the sort keys, so if the original intent was to sort by rows it seems the modified code should do that. Does this seem like the correct fix?

Although the key order swap above seems to fix the COO->CSR conversion, it does cause the COO comparison to fail if sum_duplicates has been called. This is because the current CuPy code (not the proposed change above) matches the lexsort sort order used by Scipy.
i.e. running the following with the key order swapped as suggested in the previous comment fails on the COO comparison, but passes on the CSC one. This suggests there is another underlying difference somewhere (perhaps within coosort?):
import scipy
import numpy as np
import cupy
import cupyx

data = np.load('/tmp/coo_to_csc_example_100k.npz')

sl = slice(None)

A_cpu = scipy.sparse.coo_matrix((data['data'],
                                 (data['row'], data['col'])))

A_gpu = cupyx.scipy.sparse.coo_matrix(A_cpu)

# manually call sum duplicates prior to the comparison
# this comparison succeeds with the original lexsort key order, but fails
# after the lexsort key order swap
A_cpu.sum_duplicates()
A_gpu.sum_duplicates()
cupy.testing.assert_allclose(A_gpu.data, A_cpu.data)

# However, this comparison now passes after the lexsort key order swap
A_csr_gpu = A_gpu.tocsr()
A_csr_cpu = A_cpu.tocsr()
cupy.testing.assert_allclose(A_csr_gpu.data,
                             A_csr_cpu.data)

It seems the issue is in coosort indeed (which is called only by coo. tocsr()).
Here is a MVP
import numpy
from cupyx.scipy.sparse import coo_matrix

numpy.random.seed(1234)

coo = random(2000,1000,0.01,'coo')
coo_gpu = coo_matrix(coo)

#cusparse.coosort(coo_gpu)  # uncomment this line

coo2 = coo_gpu.get()  # back to CPU

argsort = numpy.lexsort((coo.col, coo.row))
argsort2 = numpy.lexsort((coo2.col, coo2.row))

assert numpy.allclose(coo.data[argsort], coo2.data[argsort2])  # fail if you uncomment coosort

I believe the issue is that x.data is used both as input and output of CuSPARSE's gthr here: https://github.com/cupy/cupy/blob/d0dd06d5145f73da4c56d8678ddf64cea702106a/cupy/cusparse.py#L583
This can be fixed by creating another buffer. I will submit a PR!


Handle AttributeErrors when reading file properties to database more gracefully

Currently if there is an attribute error at any point during the parsing of a file's properties from a METS FSEntry into the AIPscan database, the file gets written to the database as an ISO disk image, which is likely to be misleading: https://github.com/artefactual-labs/AIPscan/blob/a25d742f424e8800fee47b9b1eef9b84111fb0b1/AIPscan/Aggregator/database_helpers.py#L196-L200.

There is a nod to this particular issue here: https://github.com/artefactual-labs/AIPscan/issues/47#issuecomment-691310678 as I hoped to leave space for the developer working on #47 to consider this. So connected to #47, but a valid assertion. I should also have been clearer that the root cause of this is in metsrw https://github.com/archivematica/Issues/issues/1277

Thanks @ross-spencer, I missed the connection to #47. That's good context!


Fix PlanNodeStats overflow

PlanNodeStats uses vector_size_t for the number of rows counters, but
it's actually int32_t. This caused overflow for some cases, e.g.
"Exchange: Output: -1734967296 rows (37.14GB, 3171 batches)". This
commit fixes it by changing vector_size_t to uint64_t, which is already
used for the number of bytes counters.

@xiaoxmeng Another misuse of vector_size_t like #10868 and #10848.


Add parseDuration to template functions

This can be useful when generating rules, a query may use a duration,
and it may be useful to template that into a URL parameter. Therefore
this allows interfacing with systems that don't implement Prometheus
style duration parsing.
Signed-off-by: David Leadbeater<EMAIL_ADDRESS>

Is your branch up to date with main?

friendly ping :)

@roidelapluie PTAL


Support Symfony 6, drop support for Symfony 4

Based on @Edwin-Luijten PR I continued to work on the code in order for all Tests of the symfony bundle to go green again with minimal changes to the tests themself.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a734ab7). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #10   +/-   ##
=========================================
  Coverage          ?   97.77%
  Complexity        ?      234
=========================================
  Files             ?       25
  Lines             ?      584
  Branches          ?        0
=========================================
  Hits              ?      571
  Misses            ?       13
  Partials          ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

sral97 Thanks a bunch~! I will check the changes after the holidays. If all good then I'll tag a new release.

New release: https://github.com/mediamonks/php-rest-api/releases/tag/2.3.0


Suggest: add continuous integration

Dear hydra maintainers,
I heard from a colleague that this is something awesome! I took a look and was happy with the license and tests. What I feel would impress me even more, is to add continuous integration, i.e. that (some of) the tests are run on GitHub Actions. This would convince any use that -after each commit- that the code still works. Sure, if asked, I do volunteer to add this.
Cheers, Richel Bilderbeek, postdoc

To add to this: a colleague could not get hydra installed. With CI one can prove that CI can be installed on at least one system. It helps users to rule out that hydra is at fault here. As a software maintainer: this saves you quite some 'It does not work!' emails from users :-)


RDK-30554: Thunder API for Set System Time

Reason for change: the need to set the time by the user
Implements: 	new method: setTimeFromUser, parameter: timestamp: string
Test Procedure: see the docs
Signed-off-by: Sergiy Gladkyy<EMAIL_ADDRESS>Risks: None

Closing this outdated PR. Please submit this to the latest sprint branch if needed.


Empty error message: Unable to find the default Query mock response with the following id:

Hi,
When i'm recording requests i see in the output window the following error messages, but there was no actual error. I think a piece of code unneededly gets triggered.
ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

ERROR: com.castlemock.web.mock.rest.service.project.ReadRestMethodService - Unable to find the default Query mock response with the following id:

Hi @GrumpyMeow.
My apologies for the late response. Time flies.
This issue occurs when a method is configured to have a default mocked response, but we are not able to find any mocked response with that provided id. This could occur when a mocked response has been removed but the method still has the old id.
It is perhaps a little bit too much to log this as an error. Will fix this right away.
Thanks for reporting this.
Best regards,
Karl Dahlgren


OKD in ARM platform

Support for OKD to setup in ARM platform:
When can one expect the same?
Any issues in enabling it in OKD?
This project ocp-on-arm tracks mainly the downstream bits.

/assign @LorbusChris

ARM64 is not yet supported in OKD unfortunately.

https://docs.okd.io/latest/installing/installing_aws/installing-aws-customizations.html#installation-configuration-parameters-optional_installing-aws-customizations
I think they support it, just not cross-architecture compute.architecture

https://docs.okd.io/latest/installing/installing_aws/installing-aws-customizations.html#installation-configuration-parameters-optional_installing-aws-customizations
I think they support it, just not cross-architecture compute.architecture

Hi @0xHexE yes, having an ARM-only cluster and a heterogeneous cluster (x86 + ARM nodes) are two different things.
But, unfortunately, OKD on ARM is not supported yet, as @LorbusChris stated above.
We need to fix the doc removing ARM from the supported architectures in OKD until we unblock DPTP-2718.

Are there any update to this or any ways the community can help pitch in?

would also be interessted in OKD on arm - mainly running on aws on graviton cpus, any update on that topic is appreciated

@aleskandro It appears that DPTP-2718 is now unblocked, closed complete, and the project discourse has moved to an epic shared between the teams collaborating on this - however, there are no links to this new collaboration to be found.  What is the current status, and where can it now be followed?

We will be discussing this at Tuesday's OKD Working Group meeting.

TL;DR 1st quarter 2023... right?
https://youtu.be/T42ri28tnYo?t=2297
Thanks @JaimeMagiera @LorbusChris for sharing the updates :)

We are also very interested in this feature. It is now the second quarter, and we are wondering if OKD already supports arm64 in the new version. Thank you.

+1 we've got a arm cluster with 44 nodes, need to switch to OKD

+1 waiting for the ARM support

@LorbusChris  @JaimeMagiera @kalik1 since we're pretty well past Q1.. any chance we could get an update on ARM support?

After upgrading to 4.14.0-0.okd-2023-12-01-225814 to multi-arch (with oc adm upgrade --to-multi-arch) the only upgrade path is to 4.14.0-0.okd-2023-12-01-225814 which seems to be single-arch?
% oc adm upgrade
Cluster version is 4.14.0-0.okd-2023-12-01-225814

Upstream: https://amd64.origin.releases.ci.openshift.org/graph
Channel: stable-4

Recommended updates:

  VERSION                        IMAGE
  4.14.0-0.okd-2023-12-01-225814 registry.ci.openshift.org/origin/release@sha256:4510c50834c07e71521a68c021320b5e44978245c8031a858f74328e54e89e1c

Upgrading to the same version via OC does not work:
% oc adm upgrade --to=4.14.0-0.okd-2023-12-01-225814
info: Cluster is already at version 4.14.0-0.okd-2023-12-01-225814

However, upgrading via the console works, even though progress does not show in console or with oc adm upgrade.
Once that upgrade has completed, I'm able to upgrade to 4.14.0-0.okd-2024-01-06-084517 but it seems to not be multi-arch anymore.
% oc adm upgrade
Cluster version is 4.14.0-0.okd-2023-12-01-225814

Upstream: https://amd64.origin.releases.ci.openshift.org/graph
Channel: stable-4

Recommended updates:

  VERSION                        IMAGE
  4.14.0-0.okd-2024-01-06-084517 registry.ci.openshift.org/origin/release@sha256:c4a6b6850701202f629c0e451de784b02f0de079650a1b9ccbf610448ebc9227

Perhaps this has something to do with the channel? According to the docs the channel is supposed to be changed to stable-4.14 but that's probably a OpenShift thing in the docs?
Or perhaps I'm in uncharted waters and upgrading to multi-arch wasn't even supposed to work at all :-)

@smuda its a red herring.. that multi-arch upgrade doesnt actually do anything.. I think we're all still waiting for a release that supports it..

https://docs.okd.io/latest/installing/installing_aws/installing-aws-customizations.html#installation-configuration-parameters-optional_installing-aws-customizations
I think they support it, just not cross-architecture compute.architecture

You have to have a cluster with multi-architecture compute machines if you want to run ARM worker nodes, because the control plane nodes (master nodes) cannot be ARM.
As per this issue, multi-arch compute machines became GA in Openshift v4.14, which was released 5 months ago.
However, it's worth noting that some things still don't work in this type of cluster, hence the disclosure:

In my opinion, this issue should be renamed to:
Support cluster with multi-architecture compute machines
Can you guys check whether this issue should be closed now that we have OKD v4.15?

@codespearhead nope -- it works in OpenShift, but not in OKD. Even at 4.15, I can't do multi-arch..

Is there anything a community member can do to make this work? Build instructions for ARM64 crcbundle ? Help with setup of infrastructure ? thank you

Slack thread for an update https://kubernetes.slack.com/archives/C6AD6JM17/p1730203791485409
Summary: still waiting on a build system migration, timeline is unknown.


beef it up

[x] organize file structure
[x] update package dependencies
[x] add all necessary dev dependencies
[x] add linting
[x] add a11y testing
[x] make functional site builder
add site builder documentation
add module generator
add module generator documentation
turn to yeoman generator
add generator documentation
[ ] 🥩 ➕ 💵

Removed certain tasks to separate template repo (this one) and generator repo (https://github.com/samueleishion/create-static-site). This project template will be included in the generator repo so it generates a project that scaffolds the same structure as this one, but with custom scopes and component/module generators.


When to open source?

Thanks for your great work!!
I am wondering when you plan to release the checkpoint and inference code.

Hi @williamium3000,
Thank you for your interest in our work. As our paper is still under review, we will not be open-sourcing the code until it is accepted.
Cheers.


To add valid error message in percentage calculator

Describe the bug
To add valid error message in percentage calculator

Hi, I want to work on this issue I will start working on it as soon as I get assigned!! I am a part of GSSoC'21.
Kindly assign this issue to me!
Discord Username : Abhijeet Sinha(P)
Discord Tag: #4018


why isnt it running?

i try to open it but idk the correct one to press and i did extract it and it didnt work

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


is the eval.py correct??

why in eval.py we set
rec = -1.
        prec = -1.
        ap = -1.

when there is no detection instead of setting them to zero??

I really don't get this either.. Did you find a sensible explanation? Tempted to just set them to 0..


amplify init fails

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm i -g @aws-amplify/cli
If applicable, what version of Node.js are you using?
v15.5.0
Amplify CLI Version
v5.3.1
What operating system are you using?
Mac
Amplify Categories
auth, function, api
Amplify Commands
init
Describe the bug
Below is the error log.
❯ amplify init
Note: It is recommended to run this command from the root of your app directory
? Do you want to use an existing environment? No
? Enter a name for the environment devhanaa
Using default provider  awscloudformation
✔ Initialized provider successfully.
✖ There was an error initializing your environment.
Error: File at path<EMAIL_ADDRESS>does not exist
    at Function.JSONUtilities.readJson (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-cli-core/src/jsonUtilities.ts:25:15)
    at AmplifyToolkit.getTriggerMetadata [as _getTriggerMetadata] (/usr/local/lib/node_modules/@aws-amplify/cli/src/extensions/amplify-helpers/trigger-flow.ts:402:85)
    at AmplifyToolkit.getTriggerEnvInputs [as _getTriggerEnvInputs] (/usr/local/lib/node_modules/@aws-amplify/cli/src/extensions/amplify-helpers/trigger-flow.ts:487:36)
    at initTriggerEnvs (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-category-function/src/provider-utils/awscloudformation/index.ts:428:43)
    at Object.updateConfigOnEnvInit (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-category-function/src/provider-utils/awscloudformation/index.ts:374:25)
    at /usr/local/lib/node_modules/@aws-amplify/cli/node_modules/amplify-category-function/src/index.ts:131:28
    at /usr/local/lib/node_modules/@aws-amplify/cli/node_modules/promise-sequential/index.js:16:18

Expected behavior
amplify init  command to success without any errors.
Reproduction steps

amplify init

GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line
2021-08-26T04:36:21.389Z|info : amplify init core
2021-08-26T04:36:21.449Z|info : amplify-cli-core.banner-message/index.ts.fetch banner messages from https://aws-amplify.github.io/amplify-cli/banner-message.json({}
2021-08-26T04:36:34.518Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileConfig(["mskun-hana"])
2021-08-26T04:36:34.519Z|info : amplify-provider-awscloudformation.system-config-manager.getProfiledAwsConfig.profileConfig([{"region":"ap-northeast-1"}])
2021-08-26T04:36:34.519Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileCredentials(["mskun-hana"])
2021-08-26T04:36:34.531Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileConfig(["mskun-hana"])
2021-08-26T04:36:34.532Z|info : amplify-provider-awscloudformation.system-config-manager.getProfiledAwsConfig.profileConfig([{"region":"ap-northeast-1"}])
2021-08-26T04:36:34.532Z|info : amplify-provider-awscloudformation.system-config-manager.getProfileCredentials(["mskun-hana"])
2021-08-26T04:36:34.538Z|info : amplify-provider-awscloudformation.zip-util.downloadZip.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip"},null])
2021-08-26T04:36:34.542Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]rent-[***]ud-[***]d.zip","Bucket":"[***]ify-[***]un-[***]anaa-[***]353-[***]ment"}])
2021-08-26T04:36:35.572Z|info : amplify-provider-awscloudformation.initialize-env.run.cfn.updateamplifyMetaFileWithStackOutputs([{"StackName":"[***]ify-[***]un-[***]anaa-[***]353"}])
2021-08-26T04:36:35.576Z|info : amplify-provider-awscloudformation.aws-cfn.updateamplifyMetaFileWithStackOutputs.cfn.describeStackResources([{"StackName":"[***]ify-[***]un-[***]anaa-[***]353"}])
2021-08-26T04:36:36.226Z|info : amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]ify-[***]json","Bucket":"[***]ify-[***]un-[***]anaa-[***]353-[***]ment"}])
2021-08-26T04:47:35.511Z|info : amplify version core  {"version":true,"yes":false}

Additional information
No response

Closing based on last response and no further communication or related issues tied to this. Please let us know if you're still stuck on this issue.


[Compute] Unable to create VM using existing OS disk

The --os-disk-vhd option from the xplat CLI is no longer available. This makes restoring VMs from OS disk snapshots impossible. Being able to create a new VM using an existing OS disk blob should be a basic requirement.
(Using --image and the existing VHD doesn't work).

@lwilts this script (https://github.com/devigned/azure-cli-samples/blob/master/vm-custom-vhd/vm-custom-vhd#L68-L71) uses --image to create a VM from a custom vhd. Does this demonstrate the functionality you are referring to?

Yes, --image can be an URN, URI to an existing VHD or an URN alias. Please try using your VHD URI for the --image field.

(Using --image and the existing VHD doesn't work).

I just saw this--what error do you get when you use the URI for your VHD?

I'm getting some other error about subscription limits - but it's prompting for an admin password, implying that it will try to clone the image to create a 'fresh' one, rather than simply attaching the existing VHD - is that what you meant?

Hi @lwilts, I've looked into this and here are a couple things to note:

You must specify an image for a properly generalized OS VHD. Please see: https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-linux-capture-image
As noted in that article, you must create the VM with the same storage account that the generalized VHD is in. If the storage account is in a different resource group from where you want to create the VM, you would need to specify the fully qualified ID for the --storage-account property (I will open an issue to simplify this. Ideally you shouldn't have to specify the storage account at all for this scenario.)
HOWEVER, currently if you try that, you will get an error that the OS VHD name is not a System.URI. I will have a bug fix out for that today.

Thanks for that explanation - but what I'm trying to do is simply attach the disk to the new VM, not clone it as if it were a generalised/gold image. This is the result of using the --os-disk-vhd in the xplat.

Okay, I see. Currently, that is not a supported scenario in the CLI. You either specify a URN or a URI to a generalized image and end up with a new OS disk.
We will look at adding this in the near future. Thanks for the feedback!

@yugangw-msft since you are doing work to add different OS profiles, could you add support for this at the same time? I thought about doing it but realized it would likely conflict with your major changes.
My thoughts are that we could make --image optional, change --os-disk-name to --os-disk and the help would essentially be "The OS disk name to use when creating a new OS disk from an image, or an existing VHD URI to use for the OS disk."  Apparently this is a supported feature in Xplat, so we should support it as well for GA.

with #1977, this becomes possible
   az disk create --source-blob-uri -g myrg -n mySpecializedOsDisk
   az vm  --managed-os-disk mySpecializedOsDisk

@tjprescott, I will chat with CRP team for whether we should still support attaching to unmanaged disk directly.

with #1977, this becomes possible
az disk create --source-blob-uri -g myrg -n mySpecializedOsDisk
az vm  create --managed-os-disk mySpecializedOsDisk --os-type ...

However, this only applies to managed disks, correct?

@tjprescott, that is correct. So far, only attaching to a managed os disk is supported


Possible Stylesheet or format spillage

Description
table or figure not rendered properly. Paper is https://arxiv.org/html/2404.01230v1 section 3
(Optional:) Please add any files, screenshots, or other information here.
3 Scenarios: Where to Apply Strategic Reasoning with LLMs
\forestset
every leaf node/.style= if n children=0#1 , every tree node/.style= if n children=0minimum width=1em#1 , {forest} for tree= every leaf node=my leaf, font=, every tree node=my node, font=, l sep-=4.5pt, l-=1.pt, anchor=west, inner sep=2pt, minimum height = 15pt, font=, l sep=8pt, s sep=2pt, fit=tight, grow’=east, edge=ultra thin, parent anchor=east, child anchor=west, if n children=0tier=last, edge path= [draw, \forestoptionedge] (!u.parent anchor) – +(5pt,0) |- (.child anchor)\forestoptionedge label; , if=isodd(n_children()) for children= if=equal(n,(n_children("!u")+1)/2)calign with current [Scenarios, draw=gray, color=gray!100, fill=gray!15, very thick, text=black, text width=1.4cm, minimum height = 18pt [ Societal Simulation, color=brightlavender!100, fill=brightlavender!15, very thick, text=black [ Societal behavior, color=brightlavender!100, fill=brightlavender!15, very thick, text=black [ BigToM(Gandhi et al., 2024), SOTOPIA (Zhou et al., 2023), UGI (Xu et al., 2023a), Suzuki & Arita (2024), OpenToM(Xu et al., 2024a) , color=brightlavender!100, very thick, text=black, tier=E ] ] [ Debate &
Negotiation, color=brightlavender!100, fill=brightlavender!15, very thick, text=black [ Fu et al. (2023), Abdelnabi et al. (2023), TRIP (Zhang et al., 2024a), WarAgent (Hua et al., 2023), Flamino et al. (2024), Taubenfeld et al. (2024), Tang et al. (2023), Gemp et al. (2024), Hua et al. (2024), Schneider et al. (2023), Lamparth et al. (2024) , color=brightlavender!100, very thick, text=black, tier=E ] ] ] [ Economic Simulation, color=lightcoral!100, fill=lightcoral!15, very thick, text=black [ Economics, color=lightcoral!100, fill=lightcoral!15, very thick, text=black [ Horton (2023), Xie et al. (2023), Chen et al. (2023b), Li et al. (2023b) , color=lightcoral!100, very thick, text=black, tier=latex forest tier=D ] ] [ Business, color=lightcoral!100, fill=lightcoral!15, very thick, text=black [ Han et al. (2023), TradingGPT (Li et al., 2023c), CompeteAI (Zhao et al., 2023), Chen et al. (2023a), OG-Narrator (Xia et al., 2024) , color=lightcoral!100, very thick, text=black, tier=E ] ] ] [ Game Theory, color=cyan!100, fill=cyan!15, very thick, text=black [ Matrix Game, color=cyan!100, fill=cyan!15, very thick, text=black [ Guo (2023), Phelps & Russell (2023), MAgIC (Xu et al., 2023b), Gandhi et al. (2023), Brookins & DeBacker (2023), Fan et al. (2024) , color=cyan!100, very thick, text=black, tier=E ] ] [ Repeated Game, color=cyan!100, fill=cyan!15, very thick, text=black [ Akata et al. (2023), Alympics (Mao et al., 2023), K-Level Reasoning (Zhang et al., 2024c), Wu et al. (2024b), γ-Bench (Huang et al., 2024b) , color=cyan!100, very thick, text=black, tier=E ] ] ] [ Gaming, color=lightgreen!100, fill=lightgreen!15, very thick, text=black [ Conversational Games, color=lightgreen!100, fill=lightgreen!15, very thick, text=black [ WereWolf, color=lightgreen!100, fill=lightgreen!15, very thick, text=black, text width=1.2cm [ Xu et al. (2023d), Xu et al. (2023c), Thinker (Wu et al., 2024a) , color=lightgreen!100, very thick, text=black, tier=D, text width=4.45cm] ] [ Avalon, color=lightgreen!100, fill=lightgreen!15, very thick, text=black, text width=1.2cm [ Avalonbench Light et al. (2023), ReCon (Wang et al., 2023a), (Lan et al., 2023) , color=lightgreen!100, very thick, text=black, tier=D, text width=4.45cm] ] [ Diplomacy, color=lightgreen!100, fill=lightgreen!15, very thick, text=black, text width=1.2cm [ Welfare diplomacy (Mukobi et al., 2023), Cicero († et al.(2022)(FAIR)†, Bakhtin, Brown, Dinan, Farina, Flaherty, Fried, Goff, Gray, Hu, et al., FAIR) , color=lightgreen!100, very thick, text=black, tier=D, text width=4.45cm] ] [ Other, color=lightgreen!100, fill=lightgreen!15, very thick, text=black, text width=1.2cm [ MAgIC(Xu et al., 2023b), Hoodwinked (O’Gara, 2023), Tsai et al. (2023), Li et al. (2023a) , color=lightgreen!100, very thick, text=black, tier=D, text width=4.45cm] ] ] [ Board & Card Game, color=lightgreen!100, fill=lightgreen!15, very thick, text=black [ Poker, color=lightgreen!100, fill=lightgreen!15, very thick, text=black, text width=1.2cm [ SuspicionAgen (Guo et al., 2023), PokerGPT (Huang et al., 2024a), Agent-Pro (Zhang et al., 2024b) , color=lightgreen!100, very thick, text=black, tier=D, text width=4.45cm] ] [ Chess, color=lightgreen!100, fill=lightgreen!15, very thick, text=black, text width=1.2cm [ ChessGPT (Feng et al., 2024), Kuo et al. (2023), Feng et al. (2023), Guo et al. (2024a) , color=lightgreen!100, very thick, text=black, tier=D, text width=4.45cm] ] ] [ Electronic Game, color=lightgreen!100, fill=lightgreen!15, very thick, text=black [ LLM-Co (Agashe et al., 2023), TextStarCraft II (Ma et al., 2023), SwarmBrain (Shao et al., 2024), PokéLLMon (Hu et al., 2024), CivRealm (Qi et al., 2024), DOOM(de Wynter, 2024) , color=lightgreen!100, very thick, text=black ] ] ] ]
Figure 2: Taxonomy of scenarios of strategic reasoning by LLM-based agents.
(Required) What is this issue most closely related to? Select one.
Choose One
Internal issue ID
b3022970-8f23-4933-93a5-6bb9fe78f6c5
Paper URL
https://arxiv.org/html/2404.01230v1
Browser
Firefox/122.0
Device Type
Desktop

Love the HTML reader! Thanks for the hard work.


"flutter build bundle --release" fails with IconTreeShakerException

Steps to Reproduce

Note that this fails for flutter build bundle --profile  too.
All done!
In order to run your application, type:
$ cd flutter_counter
$ flutter run
To enable null safety, type:
$ cd flutter_counter
$ dart migrate --apply-changes
Your application code is in flutter_counter/lib/main.dart.
✔ ~/src
20:25 $ cd flutter_counter
✔ ~/src/flutter_counter
20:26 $ flutter build bundle --verbose --release
[  +62 ms] executing: [/home/kkiyohara/src/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +26 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[        ] executing: [/home/kkiyohara/src/flutter/] git tag --points-at 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[  +11 ms] Exit code 0 from: git tag --points-at 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[        ] 2.0.6
[  +32 ms] executing: [/home/kkiyohara/src/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/kkiyohara/src/flutter/] git ls-remote --get-url origin
[   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +33 ms] executing: [/home/kkiyohara/src/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +44 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +36 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +51 ms] Skipping pub get: version match.
[ +100 ms] Generating /home/kkiyohara/src/flutter_counter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +60 ms] 💪 Building with sound null safety 💪
[   +7 ms] Initializing file store
[   +6 ms] release_flutter_bundle: Starting due to {}
[  +97 ms] Persisting file store
[   +1 ms] Done persisting file store
[   +3 ms] Target release_flutter_bundle failed: IconTreeShakerException: Expected to find kernel file at
/home/kkiyohara/src/flutter_counter/.dart_tool/flutter_build/303cf5f7e09bb2a84a7f5b70bcf010f9/app.dill,
but no file found.
       To disable icon tree shaking, pass --no-tree-shake-icons to the requested flutter build command

[  +10 ms] "flutter bundle" took 391ms.
[   +2 ms] Failed to build bundle.
[        ]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      buildWithAssemble (package:flutter_tools/src/bundle.dart:175:5)

#2      BundleBuilder.build (package:flutter_tools/src/bundle.dart:102:5)

#3      BuildBundleCommand.runCommand (package:flutter_tools/src/commands/build_bundle.dart:102:5)

#4      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1157:12)

#5      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1009:27)

#6      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#7      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)

#8      CommandRunner.runCommand (package:args/command_runner.dart:197:13)

#9      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:278:9)

#10     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#11     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)

#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:234:5)

#13     run.. (package:flutter_tools/runner.dart:64:9)

#14     run. (package:flutter_tools/runner.dart:62:12)

#15     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#16     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)

#17     runInContext (package:flutter_tools/src/context_runner.dart:73:10)

#18     main (package:flutter_tools/executable.dart:90:3)

[ +255 ms] ensureAnalyticsSent: 253ms
[   +3 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
✘-1 ~/src/flutter_counter
20:26 $ flutter build bundle --verbose --release --no-tree-shake-icons
[  +54 ms] executing: [/home/kkiyohara/src/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +24 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[        ] executing: [/home/kkiyohara/src/flutter/] git tag --points-at 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[  +11 ms] Exit code 0 from: git tag --points-at 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[        ] 2.0.6
[  +28 ms] executing: [/home/kkiyohara/src/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/kkiyohara/src/flutter/] git ls-remote --get-url origin
[   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +28 ms] executing: [/home/kkiyohara/src/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +39 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +31 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +44 ms] Skipping pub get: version match.
[  +88 ms] Generating /home/kkiyohara/src/flutter_counter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +43 ms] 💪 Building with sound null safety 💪
[   +6 ms] Initializing file store
[   +6 ms] release_flutter_bundle: Starting due to {}
[  +71 ms] release_flutter_bundle: Complete
[  +35 ms] Persisting file store
[   +1 ms] Done persisting file store
[   +8 ms] "flutter bundle" took 354ms.
[ +255 ms] ensureAnalyticsSent: 252ms
[   +4 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0
✔ ~/src/flutter_counter
20:28 $ ls build/
flutter_assets/      snapshot_blob.bin.d
✔ ~/src/flutter_counter
20:28 $ ls build/flutter_assets/
AssetManifest.json  FontManifest.json   fonts/              .last_build_id      NOTICES             packages/
✔ ~/src/flutter_counter
20:28 $
✘-INT ~/src/flutter_counter
Note that debug builds succeed.
20:30 $ flutter build bundle --verbose --debug
[  +55 ms] executing: [/home/kkiyohara/src/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +24 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[        ] executing: [/home/kkiyohara/src/flutter/] git tag --points-at 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[  +11 ms] Exit code 0 from: git tag --points-at 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[        ] 2.0.6
[  +28 ms] executing: [/home/kkiyohara/src/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/kkiyohara/src/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +29 ms] executing: [/home/kkiyohara/src/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +40 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +36 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +37 ms] Skipping pub get: version match.
[  +90 ms] Generating /home/kkiyohara/src/flutter_counter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +45 ms] 💪 Building with sound null safety 💪
[   +6 ms] Initializing file store
[   +9 ms] Skipping target: gen_localizations
[   +4 ms] kernel_snapshot: Starting due to {}
[   +7 ms] /home/kkiyohara/src/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/kkiyohara/src/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/kkiyohara/src/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --no-link-platform --packages /home/kkiyohara/src/flutter_counter/.dart_tool/package_config.json --output-dill
/home/kkiyohara/src/flutter_counter/.dart_tool/flutter_build/69ed6f97b36248922b461cd3c8a35496/app.dill --depfile
/home/kkiyohara/src/flutter_counter/.dart_tool/flutter_build/69ed6f97b36248922b461cd3c8a35496/kernel_snapshot.d package:flutter_counter/main.dart
[+5994 ms] kernel_snapshot: Complete
[ +334 ms] copy_flutter_bundle: Starting due to {}
[  +79 ms] copy_flutter_bundle: Complete
[ +429 ms] Persisting file store
[   +3 ms] Done persisting file store
[  +10 ms] "flutter bundle" took 7,106ms.
[  +73 ms] ensureAnalyticsSent: 70ms
[   +4 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0
✔ ~/src/flutter_counter
20:31 $ ls  build/flutter_assets/
AssetManifest.json  FontManifest.json  fonts  isolate_snapshot_data  kernel_blob.bin  NOTICES  packages  vm_snapshot_data
✔ ~/src/flutter_counter

20:25 $ flutter doctor --verbose
[✓] Flutter (Channel stable, 2.0.6, on Linux, locale en_US.UTF-8)
• Flutter version 2.0.6 at /home/kkiyohara/src/flutter
• Framework revision 1d9032c7e1 (6 days ago), 2021-04-29 17:37:58 -0700
• Engine revision 05e680e202
• Dart version 2.12.3
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /home/kkiyohara/Android/Sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~18.04-b10)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
• cmake version 3.18.4
• ninja version 1.8.2
• pkg-config version 0.29.1
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1)
• IntelliJ at /home/kkiyohara/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/211.7142.45
• Flutter plugin version 56.0.5
• Dart plugin version 211.7233
[✓] Connected device (2 available)
• Linux (desktop) • linux  • linux-x64      • Linux
• Chrome (web)    • chrome • web-javascript • Google Chrome 90.0.4430.93
! Doctor found issues in 1 category.

I think you may forget to reference your release keystore in the android project, see signing the app.

bundle                         Build the Flutter assets directory from your app.
[   +3 ms] Target release_flutter_bundle failed: IconTreeShakerException:
Expected to find
           kernel file at

/Users/dhs/Documents/NCFlutter/bug_81954/.dart_tool/flutter_build/c2a3b3712c4a9f
           dc1e8045472f13100a/app.dill, but no file found.

           To disable icon tree shaking, pass --no-tree-shake-icons to the
requested
           flutter build command

Verified this on latest stable and master and I see the same exception in profile and release mode, while it works in debug mode.

 flutter build bundle --release --verbose
dhs@Dhss-MacBook-Pro bug_81954 % flutter build bundle --verbose --release
[  +75 ms] executing: [/Users/dhs/documents/fluttersdk/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +49 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +3 ms] 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[   +1 ms] executing: [/Users/dhs/documents/fluttersdk/flutter/] git tag
--points-at 1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[  +21 ms] Exit code 0 from: git tag --points-at
1d9032c7e1d867f071f2277eb1673e8f9b0274e3
[        ] 2.0.6
[  +45 ms] executing: [/Users/dhs/documents/fluttersdk/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/dhs/documents/fluttersdk/flutter/] git ls-remote
--get-url origin
[  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +47 ms] executing: [/Users/dhs/documents/fluttersdk/flutter/] git rev-parse
--abbrev-ref HEAD
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +5 ms] executing: sw_vers -productName
[  +13 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +13 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.4
[        ] executing: sw_vers -buildVersion
[  +14 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19E2269
[   +5 ms] executing: sysctl hw.optional.arm64
[   +4 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +59 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +38 ms] Artifact Instance of 'MaterialFonts' is not required, skipping
update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping
update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping
update.
[  +49 ms] Skipping pub get: version match.
[ +124 ms] Generating
/Users/dhs/Documents/NCFlutter/bug_81954/android/app/src/main/java/io/flutter/pl
ugins/GeneratedPluginRegistrant.java
[  +69 ms] 💪 Building with sound null safety 💪
[   +8 ms] Initializing file store
[   +8 ms] release_flutter_bundle: Starting due to {}
[ +107 ms] Persisting file store
[   +2 ms] Done persisting file store
[   +2 ms] Target release_flutter_bundle failed: IconTreeShakerException:
Expected to find
           kernel file at

/Users/dhs/Documents/NCFlutter/bug_81954/.dart_tool/flutter_build/303cf5f7e09bb2
           a84a7f5b70bcf010f9/app.dill, but no file found.

           To disable icon tree shaking, pass --no-tree-shake-icons to the
requested
           flutter build command
[  +12 ms] "flutter bundle" took 456ms.
[   +4 ms] Failed to build bundle.
[   +1 ms]
           #0      throwToolExit
(package:flutter_tools/src/base/common.dart:10:3)
           #1      buildWithAssemble
(package:flutter_tools/src/bundle.dart:175:5)
           <asynchronous suspension>
           #2      BundleBuilder.build
(package:flutter_tools/src/bundle.dart:102:5)
           <asynchronous suspension>
           #3      BuildBundleCommand.runCommand
           (package:flutter_tools/src/commands/build_bundle.dart:102:5)
           <asynchronous suspension>
           #4      FlutterCommand.verifyThenRunCommand
           (package:flutter_tools/src/runner/flutter_command.dart:1157:12)
           <asynchronous suspension>
           #5      FlutterCommand.run.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command.dart:1009:27)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      AppContext.run
(package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #8      CommandRunner.runCommand
(package:args/command_runner.dart:197:13)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:278:9)
           <asynchronous suspension>
           #10     AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #11     AppContext.run
(package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #12     FlutterCommandRunner.runCommand
           (package:flutter_tools/src/runner/flutter_command_runner.dart:234:5)
           <asynchronous suspension>
           #13     run.<anonymous closure>.<anonymous closure>
           (package:flutter_tools/runner.dart:64:9)
           <asynchronous suspension>
           #14     run.<anonymous closure>
(package:flutter_tools/runner.dart:62:12)
           <asynchronous suspension>
           #15     AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #16     AppContext.run
(package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #17     runInContext
(package:flutter_tools/src/context_runner.dart:73:10)
           <asynchronous suspension>
           #18     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>

[ +264 ms] ensureAnalyticsSent: 261ms
[   +3 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 1
dhs@Dhss-MacBook-Pro bug_81954 %

 flutter build bundle --debug --verbose
dhs@Dhss-MacBook-Pro bug_81954 % flutter build bundle --debug --verbose
[  +90 ms] executing: sysctl hw.optional.arm64
[  +16 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[   +6 ms] executing: [/Users/dhs/documents/fluttersdk/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +16 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] 14d5eab43c37d59c6ba56576a238633e75ad924b
[        ] executing: [/Users/dhs/documents/fluttersdk/flutter/] git tag
--points-at 14d5eab43c37d59c6ba56576a238633e75ad924b
[  +22 ms] Exit code 0 from: git tag --points-at
14d5eab43c37d59c6ba56576a238633e75ad924b
[   +2 ms] executing: [/Users/dhs/documents/fluttersdk/flutter/] git describe
--match *.*.* --long --tags 14d5eab43c37d59c6ba56576a238633e75ad924b
[  +25 ms] Exit code 0 from: git describe --match *.*.* --long --tags
14d5eab43c37d59c6ba56576a238633e75ad924b
[        ] 2.3.0-0.0.pre-229-g14d5eab43c
[   +7 ms] executing: [/Users/dhs/documents/fluttersdk/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/Users/dhs/documents/fluttersdk/flutter/] git ls-remote
--get-url origin
[  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +95 ms] executing: [/Users/dhs/documents/fluttersdk/flutter/] git rev-parse
--abbrev-ref HEAD
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[   +4 ms] executing: sw_vers -productName
[  +12 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +13 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.4
[        ] executing: sw_vers -buildVersion
[  +14 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19E2269
[  +59 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +38 ms] Artifact Instance of 'MaterialFonts' is not required, skipping
update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping
update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping
update.
[  +49 ms] Skipping pub get: version match.
[ +113 ms] Generating
/Users/dhs/Documents/NCFlutter/bug_81954/android/app/src/main/java/io/flutter/pl
ugins/GeneratedPluginRegistrant.java
[  +71 ms] 💪 Building with sound null safety 💪
[   +6 ms] Initializing file store
[  +15 ms] Skipping target: gen_localizations
[  +12 ms] gen_dart_plugin_registrant: Starting due to
{InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/Users/dhs/Documents/NCFlutter/bug_81954/.dart_tool/package_config_subset}
[  +29 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] kernel_snapshot: Starting due to {}
[   +9 ms] /Users/dhs/documents/fluttersdk/flutter/bin/cache/dart-sdk/bin/dart
--disable-dart-dev
/Users/dhs/documents/fluttersdk/flutter/bin/cache/artifacts/engine/darwin-x64/fr
ontend_server.dart.snapshot --sdk-root
/Users/dhs/documents/fluttersdk/flutter/bin/cache/artifacts/engine/common/flutte
r_patched_sdk/ --target=flutter --no-print-incremental-dependencies
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --no-link-platform --packages
/Users/dhs/Documents/NCFlutter/bug_81954/.dart_tool/package_config.json
--output-dill
/Users/dhs/Documents/NCFlutter/bug_81954/.dart_tool/flutter_build/0c585f7d232dfd
6e5df0e5b52d3eee90/app.dill --depfile
/Users/dhs/Documents/NCFlutter/bug_81954/.dart_tool/flutter_build/0c585f7d232dfd
6e5df0e5b52d3eee90/kernel_snapshot.d --filesystem-scheme org-dartlang-root
package:bug_81954/main.dart
[+7606 ms] kernel_snapshot: Complete
[ +402 ms] copy_flutter_bundle: Starting due to {}
[ +142 ms] copy_flutter_bundle: Complete
[ +498 ms] Persisting file store
[   +5 ms] Done persisting file store
[  +16 ms] "flutter bundle" took 9,054ms.
[ +264 ms] ensureAnalyticsSent: 257ms
[   +3 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0
dhs@Dhss-MacBook-Pro bug_81954 %

 stable and master flutter doctor -v

[✓] Flutter (Channel stable, 2.0.6, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.0.6 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision 1d9032c7e1 (6 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 90.0.4430.93

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.3.0-1.0.pre.229, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.3.0-1.0.pre.229 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 14d5eab43c (5 hours ago), 2021-05-05 21:51:53 -0700
    • Engine revision 378e4dbc41
    • Dart version 2.14.0 (build 2.14.0-48.0.dev)

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 90.0.4430.93

! Doctor found issues in 1 category.

We aren't trying to build for Android. We are using a separate Flutter
engine running on a different platform. We just need the bundle files.
On Wed, May 5, 2021 at 11:02 PM Frank Pang @.***> wrote:

I think you may forget to reference your release keystore in the android
project, see signing the app
https://flutter.dev/docs/deployment/android#signing-the-app.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/81954#issuecomment-833250746,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXXJY46TXKN44QUGNJMVYDTMIWIPANCNFSM44GGV7HA
.

The flutter assemble equivalent from flutter build apk --release -v has flags -Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64 -Ptarget=lib/main.dart -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=true assembleRelease

flutter build bundle --release --no-tree-shake-icons succeeded.

@jonahwilliams says flutter build bundle doesn't generate a dill, just the assets, so there's nothing for the icon tree shaker to run on.  We should remove it the flag for that command (probably not actually remove since that would break --no-tree-shake-icons, but default it to off and hide it).
In the meantime, the workaround is to run flutter build bundle --release --no-tree-shake-icons.

Here's a session that is building DEBUG version of the bundle. Take note of the bundle/flutter_assets/ directory contents after building, i.e. the vm_snapshot_data, isolate_snapshot_data and kernel_blob.bin files:
✔ ~/src/flutter_counter
21:10 $ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.6, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1)
[✓] Connected device (2 available)

! Doctor found issues in 1 category.
✔ ~/src/flutter_counter
21:10 $ flutter clean
Deleting build...                                                    4ms
Deleting .dart_tool...                                               0ms
Deleting .packages...                                                0ms
Deleting Generated.xcconfig...                                       0ms
Deleting flutter_export_environment.sh...                            0ms
✔ ~/src/flutter_counter
21:10 $ flutter build bundle --debug
Running "flutter pub get" in flutter_counter...                    463ms

💪 Building with sound null safety 💪

✔ ~/src/flutter_counter
21:10 $ ls -l build/flutter_assets/
total 37800
-rw-rw-r-- 1 kkiyohara kkiyohara      109 May 17 21:10 AssetManifest.json
-rw-rw-r-- 1 kkiyohara kkiyohara      208 May 17 21:10 FontManifest.json
drwxrwxr-x 2 kkiyohara kkiyohara     4096 May 17 21:10 fonts
-rw-rw-r-- 1 kkiyohara kkiyohara  4075041 May 17 21:10 isolate_snapshot_data
-rw-rw-r-- 1 kkiyohara kkiyohara 33844464 May 17 21:10 kernel_blob.bin
-rw-rw-r-- 1 kkiyohara kkiyohara   751388 May 17 21:10 NOTICES
drwxrwxr-x 3 kkiyohara kkiyohara     4096 May 17 21:10 packages
-rw-rw-r-- 1 kkiyohara kkiyohara    11204 May 17 21:10 vm_snapshot_data
✔ ~/src/flutter_counter
21:10 $

Attempting to build a RELEASE bundle ends up with missing files:
✔ ~/src/flutter_counter
21:10 $ flutter clean
Deleting build...                                                    7ms
Deleting .dart_tool...                                               2ms
Deleting .packages...                                                0ms
Deleting Generated.xcconfig...                                       0ms
Deleting flutter_export_environment.sh...                            0ms
✔ ~/src/flutter_counter
21:15 $ flutter build bundle --release --no-tree-shake-icons
Running "flutter pub get" in flutter_counter...                    443ms

💪 Building with sound null safety 💪

✔ ~/src/flutter_counter
21:16 $ ls -l build/flutter_assets/
total 752
-rw-rw-r-- 1 kkiyohara kkiyohara    109 May 17 21:16 AssetManifest.json
-rw-rw-r-- 1 kkiyohara kkiyohara    208 May 17 21:16 FontManifest.json
drwxrwxr-x 2 kkiyohara kkiyohara   4096 May 17 21:16 fonts
-rw-rw-r-- 1 kkiyohara kkiyohara 751388 May 17 21:16 NOTICES
drwxrwxr-x 3 kkiyohara kkiyohara   4096 May 17 21:16 packages
✔ ~/src/flutter_counter
21:16 $

i.e. the vm_snapshot_data, isolate_snapshot_data and kernel_blob.bin files

Those are present in debug, not release, so that's behaving correctly.  That's not related to the icon tree shaking looking for the dill that isn't being output.


Swift 4.2 support on iOS 9.3.5

Description: Can we use this on iOS version 9.3.5 with oAuth Swift Library on Swift 4.2?
OAuth Provider? (Twitter, Github, ..):Mastercard
OAuth Version:

[ x] Version 1
[ ] Version 2

OS (Please fill the version) :

[x] iOS : 9.3.5
[ ] OSX :
[ ] TVOS :
[ ] WatchOS  :

Installation method:

[ ] Carthage
[ x] CocoaPods
[ ] Swift Package Manager
[ ] Manually

Library version:

[ ] head
[ ] v2.1.0
[ ] v2.0.0
[ ] v1.4.1
[ ] v1.2 (Swift 4.0)
[ x] other: Swift 4.2

Xcode version:

[ ] 11.x (Swift 5.1)

[ ] 10.x (Swift 5.0)

[ ] 10.x (Swift 4.1)

[ ] 9.3 (Swift 4.1)

[ ] 9.0 (Swift 4.0)

[ ] other: (Please fill in the version you are using.)

[ ] objective c

Without trying I do not know. Just specify an old version and test
You can check old podspec version with associated ios version
https://github.com/CocoaPods/Specs/tree/9543734012238c33ea018af5a4381459c13f0916/Specs/b/c/6/OAuthSwift


Buy X from shops

Ability to buy X amount of an item from a shop.

This is close to the same thing: https://github.com/Erigitic/TotalEconomy/issues/253. Missed it while looking through all the issues.


Get Travis CI automated build working

after script to run coverall seems failing

@hiddentao are you setting up coverall on this PR or separate PR? If the latter good to go. If the former, the post deploy job is failing


 Do you want me to delete my svelte SVG and just have your's be used in this PR?

#22 has a lot more flairs, including the svelte one. It would probably be easiest to just close this one.


useSortable dragging render issue

When using useSortable, new added draggable items won't become draggable until you refresh the page, unlike using useDraggable which works fine when adding new items.

I was running into a similar issue earlier today but eventually traced it to a bug of my own. Can you provide some sample code to demonstrate the bug you're seeing?

The issue suggest that you have 2 same ID when executing your logic. Happened to me.
Can you share your code?