feature(module:image): support lazy loading for image component

PR Checklist
Please check if your PR fulfills the following requirements:

[✔] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[✔] Tests for the changes have been added (for bug fixes / features)
[✔] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[✔] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?
Currently when you add loading='lazy' to an image, it doesn't work as intended. It loads the image like as the page is loaded.
Issue Number: N/A
What is the new behavior?
Now if you add nzLoading='lazy', the image is only loaded when image is in viewport.
Does this PR introduce a breaking change?
[ ] Yes
[✔] No

Other information

Should we consider using  directly?
https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/loading

Should we consider using  directly? https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/loading
NgOptimizedImage also uses the same technique https://angular.io/api/common/NgOptimizedImage#instance-properties

Unfortunately, this method is ineffective. The reason is that in image.directive.ts, the image element is created using document.createElement('img'). Once the element is created, its src attribute is immediately assigned, triggering the browser to download it. I attempted to set its loading attribute before setting its src, but it did not enable lazy loading.
I implement a manual approach to verify when the newly created img element appears in the viewport. I utilize IntersectionObserver, which ensures a high performance.

Should we consider using  directly? https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/loading
NgOptimizedImage also uses the same technique https://angular.io/api/common/NgOptimizedImage#instance-properties

Unfortunately, this method is ineffective. The reason is that in image.directive.ts, the image element is created using document.createElement('img'). Once the element is created, its src attribute is immediately assigned, triggering the browser to download it. I attempted to set its loading attribute before setting its src, but it did not enable lazy loading.
I implement a manual approach to verify when the newly created img element appears in the viewport. I utilize IntersectionObserver, which ensures a high performance.
When the img element enters the viewport, its src attribute is assigned, causing it to be downloaded by the browser.

Thanks for your contribution :) @ParsaArvanehPA This year we applied for some free licenses from Jetbrains(valid until Nov 14, 2024, it can be activated in All Products Pack of Jetbrains), please contact me if you need it, I've sent you a notification to your email!

Hi Jason,
Thank you so much for your wonderful message and your generous offer. I am very happy and honored to be part of the ng-zorro-antd open source community. I enjoy working on this project and I am glad that my code has been useful and helpful.
I am very grateful for the license from JetBrains that you have applied for me. This is a very valuable and thoughtful gift, and I appreciate your kindness and generosity. I have registered an account on JetBrains with my email address, and I've sent you my account info via email.
I look forward to using JetBrains products and continuing to support our ng-zorro-antd community. Thank you again for your support!

Greetings @simplejason,
I am wondering if you have had a chance to look at the changes I made to my pull request based on your comments. I have been waiting for your feedback and approval for some time now. Is there anything else I need to do to move this process forward? Please let me know as soon as possible. Thank you for your time and assistance.


OBJ Segfault with a specific file

Describe the bug
Reading an obj can segfault with a specific file
To Reproduce
Steps to reproduce the behavior:
0.  spider.zip

Open the file using f3d --dry-run spider.obj
segfault

Program received signal SIGSEGV, Segmentation fault.
(anonymous namespace)::tokenGetTexture (t=@0x7ffffffe4e60: 181, tokens=std::vector of length 184, capacity 256 = {...}, current_mtl=0x5555557108f0, texturePath="/home/glow/aur/assimp/src/assimp-5.2.1/test/models/OBJ/") at /home/glow/dev/vtk/vtk1/src/IO/Import/vtkOBJImporterInternals.cxx:235
235         while (tokens[tt].Type != Token::LineEnd)
(gdb) bt
#0  (anonymous namespace)::tokenGetTexture (t=@0x7ffffffe4e60: 181, tokens=std::vector of length 184, capacity 256 = {...}, current_mtl=0x5555557108f0,
    texturePath="/home/glow/aur/assimp/src/assimp-5.2.1/test/models/OBJ/") at /home/glow/dev/vtk/vtk1/src/IO/Import/vtkOBJImporterInternals.cxx:235
#1  0x00007ffff5623385 in vtkOBJPolyDataProcessor::ParseOBJandMTL (this=0x5555556e7d80,
    Filename="/home/glow/aur/assimp/src/assimp-5.2.1/test/models/OBJ/spider.mtl", result_code=@0x7ffffffe5188: 0)
    at /home/glow/dev/vtk/vtk1/src/IO/Import/vtkOBJImporterInternals.cxx:351
#2  0x00007ffff560e66f in vtkOBJPolyDataProcessor::RequestData (this=0x5555556e7d80) at /home/glow/dev/vtk/vtk1/src/IO/Import/vtkOBJImporter.cxx:400
#3  0x00007ffff26d0f08 in vtkPolyDataAlgorithm::ProcessRequest (this=0x5555556e7d80, request=0x555555f73170, inputVector=0x0, outputVector=0x555555f687e0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkPolyDataAlgorithm.cxx:88
#4  0x00007ffff26a5cbb in vtkExecutive::CallAlgorithm (this=0x555555ab8bc0, request=0x555555f73170, direction=1, inInfo=0x0, outInfo=0x555555f687e0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkExecutive.cxx:735
#5  0x00007ffff269c048 in vtkDemandDrivenPipeline::ExecuteData (this=0x555555ab8bc0, request=0x555555f73170, inInfo=0x0, outInfo=0x555555f687e0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:462
#6  0x00007ffff268f281 in vtkCompositeDataPipeline::ExecuteData (this=0x555555ab8bc0, request=0x555555f73170, inInfoVec=0x0, outInfoVec=0x555555f687e0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:163
#7  0x00007ffff269b5f5 in vtkDemandDrivenPipeline::ProcessRequest (this=0x555555ab8bc0, request=0x555555f73170, inInfoVec=0x0, outInfoVec=0x555555f687e0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:261
#8  0x00007ffff2767534 in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0x555555ab8bc0, request=0x555555f73170, inInfoVec=0x0,
    outInfoVec=0x555555f687e0) at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:344
#9  0x00007ffff269be2d in vtkDemandDrivenPipeline::UpdateData (this=0x555555ab8bc0, outputPort=0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:419
#10 0x00007ffff27678c4 in vtkStreamingDemandDrivenPipeline::Update (this=0x555555ab8bc0, port=0, requests=0x0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:418
#11 0x00007ffff276774d in vtkStreamingDemandDrivenPipeline::Update (this=0x555555ab8bc0, port=0)
    at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:381
#12 0x00007ffff268438a in vtkAlgorithm::Update (this=0x5555556e7d80, port=0) at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkAlgorithm.cxx:1492
#13 0x00007ffff2684355 in vtkAlgorithm::Update (this=0x5555556e7d80) at /home/glow/dev/vtk/vtk1/src/Common/ExecutionModel/vtkAlgorithm.cxx:1486
#14 0x00007ffff560cc04 in vtkOBJImporter::ReadData (this=0x555555f68a30) at /home/glow/dev/vtk/vtk1/src/IO/Import/vtkOBJImporter.cxx:87
#15 0x00007ffff55faacb in vtkImporter::Read (this=0x555555f68a30) at /home/glow/dev/vtk/vtk1/src/IO/Import/vtkImporter.cxx:87
#16 0x00007ffff7ea2a22 in vtkImporter::Update (this=0x555555f68a30) at /home/glow/dev/vtk/vtk1/src/IO/Import/vtkImporter.h:92
#17 0x00007ffff7ea2543 in f3d::detail::loader_impl::loadFile (this=0x555555712540, load=f3d::loader::LoadFileEnum::LOAD_CURRENT)
    at /home/glow/dev/f3d/f3d/src/library/src/loader_impl.cxx:379
#18 0x0000555555617d8d in F3DStarter::LoadFile (this=0x7fffffffe720, load=f3d::loader::LoadFileEnum::LOAD_CURRENT)
    at /home/glow/dev/f3d/f3d/src/application/F3DStarter.cxx:357
#19 0x0000555555617038 in F3DStarter::Start (this=0x7fffffffe720, argc=2, argv=0x7fffffffe868) at /home/glow/dev/f3d/f3d/src/application/F3DStarter.cxx:202
#20 0x000055555561b4e9 in main (argc=2, argv=0x7fffffffe868) at /home/glow/dev/f3d/f3d/src/application/main.cxx:13

Expected behavior
Works, with textures
System Information:

OS: Linux and Windows

F3D Information
Paste the content of f3d --version: 1.3.1 and master
Additional context
I tried to fix it in the OBJ parser but it seems to be lost in this file

Buy one get one free bug here:

Adding an empty line at the end of the .mtl file avoids the segfault (so maybe checking for EOF in addition to EOL in while (tokens[tt].Type != Token::LineEnd) would be enough to fix?)
...but then the textures don't work (spider is all white). Replacing \ by / in the texture filenames fixes the textures.

Thanks @snoyer ! Do you know if this obj file is actually part of the obj standard or is it wildly incorrect ?
Windows 3D Viewer is able to open the file, which does not mean much.
Looking at every .mtl specification, I dont see the need for a new line at the end of the file anywhere. So that looks like a genuine bug, especially since it segfaults.
The \ vs /  however is not clear. I cant find anything in any spec regarding path separator,  I did found some instance of people having such file:

https://stackoverflow.com/questions/24779582/textures-with-the-backslash-path-is-not-loading-the-textures-in-objmtlloder-in-f
https://github.com/tinyobjloader/tinyobjloader/issues/106

But it looks like a "Windows does not care about other OS" issue nore than anything. Do you have any inputs @snoyer ?

Thanks @snoyer ! Do you know if this obj file is actually part of the obj standard or is it wildly incorrect ?
Looking at every .mtl specification, I dont see the need for a new line at the end of the file anywhere. So that looks like a genuine bug, especially since it segfaults.

.obj and .mtl are line-based so I would say the file is ok.
I guess the bug is caused by the implementation reading filenames until the end of the line where it should read to the end of the line or end of file whichever comes first (educated guess, I haven't gone and checked VTK code)

The \ vs / however is not clear. I cant find anything in any spec regarding path separator

For the path separators I'm not sure either. From what I can tell the spec just says "filename goes here" but doesn't specify a format so it's up to the implementations to decide?

Windows 3D Viewer is able to open the file, which does not mean much.

Meshlab and Blender seem to be ok handling both / and \ so maybe the implied/assumed standard it to treat either as a separator

Sounds fair to me. Sister VTK issue:  https://gitlab.kitware.com/vtk/vtk/-/issues/18810

Still present in VTK, should be fixed

Code is written in "Ragel", Need expertise to fix:
https://gitlab.kitware.com/vtk/vtk/-/blame/master/IO/Import/mtlsyntax.inl#L256

Fixed in 2.3.0, thanks to a VTK fix.

https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10327


Update Outlook.OlViewType.md

Fix wrong value and refine table sorting

Docs Build status updates of commit 212ec51:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Outlook.OlViewType.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[Chooser] Typeahead placeholder te…

The placeholder text is cut off at various screen sizes.
Small:

Medium:

Large:

X-Large:

Only on medium (or really humongous) screens is the whole placeholder text visible.
A couple options:

Add ::placeholder { ... } styles. This could get ugly and give us cross-browser trouble.
Change the placeholder text to something shorter. Maybe just "District/Neighborhood" if that's enough of a prompt.

Closed by https://github.com/NYCPlanning/labs-community-portal/commit/a1712bdc0787adde0d41c08018e46dc2c9868693


geoOptions() is not working on geospatialRegion()

It seems that geoOptions() is not working on geospatialRegion()
This query:
    dbWriter.documents.query(
      q.where(
        q.geospatialRegion(
          q.geoPath('/root/item/point'),
          'contains',
          q.geoOptions('coordinate-system=wgs84'),
          q.point(0, -66.09375)
        )
      )
    )

Will throw this error:
{ [Error: query documents: response with invalid 400 status]
  message: 'query documents: response with invalid 400 status',
  statusCode: 400,
  body:
   { errorResponse:
      { statusCode: 400,
        status: 'Bad Request',
        messageCode: 'XDMP-OPTION',
        message: 'XDMP-OPTION: cts:geospatial-region-query(cts:geospatial-region-path-reference("/root/item/point",("coordinate-system=wgs84")), "contains", cts:point("0,-66.09375"), "coordinate-system=wgs84") -- Invalid option "coordinate-system=wgs84"' } } }

If you have region-path-index with coordinate system wgs84/double
<geospatial-region-path-index xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://marklogic.com/xdmp/database">
  <path-expression>/root/item/box</path-expression>
  <coordinate-system>wgs84/double</coordinate-system>
  <geohash-precision>2</geohash-precision>
  <invalid-values>ignore</invalid-values>
</geospatial-region-path-index>

And run the script:
    dbWriter.documents.query(
      q.where(
        q.geospatialRegion(
          q.geoPath('/root/item/box'),
          'contains',
          q.geoOptions('coordinate-system=wgs84/double'),
          q.polygon([q.point(-5, -70), q.point(4, -70), q.point(3, -60), q.point(-3, -65), q.point(-5, -70)])
        )
      )
    )

It can't find the index, because it doesn't take the geoOptions(), it's defaulting to wgs84
{ [Error: query documents: response with invalid 500 status]
  message: 'query documents: response with invalid 500 status',
  statusCode: 500,
  body:
   { errorResponse:
      { statusCode: 500,
        status: 'Internal Server Error',
        messageCode: 'INTERNAL ERROR',
        message: 'XDMP-GEOREGIONIDX-NOTFOUND: cts:geospatial-region-path-reference("/root/item/box", "coordinate-system=wgs84") --  /root/item/box wgs84 . See the MarkLogic server error log for further detail.' } } }

It seems that I put the coordinate-system in the wrong place,
But it's still throwing the error:
XDMP-GEOREGIONIDX-NOTFOUND: cts:geospatial-region-path-reference("/root/item/box", "coordinate-system=wgs84") --  /root/item/box wgs84
    dbWriter.documents.query(
      q.where(
        q.geospatialRegion(
          q.geoPath('/root/item/box', q.geoOptions(['coordinate-system=wgs84/double'])),
          'contains',
          q.polygon(q.point(-5, -70), q.point(4, -70), q.point(3, -60), q.point(-3, -65), q.point(-5, -70))
        )
      )
    )

Since I can't currently build the JSDoc (grrr) and can't find a func spec for the Node.js changes (double grrr), I can't check this, but it seems likely to me that q.geoPath is not the correct index reference constructor.
That is almost certainly going to construct a reference to a point index, not a region index. Point indexes are the same geo indexes we've always had; region indexes are new hawtness, and they are very much different index types.
See if the API now has something like a q.geoRegionPath helper.

There is no such thing as geoRegionPath in the lib. The spec mentioned that it should use geoPath. I can find all the results using geoPath, but just the geoOptions that's not working

test-setup-qa.zip

Thanks for the setup

Unzip the file, put the setup file on etc/ folder then run node etc/test-setup-qa.js

The root issue is that the options are being treated as namespaces.  A path can take a map of namespaces but also options. At present, pathIndex() and geoPath() support only the namespaces.

Correction.  In the Search API, a geospatial region path take only coord, which is not modelled as a geospatial option.

There was also a bug in the REST API as well.  It was not transforming coord from JSON.

@ayuwono please try  q.geoPath('/root/item/box', 'wgs84/double')
@wooldridge my concern with this fix is whether using a bare string is potentially puzzling as well as limiting for future evolution of this call.  So, consider whether it might be better to wrap the parameter with a helper function in the same way as the QueryBuilder elsewhere, as in:
q.geoPath('/root/item/box', q.coord('wgs84/double'))

If you decide to create a helper func, please consider inflicting a few extra characters on users so that the it doesn't sound like a point constructor. For example: q.coordSys, not q.coord.
Also, I'm a bit confused on one point:
Are we saying that geo path indexes accept no options?  I would think geo point indexes (as distinct from region indexes) need to accept at least the type option for specifying coordinate order, even if you want to ignore the ability to override the precision implicit in the coordinate system name using the precision option.

Good catch on the potential for misreading the name and on the options.
@wooldridge , I'll go with qb.coordSystem as the name for now, which can be revised in the next iteration.
Let's make the options a separate bug and fix it in the next iteration.  (I wonder whether there is a need for the precision given that the precision is explicit in the coordinate system, but I'm shallow on some of the geospatial specifics.)

On the server, the precision option is an override on the precision implicit in the coordinate system name. It might have more of a role server-side than client-side. I don't really know what use cases Jake had in mind when he exposed the override. I assumed you guys eyed it skeptically and decided not to include it in Search API & Friends.

Okay, qb.coordSystem() has landed -- see the Query Builder unit test for same.
I'll pursue the options offline.

Verified q.coordSystem is working
Added tests: nodejs-documents-query-geo-region.js


Entity type 'WaveDataset' is not available in this organization

Summary
My sandbox has WaveDataset showing as Remote Add and the CLI will not ignore it and errors stating that it is not supported in this organization.
Steps To Reproduce:

Create a sandbox from an production instance that has Einstein Analytics enabled
Wait a couple of days
Run status and you should see WaveDataset showing as Remote Add
Run pull command
You will get an error

Expected result
If the WaveDataset is not available then I would expect the status and pull command to ignore it
Actual result
ERROR running force:source:pull:  Entity type 'WaveDataset' is not available in this organization
System Information
{
"cliVersion": "sfdx-cli/7.129.0",
"architecture": "darwin-x64",
"nodeVersion": "node-v16.13.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.2.3 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.1 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"alias 1.1.22 (core)",
"auth 1.7.6 (core)",
"config 1.2.48 (core)",
"generator 1.2.1 (core)",
"salesforcedx 52.0.0",
"├─ data 0.4.11",
"├─ limits 1.2.1",
"├─ schema 1.0.7",
"├─ org 1.6.6",
"├─ custom-metadata 1.0.12",
"├─ user 1.3.0",
"├─ templates 51.5.0",
"├─ apex 0.2.2",
"├─ @salesforce/sfdx-plugin-lwc-test 0.1.7",
"└─ salesforce-alm 52.0.0",
"sfdx-cli 7.129.0 (core)",
"sfdx-git-delta 4.11.0",
"source 1.5.3 (core)",
"telemetry 1.3.0 (core)",
"trust 1.0.10 (core)"
],
"osVersion": "Darwin 21.1.0"
}
Additional information
Feel free to attach a screenshot.

same solution as https://github.com/forcedotcom/cli/issues/1307

After doing removing the plugin and updating the CLI I still get this error.

Do you have any idea what's happening during this step that I could replicate?

Wait a couple of days

Is someone/something creating the dataset (ex: an automated process, perhaps?)
If not, does it happen if I go in the the Analytics UI and just create a dataset?
One more idea--can you try it with force:source:beta:pull? (you'll need a new project for that to keep your existing tracking files).  If that works OK, we're unlikely to fix it in the current pull.

Hi Shane,
My guess is that we have Einstein Analytics running in production and therefore these WaveDataset are getting updated in the sandbox on some sort of recurring schedule.
So here is what I just did:

sfdx force:project:create -n WaveTest
cd WaveTest
sfdx force:source:beta:status -u ALIAS
(Verified that the are several WaveDataset that show as Remote Add)
sfdx force:source:beta:pull -u ALIAS

After several minutes the process completed and the WaveDataset was listed as warning and didn't prevent it from completing.
=== Retrieved Source Warnings
FILE NAME               PROBLEM
──────────────────────  ───────────────────────────────────────────────────────────────────────────────────────────────
unpackaged/package.xml  Entity type 'WaveDataset' is not available in this organization
So it appears that the beta is handling WaveDataset already. I can use the beta as a work-around until it goes GA.

closed with new commands GA


Add selfref to related projects

(maybe we should also add qcell? not sure, but it's similar to ghostcell as far as we know.)

LGTM. I don't mind adding qcell.

@SoniEx2 does it want to add qcell here or should I just merge this PR?

will do in a few hours sorry

Thanks!


Fix pyspnego

Description of changes
pyspnego is broken as its krb5 dependency in the nix expression is specified incorrectly. For example, when it is used by requests-kerberos python library, it raises ImportError exception.
Example test which shows the issue:
import requests
from pytest_httpserver import HTTPServer
from requests_kerberos import HTTPKerberosAuth

def test_spnego(httpserver: HTTPServer):
    httpserver.expect_request("/auth").respond_with_data(status=401, headers={"WWW-Authenticate": "Negotiate"})
    resp = requests.get(httpserver.url_for("/auth"), auth=HTTPKerberosAuth())

    assert resp.status_code == 401

With current nixpkgs master it produces:
[...]
        if not HAS_GSSAPI:
>           raise ImportError("GSSAPIProxy requires the Python gssapi library: %s" % GSSAPI_IMP_ERR)
E           ImportError: GSSAPIProxy requires the Python gssapi library: No module named 'krb5'

The problem is that pyspnego depends on the pykrb5 python library and not on the krb5 derivation as specified (which contains the C library, and the related toolchain).
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

CC: @fabaff (pyspnego) @catern (requests-kerberos)

+1 for this fix thanks

@SuperSandro2000 @mweinelt could you please take a look at this PR again? Thanks!

I think I'm also seeing this with the requests-kerberos python module. (Or maybe gssapi?)

I believe this was fixed by #333058.

Great, closing this as stale and replaced


Kaito - Additional error handling & manual quota checks

Added new & refactored existing error handling scenarios
Implemented manual quota checking for more detailed user feedback
Minor UX tweaks

V6 for testing 👉 -->  vscode-aks-tools-1.4.10-kaitoerrors.zip

This PR currently includes commits from [#963]. Please review this PR after [#963] is merged so the relevant changes here can be reviewed individually. 👐

Superceeded by PR #1003.


License

Is there a license for this? If so I can't seem to find it.

Sorry, found it under COPYING


Remove All "Auth" Calls From The Views

All this stuff needs to be moved to the controller.

How would you like to do this, I use a helper but I saw you don't like too much. This is what I use for Laravel 5 https://gist.github.com/joecohens/6209b438695bcfac58c4

How would you like to do this, I use a helper but I saw you don't like too much. This is what I use for Laravel 5 https://gist.github.com/joecohens/6209b438695bcfac58c4

I recommend not using a helper in the views either. The views should not know about any authentication logic. They should only be displaying data.

I recommend not using a helper in the views either. The views should not know about any authentication logic. They should only be displaying data.

You know how we have transformers and repositories, and then really "skinny" api controllers. That's the same deal we should have with the html presentation too.

You know how we have transformers and repositories, and then really "skinny" api controllers. That's the same deal we should have with the html presentation too.

I would love to see it :)

I would love to see it :)

@joecohens Same here !!!

@joecohens Same here !!!

@GrahamCampbell do you have examples of this? I'd love to know how you would do this.


Helper to load modules or find symbols built-in

Differences since v2:

Moved from common to flow, since it's unlikely that it will be
helpful for the generic case.

Differences since v1:

Avois fetching symbols more than once in fbp-generator
Better error checking if symbol is not found in fbp-generator
Work with types created from DECLARE keywords in fbp-generator
init/shutdown are internal functions
Better error handling and reporting

Consists of a function that checks if a symbol is built-in, if not, it tries
to load the corresponding module. A macro wraps said function to be able to
work when dynamic modules support is disabled.
With these and the required changes in the respective code, programs created
with the fbp-generator no longer need to explicitly link to the modules they
use, since Soletta will take care of loading them if required.

Hopefully the last version in #796


Describe your problem
局域网环境，容器部署的服务，浏览器打开网页css未生效，布局乱了，点击搜索等按钮无法正常显示

You can use chrome devtools to check whether the css file has been loaded


User Profile header section

User Profile header section

[x] Avatar (from FID)
[x] Display name (from FID)
[x] Bio (from FID)

User profile social badges:

[ ] Farcaster w/ follower count (from FID)
[ ] Twitter w / follower count (from FID)
[ ] GitHub w / follower count (from Atlas)
[x] Agora w / delegator count (from connected delegate wallet address)
[x] Collective Forum (from Atlas)
[x] Add tooltips when hovering over social badges to communicate name of platform (ie Farcaster, Optimism Agora, etc)

Figma

12.17

[ ] Badge background color should be "secondary" (#F2F3F8)

@shaunop

Thanks @stepandel it's close but not quite right. I wonder if your line heights are the same as what I've got in the design system? Here's a comparison of the design (on the left) and the build (on the right)


sepia-filter: coding guidelines updates for Beta10

Description
sepia-filter: coding guidelines updates for Beta10
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Sample Migration (Moving sample from old repository after completing checklist established)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Command Line
[ ] oneapi-cli
[x] Visual Studio
[ ] Eclipse IDE
[ ] VSCode

Checklist for Moving samples:
Links and Details can be found in the samples WG Teams Files.

[ ] Review sample design with domain reviewers https://github.com/oneapi-src/oneAPI-samples/wiki/Reviewers-and-Domain-Experts
[ ] Implement coding guidelines and ensure code quality.
[ ] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[ ] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com
[ ] Adhere to readme template
[ ] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[ ] Enforce format via clang-format config file
[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth or Joe Oster. (GitHub User: JoeOster)
[ ] Tested using Dev Cloud when applicable
[ ] Implement fixes for ONSAM Jiras
[ ] If you have new dependencies/binaries, inform Samples Project Manager Swapna R Dontharaju (@srdontha) or @JoeOster

@anjgola Any insights on why the windows test is failing? TeamCity logs look fine.

@anjgola Any insights on why the windows test is failing? TeamCity logs look fine.
Here are the logs, looks like test_samples.py is exiting with code 1 and not 0

[15:10:50][Step 3/4] Done Building Project "C:\BuildAgent\work\27f863ad4717898f\sample-tester\test-resources\sepia-filter\sepia-filter.sln" (Rebuild target(s)).
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] Build succeeded.
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]     0 Warning(s)
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]     0 Error(s)
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] Time Elapsed 00:00:23.12
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] - generated xml file: C:\BuildAgent\work\27f863ad4717898f\sample-tester\reports\report.xml -
[15:10:50][Step 3/4] - generated html file: file://C:\BuildAgent\work\27f863ad4717898f\sample-tester\reports\report.html -
[15:10:50][Step 3/4] =========================== short test summary info ===========================
[15:10:50][Step 3/4] FAILED test_samples.py::test_run_sample[sepia-filter] - AssertionError: Sampl...
[15:10:50][Step 3/4] ============================= 1 failed in 30.71s ==============================
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] Process exited with code 1
[15:10:50][Step 3/4] Process exited with code 1 (Step: Execute tests (Command Line))
[15:10:50][Step 3/4] oneAPI Code Samples
[15:10:50][oneAPI Code Samples] test_samples.test_run_sample[sepia-filter]

@anjgola Any insights on why the windows test is failing? TeamCity logs look fine.
Here are the logs, looks like test_samples.py is exiting with code 1 and not 0

[15:10:50][Step 3/4] Done Building Project "C:\BuildAgent\work\27f863ad4717898f\sample-tester\test-resources\sepia-filter\sepia-filter.sln" (Rebuild target(s)).
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] Build succeeded.
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] 0 Warning(s)
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] 0 Error(s)
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] Time Elapsed 00:00:23.12
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] - generated xml file: C:\BuildAgent\work\27f863ad4717898f\sample-tester\reports\report.xml -
[15:10:50][Step 3/4] - generated html file: file://C:\BuildAgent\work\27f863ad4717898f\sample-tester\reports\report.html -
[15:10:50][Step 3/4] =========================== short test summary info ===========================
[15:10:50][Step 3/4] FAILED test_samples.py::test_run_sample[sepia-filter] - AssertionError: Sampl...
[15:10:50][Step 3/4] ============================= 1 failed in 30.71s ==============================
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] Process exited with code 1
[15:10:50][Step 3/4] Process exited with code 1 (Step: Execute tests (Command Line))
[15:10:50][Step 3/4] oneAPI Code Samples
[15:10:50][oneAPI Code Samples] test_samples.test_run_sample[sepia-filter]

@JoeOster Can I take a look at the complete log? or the full line containing AssertionError

·
Projectshttps://teamcity01-igk.devtools.intel.com/
·         Changeshttps://teamcity01-igk.devtools.intel.com/changes.html
·         Agentshttps://teamcity01-igk.devtools.intel.com/agents.html313
·         Build Queuehttps://teamcity01-igk.devtools.intel.com/queue.html280
·         TeamCity Forumhttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=buildLog&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187&_focus=51&state=&expand=all
·         Get IT Supporthttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=buildLog&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187&_focus=51&state=&expand=all
Joe Osterhttps://teamcity01-igk.devtools.intel.com/profile.html?init=1
·         OpenCL SDKhttps://teamcity01-igk.devtools.intel.com/project.html?projectId=OpenCLSdk&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Legohttps://teamcity01-igk.devtools.intel.com/project.html?projectId=OpenCLSdk_Lego&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         OneAPIhttps://teamcity01-igk.devtools.intel.com/project.html?projectId=OpenCLSdk_Lego_OneAPI&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Samples Open Sourcehttps://teamcity01-igk.devtools.intel.com/project.html?projectId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Productionhttps://teamcity01-igk.devtools.intel.com/project.html?projectId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Test Execution - Linuxhttps://teamcity01-igk.devtools.intel.com/viewType.html?buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
#478 (08 Oct 20 17:56)https://teamcity01-igk.devtools.intel.com/viewLog.html?buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&buildId=8083328&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Overviewhttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=buildResultsDiv&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Changeshttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=buildChangesDiv&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Testshttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=testsInfo&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Build Loghttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=buildLog&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Dependencieshttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=dependencies&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
·         Artifactshttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=artifacts&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187
«  #477https://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083087&tab=buildLog&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&logTab=tree
All historyhttps://teamcity01-igk.devtools.intel.com/viewType.html?buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=buildTypeHistoryList
Last recorded build
Download full build log (~89.98 KB)https://teamcity01-igk.devtools.intel.com/downloadBuildLog.html?buildId=8083328
|
.ziphttps://teamcity01-igk.devtools.intel.com/downloadBuildLog.html?buildId=8083328&archived=true
Tree view | Tailhttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&tab=buildLog&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&logTab=tail
Repeat block names  View:                                                                                Console view
[17:55:50]Collecting changes in 3 VCS roots (1s)
[17:55:50][Collecting changes in 3 VCS roots] VCS Root details
[17:55:50][VCS Root details] "oneapi-src/oneAPI-samples" {instance id=21283, parent internal id=2735, parent id=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_OneapiSrcOneAPISamples, description: "https://github.com/oneapi-src/oneAPI-samples#refs/heads/master"}
[17:55:50][VCS Root details] "OSS scripts" {instance id=21628, parent internal id=2782, parent id=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_OssScripts, description: "https://gitlab.devtools.intel.com/sip-qa/OSS_Scripts.git#refs/heads/master"}
[17:55:50][VCS Root details] "Sample Tester" {instance id=21726, parent internal id=2733, parent id=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_SampleTester, description: "https://gitlab.devtools.intel.com/sip-qa/sample-tester.git#refs/heads/master"}
[17:55:51][Collecting changes in 3 VCS roots] Compute revision for 'oneapi-src/oneAPI-samples'
[17:55:51][Compute revision for 'oneapi-src/oneAPI-samples'] Upper limit revision: 4cb4620954f24cba9816e0644c8273986ec3c930
[17:55:51][Compute revision for 'oneapi-src/oneAPI-samples'] Latest commit attached to build configuration (with id <= 1986172): 4cb4620954f24cba9816e0644c8273986ec3c930
[17:55:51][Compute revision for 'oneapi-src/oneAPI-samples'] Computed revision: 4cb4620954f24cba9816e0644c8273986ec3c930
[17:55:51][Collecting changes in 3 VCS roots] Compute revision for 'OSS scripts'
[17:55:51][Compute revision for 'OSS scripts'] Upper limit revision: 5007457ef7680a303ed5e146c81da6d921ddc7ef
[17:55:51][Compute revision for 'OSS scripts'] Latest commit attached to build configuration (with id <= 1986172): 5007457ef7680a303ed5e146c81da6d921ddc7ef
[17:55:51][Compute revision for 'OSS scripts'] Computed revision: 5007457ef7680a303ed5e146c81da6d921ddc7ef
[17:55:51][Collecting changes in 3 VCS roots] Compute revision for 'Sample Tester'
[17:55:51][Compute revision for 'Sample Tester'] Upper limit revision: cfdad477a342e9f030749667fed4a722f8427873
[17:55:51][Compute revision for 'Sample Tester'] Latest commit attached to build configuration (with id <= 1986172): cfdad477a342e9f030749667fed4a722f8427873
[17:55:51][Compute revision for 'Sample Tester'] Computed revision: cfdad477a342e9f030749667fed4a722f8427873
[17:56:58]The build is removed from the queue to be prepared for the start
[17:56:58]Starting the build on the agent "nnlhct-cfl023"
[17:56:58]Updating tools for build
[17:56:58][Updating tools for build] Tools are not required for the build
[17:56:59]Clearing temporary directory: /opt/buildAgent/temp/buildTmp
[17:56:59]Publishing internal artifacts (5s)
[17:57:03][Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[17:57:03][Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[17:56:59]Clean build enabled: removing old files from /opt/buildAgent/work/27f863ad4717898f
[17:56:59]Checkout directory: /opt/buildAgent/work/27f863ad4717898f
[17:56:59]Updating sources: auto checkout (on agent) (34s)
[17:56:59][Updating sources] Will use agent side checkout
[17:56:59][Updating sources] VCS Root: OSS scripts (1s)
[17:56:59][VCS Root: OSS scripts] checkout rules: =>CI_scripts; revision: 5007457ef7680a303ed5e146c81da6d921ddc7ef
[17:56:59][VCS Root: OSS scripts] Git version: <IP_ADDRESS>
[17:56:59][VCS Root: OSS scripts] Update git mirror (/opt/buildAgent/system/git/git-B3AC07DA.git) (1s)
[17:56:59][Update git mirror (/opt/buildAgent/system/git/git-B3AC07DA.git)] /usr/bin/git config http.sslCAInfo
[17:56:59][Update git mirror (/opt/buildAgent/system/git/git-B3AC07DA.git)] /usr/bin/git show-ref
[17:56:59][Update git mirror (/opt/buildAgent/system/git/git-B3AC07DA.git)] /usr/bin/git -c credential.helper= ls-remote origin
[17:57:00][Update git mirror (/opt/buildAgent/system/git/git-B3AC07DA.git)] /usr/bin/git show-ref refs/remotes/origin/master
[17:57:00][Update git mirror (/opt/buildAgent/system/git/git-B3AC07DA.git)] /usr/bin/git show-ref refs/heads/master
[17:57:00][Update git mirror (/opt/buildAgent/system/git/git-B3AC07DA.git)] /usr/bin/git pack-refs --all
[17:57:00][VCS Root: OSS scripts] Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)
[17:57:00][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] The .git directory is missing in '/opt/buildAgent/work/27f863ad4717898f/CI_scripts'. Running 'git init'...
[17:57:00][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git init
[17:57:00][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git config lfs.storage /opt/buildAgent/system/git/git-B3AC07DA.git/lfs
[17:57:00][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git config core.sparseCheckout true
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git config http.sslCAInfo
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git show-ref
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git show-ref refs/remotes/origin/master
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 5007457ef7680a303ed5e146c81da6d921ddc7ef --
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git branch
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git -c credential.helper= reset --hard 5007457ef7680a303ed5e146c81da6d921ddc7ef
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/CI_scripts)] /usr/bin/git branch --set-upstream-to=refs/remotes/origin/master
[17:57:01][Updating sources] VCS Root: oneapi-src/oneAPI-samples (30s)
[17:57:01][VCS Root: oneapi-src/oneAPI-samples] checkout rules: =>oneAPI-samples; revision: 4cb4620954f24cba9816e0644c8273986ec3c930
[17:57:01][VCS Root: oneapi-src/oneAPI-samples] Git version: <IP_ADDRESS>
[17:57:01][VCS Root: oneapi-src/oneAPI-samples] Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples) (30s)
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples)] The .git directory is missing in '/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples'. Running 'git init'...
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples)] /usr/bin/git init
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples)] /usr/bin/git config core.sparseCheckout true
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples)] /usr/bin/git config http.sslCAInfo
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples)] /usr/bin/git show-ref
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples)] /usr/bin/git show-ref refs/pull/187/head
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples)] /usr/bin/git log -n1 --pretty=format:%H%x20%s 4cb4620954f24cba9816e0644c8273986ec3c930 --
[17:57:01][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/oneAPI-samples)] Commit '4cb4620954f24cba9816e0644c8273986ec3c930' is not found in server's local repository clone.  Running 'git init'...
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git init
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git config lfs.storage /opt/buildAgent/system/git/git-CACB7E04.git/lfs
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git config core.sparseCheckout true
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git config http.sslCAInfo
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git show-ref
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git show-ref refs/remotes/origin/master
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git log -n1 --pretty=format:%H%x20%s cfdad477a342e9f030749667fed4a722f8427873 --
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git branch
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git -c credential.helper= reset --hard cfdad477a342e9f030749667fed4a722f8427873
[17:57:33][Update checkout directory (/opt/buildAgent/work/27f863ad4717898f/sample-tester)] /usr/bin/git branch --set-upstream-to=refs/remotes/origin/master
[17:57:33]Resolving artifact dependencies
[17:57:33][Resolving artifact dependencies] Downloading files from <OpenCL SDK / Lego / OneAPI / Samples Open Source / Production / Pre-execution checks, build #351 [id 8083327]> for pattern [samples_list.txt => oneAPI-samples]
[17:57:34][Resolving artifact dependencies] 1 file retrieved
[17:57:34]Step 1/4: Install OSS script dependencies (Initialize dependencies) (1s)
[17:57:34][Step 1/4] Step 1/1: Initialize dependencies (Command Line) (1s)
[17:57:34][Step 1/1] Ant JUnit report watcher
[17:57:34][Ant JUnit report watcher] Watching paths:
[17:57:34][Ant JUnit report watcher] sample-tester/reports/*.xml
[17:57:34][Step 1/1] Starting: /opt/buildAgent/temp/agentTmp/custom_script4839004432233447841
[17:57:34][Step 1/1] in directory: /opt/buildAgent/work/27f863ad4717898f/CI_scripts
[17:57:35][Step 1/1] Requirement already satisfied: PyGithub in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 1)) (1.53)
[17:57:35][Step 1/1] Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (2.22.0)
[17:57:35][Step 1/1] Requirement already satisfied: jsonschema in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 3)) (3.2.0)
[17:57:35][Step 1/1] Requirement already satisfied: pyjwt in /usr/lib/python3/dist-packages (from PyGithub->-r requirements.txt (line 1)) (1.7.1)
[17:57:35][Step 1/1] Requirement already satisfied: deprecated in /usr/local/lib/python3.8/dist-packages (from PyGithub->-r requirements.txt (line 1)) (1.2.10)
[17:57:35][Step 1/1] Requirement already satisfied: six>=1.11.0 in /usr/lib/python3/dist-packages (from jsonschema->-r requirements.txt (line 3)) (1.14.0)
[17:57:35][Step 1/1] Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from jsonschema->-r requirements.txt (line 3)) (45.2.0)
[17:57:35][Step 1/1] Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.8/dist-packages (from jsonschema->-r requirements.txt (line 3)) (20.2.0)
[17:57:35][Step 1/1] Requirement already satisfied: pyrsistent>=0.14.0 in /usr/local/lib/python3.8/dist-packages (from jsonschema->-r requirements.txt (line 3)) (0.17.3)
[17:57:35][Step 1/1] Requirement already satisfied: wrapt<2,>=1.10 in /usr/local/lib/python3.8/dist-packages (from deprecated->PyGithub->-r requirements.txt (line 1)) (1.12.1)
[17:57:35][Step 1/1] Process exited with code 0
[17:57:35]Step 2/4: Initialize Sample Tester (Command Line) (1s)
[17:57:35][Step 2/4] Starting: /opt/buildAgent/temp/agentTmp/custom_script8997803409459550711
[17:57:35][Step 2/4] in directory: /opt/buildAgent/work/27f863ad4717898f/sample-tester
[17:57:36][Step 2/4] Requirement already satisfied: pytest in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 1)) (6.1.0)
[17:57:36][Step 2/4] Requirement already satisfied: pytest-html in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 2)) (2.1.1)
[17:57:36][Step 2/4] Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.8/dist-packages (from pytest->-r requirements.txt (line 1)) (20.2.0)
[17:57:36][Step 2/4] Requirement already satisfied: toml in /usr/local/lib/python3.8/dist-packages (from pytest->-r requirements.txt (line 1)) (0.10.1)
[17:57:36][Step 2/4] Requirement already satisfied: py>=1.8.2 in /usr/local/lib/python3.8/dist-packages (from pytest->-r requirements.txt (line 1)) (1.9.0)
[17:57:36][Step 2/4] Requirement already satisfied: iniconfig in /usr/local/lib/python3.8/dist-packages (from pytest->-r requirements.txt (line 1)) (1.0.1)
[17:57:36][Step 2/4] Requirement already satisfied: packaging in /usr/local/lib/python3.8/dist-packages (from pytest->-r requirements.txt (line 1)) (20.4)
[17:57:36][Step 2/4] Requirement already satisfied: pluggy<1.0,>=0.12 in /usr/local/lib/python3.8/dist-packages (from pytest->-r requirements.txt (line 1)) (0.13.1)
[17:57:36][Step 2/4] Requirement already satisfied: pytest-metadata in /usr/local/lib/python3.8/dist-packages (from pytest-html->-r requirements.txt (line 2)) (1.10.0)
[17:57:36][Step 2/4] Requirement already satisfied: pyparsing>=2.0.2 in /usr/local/lib/python3.8/dist-packages (from packaging->pytest->-r requirements.txt (line 1)) (2.4.7)
[17:57:36][Step 2/4] Requirement already satisfied: six in /usr/lib/python3/dist-packages (from packaging->pytest->-r requirements.txt (line 1)) (1.14.0)
[17:57:36][Step 2/4] Process exited with code 0
[17:57:37]Step 3/4: Execute tests (Command Line) (13s)
[17:57:37][Step 3/4] Starting: /opt/buildAgent/temp/agentTmp/custom_script4231796199985367575
[17:57:37][Step 3/4] in directory: /opt/buildAgent/work/27f863ad4717898f/sample-tester
[17:57:37][Step 3/4] :: initializing oneAPI environment ...
[17:57:37][Step 3/4] :: tensorflow -- latest
[17:57:37][Step 3/4] :: tbb -- latest
[17:57:37][Step 3/4] :: compiler -- latest
[17:57:37][Step 3/4] :: dnnl -- latest
[17:57:37][Step 3/4] :: vtune -- latest
[17:57:37][Step 3/4] :: dev-utilities -- latest
[17:57:37][Step 3/4] :: dpcpp-ct -- latest
[17:57:37][Step 3/4] :: vpl -- latest
[17:57:37][Step 3/4] :: daal -- latest
[17:57:37][Step 3/4] :: mpi -- latest
[17:57:37][Step 3/4] :: ccl -- latest
[17:57:37][Step 3/4] :: mkl -- latest
[17:57:37][Step 3/4] :: ipp -- latest
[17:57:37][Step 3/4] :: intelpython -- latest
[17:57:37][Step 3/4] :: debugger -- latest
[17:57:37][Step 3/4] :: advisor -- latest
[17:57:37][Step 3/4] :: ippcp -- latest
[17:57:37][Step 3/4] :: inspector -- latest
[17:57:37][Step 3/4] :: clck -- latest
[17:57:37][Step 3/4] :: itac -- latest
[17:57:37][Step 3/4] :: system_debugger -- latest
[17:57:37][Step 3/4] :: eclipse-iot-plugins -- latest
[17:57:37][Step 3/4] :: iLiT -- latest
[17:57:37][Step 3/4] :: pytorch -- latest
[17:57:37][Step 3/4] :: modelzoo -- latest
[17:57:37][Step 3/4] :: oneAPI environment initialized ::
[17:57:39][Step 3/4] ============================= test session starts ==============================
[17:57:39][Step 3/4] platform linux -- Python 3.8.2, pytest-6.1.0, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3.8
[17:57:39][Step 3/4] cachedir: .pytest_cache
[17:57:39][Step 3/4] metadata: {'Python': '3.8.2', 'Platform': 'Linux-5.4.0-48-generic-x86_64-with-glibc2.29', 'Packages': {'pytest': '6.1.0', 'py': '1.9.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.10.0', 'html': '2.1.1'}, 'Platforms': 'TBB Warning: The number of workers is currently limited to 5. The request for 31 workers is ignored. Further requests for more workers will be silently ignored until the limit changes. ; ;  Platform Name                                   Intel(R) OpenCL ;  Platform Name                                   Intel(R) OpenCL HD Graphics ;  Platform Name                                   Intel(R) FPGA Emulation Platform for OpenCL(TM) ;  Platform Name                                   Intel(R) OpenCL ;  Platform Name                                   Intel(R) OpenCL HD Graphics ;  Platform Name                                   Intel(R) FPGA Emulation Platform for OpenCL(TM) ;    Platform Name                                 Intel(R) OpenCL ;', 'Drivers': 'TBB Warning: The number of workers is currently limited to 5. The request for 31 workers is ignored. Further requests for more workers will be silently ignored until the limit changes. ; ;  Driver Version                                  2<IP_ADDRESS>.27 ;  Driver Version                                  20.38.17961 ;  Driver Version                                  2<IP_ADDRESS>.27 ;'}
[17:57:39][Step 3/4] rootdir: /opt/buildAgent/work/27f863ad4717898f/sample-tester, configfile: pytest.ini
[17:57:39][Step 3/4] plugins: metadata-1.10.0, html-2.1.1
[17:57:39][Step 3/4] collecting ... collected 5 items
[17:57:39][Step 3/4]
[17:57:43][Step 3/4] test_samples.py::test_run_sample[IntelModin_GettingStarted] FAILED       [ 20%]
[17:57:44][Step 3/4] test_samples.py::test_run_sample[IntelPython_daal4py_DistributedKMeans] PASSED [ 40%]
[17:57:46][Step 3/4] test_samples.py::test_run_sample[IntelPython_daal4py_DistributedLinearRegression] PASSED [ 60%]
[17:57:48][Step 3/4] test_samples.py::test_run_sample[IntelPython_daal4py_GettingStarted] PASSED [ 80%]
[17:57:49][Step 3/4] test_samples.py::test_run_sample[IntelPython_XGBoost_GettingStarted] PASSED [100%]
[17:57:49][Step 3/4]
[17:57:49][Step 3/4] =================================== FAILURES ===================================
[17:57:49][Step 3/4] __________________ test_run_sample[IntelModin_GettingStarted] __________________
[17:57:49][Step 3/4]
[17:57:49][Step 3/4] sample_temp_dir = '/opt/buildAgent/work/27f863ad4717898f/sample-tester/test-resources/IntelModin_GettingStarted'
[17:57:49][Step 3/4] configuration = {'id': 'Intel_Modin_GS_py', 'steps': ['source activate base', 'conda create -n aikit-modin -c intel/label/oneapibeta i...-aikit-modin', 'conda deactivate', 'source activate aikit-modin', 'pip install runipy', 'pip install matplotlib', ...]}
[17:57:49][Step 3/4]
[17:57:49][Step 3/4]     def test_run_sample(sample_temp_dir, configuration):
[17:57:49][Step 3/4]         script_path = generate_run_script(sample_temp_dir, configuration)
[17:57:49][Step 3/4]         execution_result = None
[17:57:49][Step 3/4]         try:
[17:57:49][Step 3/4]             execution_result = subprocess.run(script_path, shell=True, timeout=TIMEOUT)
[17:57:49][Step 3/4]         except subprocess.TimeoutExpired:
[17:57:49][Step 3/4]             pytest.fail('Sample execution timed out')
[17:57:49][Step 3/4]
[17:57:49][Step 3/4] >       assert execution_result.returncode == 0, 'Sample execution returned a non-zero status'
[17:57:49][Step 3/4] E       AssertionError: Sample execution returned a non-zero status
[17:57:49][Step 3/4] E       assert 1 == 0
[17:57:49][Step 3/4] E         +1
[17:57:49][Step 3/4] E         -0
[17:57:49][Step 3/4]
[17:57:49][Step 3/4] test_samples.py:14: AssertionError
[17:57:49][Step 3/4] ----------------------------- Captured stdout call -----------------------------
[17:57:49][Step 3/4] WARNING: A conda environment already exists at '/home/oss_tester/.conda/envs/aikit-modin'
[17:57:49][Step 3/4] Remove existing environment (y/[n])?
[17:57:49][Step 3/4] Requirement already satisfied: runipy in /home/oss_tester/.local/lib/python3.7/site-packages (0.1.5)
[17:57:49][Step 3/4] Requirement already satisfied: ipython>=2.3.1 in /home/oss_tester/.local/lib/python3.7/site-packages (from runipy) (7.17.0)
[17:57:49][Step 3/4] Requirement already satisfied: nbformat>=4.0.0 in /home/oss_tester/.local/lib/python3.7/site-packages (from runipy) (5.0.7)
[17:57:49][Step 3/4] Requirement already satisfied: ipykernel>=4.0.0 in /home/oss_tester/.local/lib/python3.7/site-packages (from runipy) (5.3.4)
[17:57:49][Step 3/4] Requirement already satisfied: Pygments>=1.6 in /home/oss_tester/.local/lib/python3.7/site-packages (from runipy) (2.6.1)
[17:57:49][Step 3/4] Requirement already satisfied: nbconvert>=4.0.0 in /home/oss_tester/.local/lib/python3.7/site-packages (from runipy) (5.6.1)
[17:57:49][Step 3/4] Requirement already satisfied: pyzmq>=14.1.0 in /home/oss_tester/.local/lib/python3.7/site-packages (from runipy) (19.0.2)
[17:57:49][Step 3/4] Requirement already satisfied: Jinja2>=2.7.2 in /home/oss_tester/.local/lib/python3.7/site-packages (from runipy) (2.11.2)
[17:57:49][Step 3/4] Requirement already satisfied: pexpect; sys_platform != "win32" in /home/oss_tester/.local/lib/python3.7/site-packages (from ipython>=2.3.1->runipy) (4.8.0)
[17:57:49][Step 3/4] Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /home/oss_tester/.local/lib/python3.7/site-packages (from ipython>=2.3.1->runipy) (3.0.6)
[17:57:49][Step 3/4] Requirement already satisfied: backcall in /home/oss_tester/.local/lib/python3.7/site-packages (from ipython>=2.3.1->runipy) (0.2.0)
[17:57:49][Step 3/4] Requirement already satisfied: pickleshare in /home/oss_tester/.local/lib/python3.7/site-packages (from ipython>=2.3.1->runipy) (0.7.5)
[17:57:49][Step 3/4] Requirement already satisfied: decorator in /home/oss_tester/.local/lib/python3.7/site-packages (from ipython>=2.3.1->runipy) (4.4.2)
[17:57:49][Step 3/4] Requirement already satisfied: jedi>=0.10 in /home/oss_tester/.local/lib/python3.7/site-packages (from ipython>=2.3.1->runipy) (0.17.2)
[17:57:49][Step 3/4] Requirement already satisfied: traitlets>=4.2 in /home/oss_tester/.local/lib/python3.7/site-packages (from ipython>=2.3.1->runipy) (4.3.3)
[17:57:49][Step 3/4] Requirement already satisfied: setuptools>=18.5 in /home/oss_tester/.conda/envs/aikit-modin/lib/python3.7/site-packages (from ipython>=2.3.1->runipy) (49.6.0.post20200826)
[17:57:49][Step 3/4] Requirement already satisfied: jupyter-core in /home/oss_tester/.local/lib/python3.7/site-packages (from nbformat>=4.0.0->runipy) (4.6.3)
[17:57:49][Step 3/4] Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /home/oss_tester/.local/lib/python3.7/site-packages (from nbformat>=4.0.0->runipy) (3.2.0)
[17:57:49][Step 3/4] Requirement already satisfied: ipython-genutils in /home/oss_tester/.local/lib/python3.7/site-packages (from nbformat>=4.0.0->runipy) (0.2.0)
[17:57:49][Step 3/4] Requirement already satisfied: jupyter-client in /home/oss_tester/.local/lib/python3.7/site-packages (from ipykernel>=4.0.0->runipy) (6.1.6)
[17:57:49][Step 3/4] Requirement already satisfied: tornado>=4.2 in /home/oss_tester/.local/lib/python3.7/site-packages (from ipykernel>=4.0.0->runipy) (6.0.4)
[17:57:49][Step 3/4] Requirement already satisfied: testpath in /home/oss_tester/.local/lib/python3.7/site-packages (from nbconvert>=4.0.0->runipy) (0.4.4)
[17:57:49][Step 3/4] Requirement already satisfied: defusedxml in /home/oss_tester/.local/lib/python3.7/site-packages (from nbconvert>=4.0.0->runipy) (0.6.0)
[17:57:49][Step 3/4] Requirement already satisfied: mistune<2,>=0.8.1 in /home/oss_tester/.local/lib/python3.7/site-packages (from nbconvert>=4.0.0->runipy) (0.8.4)
[17:57:49][Step 3/4] Requirement already satisfied: entrypoints>=0.2.2 in /home/oss_tester/.local/lib/python3.7/site-packages (from nbconvert>=4.0.0->runipy) (0.3)
[17:57:49][Step 3/4] Requirement already satisfied: bleach in /home/oss_tester/.local/lib/python3.7/site-packages (from nbconvert>=4.0.0->runipy) (3.1.5)
[17:57:49][Step 3/4] Requirement already satisfied: pandocfilters>=1.4.1 in /home/oss_tester/.local/lib/python3.7/site-packages (from nbconvert>=4.0.0->runipy) (1.4.2)
[17:57:49][Step 3/4] Requirement already satisfied: MarkupSafe>=0.23 in /home/oss_tester/.local/lib/python3.7/site-packages (from Jinja2>=2.7.2->runipy) (1.1.1)
[17:57:49][Step 3/4] Requirement already satisfied: ptyprocess>=0.5 in /home/oss_tester/.local/lib/python3.7/site-packages (from pexpect; sys_platform != "win32"->ipython>=2.3.1->runipy) (0.6.0)
[17:57:49][Step 3/4] Requirement already satisfied: wcwidth in /home/oss_tester/.local/lib/python3.7/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=2.3.1->runipy) (0.2.5)
[17:57:49][Step 3/4] Requirement already satisfied: parso<0.8.0,>=0.7.0 in /home/oss_tester/.local/lib/python3.7/site-packages (from jedi>=0.10->ipython>=2.3.1->runipy) (0.7.1)
[17:57:49][Step 3/4] Requirement already satisfied: six in /home/oss_tester/.conda/envs/aikit-modin/lib/python3.7/site-packages (from traitlets>=4.2->ipython>=2.3.1->runipy) (1.15.0)
[17:57:49][Step 3/4] Requirement already satisfied: importlib-metadata; python_version < "3.8" in /home/oss_tester/.conda/envs/aikit-modin/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.0.0->runipy) (2.0.0)
[17:57:49][Step 3/4] Requirement already satisfied: pyrsistent>=0.14.0 in /home/oss_tester/.local/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.0.0->runipy) (0.17.3)
[17:57:49][Step 3/4] Requirement already satisfied: attrs>=17.4.0 in /home/oss_tester/.local/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.0.0->runipy) (20.2.0)
[17:57:49][Step 3/4] Requirement already satisfied: python-dateutil>=2.1 in /home/oss_tester/.local/lib/python3.7/site-packages (from jupyter-client->ipykernel>=4.0.0->runipy) (2.8.1)
[17:57:49][Step 3/4] Requirement already satisfied: webencodings in /home/oss_tester/.local/lib/python3.7/site-packages (from bleach->nbconvert>=4.0.0->runipy) (0.5.1)
[17:57:49][Step 3/4] Requirement already satisfied: packaging in /home/oss_tester/.local/lib/python3.7/site-packages (from bleach->nbconvert>=4.0.0->runipy) (20.4)
[17:57:49][Step 3/4] Requirement already satisfied: zipp>=0.5 in /home/oss_tester/.conda/envs/aikit-modin/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->jsonschema!=2.5.0,>=2.4->nbformat>=4.0.0->runipy) (3.3.0)
[17:57:49][Step 3/4] Requirement already satisfied: pyparsing>=2.0.2 in /home/oss_tester/.local/lib/python3.7/site-packages (from packaging->bleach->nbconvert>=4.0.0->runipy) (2.4.7)
[17:57:49][Step 3/4] Requirement already satisfied: matplotlib in /home/oss_tester/.local/lib/python3.7/site-packages (3.3.2)
[17:57:49][Step 3/4] Requirement already satisfied: numpy>=1.15 in /home/oss_tester/.conda/envs/aikit-modin/lib/python3.7/site-packages (from matplotlib) (1.18.5)
[17:57:49][Step 3/4] Requirement already satisfied: cycler>=0.10 in /home/oss_tester/.local/lib/python3.7/site-packages (from matplotlib) (0.10.0)
[17:57:49][Step 3/4] Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /home/oss_tester/.local/lib/python3.7/site-packages (from matplotlib) (2.4.7)
[17:57:49][Step 3/4] Requirement already satisfied: pillow>=6.2.0 in /home/oss_tester/.local/lib/python3.7/site-packages (from matplotlib) (7.2.0)
[17:57:49][Step 3/4] Requirement already satisfied: python-dateutil>=2.1 in /home/oss_tester/.local/lib/python3.7/site-packages (from matplotlib) (2.8.1)
[17:57:49][Step 3/4] Requirement already satisfied: kiwisolver>=1.0.1 in /home/oss_tester/.local/lib/python3.7/site-packages (from matplotlib) (1.2.0)
[17:57:49][Step 3/4] Requirement already satisfied: certifi>=2020.06.20 in /home/oss_tester/.conda/envs/aikit-modin/lib/python3.7/site-packages (from matplotlib) (2020.6.20)
[17:57:49][Step 3/4] Requirement already satisfied: six in /home/oss_tester/.conda/envs/aikit-modin/lib/python3.7/site-packages (from cycler>=0.10->matplotlib) (1.15.0)
[17:57:49][Step 3/4] ----------------------------- Captured stderr call -----------------------------
[17:57:49][Step 3/4]
[17:57:49][Step 3/4] CondaSystemExit: Exiting.
[17:57:49][Step 3/4]
[17:57:49][Step 3/4] WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
[17:57:49][Step 3/4] Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
[17:57:49][Step 3/4] To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
[17:57:49][Step 3/4] WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
[17:57:49][Step 3/4] Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
[17:57:49][Step 3/4] To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
[17:57:49][Step 3/4] 10/08/2020 06:57:42 PM INFO: Reading notebook IntelModin_GettingStarted.ipynb
[17:57:49][Step 3/4] 10/08/2020 06:57:43 PM INFO: Running cell:
[17:57:49][Step 3/4] # =============================================================
[17:57:49][Step 3/4] # Copyright © 2020 Intel Corporation
[17:57:49][Step 3/4] #
[17:57:49][Step 3/4] # SPDX-License-Identifier: MIT
[17:57:49][Step 3/4] # =============================================================
[17:57:49][Step 3/4]
[17:57:49][Step 3/4] 10/08/2020 06:57:43 PM INFO: Cell returned
[17:57:49][Step 3/4] 10/08/2020 06:57:43 PM INFO: Running cell:
[17:57:49][Step 3/4] import numpy as np
[17:57:49][Step 3/4] import matplotlib.pyplot as plt
[17:57:49][Step 3/4] import time
[17:57:49][Step 3/4]
[17:57:49][Step 3/4] 10/08/2020 06:57:43 PM INFO: Cell raised uncaught exception:
[17:57:49][Step 3/4] ---------------------------------------------------------------------------
[17:57:49][Step 3/4] ModuleNotFoundError                       Traceback (most recent call last)
[17:57:49][Step 3/4]  in
[17:57:49][Step 3/4] ----> 1 import numpy as np
[17:57:49][Step 3/4]       2 import matplotlib.pyplot as plt
[17:57:49][Step 3/4]       3 import time
[17:57:49][Step 3/4]
[17:57:49][Step 3/4] ModuleNotFoundError: No module named 'numpy'
[17:57:49][Step 3/4] 10/08/2020 06:57:43 PM INFO: Shutdown kernel
[17:57:49][Step 3/4] 10/08/2020 06:57:43 PM WARNING: Exiting with nonzero exit status
[17:57:49][Step 3/4] - generated xml file: /opt/buildAgent/work/27f863ad4717898f/sample-tester/reports/report.xml -
[17:57:49][Step 3/4] - generated html file: file:///opt/buildAgent/work/27f863ad4717898f/sample-tester/reports/report.html<file://opt/buildAgent/work/27f863ad4717898f/sample-tester/reports/report.html> -
[17:57:49][Step 3/4] =========================== short test summary info ============================
[17:57:49][Step 3/4] FAILED test_samples.py::test_run_sample[IntelModin_GettingStarted] - Assertio...
[17:57:49][Step 3/4] ========================= 1 failed, 4 passed in 10.05s =========================
[17:57:49][Step 3/4] Process exited with code 1
[17:57:50][Step 3/4] Process exited with code 1 (Step: Execute tests (Command Line))
[17:57:50][Step 3/4] oneAPI Code Samples
[17:57:50][oneAPI Code Samples] test_samples.test_run_sample[IntelModin_GettingStarted]
[17:57:50][test_samples.test_run_sample[IntelModin_GettingStarted]] AssertionError: Sample execution returned a non-zero status
assert 1 == 0
+1
-0
[17:57:50][test_samples.test_run_sample[IntelModin_GettingStarted]] sample_temp_dir = '/opt/buildAgent/work/27f863ad4717898f/sample-tester/test-resources/IntelModin_GettingStarted'
configuration = {'id': 'Intel_Modin_GS_py', 'steps': ['source activate base', 'conda create -n aikit-modin -c intel/label/oneapibeta i...-aikit-modin', 'conda deactivate', 'source activate aikit-modin', 'pip install runipy', 'pip install matplotlib', ...]}
def test_run_sample(sample_temp_dir, configuration):
    script_path = generate_run_script(sample_temp_dir, configuration)
    execution_result = None
    try:
        execution_result = subprocess.run(script_path, shell=True, timeout=TIMEOUT)
    except subprocess.TimeoutExpired:
        pytest.fail('Sample execution timed out')

  assert execution_result.returncode == 0, 'Sample execution returned a non-zero status'

E       AssertionError: Sample execution returned a non-zero status
E       assert 1 == 0
E         +1
E         -0
test_samples.py:14: AssertionError
[17:57:51][Step 3/4] Failed tests detected
[17:57:50][Step 3/4] Step Execute tests (Command Line) failed
[17:57:50]Step 4/4: Report status (Command Line) (4s)
[17:57:50][Step 4/4] Starting: /opt/buildAgent/temp/agentTmp/custom_script1109773992343611145
[17:57:50][Step 4/4] in directory: /opt/buildAgent/work/27f863ad4717898f/CI_scripts
[17:57:54][Step 4/4] Process exited with code 0
[17:57:55]Ant JUnit report watcher
[17:57:55][Ant JUnit report watcher] 1 report found for paths:
[17:57:55][Ant JUnit report watcher] sample-tester/reports/.xml
[17:57:55][Ant JUnit report watcher] Successfully parsed
[17:57:55][Successfully parsed] 1 report
[17:57:55][Successfully parsed] sample-tester/reports/report.xml
[17:57:55]Publishing internal artifacts (3s)
[17:57:57][Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher]
[17:57:57][Publishing internal artifacts] Publishing 1 file using [WebPublisher]
[17:57:55]Publishing artifacts (5s)
[17:57:55][Publishing artifacts] Collecting files to publish: [sample-tester/reports/]
[17:58:00][Publishing artifacts] Publishing 2 files using [ArtifactsCachePublisher]: sample-tester/reports/*
[17:58:00][Publishing artifacts] Publishing 2 files using [WebPublisher]: sample-tester/reports/*
[17:58:01]1 failed test detected
[17:58:01]Build finished
Top of Form
Bottom of Form
Top of Form
Bottom of Form
Top of Form
Bottom of Form
Intel Top Secret and Intel Restricted Secret data can be processed on this TeamCity instance.
Learn more about Data Classificationhttps://intelpedia.intel.com/Data_Classification
IT TeamCity servers periodic maintenance window slots:
AMR servers: every Tuesday 09:00 AM - 11:00 AM UTC.
GAR servers: every Tuesday 08:00 PM - 10:00 PM UTC.
GER servers: every Tuesday 08:00 PM - 10:00 PM UTC.
Learn more about TeamCity maintenance window slothttps://e2esm.intel.com/kb_view.do?sysparm_article=KB000350784.
Helphttps://www.jetbrains.com/help/teamcity/2019.1/?teamcity-documentation Feedbackhttps://www.jetbrains.com/teamcity/feedback?source=footer&version=2019.1.3 (build 66439)&build=66439&mode=ent
TeamCity Enterprisehttps://www.jetbrains.com/teamcity/?fromServer 2019.1.3 (build 66439)
New version is available!https://www.jetbrains.com/teamcity/download/index.html?fromServer
Copyright © 2006–2019 JetBrains s.r.o.
License agreementhttps://teamcity01-igk.devtools.intel.com/viewLog.html?buildId=8083328&buildTypeId=OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production_TestExecutionLinux&tab=buildLog&branch_OpenCLSdk_Lego_OneAPI_SamplesOpenSource_Production=pull%2F187&_focus=51&state=&expand=all
Joe Oster
Software Application Engineer
IAGS-OISA-DXPS-SPI-DEE-ISE-Datacenter scale
503.712.2020
From: sravanikonda<EMAIL_ADDRESS>Sent: Thursday, October 8, 2020 10:02 AM
To: oneapi-src/oneAPI-samples<EMAIL_ADDRESS>Cc: Oster, Joseph E<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [oneapi-src/oneAPI-samples] sepia-filter: coding guidelines updates for Beta10 (#191)
@anjgolahttps://github.com/anjgola Any insights on why the windows test is failing? TeamCity logs look fine.
Here are the logs, looks like test_samples.py is exiting with code 1 and not 0
[15:10:50][Step 3/4] Done Building Project "C:\BuildAgent\work\27f863ad4717898f\sample-tester\test-resources\sepia-filter\sepia-filter.sln" (Rebuild target(s)).
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] Build succeeded.
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] 0 Warning(s)
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] 0 Error(s)
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] Time Elapsed 00:00:23.12
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] - generated xml file: C:\BuildAgent\work\27f863ad4717898f\sample-tester\reports\report.xml -
[15:10:50][Step 3/4] - generated html file: file://C:\BuildAgent\work\27f863ad4717898f\sample-tester\reports\report.html<file:///C:/BuildAgent/work/27f863ad4717898f/sample-tester/reports/report.html> -
[15:10:50][Step 3/4] =========================== short test summary info ===========================
[15:10:50][Step 3/4] FAILED test_samples.py::test_run_sample[sepia-filter] - AssertionError: Sampl...
[15:10:50][Step 3/4] ============================= 1 failed in 30.71s ==============================
[15:10:50][Step 3/4]
[15:10:50][Step 3/4] Process exited with code 1
[15:10:50][Step 3/4] Process exited with code 1 (Step: Execute tests (Command Line))
[15:10:50][Step 3/4] oneAPI Code Samples
[15:10:50][oneAPI Code Samples] test_samples.test_run_sample[sepia-filter]
@JoeOsterhttps://github.com/JoeOster Can I take a look at the complete log? or the full line containing AssertionError
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/oneapi-src/oneAPI-samples/pull/191#issuecomment-705701202, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMT37IHDVFVCHIX66GCJSU3SJXWARANCNFSM4R6PHUOQ.

@sravanikonda - here are the newest logs
[09:49:51][Step 3/4] - generated xml file: C:\BuildAgent\work\27f863ad4717898f\sample-tester\reports\report.xml -
[09:49:51][Step 3/4] - generated html file: file://C:\BuildAgent\work\27f863ad4717898f\sample-tester\reports\report.html -
[09:49:51][Step 3/4] =========================== short test summary info ===========================
[09:49:51][Step 3/4] FAILED test_samples.py::test_run_sample[sepia-filter] - AssertionError: Sampl...
[09:49:51][Step 3/4] ============================= 1 failed in 10.98s ==============================
[09:49:51][Step 3/4]
[09:49:51][Step 3/4] Process exited with code 1
[09:49:52][Step 3/4] Process exited with code 1 (Step: Execute tests (Command Line))
[09:49:52][Step 3/4] oneAPI Code Samples
[09:49:52][oneAPI Code Samples] test_samples.test_run_sample[sepia-filter]
[09:49:52][test_samples.test_run_sample[sepia-filter]] AssertionError: Sample execution returned a non-zero status assert<PHONE_NUMBER> == 0   +3221225477   -0
[09:49:52][test_samples.test_run_sample[sepia-filter]] sample_temp_dir = 'C:\BuildAgent\work\27f863ad4717898f\sample-tester\test-resources\sepia-filter'
configuration = {'steps': ['MSBuild sepia-filter.sln /t:Rebuild /p:Configuration=Debug', 'cd x64\Debug', 'sepia-filter.exe ..\..\input\silverfalls1.png']}
def test_run_sample(sample_temp_dir, configuration):
    script_path = generate_run_script(sample_temp_dir, configuration)
    execution_result = None
    try:
        execution_result = subprocess.run(script_path, shell=True, timeout=TIMEOUT)
    except subprocess.TimeoutExpired:
        pytest.fail('Sample execution timed out')

  assert execution_result.returncode == 0, 'Sample execution returned a non-zero status'

E       AssertionError: Sample execution returned a non-zero status
E       assert<PHONE_NUMBER> == 0
E         +3221225477
E         -0
test_samples.py:14: AssertionError
[09:49:55][Step 3/4] Failed tests detected

@JoeOster @anjgola Since Kate confirmed this passes with Beta10 in the nightly tests, can we make an exception and merge this PR?


Typo at writting plugin docs

There is something that looks a lot like a typo at docs

I search for CHANGE CHANGE in github search but can't  find the document with the typo, I willing to create a PR for it.
Regards

Hi there, where did you find this error?

Hi @RCheesley Here is the closer link I can found https://developer.mautic.org/#install/upgrade
You need to scroll down a little to reach onUpdate method
Regards


Legacy Python jedi language server takes ~100% CPU while debugging

This is a copy of the issue at here. They suggested me to raise the issue here and closed that one.
Version: 1.46.1
Commit: cd9ea64
Date: 2020-06-17T21:17:14.222Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.5.0
Steps to Reproduce:
Use default language server "Jedi". Start debugging my project.
My project is running as HTTP Server taking POST request, processing request, and sending response back. While debugging, the code can be run line by line smoothly, no hanging or deadlocking, but a python process is running and taking up to ~100% CPU

And this is the ps info of this process:

In most cases, this python process keeps high CPU consumption until I stop debugging, while occasionally it just won't go low unless I exit VSCode.
After I change language server to "Microsoft", this situation hasn't happened so far.
Does this issue occur when all extensions are disabled?: Yes. With Jedi language server, after I disabled all extensions other than Python extension, this issue still occurs.

Hi @cuteufo, thank you for reaching out!
We haven't changed anything Jedi-related in the last few releases, does it happen only when debugging? Can you reproduce it when only using built-in Python packages, or does it happen when you use specific packages?
Ultimately completion.py is going to be deprecated in favour of https://github.com/microsoft/vscode-python/issues/11995, feel free to upvote it to help us prioritize it.
Thank you!

I cannot reproduce it on every projects. In this particular project, it uses following non built-in packages:
mysql
schema
extract_msg
lxml
matplotlib
openpyxl
xlrd
I debug the code by stepping over each line, and step into at some critical functions. What I found odd is that each time I step over one line, the 'python 3.7' process will show up and take up CPU at ~100% for around 3~5 minutes and get back to normal. If I continuously step over a number of lines, that process will accumulate the "show-up" time. That might explain why it could keep hi-CPU usage for a long time because sometimes I could do a very lengthy step-over's or step-into's.

Do you get high CPU usage when you're not debugging as well?

No, or not that I can notice.
Kim-Adeline Miguel<EMAIL_ADDRESS>周五12:03写道：

Do you get high CPU usage when you're not debugging as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/12522#issuecomment-650346233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJY6537RRTB5MZC3USWWTLRYTWJDANCNFSM4OGB7BPA
.

Strange 🤔 In any case, the plan for the extension is to get rid of completion.py in https://github.com/microsoft/vscode-python/issues/11995 (feel free to give it a 👍 if you want to see it implemented sooner than later), so I'm closing in favour of it. In the meantime, using the Microsoft Python Language Server (as you already do) is a workaround.

I've been experiencing this issue too. The only "python" process running is as follows:
$ ps aux | grep -i python
ME            73133 101.5  0.1  5952000  39380   ??  R     2:53PM   6:16.46 /Users/ME/.asdf/installs/python/3.7.7/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python /Users/ME/.vscode/extensions/ms-python.python-2021.3.680753044/pythonFiles/run-jedi-language-server.py

Pings CPU at 102%. It's happened twice in two days now. MacOS 11.2.3 (20D91) "Big Sur" as well as on Catalina (I updated my system between the two times this happened)
VSCode was not running at the time that this maxing out was happening. I'll try to recreate it.

Also experiencing this on Ubuntu 20.10. Didn't debug anything, multiple run-jedi-language-server.py processes were just left hanging after closing VSCode and were using >100% of the CPU.

On MacOS (Catalina); same here, run-jedi-language-server.py causing high utilization after quitting vscode.

Hi everyone, this issue was for our old Jedi language server (which uses completion.py), while the problem you're reporting happens when using JediLSP (run-jedi-language-server.py). Bit of a misnomer, I know. I opened https://github.com/microsoft/vscode-python/issues/15792 on your behalf, please continue the discussion there.
Thank you!

On MacOS (Catalina); same here, run-jedi-language-server.py causing high utilisation after quitting vscode.

Same here on macOS Catalina. Applying fixes from https://github.com/microsoft/vscode-python/issues/15586#issuecomment-812642351 didn't help either.

@pragmat1c1 Which version of the extension are you using?

I'm seeing this behavior on Ubuntu as well. I noticed this story when trying to understand what the different types of jedi-language-server there are. I'm still confused. Is there something that should be uninstalled and something that should be installed to make this problem go away?

Since this issue is closed, please open a separate issue or discussion.

I'm seeing this behavior on Ubuntu as well. I noticed this story when trying to understand what the different types of jedi-language-server there are. I'm still confused. Is there something that should be uninstalled and something that should be installed to make this problem go away?

I was able to resolve the issue by changing language server.  That is, click settings icon at bottom left and select settings.  Then in search bar type Python: Language.  That will be enough to discover the setting with a drop-down box of options.  I chose Microsoft and was prompted to install a module extension.  Now when i exit vscode the language server exits shortly after.

I have the same issue

Like user Pragmat1C1, on MacOS Catalina, when vscode is exitedrun-jedi -language-server.py automatically runs and makes the CPU surge up to 102%

Same as user pragmat1c1, on MacOS Catalina, when vscode exits. Run-jedi -language-server.py will run automatically and make the CPU soar to 102%

same here, on Ubuntu 20.04. run-jedi-language-server.py keeps on running even after quiting vscode, after noticing an unusual activity of the PC fan, I found out that the process was using the 4 CPUs to almost 100%

same here, on mac OS  big sur jedi-language-server in conda environment stays at CPU levels around 100% and freezes the emacs editor.


Add click tracking to all html links

This PR adds link tracking to the across all the HTML links we manually write ourselves. This doesn't include support for links defined in markdown files. There is also a script for lint the HTML to ensure our links are tracked properly.
The naming convention for the Ids is essentially the file hierarchy and then a custom description for the element. Because we use common components across multiple pages the Ids are mapped back to how they live in our code (for the sake of easier discovery when we make changes). All the data is being pushed into Google Analytics where it is sorted by page. For now, we are going to rely on GA to sort the events out by the page.

Nice! Much bigger fan of using a data-* attribute for these -- thanks.
A few comments to echo what we discussed offline a bit:
Currently, the linter doesn't track duplicates, which should be a simple thing to add -- for example, this passes:
Go here.
No, here.

Perhaps we could build up a map of them, and check to make sure someone hasn't copy-pasted a link from elsewhere, as will likely be the case, and easy to miss on a code review. We should also provide some sort of guide as to how tracking IDs are crafted, so we don't end up with a bunch of link-tracking soup down the road somehow.
And I agree with Chrisit'd be good to make these IDs as URL/machine-friendly as we can, though, so maybe a helper of some sort would be called for here, too, just to keep things tidy from the get-go.
More broadly, the requirement to put a unique, hand-crafted data-tracking-id attribute on every single link isn't sitting well with me. It feels burdensome, especially considering most of these IDs can be inferred/constructed from their files, DOM paths, and so on. I suspect we might be able to get away with  attributing some sort of  "category", maybe, to denote the kind of thing we care about (CTAs, outbound links, etc.) and then programmatically (say, with some JS to capture and report the clicks before page unload) to identify the which actual thing in that category of things was clicked on, which could reduce the burden on the team and probably result in cleaner data over time.
That said, this definitely feels like it's heading in the right direction! Thanks again for putting so much thought into it.

@cnunciato Here is the new and improved link tracking based on our conversations. Let me know if this has landed in a good spot or there is still some more work to hammer out here.

We should include a README or section somewhere explaining what the naming conventions are now, and update the PR description if necessary, to make this clear. A couple of examples of the intended output might help, too, just to make it clear what the inputs and outputs are.


_start event fires on sunrise not including run time

Describe the bug
[instance]_start event should fire at sunrise - daily adjusted run time. Instead it fired on sunrise.
To Reproduce
?
Expected behavior
Should fire as described and as it logged itself.
Logs
Look at last 2-3 entries:
2023-06-12 23:00:00.331 INFO (MainThread) [custom_components.smart_irrigation] Updating for last time today, calculating adjusted run time for next irrigation time!
2023-06-12 23:00:01.318 INFO (MainThread) [custom_components.smart_irrigation] ENTERING _update_last_of_day. bucket is 0.0
2023-06-12 23:00:01.318 INFO (MainThread) [custom_components.smart_irrigation] using OWM for precipitation: True
2023-06-12 23:00:01.318 INFO (MainThread) [custom_components.smart_irrigation] average_precip set to 0.0, which is average of hourly_precipitation_list: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
2023-06-12 23:00:01.318 INFO (MainThread) [custom_components.smart_irrigation] average_evapotranspiration set to 5.264907835420968, which is average of hourly_evapotranspiration_list: [5.264907835420968, 5.264907835420968, 5.264907835420968, 5.264907835420968, 5.264907835420968, 5.264907835420968, 5.264907835420968, 5.264907835420968, 5.264907835420968]
2023-06-12 23:00:01.319 INFO (MainThread) [custom_components.smart_irrigation] bucket_delta set to -5.264907835420968, which is the difference between precipitation and evapotranspiration
2023-06-12 23:00:01.319 INFO (MainThread) [custom_components.smart_irrigation] Updating bucket: 0.0 with bucket_delta: -5.264907835420968
2023-06-12 23:00:01.319 INFO (MainThread) [custom_components.smart_irrigation] hourly_precipitation_list and hourly_evapotranspiration_list are now empty, bucket is -5.264907835420968
2023-06-12 23:00:01.319 INFO (MainThread) [custom_components.smart_irrigation] Bucket for today is: -5.264907835420968 mm
2023-06-12 23:00:01.327 INFO (SyncWorker_0) [custom_components.smart_irrigation.sensor] _bucket_updated, received bucket value -5.264907835420968 from event_dict: {'event_type': 'Smart_Irrigation_bucketUpd', 'data': {'bucket': -5.264907835420968}, 'origin': 'LOCAL', 'time_fired': '2023-06-12T21:00:01.320450+00:00', 'context': {'id': '01H2RPH5D8EX30HWRRKABVW6H2', 'parent_id': None, 'user_id': None}}
2023-06-12 23:00:01.327 INFO (SyncWorker_0) [custom_components.smart_irrigation.sensor] updated_adjusted_run_time_from_event called.
2023-06-12 23:00:01.327 INFO (SyncWorker_0) [custom_components.smart_irrigation.sensor] Calculated water_budget = 1.4039754227789247 and adjusted_run_time: 2598 for type: Daily Adjusted Run Time. Bucket value was: -5.264907835420968, and base schedule index is: 1850.467289719626, force mode is: False, force mode duration is: 0, lead_time is: 0, maximum_duration: 21600, change percentage: 1.0, type: Daily Adjusted Run Time
2023-06-12 23:00:01.327 INFO (SyncWorker_0) [custom_components.smart_irrigation.sensor] updated_adjusted_run_time_from_event: got result: {'wb': 1.4039754227789247, 'art': 2598}. Setting attributes of daily adjusted run time (including result['wb']) and state == result['art']
2023-06-12 23:00:01.348 INFO (SyncWorker_0) [custom_components.smart_irrigation.sensor] sun_rise: 2023-06-13 02:15:56.797159+00:00
2023-06-12 23:00:01.349 INFO (SyncWorker_0) [custom_components.smart_irrigation.sensor] Smart_Irrigation_start will fire at 2023-06-13 01:32:38.797159+00:00

Effectively it is +2 hours local time, so sunset was at 4:15:56 and irrigation should fire at 3:32:38, but it did at sunset instead:
2023-06-13 04:15:56.817 INFO (MainThread) [custom_components.smart_irrigation.sensor] fired start event: Smart_Irrigation_start

Automation trace also confirmed it.
Installed version
v0.0.78
Additional context
First captured run
si_logs.txt

If I read the code correctly it still tracks sun rise time and time to fire is only logged...
https://github.com/jeroenterheerdt/HAsmartirrigation/blob/db15b1b3223df9deb69fd5c7b2327b1fc935d16b/custom_components/smart_irrigation/sensor.py#LL279C17-L279C42

version 2.0 is now in beta, please install it and confirm this issue is resolved there.


Create or download an index for "stratospheric warming".

### Tasks

What I do know:
THE SUPPRESSION OCCURS WHEN THERE IS A WEAKENING OF THE SOUTHEASTERLY WINDS.
Possible causes for that:

Southern Stratospheric Warming happened in 2013 and that may delay the onset of upwelling by increasing the northelies and SW winds.
Fronts coming from the south might also end suppress the upwelling.
Weakening of the polar vortex causing cabelling.

Other options:

Marine Heatwave from Northwest AUS in 2013 (Maggiorano et al., 2021). Could that have been advected by the Leuwin current?
A really hot summer?
PDO?

I have looked into Stratospheric Warming and found the information that it’s only happened twice since 1980. 2002 and 2019
The true definition is a wind reversal at 10hpa.
Here is an article from ABC from the last time it happened: https://www.abc.net.au/news/2019-09-06/rare-weather-event-over-antarctica-drives-hot-outlook/11481498
Note that "SSW is rare in the southern hemisphere with only one major event ever identified, in 2002 — one of Australia's driest years on record. Dr Hendon said similar, less intense stratospheric warmings had been linked to other dry years in Australia."
What I am reading is that, although we know that sudden stratospheric warming events cause weak vortex in spring, we can get a weaker vortex without a full SSW. So I went on to pursue a polar vortex index. I got 3 different ones:

Stratospheric-Tropospheric Couple Mode Index (Lim et al., 2018)
JRA55-derived
Breakdown Index (Black & Daniel)

The notebook can be found here: https://github.com/oceanhackweek/ohw23_proj_SAupwelling/blob/main/Notebooks/AntarcticPV_timeseries.ipynb
The next step is to compare these indexes to the actual mooring data from SA to see if we find anything interesting there.
This issue is done, so I will be closing it now.


Admin backend no longer errors if you try signing in without going through foursquare

Right now, if you sign into the admin section without having gone in through Foursquare, it will crash horribly.
The easiest, quickest and safe thing here is to just redirect the user back to the front page if they haven't signed in.

Dear Chris Adams,
Thank you for submitting your support request to us.
Case #00004458: "[amee-location-footprinter] Admin backend no longer errors if you try signing in without going through foursquare (#5)" has been created and an AMEE Customer Support Representative will respond to you shortly.
Thank you,
AMEE Customer Support


[feat] Extract contents for archives which contains a single directory

Describe the problem
When an archive contains a single directory, the desired behavior on extraction is often that only the directory's contents should be extracted.
Describe the solution you'd like
I've currently used a third-party crate zip-extract with their example code which do exactly what I need:
let archive: Vec<u8> = download_my_archive()?;
let target_dir = PathBuf::from("my_target_dir"); // Doesn't need to exist

// The third parameter allows you to strip away toplevel directories.
// If `archive` contained a single directory, its contents would be extracted instead.
zip_extract::extract(Cursor::new(archive), &target_dir, true)?;

It would be nice have this functionality directly in Tauri, possibly by introducing a strip_toplevel argument to the extract_into function.
Alternatives considered
Suggested alternative from @lucasfernog in Discord thread:
Use with_files (https://docs.rs/tauri/1.0.0/tauri/api/file/struct.Extract.html#method.with_files) as done here: https://github.com/tauri-apps/tauri/blob/45981851e35119266c1a079e1ff27a39f1fdfaed/core/tauri/src/updater/core.rs#L815
Additional context
No response

I'm trying to make an #[tauri::command] to unzip file. Do you have any example about this feature. Thanks

extract api will be removed in v2 so I am gonna close this issue. Use zip-extract or similar crates

I'm trying to make an #[tauri::command] to unzip file. Do you have any example about this feature. Thanks

For future visitors, I've just used Xplorer app to strip out the unzipping section (https://github.com/kimlimjustin/xplorer)
[dependencies]
tokio = { version = "^1", features = ["macros", "parking_lot", "rt"] }
zip = "0.6.2"

main.rs
...
use std::fs;
use std::fs::File;
...
#[tauri::command]
async fn decompress_from_zip(zip_path: String, target_dir: String){
    let mut zip = zip::ZipArchive::new(File::open(zip_path).unwrap()).unwrap();
    fs::create_dir_all(target_dir.clone()).unwrap();
    for i in 0..zip.len() {
        let mut file = zip.by_index(i).unwrap();
        let file_outpath = match file.enclosed_name(){
            Some(name) => target_dir.clone() + "/" + &name.to_str().unwrap(),
            None => continue,
        };
        let file_name = file.name();
        if file_name.ends_with('/') {
            fs::create_dir_all(&file_outpath).unwrap();
        } else {
            let mut outfile  = File::create(file_outpath).unwrap();
            std::io::copy(&mut file, &mut outfile).unwrap();
        }
    }
}

#[tokio::main]
async fn main() {
    tauri::Builder::default()
        .invoke_handler(tauri::generate_handler![
            ...
            decompress_from_zip
        ])
        ...
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

js
invoke('decompress_from_zip', { zipPath: `${appDataDirPath}/example.zip`, targetDir: appDataDirPath });


Publish 4/8/2021 10:30 AM PT

Docs Build status updates of commit 8684e0b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-ApplicationAccessPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


PDF not render in mobile (ios 13). Work in desktop (Chrome)

Attach (recommended) or Link to PDF file here:
https://www.dropbox.com/s/qrh4ggn7axefq98/notRendering.pdf?dl=0
Configuration:

Web browser and its version: Safari on iOS or Chrome on iOS
Operating system and its version: iOS 13.5
PDF.js version: https://mozilla.github.io/pdf.js/web/viewer.html
Is a browser extension:

Steps to reproduce the problem:

Go to https://mozilla.github.io/pdf.js/web/viewer.html
Upload the pdf (link above)

What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Blank page, pdf not rendering. If you do this on desktop it will render.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Experiencing the same issue.  Same OS versions and Browser versions.  All of these tests pass in both browsers on iOS: https://mozilla.github.com/pdf.js/features

Experiencing the same issue

Web browser and its version: Safari on iOS or Chrome on iOS
Operating system and its version: iOS 13.5

Given that this only appears to be broken on a specific platform, it unfortunately seems somewhat unlikely to be an issue that can be fixed in the PDF.js library (it could e.g. be that the platform blocks large <canvas> elements).
Generally speaking, if it were a PDF.js bug you'd kind of expect it to be consistently broken everywhere. /cc @timvandermeij


Where did the references go?! :D

Do you mean the citations? Here they are. Have you tried recompiling the latex?

I don't see them in the rendered PDF – do you?

Yes. Try removing the aux file and recompiling the latex, or else check with bibtex compression_security.aux.

try the following (deterministic process :P ):

remove compression_security.aux
compile compression_security.tex
check with bibtex compression_security.aux to see no errors exist
recompile compression_security.tex, should add the references section
if citations are broken recompile


Ignore "no connection" for localhost

Is there any way to ignore if there is no connection to a redis server on localhost dev setups?
ConnectionException in AbstractConnection.php line 168:
Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte. [tcp://localhost:6379]

I want to run a local dev setup under Microsoft Windows without Redis but if the website is deployed it should be using Redis on the same machine. How to ignore it for the local setup?

where is AbstractConnection.php file?

Duplicate issue, see #253.


too many open files

How to get rid of this while using the enroot.

Hi,
Any pointers in this regard. enroot data path and enroot runtime path are set to /tmp