Docs: explain how to run/debug e2e tests

Changes

🎁📄 Add docs to explain how to run the e2e tests, and add some tips for debugging tests.
No user related impact, solely for contributors.

/kind documentation
Fixes #517

/assign @markusthoemmes

/unassign @markusthoemmes
/assign @benmoss

/lgtm

/approve

/approve

@KauzClay can you fix the lint warnings?

/lgtm
/approve
thanks for sticking with us through the the slow feedback loops @KauzClay :smil

/hold cancel


超出api请求速度限制

{
"error": {
"message": "Rate limit reached for default-gpt-3.5-turbo in organization org-WMuGHLZQoOmBPmuwmqhmHOru on requests per min. Limit: 3 / min. Please try again in 20s. Contact<EMAIL_ADDRESS>if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method.",
"type": "requests",
"param": null,
"code": null
}
}
我知道这个是免费API的请求速率限制：
希望可以支持多个api 或者 有一个延迟回复请求，直接报错，请求就丢失了
我就瞎说哈，能用已经很感激了

#363


Adding API using FASTAPI in python for 100x API lecture

Adding API using FASTAPI in python for 100x API lecture.

It looks good, change xyz


Tiny Yolo v3 model

Hi,
How do you go about creating the Keras model for tiny yolo v3?

Follow the same step as in the README.md but with yolov3-tiny architecture:
wget https://pjreddie.com/media/files/yolov3.weights
python convert.py yolov3-tiny.cfg yolov3-tiny.weights model_data/yolo.h5
python yolo.py   OR   python yolo_video.py [video_path] [output_path(optional)]

@RaphaelMeudec Did you find some problems, when you used yolo.h5 based on yolov3-tiny. I had met the problem:
Traceback (most recent call last):
File "yolo.py", line 237, in
detect_img(YOLO())
File "yolo.py", line 32, in init
self.boxes, self.scores, self.classes = self.generate()
File "yolo.py", line 75, in generate
'Mismatch between model and given anchor and class sizes'
AssertionError: Mismatch between model and given anchor and class sizes

AssertionError: Mismatch between model and given anchor and class sizes
First of all I converted the weights and configs and created the .h5 file as above
python3 convert.py yolov3-tiny.cfg yolov3-tiny.weights model_data/yolo.h5
I encountered the following error when running
python3 yolo_video.py --image
AssertionError: Mismatch between model and given anchor and class sizes
I downloaded the weights from
I tried changing the class files to both coco and voc but still get the same error.

The problem is that "--image" flag will disable all positional parameters, and hence, the yolo.py reads the full model, not the tiny model. This is the root of the issue.


uWebsocket for most lightweight, efficient & scalable WebSocket & HTTP server implementation

Please consider using uWebsocket for most lightweight, efficient & scalable WebSocket & HTTP server implementation.

Thanks for the pointers, interesting Project. However, I'd like to close this as a duplicate of #602


GEODE-9359: Add NetCore SessionState support

This PR brings in the NetCore-Session code.
Note: There will be a separate PR for adding CI support for NetCore-Session under GEODE-9357.

Last commit is to remove the examples/dotnetcore directory, which was added by accident.


Check default package

Can nullaway check the default package, i.e. in the top directory of the class path?
Neither -XepOpt:NullAway:AnnotatedPackages="",foo nor -XepOpt:NullAway:AnnotatedPackages=,foo seem to work

We may well not handle this case. We could fix, but my feeling is this
comes up quite rarely. @spoerri what is your use case?
On Sun, Sep 1, 2019 at 12:14 spoerri<EMAIL_ADDRESS>wrote:

Can nullaway check the default package, i.e. in the top directory of the
class path?
Neither -XepOpt:NullAway:AnnotatedPackages="",foo nor
-XepOpt:NullAway:AnnotatedPackages=,foo seem to work
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/uber/NullAway/issues/350?email_source=notifications&email_token=AABPEUIEKGDJNJZPS64DJLLQHQIC7A5CNFSM4ISXXPYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIVCWVQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABPEULEARB3L5PX3UFSEBLQHQIC7ANCNFSM4ISXXPYA
.

I have code in the default package, and I’d like to nullaway it :)
I could of course move that code, but it seems a shame for nullaway to
require that.
On Mon, Sep 2, 2019 at 1:26 PM Manu Sridharan<EMAIL_ADDRESS>wrote:

We may well not handle this case. We could fix, but my feeling is this
comes up quite rarely. @spoerri what is your use case?
On Sun, Sep 1, 2019 at 12:14 spoerri<EMAIL_ADDRESS>wrote:

Can nullaway check the default package, i.e. in the top directory of the
class path?
Neither -XepOpt:NullAway:AnnotatedPackages="",foo nor
-XepOpt:NullAway:AnnotatedPackages=,foo seem to work
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/uber/NullAway/issues/350?email_source=notifications&email_token=AABPEUIEKGDJNJZPS64DJLLQHQIC7A5CNFSM4ISXXPYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIVCWVQ
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AABPEULEARB3L5PX3UFSEBLQHQIC7ANCNFSM4ISXXPYA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uber/NullAway/issues/350?email_source=notifications&email_token=ADUPW2DCO6FOWE4OSR2MQB3QHVEC7A5CNFSM4ISXXPYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WJONA#issuecomment-527210292,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADUPW2G4R2IEOHTGQVR2Y53QHVEC7ANCNFSM4ISXXPYA
.


Keybinds and maps are becoming very crowded with unused binds

This thread here shows a solution to wipe out all global maps at the very least. https://emacs.stackexchange.com/questions/3870/how-to-truly-unbind-all-global-keybinds
We may need to deal with local maps separately.
The thread suggests using
(use-global-map (make-sparse-keymap))
to wipe the bindings and
(global-set-key [t] #'self-insert-command)
(let ((c ?\s))   (while (< c ?\d)     (global-set-key (vector c) #'self-insert-command)     (setq c (1+ c)))   (when (eq system-type 'ms-dos)     (setq c 128)     (while (< c 160)       (global-set-key (vector c) #'self-insert-command)       (setq c (1+ c))))   (setq c 160)   (while (< c 256)     (global-set-key (vector c) #'self-insert-command)     (setq c (1+ c))))
to bind all normal characters to self-insert.
Many normal commands line previous-char next-char newline will need to be rebound.

it's a waste of time making issues for myself


Accessibility Statement for Inclusion on the Website

The text below needs to be added to the website once registration has opened next week.
----->
One of The Carpentries strategic focus areas for improving equity and inclusion across our organisational processes and communities is Accessibility & Inclusion. There are observed and perceived gaps in accessibility of user experience in our workshops and instructor training, and across our community resources. These are gaps we are working to address as an organisation and as a community.
We continue to strive to host inclusive, accessible events that enable all individuals, including individuals with disabilities, to participate and engage fully. This requires providing services to our community such as

Live closed captioning
Remote simultaneous interpretation
Adding language subtitles to video recordings
Childcare services
Caregiver services
Translation of written text
Mobile data

For CarpentryCon, we are excited to announce that funding is available through the Alfred P. Sloan Foundation, the Gordon and Betty Moore Foundation, and our new Accessibility Fund for conference attendees who require access to specific services to fully attend the event. Requests for accommodations can be made on the conference registration form or by contacting Brynn Elliott. Please note that accommodation requests need to be made by 22 July 2022 to be given full consideration.
To increase access, all CarpentryCon sessions will be captioned in English. It is important to note on the registration form if you prefer another language. The four keynote sessions will be interpreted in American Sign Language. Individuals who prefer other signed languages or other sessions interpreted should note this on the registration form.
If you are requesting childcare services, caregiver services, need access to mobile data, or have other funding requests to participate in the event, you will be asked to submit receipt documentation to The Carpentries to reimburse your expenses. When you register, please indicate which service or services you are requesting with an estimate for the cost of those services. Detailed instructions will be sent to you with the paperwork required. Reimbursement will take approximately two to three weeks once the paperwork has been submitted. We acknowledge that waiting for a reimbursement still creates barriers for participation, and we will continue to work with our fiscal sponsor on ways to provide support before, and not after, services have been rendered.
All requests for support will be reviewed and funds will be distributed dependent on the number of requests and availability of funds, but our goal is to meet all accessibility requests. For any additional inquiries about accessibility, please contact Brynn Elliott, The Carpentries Accessibility Manager<EMAIL_ADDRESS>

Closed with PR #68


[Bug]: Data print failure.

Minimal, reproducible example
https://github.com/sheduxdev/JsonToPDF/

Error string
no error
Bug behavior

[ ] Flaky
[X] PDF

Background
No response
Expectation
Print all products from 1 to 416
Reality
It started at 206 when it should have written all 416 products.
Puppeteer configuration file (if used)
No response
Puppeteer version
21.5.2
Node version
20.10.0
Package manager
npm
Package manager version
10.2.3
Operating system
Windows

The problem is with the HTML template (height: 100vh;). Save HTML to file and check if it renders correctly before printing.


Added support for multiline linter messages

gjslint outputs some multiline messages that current linter displays in one line.
PS. Changes to linter-gjslint will be pulled in separate pull request.

This is really a request that should be brought up at linter-plus.


upsert entity

Maybe better this then setId/defineId?
http://doctrine-mongodb-odm.readthedocs.org/en/latest/reference/upserting-documents.html

SetId will drop duplicate key if your persist will be fired without "upsert" param


results in paper

Hello, author! Does your project provide the code to obtain the results mentioned in the paper?

@BuaaLct Please check the readme file. you can find the code link to DSC and NSD.


strip-nondeterminism: file to propagatedBuildInput

Motivation for this change
file is used by the strip-nondeterminism perl script but is not propagated during builds.
Can't exec "file": No such file or directory at /nix/store/ysp4zbrp2m1b8sbi4bfdfd1v8xjpcbwv-perl5.32.1-strip-nondeterminism-1.0.0/lib/perl5/site_perl/5.32.1/File/StripNondeterminism.pm line 37.
can't exec file: No such file or directory at /nix/store/ysp4zbrp2m1b8sbi4bfdfd1v8xjpcbwv-perl5.32.1-strip-nondeterminism-1.0.0/lib/perl5/site_perl/5.32.1/File/StripNondeterminism.pm line 37.
Use of uninitialized value in pattern match (m//) at /nix/store/ysp4zbrp2m1b8sbi4bfdfd1v8xjpcbwv-perl5.32.1-strip-nondeterminism-1.0.0/lib/perl5/site_perl/5.32.1/File/StripNondeterminism.pm line 63.

Here is the snippet of where it's used
sub _get_file_type($) {
	my $file=shift;
	open(FILE, '-|') # handle all filenames safely
	  || exec('file', $file)
	  || die "can't exec file: $!";
	my $type=<FILE>;
	close FILE;
	return $type;
}

This script is very handy to run within a nix-build context, specifically during the fixupPhase.
Unfortunately, file is not propagated, and does not exist causing the build to fail.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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

[x] Fits CONTRIBUTING.md.

I tested my local derivation that uses the script in postFixupPhase with my patch and it works correctly now.

Result of nixpkgs-review pr 128474 at d5f18fb6 run on x86_64-linux 1

2 packages built successfully:

perl530Packages.strip-nondeterminism
strip-nondeterminism (perl532Packages.strip-nondeterminism)

Hopefully this is an approved approach (much simpler) rather than changing the usage of file to be directly referencing the /nix/store path.
TY everyone on the review.

Why isn't wrapProgram used here?
@ofborg eval

1000 ways to do something in Nix :(
I can't comment on why wrapProgram vs this approach; I'm also not familiar enough with the Perl tooling in Nixpkgs.

Why isn't wrapProgram used here?
@ofborg eval

one reason not to use wrapProgram is that if the perl module is imported from perl, then the bin wrapper won't be utilized anyway. At least, this is a concern in the python ecosystem.

Why isn't wrapProgram used here?
@ofborg eval

one reason not to use wrapProgram is that if the perl module is imported from perl, then the bin wrapper won't be utilized anyway. At least, this is a concern in the python ecosystem.

That's a good point for me to remember. Thank you for the edification.


Number the steps

Steps should be numbered!  Probably could just be static for now...

https://github.com/Autodesk/molecular-design-applications/pull/58


Udocker in chroot

当我在chroot_nethunter环境中尝试运行udlcker的容器时，它出现了报错：proot info: pid 10370: terminated with signal 11。
When I tried to run the container of udlcker in the chroot_nethunter environment, it reported an error: proot info: pid 10370: terminated with signal 11.

Hey,
how did you manage to fix this issue? I have the same problem.

Hey,
how did you manage to fix this issue? I have the same problem.

这个报错在我分析后得到了解决
这个报错可能意味着你的系统架构可能不兼容容器架构
This error was solved after my analysis.
This error may mean that your system architecture may not be compatible with the container architecture.


Problem using artifactory

Is this a BUG REPORT or FEATURE REQUEST?:
Help Wanted - possibly BUG REPORT
What happened:
Error trying to save artifacts to artifactory
failed to save outputs: Put https:///artifactory.myorg.net/artifactory/argo-artifacts-sandbox/cluster-connectivity-vmf2r/cluster-connectivity-vmf2r-2302715281/connectivity-results.tgz: http: no Host in request URL

What you expected to happen:
Artifacts are pushed to artifactory
How to reproduce it (as minimally and precisely as possible):
configmap:
...
  config: |
    artifactRepository:
      artifactory:
        repoUrl: "https://artifactory.myorg.net/artifactory/argo-artifacts-sandbox"
        usernameSecret:
          name: artifactory-sandbox
          key: username
        passwordSecret:
          name: artifactory-sandbox
          key: password

workflow script:
...
    outputs:
      artifacts:
      - name: connectivity-results
        path: /artifacts/

Anything else we need to know?:
Looking at the error message above it seems that the problem might be using path.Join to join a URL (here: https://github.com/argoproj/argo/blob/a7ca59be870397271fabf5dba7cdfca7d79a934f/workflow/executor/executor.go#L200)
I created this simple go snippet to try and repro the issue:
package main

import (
	"fmt"
	"path"
	"net/http"
)

func main() {
	p := path.Join("http://example.com/", "file.out")
	fmt.Println(p)
	req, _ := http.NewRequest(http.MethodGet, p, nil)
	_, err := (&http.Client{}).Do(req)
	fmt.Println(err)
}

This generates the same triple / in the URL and the same no Host error message:
Get http:///example.com/file.out: http: no Host in request URL

Have I made a mistake with the config map, or does this seem like a problem using path.Join?
Environment:

Argo version:

$ argo version
argo: v2.0.0
  BuildDate: 2018-02-06T21:39:43Z
  GitCommit: 0978b9c61cb7435d31ef8d252b80e03708a70adc
  GitTreeState: clean
  GitTag: v2.0.0
  GoVersion: go1.9.1
  Compiler: gc
  Platform: linux/amd64

Kubernetes version :

$ kubectl version -o yaml
clientVersion:
  buildDate: 2018-01-18T10:09:24Z
  compiler: gc
  gitCommit: 5fa2db2bd46ac79e5e00a4e6ed24191080aa463b
  gitTreeState: clean
  gitVersion: v1.9.2
  goVersion: go1.9.2
  major: "1"
  minor: "9"
  platform: darwin/amd64
serverVersion:
  buildDate: 2018-01-26T19:04:38Z
  compiler: gc
  gitCommit: 925c127ec6b946659ad0fd596fa959be43f0cc05
  gitTreeState: clean
  gitVersion: v1.9.0
  goVersion: go1.9.1
  major: ""
  minor: ""
  platform: linux/amd64

Other debugging information (if applicable):

workflow result:

$ argo get <workflowname>
STEP                                PODNAME                                DURATION  MESSAGE
 ✖ cluster-connectivity-vmf2r
 ├---✔ get-node-list                cluster-connectivity-vmf2r-38576243    3s
 └---⚠ connectivity(name:minikube)  cluster-connectivity-vmf2r-2302715281  3s        failed to save outputs: Put https:///artifactory.myorg.net/artifactory/argo-artifacts-sandbox/cluster-connectivity-vmf2r/cluster-connectivity-vmf2r-2302715281/connectivity-results.tgz: http: no Host in request URL

executor logs:

$ kubectl logs <failedpodname> -c init
$ kubectl logs <failedpodname> -c wait
time="2018-02-26T15:17:26Z" level=info msg="Executor (version: v2.0.0) initialized with template:\narchiveLocation:\n  artifactory:\n    passwordSecret:\n      key: password\n      name: artifactory-sandbox\n    url: https://artifactory.myorg.net/artifactory/argo-artifacts-sandbox/cluster-connectivity-vmf2r/cluster-connectivity-vmf2r-2302715281\n    usernameSecret:\n      key: username\n      name: artifactory-sandbox\ncontainer:\n  args:\n  - test/connectivity.py\n  command:\n  - pytest\n  image: docker-artifactory.myorg.net/dclark/python-ts:0.1\n  imagePullPolicy: Always\n  name: \"\"\n  resources: {}\ninputs:\n  parameters:\n  - name: node-name\n    value: minikube\nname: pytest\noutputs:\n  artifacts:\n  - name: connectivity-results\n    path: /artifacts/\n"
time="2018-02-26T15:17:26Z" level=info msg="Waiting on main container"
time="2018-02-26T15:17:27Z" level=info msg="main container started with container ID: 49be5b78809ddf9c39bfa98c50e9bad0709d1a7d711dbb0c3af5bbac2cb31a63"
time="2018-02-26T15:17:27Z" level=info msg="Starting annotations monitor"
time="2018-02-26T15:17:27Z" level=info msg="docker wait 49be5b78809ddf9c39bfa98c50e9bad0709d1a7d711dbb0c3af5bbac2cb31a63"
time="2018-02-26T15:17:27Z" level=info msg="Starting deadline monitor"
time="2018-02-26T15:17:27Z" level=info msg="Main container completed"
time="2018-02-26T15:17:27Z" level=info msg="No sidecars"
time="2018-02-26T15:17:27Z" level=info msg="Saving output artifacts"
time="2018-02-26T15:17:27Z" level=info msg="Saving artifact: connectivity-results"
time="2018-02-26T15:17:27Z" level=info msg="Archiving 49be5b78809ddf9c39bfa98c50e9bad0709d1a7d711dbb0c3af5bbac2cb31a63:/artifacts/ to /argo/outputs/artifacts/connectivity-results.tgz"
time="2018-02-26T15:17:27Z" level=info msg="sh -c docker cp -a 49be5b78809ddf9c39bfa98c50e9bad0709d1a7d711dbb0c3af5bbac2cb31a63:/artifacts/ - | gzip > /argo/outputs/artifacts/connectivity-results.tgz"
time="2018-02-26T15:17:27Z" level=info msg="Annotations monitor stopped"
time="2018-02-26T15:17:27Z" level=info msg="Archiving completed"
time="2018-02-26T15:17:27Z" level=info msg="Alloc=3557 TotalAlloc=27933 Sys=10886 NumGC=11 Goroutines=7"
time="2018-02-26T15:17:27Z" level=fatal msg="Put https:///artifactory.myorg.net/artifactory/argo-artifacts-sandbox/cluster-connectivity-vmf2r/cluster-connectivity-vmf2r-2302715281/connectivity-results.tgz: http: no Host in request URL"

workflow-controller logs:

$ kubectl logs -n kube-system $(kubectl get pods -l app=workflow-controller -n kube-system -o name)

With the following change to the executor I was able to push artifacts to artifactory
diff --git a/workflow/executor/executor.go b/workflow/executor/executor.go
index f46bafe..a7d6fd1 100644
--- a/workflow/executor/executor.go
+++ b/workflow/executor/executor.go
@@ -8,6 +8,7 @@ import (
        "fmt"
        "io"
        "io/ioutil"
+        "net/url"
        "os"
        "os/exec"
        "os/signal"
@@ -197,7 +198,12 @@ func (we *WorkflowExecutor) SaveArtifacts() error {
                        } else if we.Template.ArchiveLocation.Artifactory != nil {
                                shallowCopy := *we.Template.ArchiveLocation.Artifactory
                                art.Artifactory = &shallowCopy
-                               art.Artifactory.URL = path.Join(art.Artifactory.URL, fileName)
+                                artifactoryUrl, urlParseErr := url.Parse(art.Artifactory.URL)
+                                if urlParseErr != nil {
+                                        return urlParseErr
+                                }
+                                artifactoryUrl.Path = path.Join(artifactoryUrl.Path, fileName)
+                                art.Artifactory.URL = artifactoryUrl.String()
                        } else {
                                return errors.Errorf(errors.CodeBadRequest, "Unable to determine path to store %s. Archive location provided no information", art.Name)
                        }

(I'm new to go - so there could be a better way to do this)

Thanks for the investigation. If you have something working, we welcome contributions! Otherwise @sandeepbhojwani - do you have time to investigate this?

thanks @jessesuen - I'll create a PR

Fixed


envoy filter not working 1.19.4

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
istio configamap
accessLogFile: ""

envoy filter
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: access-log
  namespace: istio-system
spec:
  configPatches:
    - applyTo: NETWORK_FILTER
      match:
        context: ANY
        listener:
          filterChain:
            filter:
              name: envoy.http_connection_manager
      patch:
        operation: MERGE
        value:
          typed_config:
            '@type': >-
              type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
            access_log:
              - name: envoy.access_loggers.file
                typed_config:
                  '@type': >-
                    type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog
                  format: json
                  json_format:
                    authority: '%REQ(:AUTHORITY)%'
                    bytes_received: '%BYTES_RECEIVED%'
                    bytes_sent: '%BYTES_SENT%'
                    client_ip: '%REQ(TRUE-Client-IP)%'
                    downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%'
                    downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%'
                    duration: '%DURATION%'
                    method: '%REQ(:METHOD)%'
                    path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%'
                    protocol: '%PROTOCOL%'
                    request_id: '%REQ(X-REQUEST-ID)%'
                    requested_server_name: '%REQUESTED_SERVER_NAME%'
                    response_code: '%RESPONSE_CODE%'
                    response_code_details: '%RESPONSE_CODE_DETAILS%'
                    response_flags: '%RESPONSE_FLAGS%'
                    route_name: '%ROUTE_NAME%'
                    start_time: '%START_TIME%'
                    upstream_cluster: '%UPSTREAM_CLUSTER%'
                    upstream_host: '%UPSTREAM_HOST%'
                    upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%'
                    upstream_service_time: '%REQ(X-ENVOY-UPSTREAM_SERVICE_TIME)%'
                    upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%'
                    user_agent: '%REQ(USER-AGENT)%'
                    x_country: '%REQ(X-BMF-COUNTRY)%'
                    x_forwarded_for: '%REQ(X-FORWARDED-FOR)%'
                    x_referer: '%REQ(X-BMF-REFERER)%'
                  path: /dev/stdout
            stat_prefix: ingress_http
  workloadSelector:
    labels:
      istio: ingressgateway

I was configuring  above to disable the log in the istio side container(only ingress gateway log enable).
but 1.18 ->1.19 upgrade after not working this enovy filter. (ingress gateway log not enabled)
Version
1.19.4

Additional Information
No response

please use Telemetry API for these requirement.

envoy.http_connection_manager name has changed to envoy.filters.network.http_connection_manager

I solved it with metric Telemetry . Thank you for help!

Thank you for help!


fix: Updating the logic to render 'allUsers' having access to the workspace

Description

Fixes render issue for allUsers after sharing the workspace access with new users.

PR fixes following issue(s)
Fixes #28013 and ensures that it does not break #17728
Media

https://www.loom.com/share/265e79e2e4a14d6b8312a6ea112365d0

Type of change

Bug fix (non-breaking change which fixes an issue)

Testing
How Has This Been Tested?

[x] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test


How to change Particle Size and Color?

Hi Erik,
You really did a great work!!! I like your ocean parcels package very much! In recent days, I used your package to track particles in the ocean and it did very well. However, I met problems about changing the particle's size, density, color.
(1) First, when I ran your tutorial plotting.py, it successfully launched a set of particles, but the default particle's size was a little bigger if I plotted all of them in my research area. Therefore, I will appreciate it if you remember where to set the particle's size in your python file.
(2) Second, I plan to launch two sets of particles in the research area, so I want to use two different colors to tag them. I am sorry that I am new to programming (T_T). After reading some of your files carefully, I think the most relevant files are particleset.py & plottrajectory.py, but I feel lost in hundreds of codes...

I've found two codes to set the particle size & color in plottrajectory.py, but it doesn't work for 'pset..(var....) ' in plotting the particles in gif.

If you know how to change the size & color in your python file, feel free to let me know!!! Thank you so much (^_^). I've noticed that you solved some similar issues, like # 252, #675,  but I still don't find the specific codes to achieve that.
Hope you stay well! Thank you again!!
Best, Isabel

Thank you for this kind message, @isabelyuyingwu. Indeed, the plotting routines in Parcels are very rudimentary, and really should not be used for anything more than a quick check of the data. We made the decision for now to focus on the particle computation, not plotting; with the limited resources we have, we can't do it both ;-)
My recommendation is just to write your own plotting routines from scratch, specific for your own experiment and tailored to whatever you need. As a hint, you can write your plotting scripts based on what we do in https://github.com/OceanParcels/parcels/blob/master/parcels/plotting.py. Note of course that you don't even need to use python to plot the particles; since the output files are netcdf you should also be able to plot these in any other data analysis programme that you use

WOW. That makes sense! Thanks for your quick response.
Yeah, I forget that we've already saved the NetCDF file as below figure, so we can use it directly for plotting . Thanks for your recommendation. I will read your plotting.py carefully and try later in Matlab or python matplotlib.

In addition, I have a little question. When we input pset (parameter.........), it will automatically plot the default size (s=20) of particles in black color. Is it because you set the particles' size in particleset.py, or plotting.py?

I am sorry for my entry-level programming skills.
Thank you so much!

The size parameter in ParticleSet.from_line() is the size of the particleset, so in the example above there are 5 particles. It is not the size for the plotting. See also the documentation at http://oceanparcels.org/gh-pages/html/#parcels.particleset.ParticleSet.from_line

Thank you so much!!! Thanks for your quick response!
I will keep following your research!!! Great! Cheer up!


Preprocessor Documentation issue

Hello in issues there wasnt a selection for the preprocessor so I took the closest I found.
Describe the bug
In https://github.com/chipsalliance/verible/tree/master/verilog/tools/preprocessor README it says to use the +include+ flag to include directories, however this does not work. Instead +incdir+ should be used I guess.

Yes, looks like a typo. Can you send a pull request fixing it ? It is indeed +incdir+.


Integration of TOTP auth method that can be used in place of, or in addition to "Nginx HTTP Basic Authentication"

Is your feature request related to a problem? Please describe.

Maybe?  I'm wondering how to integrate TOTP functionality as an authorization method in npm.
Describe the solution you'd like

Integration of a TOTP authentication method that can be used in place of, or in addition to "Nginx HTTP Basic Authentication"
Describe alternatives you've considered

I've researched but can't figure out a way (or if there is a way) to add such functionality to npm.
Additional context

TOTP auth would be extremely useful for a reverse proxy manager like npm!

This would require a separate login interface and is therefore not compatible with HTTP Auth.
[I would like a fancy login interface [nicer than HTTP Auth], it's just a lot of work...]
And TOTP needs a backend... that would also have to be done...
So it's not something you just do.


Microsoft.AspNetCore.Authorization attributtes

Hi, this not really an issue per se. But I had a look at this while trying to use JWT bearer authorization independently of the azure platform. It was nice to come across (albeit hacky as you point out) the reflection snippets in the FunctionContextExtension.
I did end up making a slightly different authorization middleware that make use of IAuthorizationService - I forked and made some changes https://github.com/kjartab/IsolatedFunctionsAuthentication, have a look if you're interested!

Just a cleanup session in my github account. Had a lot of old and half done stuff lying around. Anything in particular you are wondering about?

Hi, I was cleaning up my github repositories and removed the fork and changes. Was there something in particular you were wondering about?


[TB] Release tracking information

Hi! Thanks so much for this amazing framework! :-)
One question: the release process was very fast for version 2, about 30 issues a day got patched, but in recent weeks it's quite different. Is it something you're working on or do you have other projects to also work on?
Thank you!

It's a side project for Jacob and Mark. They still have to work their regular jobs, like we all :)

We have full-time duties at Twitter that don't include Bootstrap in the slightest. We work on it when we can.
Related, 2.0.2-wip should drop soon with 60+ issues, and 2.0.1 had 100+ if I recall.

Yep, sorry i've been definitely falling behind - mark's been doing pretty well. I'll try to pick up the pace a bit :)


Keeps breaking every time I start a new project

Is not compiling a css file at all. The past few times I got around this problem by uninstalling and reinstalling multiple times but this time it is not working all.

Can you follow the steps from the 'Why are my files not compiling?' section of the FAQ.
I'd also need:

to see your file structure.
is the extension showing in the bottom right of the window
is there any output from the extension whatsoever

Any luck @Louistam888

Working now, thanks

Glad you got it working


Mongolia bur2 remaining tables

Work in progress.

[x] Add notebook to dependencies
[x] Add ipympl to dependencies (needed to show interactive plots in jupyter notebooks)
[ ] Read more important tables: 32, 43-44, 74,  103, 114-115, 119, 125-126, 151, 157, 161-162
[ ] Deal with less important tables (skip for now but mention that they exist and what they contain in the code)
67, 78, 91, 105/6, 110/111

The notebook, ipympl, and 'ipywidgets`  dependencies should be in the dev dependencies not in the main dependencies as the notebooks are only used during development.


ERD incorrectly marks foreign key relationship as optional

System information:

Operating system (distribution) and version: macOS mojave 10.14.6
DBeaver version:   <IP_ADDRESS>909221630
Additional extensions: none

Connection specification:

Database name and version: PostgreSQL 9.6.11 on x86_64-pc-linux-gnu, compiled by gcc.real (GCC) 8.2.0, 64-bit
Driver name: github.com/lib/pq
Do you use tunnels or proxies (SSH, SOCKS, etc)? Not sure; probably SSH

Describe the problem you're observing:
When I generate an entity-relationship diagram of my database, dbeaver is consistently--but incorrectly--noting foreign key relationships as optional when they should not be.
If the foreign key field has a NOT NULL constraint then the relationship must be one-to-many and cannot be zero-to-many, I believe; thus, the highlighted diamond should not be present.

Here is the DDL for the two tables, according to dbeaver:
CREATE TABLE public.iam_project_rules (
	db_id serial NOT NULL,
	id text NOT NULL,
	name text NOT NULL,
	"type" text NOT NULL,
	project_id int4 NOT NULL,
	CONSTRAINT iam_project_rules_id_key UNIQUE (id),
	CONSTRAINT iam_project_rules_pkey PRIMARY KEY (db_id),
	CONSTRAINT iam_projects_db_id_fkey FOREIGN KEY (project_id) REFERENCES iam_projects(db_id) ON DELETE CASCADE
);

CREATE TABLE public.iam_projects (
	db_id serial NOT NULL,
	id text NOT NULL,
	"name" text NOT NULL,
	"type" iam_policy_type NOT NULL DEFAULT 'custom'::iam_policy_type,
	CONSTRAINT iam_projects_id_key UNIQUE (id),
	CONSTRAINT iam_projects_pkey PRIMARY KEY (db_id)
);

Here is a bigger picture of my whole DB. There are six foreign key relationships noted. Five of them, the highlighted ones, all have NOT NULL constraints on those fields, so should not have the diamond.

Steps to reproduce, if exist:
Create two tables above.
Generate ERD diagram.
Include any warning/errors/backtraces from the logs

No errors or warnings.

I have the same issue

It waited for too long time :(
Fixed

verified


Fix tab completion for attribute ScriptBlocks.

PR Summary
This fixes the issue where trying to tab complete commands, command parameters, etc. inside a ValidateScript ScriptBlock would always complete to the attribute parameters for ValidateScript.
For example: [ValidateScript({get-chil<Tab>})]$idk=ls would result in [ValidateScript({ErrorMessage})]$idk=ls

PR Context
Tab completion is an important feature that should give useful results whenever possible.

PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[X] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[X] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[X] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[X] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[X] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

It seems like this PR has been forgotten. Any chance it can be added before its first birthday?

@MartinGC94 Thanks for your contribution!


Update RefOS to latest kernel.

Minor updates to RefOS to latest seL4 kernel.

I think this PR has been sufficiently superseded by other changes so I'll close it


added a tooltip to every device

why are you replacing a dialog with a label the tooltip is okay, but not understanding the second unrelated change bundled with this pull request.

The secound commit was not intended to be pushed (yet).
I only wanted to do a pull request about the tooltip.
Sorry about that.

okay should I close this one so you can make another, probably better to separate those out anyhow, thanks

Let's use this request for the tooltip. Now there should be only displayed changes dealing with the tooltip.

yes lets! - thanks...


Pulling in product name from stash config for init scripts

Fixes #155

Thanks @johnlawerance  for the PR and sorry for the late response!


Pluralsight: ERROR: Unable to download JSON metadata: HTTP Error 429: Too Many Requests

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.06.25. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.06.25

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[x] Other

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--username', u'PRIVATE', u'--password', u'PRIVATE', u'https://app.pluralsight.com/library/courses/docker-ansible-continuous-delivery/table-of-contents', u'-o', u'/home/username/Videos/%(playlist)s/%(chapter_number)02d - %(chapter)s/%(playlist_index)02d - %(title)s.%(ext)s', u'--sleep-interval', u'35', u'--max-sleep-interval', u'120', u'--sub-lang', u'en', u'--sub-format', u'srt', u'--write-sub']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.25
[debug] Python version 2.7.12 (CPython) - Linux-4.8.0-53-generic-x86_64-with-LinuxMint-18.2-sonya
[debug] exe versions: ffmpeg 2.8.14-0ubuntu<IP_ADDRESS>, ffprobe 2.8.14-0ubuntu<IP_ADDRESS>
[debug] Proxy map: {}
[pluralsight:course] docker-ansible-continuous-delivery: Downloading course JSON
[pluralsight:course] docker-ansible-continuous-delivery: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 598, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

I've tested several times, and the problem still occurs a day between attempts.
I've tried to use a VPN, I've tried to turn off the VPN, and it still occurs.
Any ideas?

I guess that Pluralsight has changed somehting in their infraestructure to protect them from youtube-dl.
I'm facing the same problem since yesterday

I got the same issues. 2 days back it was working.

@robk9e is right! I'm on the Pluralsight team that runs that endpoint. We're not huge fans of scraping the site ¯_(ツ)_/¯
It's so much easier to use our offline players anyway:
Official Pluralsight Players FTW!!!


SequenceGenerator doesn't increment correctly

Hello,
I need some time to figure out how to sample this but I wanted to create an issue, maybe someone else can provide a sample.
Sometimes SequenceGenerator is not incrementing the sequence:

It is a XAF Application with Win/Blazor, no MiddleTier, no Tenancy.
I am using SQL Server.
Issue occurs on Win.
After trying on Blazor it worked again as it should.
Reopening ListView etc. did not help:

at least myself unclear as to why this happens, unless I can repro it

I will test now some cases.
Could there be any conflict with different OptimisticLockingReadBehavior or different OptimisticLocking settings?

as a side effect it can be sure

I turned locking on my side off but it did not help.
Will get back soon as I have any updates on this.

I don't know why but it happened sometimes already before:

it is sporadically, I can't repro it too.

I have the save problem. I can not repro it. It happens sporadicly when many people work on the system, but simultaneous request of numbers is not the reason (the same as your example).
It seems that the new number can not be commited.

maybe u can try detecting the exact moment it happens using a db constrain? e.g. unique index on the column and hopefully this can gives us ideas to repro it?

I guess I could also use my timestamp to get the exact moment but it didn't helped me to figure out what was causing this issue.
At the time when I opened this issue I was able to test a little bit and closing every View and reopening did not help.
If I look at this line: https://github.com/eXpandFramework/Reactive.XAF/blob/4d5517f573a4182b83dc4cd5191851fc0b4f4a2c/src/Modules/SequenceGenerator/SequenceGeneratorService.cs#L266
could you change "throw" to log an exception anywhere?
@CWolffIF maybe the number can't be commited or it gets decremented.
Because we always get the last number, I guess the exception is after this line, correct? https://github.com/eXpandFramework/Reactive.XAF/blob/4d5517f573a4182b83dc4cd5191851fc0b4f4a2c/src/Modules/SequenceGenerator/SequenceGeneratorService.cs#L260

I thinkk u could easily own the code of the module do your tests, spent your resources to find out whats the issue and report back so I can review and integrate.
I have not tried it my self so some steps maybe missing. But to me looks like you

can remove the dependency to the SequenceGenerator.
copy-paste the only two files from the package source to your source
Maybe change the XPObjectType if there is an entry there for the SequenceStorage
subscribe to the sevice in your module as the package does

public override void Setup(ApplicationModulesManager moduleManager){
            base.Setup(moduleManager);
            moduleManager.Connect(SequenceStorageType)
                .TakeUntilDisposed(this)
                .Subscribe();
        }

hopefully this suggestion is more valueable to you instead of waiting long times me to modify going blind. Let me know if there was an issue running the package like this.

note also all problems starrted from the Tenant upgrade, b4 it worked well so you can compare the current package source (1 file) to then if you feel it will help

added the logging in the next minor, did u by any chance have any luck?

I had no time to work on this project. It feels like 100 other things came up.
I'll take care of it as soon as I find time.

The pre-release <IP_ADDRESS> in the Reactive.XAF lab branch  includes commits that relate to this task:

SequenceGeneratorService log all exceptions in verbose mode #1075

To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).

Released packages:
No packages released.

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.

just for information: I am using <IP_ADDRESS> and this error occured again. There is nothing in eXpressAppFramework.log
the last number at 16:36 has been generated programmatically.
All the numbers before were generated by a user in GUI.

the link above takes u here

so u need verbose in your config to see something if error

oh now I see it, I will change loglevel to verbose and get back with new informations.

16.12.24 16:57:45.531	Action 'SucheImVorgang' done
16.12.24 16:57:50.606	>BindingHelper.EndCurrentEdit
16.12.24 16:57:50.606		control is null: False
16.12.24 16:57:50.606		Form.ActiveForm is null: False
16.12.24 16:57:50.606	BindingHelper.EndCurrentEditCore - grid.MainView.UpdateCurrentRow
16.12.24 16:57:50.606	BindingHelper.EndCurrentEditCore - grid.MainView.UpdateCurrentRow
16.12.24 16:57:50.606	<BindingHelper.EndCurrentEdit
16.12.24 16:57:50.606	--------------------------------------------------------------------------------
							Execute action

16.12.24 16:57:50.606		Type: DevExpress.ExpressApp.Actions.SimpleAction
								ID: RechnungAusAuftrag
								Category: ObjectsCreation
								Controller.Name: JEJE.Win.Controllers.Verkauf.ovcAuftragMasterListViewWin
								Context.Name: Auftragsübersicht
								Context.IsRoot: True
								Context.SelectedObjects.Count: 1
								Context.CurrentObject: 3150c1d5-b94d-4ee6-9f53-0193cc5aef1d

16.12.24 16:57:52.073		ListView: ListView, ID:Auftrag_Auftragspositionen_ListView
16.12.24 16:57:52.073		ListView.CollectionSource: DevExpress.ExpressApp.PropertyCollectionSource
								ListView.CollectionSource.List: ProxyCollection

16.12.24 16:57:52.085		ListView: ListView, ID:Anmerkung_ListView
16.12.24 16:57:52.085		ListView.CollectionSource: DevExpress.ExpressApp.PropertyCollectionSource
								ListView.CollectionSource.List: XpoServerCollectionFlagger

JEJE.Win Error: 0 : 16.12.24 16:57:52.173	================================================================================
The error occurred:

	Type:       LockingException
	Message:    Das Objekt kann nicht bestehend bleiben. Es wurde von einem anderen Programm modifiziert oder gelöscht (bereinigt).
	Data:       0 entries
	Stack trace:

   at DevExpress.Xpo.DB.MSSqlConnectionProvider.ProcessModifyData(ModificationStatement[] dmlStatements)
   at DevExpress.Xpo.DB.DataStoreSerializedBase.ModifyData(ModificationStatement[] dmlStatements)
   at DevExpress.Xpo.DB.ConnectionProviderSql.ModifyData(ModificationStatement[] dmlStatements)
   at DevExpress.Xpo.SimpleDataLayer.ReentrancyAndThreadSafetyChecked[T](Func`1 action)
   at DevExpress.Xpo.SimpleObjectLayer.CommitChanges(Session session, ICollection fullListForDelete, ICollection completeListForSave)
   at DevExpress.Xpo.Session.FlushChanges()
   at Xpand.XAF.Modules.SequenceGenerator.SequenceGeneratorService.GenerateSequences(ExplicitUnitOfWork explicitUnitOfWork, Object theObject, Type sequenceStorageType)
	InnerException is null

For my case I need to check if it is related to "LockModified" in some associated BusinessObject.
For example BusinessObject A generates a new sequence, but associated BusinessObject B has LockModified enabled.
I don't know if this could affect it.
I will [OptimisticLockingIgnored] every property that has a relation to sequence generator and get back with new informations in some days.

as I had two days without duplicates after adding [OptimisticLockingIgnored] to every property of type long that is used for sequence, I will close this issue.
If my problem appears again, I will notice.
@CWolffIF maybe you could also try to add [OptimisticLockingIgnored] and confirm if this resolves your problem. Even if you use the XAF default locking behaviour.
[OptimisticLockingIgnored]
public long MySequenceNumber {
}
..

this locking attribute did not help.
I will try https://supportcenter.devexpress.com/ticket/details/t1268805/sequencegenerator-for-middletier


Visual Studio Test task is cancled after a little less then one hour

Environment
TFS 2018 with private agent version 2.134.2 on Windows 7
Issue Description
I have a build that executes a Visual Studio Test task in a multiconfiguration phase. The test will be cancled after the build runs for around one houre.  With
2018-07-06T07:59:30.8845710Z ##[debug]Re-evaluate condition on job cancellation for step: 'VsTest - testPlan'.
2018-07-06T07:59:31.1658246Z ##[error]The operation was canceled.

Currently while it is a multiconfiguration phase, I only test with one agent.
What condition will be evaluated that cancels the task? I did not set a timeout (default is 0 equals infinit)
Also the test run under Tests will still set as in process and the result of tests that already run will not be published.
Error logs
vsts-vstest.log

There's two timeouts - one at the job/phase and one at the step.  check both.

Thanks for the tip.
It was the timeout of the complete build under the options of the build defintion. Default is 60 minuts. I set it to 660 minuts. I think I will know next week.

@LokiMidgard Is the issue resolved after increasing build timeout?

We'll the tests still don't finish, but that seems to be another issue.

@LokiMidgard Whats the new issue which you are facing?

I was away and not working on the Project, so I will start to investigate. It could be that its just an error in our tests. On TFS 2010 the test normaly took little more then 3 hours and if everything goes south it takes 4 hours. The build timouted after 6.3 hours. So chances are high that the bug is this time in our code. But I will open another issue if I find anything.
I opend #7701 but I'm not sure if you would call it a bug or just an inconvenients.


Moon Cake Support-- How to use the repo to deploy to azure.cn

How to use the repo to deploy to azure.cn?

This is something we are working on, but have some more validation to complete first.

Thanks a lot to you guys


Showing red underline below all keywords in code

We have written the needed data into your clipboard because it was too large to send. Please paste.

Vs code is showing red underline below all the keywords and predefined words in my system and every type of extentions file


Add ksql to the stack

KSQL is the open source streaming SQL engine for Apache Kafka®. It provides an easy-to-use yet powerful interactive SQL interface for stream processing on Kafka, without the need to write code in a programming language such as Java or Python.
It seems to be the next evolution of enabling stream-based processing of data via Apache Kafka. KSQL is a Confluent product.
We should add the server component, the cli component, and the ui component to the stack to allow easy sandbox exploration of this tool.

The cli component is best run in a separate container, and not as part of the stack.
The README.md should instead contain some details on how to use the cli to interact with ksql.
Additionally, there does not appear to be a UI component that is worth setting up for ksql at this point.


bosun becomes unresponsive

dieter@ziggurat:~$ /usr/sbin/bosun --version
bosun version 0.5.0-rc3 (e69b9e71ad635705370b74000730d3e1a09e6e1d) built 2016-05-16T16:35:48Z

so we have nginx in between, which just has localhost:8070 as an upstream:
2016/05/25 05:34:57 [error] 11207#0: *792732 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: bosun.raintank.io, request: "GET /api/alerts?filter= HTTP/1.1", upstream: "http://[::1]:8070/api/alerts?filter=", host: "bosun.raintank.io"
2016/05/25 05:34:57 [error] 11216#0: *792727 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: bosun.raintank.io, request: "GET /api/alerts?filter= HTTP/1.1", upstream: "http://[::1]:8070/api/alerts?filter=", host: "bosun.raintank.io"

it's running:
root@ziggurat:/var/log/nginx# netstat -nlp | grep 8070
tcp        0      0 <IP_ADDRESS>:8070          <IP_ADDRESS>:*               LISTEN      24887/bosun

... but this gets "stuck"
root@ziggurat:/var/log/nginx# curl 'http://localhost:8070/api/alerts?filter='

i was able to get a stackdump without a hitch (while the above curl was running):
curl 'http://localhost:8070/debug/pprof/goroutine?debug=1' > goroutines.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 19782    0 19782    0     0   865k      0 --:--:-- --:--:-- --:--:--  878k

i uploaded it to https://gist.github.com/Dieterbe/a86e6907418accf8ec7ef5b2c46732dc

i notice a lot of connections involving :8070 but this may be irrelevant:
dieter@ziggurat:~$ sudo netstat | grep 8070
tcp        0      0 localhost:44964         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44223         CLOSE_WAIT
tcp        0      0 localhost:44931         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44580         CLOSE_WAIT
tcp        0      0 localhost:44936         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44231         CLOSE_WAIT
tcp        0      0 localhost:44938         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44597         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44957         ESTABLISHED
tcp        1      0 localhost:8070          localhost:43828         CLOSE_WAIT
tcp        0      0 localhost:44917         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44215         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44588         CLOSE_WAIT
tcp        0      0 localhost:44946         localhost:8070          ESTABLISHED
tcp        0      0 localhost:8070          localhost:44919         ESTABLISHED
tcp        1      0 localhost:8070          localhost:43830         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43817         CLOSE_WAIT
tcp        0      0 localhost:44939         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:43822         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44594         CLOSE_WAIT
tcp        0      0 localhost:44968         localhost:8070          ESTABLISHED
tcp        0      0 localhost:8070          localhost:44940         ESTABLISHED
tcp        1      0 localhost:8070          localhost:43831         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44930         ESTABLISHED
tcp        1      0 localhost:8070          localhost:43835         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44574         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43823         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44233         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43837         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43923         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43841         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43839         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43815         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43833         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43818         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44221         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44575         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44240         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44234         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44956         ESTABLISHED
tcp        1      0 localhost:8070          localhost:44238         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44941         ESTABLISHED
tcp        1      0 localhost:8070          localhost:44585         CLOSE_WAIT
tcp        0      0 localhost:44957         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44225         CLOSE_WAIT
tcp        0      0 localhost:41866         localhost:8070          ESTABLISHED
tcp        0      0 localhost:8070          localhost:44921         ESTABLISHED
tcp        1      0 localhost:8070          localhost:44577         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44965         ESTABLISHED
tcp        0      0 localhost:44965         localhost:8070          ESTABLISHED
tcp        0      0 localhost:44921         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44224         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44592         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44583         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44235         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44572         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44581         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44232         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:41866         ESTABLISHED
tcp        0      0 localhost:44930         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44220         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44578         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44226         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44936         ESTABLISHED
tcp        0      0 localhost:8070          localhost:57420         ESTABLISHED
tcp        1      0 localhost:8070          localhost:44589         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43827         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44939         ESTABLISHED
tcp        0      0 localhost:8070          localhost:44970         ESTABLISHED
tcp        1      0 localhost:8070          localhost:44598         CLOSE_WAIT
tcp        0      0 localhost:44940         localhost:8070          ESTABLISHED
tcp        0      0 localhost:44922         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:43819         CLOSE_WAIT
tcp        0      0 localhost:44933         localhost:8070          ESTABLISHED
tcp        0      0 localhost:8070          localhost:44938         ESTABLISHED
tcp        0      0 localhost:44919         localhost:8070          ESTABLISHED
tcp        0      0 localhost:44924         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:43824         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43821         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44590         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44946         ESTABLISHED
tcp        0      0 localhost:57420         localhost:8070          ESTABLISHED
tcp        0      0 localhost:8070          localhost:44929         ESTABLISHED
tcp        1      0 localhost:8070          localhost:44219         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44222         CLOSE_WAIT
tcp        0      0 localhost:44929         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44593         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43826         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44236         CLOSE_WAIT
tcp        0      0 localhost:44970         localhost:8070          ESTABLISHED
tcp        0      0 localhost:8070          localhost:44933         ESTABLISHED
tcp        0      0 localhost:8070          localhost:44964         ESTABLISHED
tcp        0      0 localhost:8070          localhost:44917         ESTABLISHED
tcp        1      0 localhost:8070          localhost:44582         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43834         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44595         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44587         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44229         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44931         ESTABLISHED
tcp        0      0 localhost:8070          localhost:44968         ESTABLISHED
tcp        0      0 localhost:8070          localhost:44922         ESTABLISHED
tcp        1      0 localhost:8070          localhost:44217         CLOSE_WAIT
tcp        0      0 localhost:44941         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44571         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44228         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43832         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44924         ESTABLISHED
tcp        0      0 localhost:44956         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44242         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:44228         CLOSE_WAIT
tcp        1      0 localhost:8070          localhost:43832         CLOSE_WAIT
tcp        0      0 localhost:8070          localhost:44924         ESTABLISHED
tcp        0      0 localhost:44956         localhost:8070          ESTABLISHED
tcp        1      0 localhost:8070          localhost:44242         CLOSE_WAIT
dieter@ziggurat:~$

this is probably the same or related to what @ctdk was talking about on slack. i also see that he added a worldping check to bosuns /api/alerts?filter=` endpoint with a timeout of 5s so it gets hit 31times every minute which may explain those conns. either way. all checks started throwing 'read error' about half an hour ago and it's been consistently down since then

tail of the log (observed at 05:57:18 EDT):
2016/05/25 05:21:46 info: alertRunner.go:55: runHistory on chan_depth took 123.703432ms
2016/05/25 05:21:46 info: check.go:537: check alert nsq_spool_dir_space done (1.319916187s): 0 crits, 0 warns, 0 unevaluated, 0 unknown
2016/05/25 05:21:46 info: alertRunner.go:55: runHistory on nsq_spool_dir_space took 385.159µs
2016/05/25 05:21:46 error: check.go:605: graphite ParseError (http://<IP_ADDRESS>:8668/render/?format=json&from=1464167936&target=aliasByNode%28collectd.%2A.grafana.%2A.processes.tsdb.ps_count.processes%2C3%29&until=1464168056): empty response
2016/05/25 05:21:46 error: check.go:530: Error checking alert process_tsdb: graphite ParseError (http://<IP_ADDRESS>:8668/render/?format=json&from=1464167936&target=aliasByNode%28collectd.%2A.grafana.%2A.processes.tsdb.ps_count.processes%2C3%29&until=1464168056): empty response
2016/05/25 05:22:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:22:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:22:45 info: check.go:513: check alert disk_space start
2016/05/25 05:22:45 info: check.go:513: check alert metric_tank_primary_health start
2016/05/25 05:22:45 info: check.go:513: check alert mysql.slowQueries start
2016/05/25 05:22:45 info: check.go:513: check alert chan_depth start
2016/05/25 05:22:45 info: check.go:513: check alert process_graphite_poc start
2016/05/25 05:22:45 info: check.go:513: check alert metric_tank_srv_reqs start
2016/05/25 05:22:45 info: check.go:513: check alert nsq_message_size start
2016/05/25 05:22:45 info: check.go:513: check alert mysql.highConnections start
2016/05/25 05:22:45 info: check.go:513: check alert hello_world start
2016/05/25 05:22:45 info: check.go:513: check alert elasticsearch_health start
2016/05/25 05:22:45 info: check.go:513: check alert metric_tank_chunk_save start
2016/05/25 05:22:45 info: check.go:513: check alert nsq_spool_dir_space start
2016/05/25 05:22:45 info: search.go:207: Backing up last data to redis
2016/05/25 05:24:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:24:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:26:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:26:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:28:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:28:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:30:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:30:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:32:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:32:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:34:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:34:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:36:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:36:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:38:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:38:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:40:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:40:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:42:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:42:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:44:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:44:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 05:46:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:46:45 info: notify.go:177: Done sending unknown notifications

root@ziggurat:/var/log/upstart# ps aux | grep bosun
root     22238  0.0  0.0  11740   928 pts/9    S+   06:05   0:00 grep --color=auto bosun
root     24887 22.8  0.0 2510952 129012 ?      Ssl  May24 124:06 /usr/sbin/bosun -c /etc/bosun/bosun.conf

redis:
root@ziggurat:/var/log# ps aux | grep redis
redis     6398  0.1  0.0<PHONE_NUMBER>64 ?       Ssl  May20  11:02 /usr/bin/redis-server <IP_ADDRESS>:6379
root     22304  0.0  0.0  11744   932 pts/9    S+   06:05   0:00 grep --color=auto redis
root@ziggurat:/var/log# telnet localhost 6379
Trying ::1...
Trying <IP_ADDRESS>...
Connected to localhost.
Escape character is '^]'.
stats
-ERR unknown command 'stats'
help
-ERR unknown command 'help'
INFO
$1788
# Server
redis_version:2.8.4
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:a44a05d76f06a5d9
redis_mode:standalone
os:Linux 3.13.0-79-generic x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.8.2
process_id:6398
run_id:54996808c2e33ab2f93a26574c6160ad2b67fe41
tcp_port:6379
uptime_in_seconds:405119
uptime_in_days:4
hz:10
lru_clock:1713594
config_file:/etc/redis/redis.conf

# Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

# Memory
used_memory:134490992
used_memory_human:128.26M
used_memory_rss:122847232
used_memory_peak:154746232
used_memory_peak_human:147.58M
used_memory_lua:33792
mem_fragmentation_ratio:0.91
mem_allocator:jemalloc-3.4.1

# Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1464168288
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:0
rdb_current_bgsave_time_sec:-1
aof_enabled:0
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:-1
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok

# Stats
total_connections_received:6067
total_commands_processed:13765979
instantaneous_ops_per_sec:0
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:34
evicted_keys:0
keyspace_hits:7284600
keyspace_misses:209895
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:3754

# Replication
role:master
connected_slaves:0
master_repl_offset:0
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0

# CPU
used_cpu_sys:455.91
used_cpu_user:206.56
used_cpu_sys_children:28.76
used_cpu_user_children:124.26

# Keyspace
db0:keys=9246,expires=2,avg_ttl=14395479

the following might be useful too:
root@ziggurat:/var/log/nginx# cp /var/lib/bosun/bosun.state bosun.backup.after-stop-when-it-hung
root@ziggurat:/var/log/nginx# ls -alh /var/lib/bosun/ledis_data
ls: cannot access /var/lib/bosun/ledis_data: No such file or directory

here's the log continued to evolve. note i restarted bosun at 6:10
not sure whot to do with the metadata request canceled that peeped in shortly before i restarted bosun.
but worldping kept reporting 100% read errors until 6:09. at 6:10 it became a mix of read errors and 502 status codes. and by 6:11 everything recovered.
2016/05/25 05:46:45 info: notify.go:147: Batching and sending unknown notifications
2016/05/25 05:46:45 info: notify.go:177: Done sending unknown notifications
2016/05/25 06:04:45 error: metadata.go:256: Post http://<IP_ADDRESS>:8070/api/metadata/put: net/http: request canceled
2016/05/25 06:09:56 info: main.go:169: Interrupt: closing down...
2016/05/25 06:10:43 enabling syslog
2016/05/25 06:10:43 info: search.go:194: Loading last datapoints from redis
2016/05/25 06:10:43 info: search.go:201: Done
2016/05/25 06:10:43 info: bolt.go:53: RestoreState
2016/05/25 06:10:43 info: bolt.go:65: RestoreState done in 1.288135ms
2016/05/25 06:10:43 info: check.go:513: check alert process_carbon_relay_ng start
2016/05/25 06:10:43 info: check.go:513: check alert cpu.steal start
2016/05/25 06:10:43 info: check.go:513: check alert chan_depth start
2016/05/25 06:10:43 info: check.go:513: check alert grafana_alerting_jobqueue_preamqp start
2016/05/25 06:10:43 info: check.go:513: check alert elasticsearch_health start
2016/05/25 06:10:43 info: check.go:513: check alert process_mysql start
2016/05/25 06:10:43 info: check.go:513: check alert process_worldping_api start
2016/05/25 06:10:43 info: check.go:513: check alert process_logstash_forwarder start
2016/05/25 06:10:43 info: check.go:513: check alert alerting_jobs_volume start
2016/05/25 06:10:43 info: check.go:513: check alert normalized_load start

Given that your "check alert" log entries never returns (i.e. runHistory alert took ... ) entires, it looks like Bosus is getting stuck trying to execute a check.
I'm thinking the following in the stack trace maybe indicates that redis can't get a connection to Redis from the connection pool:

12 @ 0x4339a3 0x433a64 0x444161 0x61ed1b 0x8cb9dc 0x8cb117 0x7f4fd0 0x7f7528 0x586b8b 0x569f2d 0x56a6db 0x55de41 0x55dcef 0x4648a1
#	0x444161	sync.runtime_Syncsemacquire+0x201					/usr/local/go/src/runtime/sema.go:241
#	0x61ed1b	sync.(*Cond).Wait+0x9b							/usr/local/go/src/sync/cond.go:63
#	0x8cb9dc	bosun.org/vendor/github.com/garyburd/redigo/redis.(*Pool).get+0x39c	/go/src/bosun.org/vendor/github.com/garyburd/redigo/redis/pool.go:272
#	0x8cb117	bosun.org/vendor/github.com/garyburd/redigo/redis.(*Pool).Get+0x37	/go/src/bosun.org/vendor/github.com/garyburd/redigo/redis/pool.go:154
#	0x7f4fd0	bosun.org/cmd/bosun/database.(*dataAccess).GetConnection+0x30		/go/src/bosun.org/cmd/bosun/database/database.go:99
#	0x7f7528	bosun.org/cmd/bosun/database.(*dataAccess).IsAlertFailing+0x128		/go/src/bosun.org/cmd/bosun/database/error_data.go:136
#	0x586b8b	bosun.org/cmd/bosun/sched.(*Schedule).AlertSuccessful+0x8b		/go/src/bosun.org/cmd/bosun/sched/sched.go:670
#	0x569f2d	bosun.org/cmd/bosun/sched.(*Schedule).findUnknownAlerts+0x14d		/go/src/bosun.org/cmd/bosun/sched/check.go:492
#	0x56a6db	bosun.org/cmd/bosun/sched.(*Schedule).CheckAlert+0x1bb			/go/src/bosun.org/cmd/bosun/sched/check.go:515
#	0x55de41	bosun.org/cmd/bosun/sched.(*Schedule).checkAlert+0xb1			/go/src/bosun.org/cmd/bosun/sched/alertRunner.go:51
#	0x55dcef	bosun.org/cmd/bosun/sched.(*Schedule).RunAlert+0x5f			/go/src/bosun.org/cmd/bosun/sched/alertRunner.go:41

1 @ 0x4339a3 0x433a64 0x444161 0x61ed1b 0x8cb9dc 0x8cb117 0x7f4fd0 0x7f7528 0x7f5c25 0x586d73 0x56ad43 0x55de41 0x55dcef 0x4648a1
#	0x444161	sync.runtime_Syncsemacquire+0x201					/usr/local/go/src/runtime/sema.go:241
#	0x61ed1b	sync.(*Cond).Wait+0x9b							/usr/local/go/src/sync/cond.go:63
#	0x8cb9dc	bosun.org/vendor/github.com/garyburd/redigo/redis.(*Pool).get+0x39c	/go/src/bosun.org/vendor/github.com/garyburd/redigo/redis/pool.go:272
#	0x8cb117	bosun.org/vendor/github.com/garyburd/redigo/redis.(*Pool).Get+0x37	/go/src/bosun.org/vendor/github.com/garyburd/redigo/redis/pool.go:154
#	0x7f4fd0	bosun.org/cmd/bosun/database.(*dataAccess).GetConnection+0x30		/go/src/bosun.org/cmd/bosun/database/database.go:99
#	0x7f7528	bosun.org/cmd/bosun/database.(*dataAccess).IsAlertFailing+0x128		/go/src/bosun.org/cmd/bosun/database/error_data.go:136
#	0x7f5c25	bosun.org/cmd/bosun/database.(*dataAccess).MarkAlertFailure+0x195	/go/src/bosun.org/cmd/bosun/database/error_data.go:58
#	0x586d73	bosun.org/cmd/bosun/sched.(*Schedule).markAlertError+0xd3		/go/src/bosun.org/cmd/bosun/sched/sched.go:680
#	0x56ad43	bosun.org/cmd/bosun/sched.(*Schedule).CheckAlert+0x823			/go/src/bosun.org/cmd/bosun/sched/check.go:532
#	0x55de41	bosun.org/cmd/bosun/sched.(*Schedule).checkAlert+0xb1			/go/src/bosun.org/cmd/bosun/sched/alertRunner.go:51
#	0x55dcef	bosun.org/cmd/bosun/sched.(*Schedule).RunAlert+0x5f			/go/src/bosun.org/cmd/bosun/sched/alertRunner.go:41

If that is the case, then why? I wonder if you could run the MONITOR command on redis and see if the output gives any ideas when it hangs?

@kylebrandt can you let me know what additional information you want us to collect next time this happens? i believe you mentioned:

graphite availability/response time
telnet to redis and type MONITOR and SLOWLOG GET 100

anything else?

it happened again:

graphite response times were normal before, during, and after the observed bosun hang


DROP lowerCamelCase column fails

I'm trying to have a migration that drops a column from a table. The column is fromPrice. When adding a column or creating a table, the column names are wrapped in strings, where as when dropping, the column names are just inserted, causing case to be ignored.
root@dev:/var/www# pg-migrate up
> Migrating files:
> -<PHONE_NUMBER>613_journey_package
### MIGRATION<PHONE_NUMBER>613_journey_package (up) ###
BEGIN;
ALTER TABLE "journey"
  DROP fromPrice;
CREATE TABLE "journey_package" (
  "id" serial PRIMARY KEY,
  "journeyId" integer NOT NULL REFERENCES journey (id) ON DELETE CASCADE,
  "title" text NOT NULL,
  "description" text,
  "photo" integer,
  "fromPrice" integer
);
INSERT INTO pgmigrations (name, run_on) VALUES ('1482855033613_journey_package', NOW());
COMMIT;

> Rolling back attempted migration ...
error: column "fromprice" of relation "journey" does not exist

Wouldn't it be possible to just rewrite this line as following (quickfix):
actions: columns.map(function (column) { return '"'+column+'"'; }).join(',\n').replace(/^/gm, '  DROP '),

Currently I just use
pgm.dropColumns("journey", [
	"\"fromPrice\""
]);

to avoid the problem but I'd rather see a more permanent solution.

Fixed in 1.0.0


feat: allow users to connect multiple walletconnect client sessions to app

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #5261   👈

This comment was auto-generated by Graphite.


Display Global/Cluster/Project roles in Auth Product

Create new Roles page in Auth product, this replaces the RBAC Roles Template resource list in Cluster Explorer
Display the three 'types' of Roles (Global, Cluster and Project) in three lists
This is done by...

Removing the spoofed resource rbac role template type
The spoofed type contained two real types, management global role and management role template

Show management global roles in their own table
Split management role template into cluster and project lists

Update the view/create/edit spoofed type page to be compatible with view/create/edit of both global role and role template types
I've also moved RBAC.GLOBAL_ROLE and RBAC.GLOBAL_ROLE_BINDING to MANAGEMENT.X, which is a better home for them

All features should be visible based on user permissions

Global Roles (global list) and Role Template (cluster & project lists) will only show when the user can access the schema and they can see the correct verbs
The Create Global Role / Role Template button will only show when the user can see the correct verb
All other permissions we get naturally (edit row button, etc)
base users can't see either table, standard users can't see global roles, restricted admin+/global role manage roles cam create/edit role templates, restricted admin+ can create/edit global roles

Addresses #2579 & #2572

While moving this over I noticed a few pre-existing bugs

Fixed

Role template 'Locked' state now correctly shows
Fixed an issue where a custom description for a global role was ignored

Not Fixed (require bigger fixes, will tackle this in another PR)

Setting an 'inherit from' role for a role template is ignored after refresh. It looks like roleTemplateIds is not persisted. This may be a norman/steve thing? Fixed
The 'inherit from' setting is not shown in the detail page Fixed
A role can be created without any rules OR inherited from. Adding validation to check rules are empty is easy (update 'roleTemplateRules'), however this would mean rules need to be set even if the role inherits from another The API accepts both cases, going to assume this is fine then
The rule resource (Custom) is missing from the dashboard. In ember when this is selected the user can set the non-resource url field. In dashboard this is always editable

"(Custom)" in Ember is the equivalent of a :taggable="true" Select here.  You type something that's not in the list and then it becomes a new option to select.


Segmentation Fault Caused by free() of Invalid Pointer

By changing line 130 of create_tinysnb.test
MATCH (a:person) WHERE a.ID > 8 RETURN a.ID, a.workedHours,a.usedNames
to
MATCH (a:person) WHERE a.ID > -1 RETURN a.ID, a.workedHours,a.usedNames
you can reliably cause a segmentation fault from the freeing an invalid pointer. The test case itself is TinySnbCreateNodeTest.InsertNodeWithListTest
It's possible this bug has something to do with the fact that during the transaction in this test case, after the new node is created, it assumes that the new node is already compressed. A result that I noticed is that a call to CompressionAlg::decompressFromPage is made attempting to read one more value than there actually exists.

I think it's an issue with the VarListNodeColumn offsets not being updated correctly when the new entry is added.
I get the following trace with gdb. Note that the endOffsetInGroup is 0, so later the number of values being set to as non null underflows and becomes very large.
#0  0x000055555595a3ee in std::__fill_a1<unsigned long*, unsigned long> (__first=0x77ffdb4bd000, __last=0x77fff8001380,
    __value=@0x5555572f6418: 0) at /usr/include/c++/11/bits/stl_algobase.h:924
#1  0x000055555595812d in std::__fill_a<unsigned long*, unsigned long> (__first=0x77ffd8001388, __last=0x77fff8001380,
    __value=@0x5555572f6418: 0) at /usr/include/c++/11/bits/stl_algobase.h:969
#2  0x0000555555955ebc in std::fill<unsigned long*, unsigned long> (__first=0x77ffd8001388, __last=0x77fff8001380,
    __value=@0x5555572f6418: 0) at /usr/include/c++/11/bits/stl_algobase.h:999
#3  0x0000555555be8f3e in kuzu::common::NullMask::setNullRange (nullEntries=0x77ffd8001380, offset=14,
    numBitsToSet=4294967282, isNull=false) at ../../../../src/common/null_mask.cpp:114
#4  0x0000555555be8e36 in kuzu::common::NullMask::setNullFromRange (this=0x77ffdb4479b0, offset=14,
    numBitsToSet=4294967282, isNull=false) at ../../../../src/common/null_mask.cpp:103
#5  0x00005555559feb98 in kuzu::common::ValueVector::setRangeNonNull (this=0x77ffd9a5d480, startPos=14, len=4294967282)
    at ../../../../../src/include/common/vector/value_vector.h:41
#6  0x0000555556530cc7 in kuzu::storage::NullNodeColumn::scan (this=0x5555582ddb90, transaction=0x77ffdb43c0a0,
    nodeGroupIdx=0, startOffsetInGroup=14, endOffsetInGroup=0, resultVector=0x77ffd9a5d480, offsetInVector=14)
    at ../../../../../src/storage/store/node_column.cpp:177
#7  0x00005555565561f9 in kuzu::storage::StringNodeColumn::scan (this=0x5555582dd820, transaction=0x77ffdb43c0a0,
    nodeGroupIdx=0, startOffsetInGroup=14, endOffsetInGroup=0, resultVector=0x77ffd9a5d480, offsetInVector=14)
    at ../../../../../src/storage/store/string_node_column.cpp:38
#8  0x000055555657e846 in kuzu::storage::VarListNodeColumn::scanFiltered (this=0x5555582dd110,
    transaction=0x77ffdb43c0a0, nodeGroupIdx=0, resultVector=0x77ffd9a5fe00, listOffsetInfoInStorage=...)
    at ../../../../../src/storage/store/var_list_node_column.cpp:131
#9  0x000055555657e223 in kuzu::storage::VarListNodeColumn::scanInternal (this=0x5555582dd110,
    transaction=0x77ffdb43c0a0, nodeIDVector=0x77ffd8024f10, resultVector=0x77ffd9a5fe00)
    at ../../../../../src/storage/store/var_list_node_column.cpp:76
#10 0x0000555556525378 in kuzu::storage::NodeColumn::scan (this=0x5555582dd110, transaction=0x77ffdb43c0a0,
    nodeIDVector=0x77ffd8024f10, resultVector=0x77ffd9a5fe00) at ../../../../../src/storage/store/node_column.cpp:309

[2024-04-16 11:24:13.942] [info] DEBUG LOG:
[2024-04-16 11:24:13.943] [info] QUERY: BEGIN TRANSACTION
[2024-04-16 11:24:13.944] [info] DEBUG LOG:
[2024-04-16 11:24:13.944] [info] QUERY: CREATE (:person {ID:11, workedHours:[1,2,3], usedNames:['A', 'this is a long name']})
[2024-04-16 11:24:13.984] [info] DEBUG LOG:
[2024-04-16 11:24:13.984] [info] QUERY: MATCH (a:person) WHERE a.ID > 8 RETURN a.ID, a.workedHours,a.usedNames
unknown file: Failure
C++ exception with description "Assertion failed in file "/Users/z473chen/Desktop/code/kuzu/src/storage/store/list_column.cpp" on line 32: pos < sizeColumnChunk->getNumValues()" thrown in the test body.

Now, it causes an assertion failure instead.

This has been fixed.


adding mesheryctl commands doc template

Signed-off-by: JOSE ALONSO LOPEZ ROMO<EMAIL_ADDRESS>Added a path and file to document each command separately. Would add a script to generate tocs for these pages.
This PR fixes #2534
Notes for Reviewers
@navendu-pottekkat please validate this.
THANKS!
Signed commits

[ x] Yes, I signed my commits.

I don't really know what was my mistake with this check that didn't pass?? maybe the name of my branch?? started with 'doc' word?? but ok.. this is the preview https://deploy-preview-2548--meshery-docs.netlify.app/reference/mesheryctl/commands/template
The next thing would be to add the individual command pages to the toc at the side bar

Hi @navendu-pottekkat, please check if the modified template is ok... Thanks!
https://deploy-preview-2548--meshery-docs.netlify.app/reference/mesheryctl/commands/command_name_template

Sorry.. another push needed, because of the '<' and '>' simbols
Please @navendu-pottekkat, check if the template now is ok... Thanks...
https://deploy-preview-2548--meshery-docs.netlify.app/reference/mesheryctl/commands/command_name_template

Hi @navendu-pottekkat please check the template, I use your code for it... I think it look ver good!!
Thanks
https://deploy-preview-2548--meshery-docs.netlify.app/reference/mesheryctl/commands/command_name_template


Blinking card

Any way to make the card blink? I tired to accomplish that using css card-mod but failed to do so. Maybe this is a useful feature.

OK out of a sudden I got it right 😄
style: |
  .swiper-slide-active {
    animation: blinker 2s linear infinite !important;
  }
  @keyframes blinker {
    50% {
      opacity: 0;
    }
  }


Fixed the bug Contact

Related Issue
Fixed the bug Contact previously it was

Closes: #1229
Describe the changes you've made
not it is like this
https://user-images.githubusercontent.com/55352601/116772987-4ffd6e00-aa70-11eb-9d16-958cfc4caff3.mp4
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] New and existing unit tests pass locally with my changes.

@991rajat kindly review my PR and add suitable labels to it

Looks Good. Good Work

Congratulations on merging of first PR. :tada:
Thanks for contribution.
Keep Contributing.


val.uint_val values are not returned in pygnmi response, when using get

Hi Anton,
I am encountering an issue, when using get with an path which returns val.uint_val.
For val.json_ietf_val everything works for fine, but is just ignored.
gNMI response:
notification {
update {
path {
elem {
name: "interfaces"
}
elem {
name: "interface"
key {
key: "name"
value: "Management1"
}
}
elem {
name: "state"
}
elem {
name: "counters"
}
elem {
name: "out-unicast-pkts"
}
}
val {
uint_val: 15578
}
}
}

INFO||tE4_gnmiConnect.py||136||gnmi response {'notification': [{'timestamp': 0, 'update': [{'path': 'interfaces/interface[name=Management1]/state/counters/out-unicast-pkts'}]}]}
looking at the code, it looks to me, that uint_val is missing for get:
                            if update_msg.HasField('val'):
                                if update_msg.val.HasField('json_ietf_val'):
                                    update_container.update({'val': json.loads(update_msg.val.json_ietf_val)})

                                elif update_msg.val.HasField('json_val'):
                                    update_container.update({'val': json.loads(update_msg.val.json_val)})

                                elif update_msg.val.HasField('ascii_val'):
                                    update_container.update({'val': json.loads(update_msg.val.ascii_val)})

                                elif update_msg.val.HasField('bytes_val'):
                                    update_container.update({'val': json.loads(update_msg.val.bytes_val)})

                                elif update_msg.val.HasField('proto_bytes'):
                                    update_container.update({'val': json.loads(update_msg.val.proto_bytes)})

where asm it seems to be corrrect for the telemetry parser.
I think we have to copy the lines for those values from telemetry parser to the get section. I can take over that task and prepare a pull request.
what do you think?

Hello @slieberth ,
sorry for a delay, was a bit hectic time. Thanks a lot for your kind suggestion. As it already took a bit for me to response, I've just added the missing lines in the latest release 0.5.3. Could you please test and let me know if that is good now?
Best,
Anton

Closed as there is no follow up.

Hi Anton,
sorry for the late reply, was on vacation,
thanks for the fix, can confirm that it works ...
regards Stefan


Compile error in C++17

if use command line option /std:c++latest (c++17) in Visual Studio 2017,
compile error occurred about std::unary_function.
so i just remove the code public std::unary_function < ... > and it works.
like this
namespace std {
    template<>
    class hash< sole::uuid >/* public unary_function< sole::uuid, size_t > */ {
    public:
        // hash functor: hash uuid to size_t value by pseudorandomizing transform
        size_t operator()( const sole::uuid &uuid ) const {
            if( sizeof(size_t) > 4 ) {
                return size_t( uuid.ab ^ uuid.cd );
            } else {
                uint64_t hash64 = uuid.ab ^ uuid.cd;
                return size_t( uint32_t( hash64 >> 32 ) ^ uint32_t( hash64 ) );
            }
        }
    };
}

is it right?

This is funny, I just ran into the same exact issue minutes ago too. I've proposed the PR #21. I don't know if the original author of this library is still maintaining what's happening here. It seems this "archived" account is inactive, but they have a new account called @r-lyeh, but doesn't have a repository for this library.

Nice timing! :) One more interesting thing is that using XCode's C ++ 17 compiler does not cause an error. So I could not find this error so far.

This is because apple is shipping outdated standard library header with Xcode as far  as I know (and it is sad.).
This is part of the standard library, not the core language.

Le 18 nov. 2018 à 16:31, Jun Hyeon, Nam<EMAIL_ADDRESS>a écrit :
Nice timing! :) One more interesting thing is that using XCode's C ++ 17 compiler does not cause an error. So I could not find this error so far.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Oh, the PR got accepted

@r-lyeh Cool! Because this little library is genuinely useful. I needed to be sure to have unique identifiers for networked clients, and with this it's like, 4 lines of code to get a fairly strong -randomly wise- UUID.
Thanks for your work! 👌


Bug when running programme

When the programme compiles, before it runs successfully , I see this exception error on my local build.
Compiling...uncaught exception in Haskell thread: [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://<IP_ADDRESS>:8080/runJS?mode=haskell&dhash=DWP0sayOa4BdcXS2be6v_xA :: h$$ah1 :: line 60542"  data: no]
h$$ah1@http://<IP_ADDRESS>:8080/runJS?mode=haskell&dhash=DWP0sayOa4BdcXS2be6v_xA:60542:3
h$runThreadSlice@http://<IP_ADDRESS>:8080/runJS?mode=haskell&dhash=DWP0sayOa4BdcXS2be6v_xA:8092:11
h$runThreadSliceCatch@http://<IP_ADDRESS>:8080/runJS?mode=haskell&dhash=DWP0sayOa4BdcXS2be6v_xA:8050:12
h$mainLoop@http://<IP_ADDRESS>:8080/runJS?mode=haskell&dhash=DWP0sayOa4BdcXS2be6v_xA:8045:9
h$mkForeignCallback/<@http://<IP_ADDRESS>:8080/runJS?mode=haskell&dhash=DWP0sayOa4BdcXS2be6v_xA:8588:13

@kammitama5
On your test server, can you do the following?

Visit http://<IP_ADDRESS>:8080/runJS?mode=haskell&dhash=DWP0sayOa4BdcXS2be6v_xA
Look at data/haskell/deploy/DWP/DWP0sayOa4BdcXS2be6v_xA and note the contents
Look for data/haskell/user/PXX/PXXXXXXXXXXXXXX (where PXXXXXXXXXXX is the contents of the deply file)?
Search for the definition of h$$a1 and post it here?

That function is doing something that throws an exception.

I built it on my master branch and got this using the weblink:
A web handler threw an exception. Details:
data/haskell/deploy/DWP/DWP0sayOa4BdcXS2be6v_xA: openBinaryFile: does not exist (No such file or directory)

Huh.  Okay, it looks like you either deleted your data directory at some point, or this error was generated on a different computer from the one you're testing.
Can you reproduce this?  If not, I'm tempted to close the bug, and just chalk it up to random problems in the local environment.

If you can reproduce, can you post the message you see for a new program?

Let me see. I also have  the result of the DPt file
PeYjSNPhYd58_wvFfiUJHsA

Yes; you are correct. This is from the other computer that I am not currently on (ie the one where the screen died). So this error, may in fact, not be reproducible.

Is "the DPt file" one where you saw this error?  If so, what was the error message?  (It has a stack trace, which will tell us which JavaScript function to look for in data/haskell/user/PeY/PeYjSNPhYd58_wvFfiUJHsA.js)

The path in the data folder leads to a .hs file of path data/haskell/user/PeY/PeYjSNPhYd58_wvFfiUJHsA.js which only has this code in it at the moment
import CodeWorld
main = debugSimulationOf initial step picture
initial = 0
step dt x = x + dt
picture x = circle x

The problem with this bug is that the computer that generated this bug is not the computer I'm currently working on. The computer that generated this bug is not currently functional (the screen died a few days ago and the OS was wiped). I  wiped the OS shortly before the screen died, but it was on Ubuntu 18.04.

I also just tried to rebuild the same function that I used
program      = animationOf(propellor)
propellor(t) = rotated(solidRectangle(10, 1), 60 * t)

and I can't reproduce it on this machine (this one has a better core than the other laptop with the flickering screen that produced the initial error). I don't see any warning errors on this (current) machine. It builds as expected with no warnings and just loads the animation.

Okay, I will close this bug.
The issue about debug controls is actually that the run window is too large.  Currently, it's always set at 500x500, regardless of the screen size.  I guess I hoped everyone could spare at least 500 pixels, but ideally, it would be resizable.  You can file a different bug for that, if you like.


Using sparse vectors

Hi Eric,
Thanks a lot for your Dirichlet fitting code. I am using your code on sparse (i.e. lots of zeros) Bag of Words data from images. When I try dirichlet fitting on those, the fitting process blows up and gives lots of NaNs. Sorry, I am little bit new to Dirichlet models, so if question is preliminary, pointing merely to a reference would be good as well. I tried the same features with Tom Minka's matlab toolbox, and it seems to blow up as well.
Thanks again for your code.
Sincerely,
Abhijit Bendale
PhD Student, University of Colorado

I'm not surprised if this blows up on sparse vectors; the psi function (i.e. digamma) is not well defined at 0 when iteratively computed, so this method wouldn't work well and probably wouldn't be stable numerically. Possibly you could make this work using additive smoothing and alter your vectors not to be sparse, but I don't know how well this would work in your particular use case.


Code can't be imported

As per email chain.
Currently, the code can't be pip installed then imported, as all the imports are local (i.e. units rather than oxrse_unit_conv.units). It only runs on the command-line by running main.py from src/oxrse_unit_convs.
It needs switching to package-type imports.

Closed by #27 - thanks @smangham


Bug in Template EntityDTOService.java.e.vm

There appears to be a bug in the Template EntityDTOService.java.e.vm, in line 192:
The variable declaration
final int fdepth = depth;
is within a for-loop:
#foreach ($relation in $entity.manyToMany.list)
This leads to the same variable being declared multiple times if several relations exist, causing a compile error.
Taking the declaration out of the loop solved the issue for me (though it would be prettier to surround it with an if-statement)

Good catch, thank you Vivien :)
Next time do not hesitate to create a pull request.

I was in the middle of something else when this came up, so I just dumped it here so that it wouldn't be forgotten.
Next time I'll do it via pull request.


Update nested groups unsupported scenarios

Add another unsupported scenario to https://github.com/MicrosoftDocs/azure-docs/edit/main/articles/active-directory/fundamentals/active-directory-groups-membership-azure-portal.md.
Where groups can't be added to role-assignable groups.
Which is mentioned in documentation at: https://docs.microsoft.com/en-us/azure/active-directory/roles/groups-concept#how-are-role-assignable-groups-protected

@ajburnle
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"

#sign-off

@curtand: I'm sorry - only the author of this article, @ajburnle, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off